/* ============================
   ESCOLA SAULO – Custom Styles
   ============================ */

/* ---------- VARIABLES ---------- */
:root {
  --primary: #6C3FC5;
  --primary-light: #8B66D9;
  --primary-dark: #4F2D94;
  --secondary: #F9A826;
  --secondary-light: #FBBF5E;
  --accent: #FF6B8A;
  --accent-light: #FF8FA8;

  --gradient-primary: linear-gradient(135deg, #6C3FC5 0%, #A855F7 50%, #F9A826 100%);
  --gradient-hero: linear-gradient(135deg, #1a0533 0%, #2D1B69 30%, #6C3FC5 100%);
  --gradient-soft: linear-gradient(180deg, #F9FAFE 0%, #F0ECFB 100%);
  --gradient-cta: linear-gradient(135deg, #6C3FC5 0%, #A855F7 60%, #FF6B8A 100%);

  --text-dark: #1E1B3A;
  --text-body: #4A4565;
  --text-muted: #8C869E;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFE;
  --bg-card: #FFFFFF;
  --border: #E8E4F0;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(108, 63, 197, 0.06);
  --shadow-md: 0 8px 30px rgba(108, 63, 197, 0.10);
  --shadow-lg: 0 20px 60px rgba(108, 63, 197, 0.15);
  --shadow-card: 0 4px 20px rgba(108, 63, 197, 0.08);

  --font-primary: 'Outfit', sans-serif;
  --font-display: 'Baloo 2', cursive;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

.section-padding {
  padding: 100px 0;
}

/* ---------- GRADIENT TEXT ---------- */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- SECTION TAGS & TITLES ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(108, 63, 197, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-text {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
  z-index: 1050;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.navbar:not(.scrolled) .brand-text {
  color: #fff;
}

.brand-highlight {
  color: var(--secondary);
}

/* Brand Logo */
.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.navbar.scrolled .brand-logo {
  height: 50px;
}

.navbar:not(.scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

.brand-logo-footer {
  filter: brightness(0) invert(1);
  height: 50px;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
  color: var(--text-body) !important;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--primary) !important;
  background: rgba(108, 63, 197, 0.06);
}

.btn-nav {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 8px 24px !important;
}

.navbar.scrolled .btn-nav {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px);
}

.navbar.scrolled .btn-nav:hover {
  background: var(--primary-dark) !important;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-toggler-icon {
  filter: none;
}

/* ---------- HERO ---------- */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  min-height: 100vh;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.2) 0%, transparent 60%);
  z-index: 1;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(249, 168, 38, 0.08);
  top: -100px;
  right: -50px;
  animation: floatSlow 8s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: rgba(255, 107, 138, 0.06);
  bottom: 10%;
  left: 5%;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 120px;
  height: 120px;
  background: rgba(168, 85, 247, 0.1);
  top: 30%;
  left: 15%;
  animation: floatSlow 6s ease-in-out infinite;
}

.shape-4 {
  width: 80px;
  height: 80px;
  background: rgba(249, 168, 38, 0.1);
  top: 20%;
  right: 30%;
  animation: floatSlow 7s ease-in-out infinite reverse;
}

.shape-note {
  position: absolute;
  z-index: 1;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.08);
  animation: floatNote 12s ease-in-out infinite;
}

.shape-note-1 {
  top: 15%;
  left: 8%;
  font-size: 3rem;
  animation-delay: 0s;
}

.shape-note-2 {
  top: 60%;
  right: 10%;
  font-size: 2.5rem;
  animation-delay: 4s;
}

.shape-note-3 {
  bottom: 20%;
  left: 40%;
  font-size: 2rem;
  animation-delay: 8s;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

@keyframes floatNote {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.08;
  }

  25% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 0.15;
  }

  50% {
    transform: translateY(-10px) rotate(-5deg);
    opacity: 0.08;
  }

  75% {
    transform: translateY(-25px) rotate(5deg);
    opacity: 0.12;
  }
}

.z-2 {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 168, 38, 0.15);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  margin-top: 30px;
  border: 1px solid rgba(249, 168, 38, 0.2);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-hero-primary {
  background: var(--secondary);
  color: var(--text-dark);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(249, 168, 38, 0.3);
}

.btn-hero-primary:hover {
  background: var(--secondary-light);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(249, 168, 38, 0.4);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--gradient-primary);
  opacity: 0.2;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {

  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 380px;
  height: 460px;
  object-fit: cover;
  border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: blobMorph 8s ease-in-out infinite reverse;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100px;
}

/* ---------- ABOUT ---------- */
.about-image-grid {
  position: relative;
}

.about-img-main img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 500px;
  object-fit: cover;
  width: 80%;
}

.about-img-secondary {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 50%;
}

.about-img-secondary img {
  border-radius: var(--radius-md);
  border: 6px solid var(--bg-white);
  box-shadow: var(--shadow-md);
}

.about-experience-badge {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 110px;
  height: 110px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  animation: floatSlow 4s ease-in-out infinite;
}

.exp-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.65rem;
  text-align: center;
  line-height: 1.2;
  margin-top: 4px;
  font-weight: 500;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-sm {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(108, 63, 197, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.about-feature-item strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.about-feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- BG GRADIENT SOFT ---------- */
.bg-gradient-soft {
  background: var(--gradient-soft);
}

/* ---------- METHOD ---------- */
.method-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.method-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 63, 197, 0.2);
}

.method-step {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(108, 63, 197, 0.06);
  line-height: 1;
}

.method-icon {
  width: 72px;
  height: 72px;
  background: rgba(108, 63, 197, 0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.method-card:hover .method-icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.method-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.method-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- COURSES ---------- */
.course-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-featured {
  border: 2px solid var(--primary);
}

.course-popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-header {
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
}

.course-baby {
  background: linear-gradient(135deg, #FFF1E6 0%, #FFE0CC 100%);
}

.course-kids {
  background: linear-gradient(135deg, #EDE7FB 0%, #D8CCFA 100%);
}

.course-junior {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.course-bg-icon {
  position: absolute;
  right: 16px;
  bottom: -8px;
  font-size: 5rem;
  opacity: 0.12;
  color: var(--text-dark);
}

.course-age-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.course-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
  padding: 6px 0;
}

.course-features li i {
  color: var(--primary);
  font-size: 0.85rem;
}

.btn-course {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 63, 197, 0.06);
  color: var(--primary);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  align-self: flex-start;
}

.btn-course:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

/* ---------- DIFERENCIAIS ---------- */
.diff-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 63, 197, 0.15);
}

.diff-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.diff-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  margin-bottom: 16px;
  color: var(--secondary);
  font-size: 1rem;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(108, 63, 197, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: var(--transition);
  opacity: 0;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(108, 63, 197, 0.4);
  opacity: 1;
}

.gallery-item-tall {
  grid-row: span 2;
}

/* ---------- CTA ---------- */
.cta-section {
  background: var(--gradient-cta);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-shapes .cta-shape {
  position: absolute;
  border-radius: 50%;
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  top: -200px;
  left: -100px;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -150px;
  right: -50px;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.btn-cta {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  background: var(--secondary);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

/* ---------- CONTACT ---------- */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(108, 63, 197, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-info-item strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(108, 63, 197, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.social-link-sm {
  width: 38px;
  height: 38px;
  font-size: 1rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-control,
.form-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-primary);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 63, 197, 0.1);
}

.form-floating>label {
  font-family: var(--font-primary);
  color: var(--text-muted);
}

.btn-submit {
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  border: none;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 63, 197, 0.3);
  color: #fff;
}

.form-success-msg {
  text-align: center;
  padding: 32px;
  color: #28a745;
}

.form-success-msg i {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.form-success-msg p {
  color: var(--text-muted);
  margin-top: 8px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--text-dark);
  padding: 48px 0 28px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand .brand-text {
  color: #fff;
}

.footer-desc {
  font-size: 0.9rem;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--secondary);
}

.site-footer .social-link {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .social-link:hover {
  background: var(--primary);
  color: #fff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 28px 0 20px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-4px);
}

/* ========= RESPONSIVE ========= */

@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .navbar-collapse {
    background: var(--bg-white);
    margin-top: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
  }

  .navbar-collapse .nav-link {
    color: var(--text-body) !important;
    padding: 10px 16px !important;
  }

  .navbar-collapse .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(108, 63, 197, 0.06);
  }

  .navbar-collapse .btn-nav {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    text-align: center;
    margin-top: 8px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .about-img-main img {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item-tall {
    grid-row: span 1;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1 1 80px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    justify-content: center;
    width: 100%;
  }

  .about-experience-badge {
    width: 90px;
    height: 90px;
    top: 10px;
    right: 10px;
  }

  .exp-number {
    font-size: 1.4rem;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .cta-section {
    padding: 70px 0;
  }
}

@media (max-width: 575.98px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }
}

/* ---------- VIDEO CARDS ---------- */
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  background: #000;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-card video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* ---------- GALLERY CAROUSEL ---------- */
.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-scroll-item {
  flex: 0 0 260px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-scroll-item:hover {
  transform: scale(1.03);
}

.gallery-scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-nav:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.gallery-nav-prev {
  left: 12px;
}

.gallery-nav-next {
  right: 12px;
}

/* ---------- INSTAGRAM SECTION ---------- */
.btn-instagram {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #F77737 100%);
  color: #fff;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(131, 58, 180, 0.3);
  transition: var(--transition);
}

.btn-instagram:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(131, 58, 180, 0.4);
}

.insta-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  transition: var(--transition);
  cursor: pointer;
}

.insta-thumb:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.insta-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- RESPONSIVE (new elements) ---------- */
@media (max-width: 991.98px) {
  .gallery-scroll-item {
    flex: 0 0 220px;
    height: 170px;
  }
}

@media (max-width: 767.98px) {
  .video-card video {
    height: 200px;
  }

  .gallery-scroll-item {
    flex: 0 0 200px;
    height: 150px;
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}