/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
:root {
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.5;
  scroll-behavior: smooth;
  transition: background-color 0.4s ease, color 0.4s ease;
  font-size: 1rem;
}

body.nav-open {
  overflow: hidden;
}

.container {
  width: min(90%, 1100px);
  margin: 0 auto;
  padding-inline: clamp(10px, 3vw, 40px);
}

.header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 600;
  font-size: 1.8rem;
  color: #0051cc;
  cursor: default;
  user-select: none;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-highlight {
  color: #003d99;
}

.logo:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 25px;
  align-items: center;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.nav a {
  font-weight: 600;
  color: #444;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
  min-height: 44px;
}

.nav a:hover,
.nav a:focus {
  background-color: #003d99;
  color: white;
  outline: none;
  transform: scale(1.05);
}

.btn {
  cursor: pointer;
  display: inline-block;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  border: none;
  user-select: none;
  transition: all 0.3s ease;
  touch-action: manipulation;
}

.btn-primary {
  background: #0051cc;
  color: white;
  padding: 12px 28px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 81, 204, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #003d99;
  box-shadow: 0 6px 20px rgba(0, 61, 153, 0.6);
  transform: scale(1.05);
  outline: none;
}

.btn-lg {
  font-size: 1.2rem;
  padding: 16px 36px;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  user-select: none;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: #0051cc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0051cc, #003d99);
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 20%, transparent 70%);
  pointer-events: none;
  animation: pulse 10s infinite alternate ease-in-out;
  border-radius: 50%;
  z-index: 0;
}

@keyframes pulse {
  from {
    transform: scale(1) translate(0,0);
  }
  to {
    transform: scale(1.1) translate(10px,10px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  transition: all 0.3s;
}

.hero-title span {
  display: block;
  font-size: 1rem;
  margin-top: 0.25rem;
  font-weight: 300;
}

.accent {
  color: #4db8ff;
  text-shadow: 0 0 10px #4db8ff88;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
}

.section-title {
  font-size: clamp(1.2rem, 2.7vw, 2rem);
  text-align: center;
  color: #0051cc;
  margin-bottom: 40px;
  font-weight: 600;
  transition: transform 0.3s;
}

.section-title:hover {
  transform: scale(1.02);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0, 81, 204, 0.15);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0, 61, 153, 0.3);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #0051cc;
  transition: transform 0.3s;
}

.card:hover .card-icon {
  transform: rotate(10deg) scale(1.1);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Portrait 9:16 aspect ratio */
.video-container {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-height: 100px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 81, 204, 0.15);
  background: #000;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}






/* Instagram Grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.instagram-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Profile */
.profile-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 81, 204, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.profile-photo:hover {
  transform: scale(1.05);
}

.profile-text {
  flex: 1 1 400px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.profile-text p {
  margin-bottom: 1rem;
}

/* Contact */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.highlight {
  color: #0051cc;
  font-weight: 700;
  text-decoration: underline;
}

.whatsapp-btn {
  box-shadow: 0 6px 18px rgba(0, 61, 153, 0.4);
  background-color: #0051cc;
}

.whatsapp-btn:hover {
  background-color: #003d99;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: #003d99;
  color: white;
  text-align: center;
  padding: 24px 10px;
  font-weight: 500;
  font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0051cc;
  color: white;
  font-size: 1.8rem;
  padding: 16px 18px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 81, 204, 0.6);
  z-index: 9999;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  user-select: none;
}

.whatsapp-float:hover {
  background: #003d99;
  transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 15px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    width: 100vw;
    top: 100%;
    z-index: 100;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,61,153,0.07);
  }
  .nav.nav-open {
    max-height: 400px;
    opacity: 1;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 15px 60px;
  }
  .btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
  }
  .profile-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .profile-photo {
    width: 140px;
    height: 140px;
  }
  .profile-text {
    font-size: 1rem;
    text-align: center;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .btn-primary {
    width: 100%;
  }
  .footer {
    font-size: 0.85rem;
    padding: 15px 10px;
  }
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    font-size: 1.6rem;
    padding: 12px 14px;
  }
}

@media (max-width: 400px) {
  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}
