:root {
  --primary: #0b4f8a;
  --primary-dark: #06345f;
  --primary-deep: #041f3d;
  --secondary: #16a6a1;
  --secondary-soft: #dff7f5;
  --accent: #f2b84b;
  --ink: #172033;
  --muted: #68758a;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --line: #e4eaf1;
  --shadow-sm: 0 10px 30px rgba(13, 55, 95, .08);
  --shadow-md: 0 22px 55px rgba(13, 55, 95, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--secondary); color: #fff; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

/* Top strip */
.top-strip {
  position: relative;
  z-index: 1025;
  padding: 8px 0;
  color: rgba(255,255,255,.92);
  background: linear-gradient(90deg, var(--primary-deep), var(--primary-dark));
  font-size: .78rem;
}
.top-contact span,
.top-contact a,
.top-socials { display: inline-flex; align-items: center; gap: 7px; }
.top-contact i { color: #7ee0dc; }
.top-contact a:hover { color: #fff; }
.top-socials { gap: 10px; }
.top-socials > a {
  width: 27px; height: 27px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.1); transition: .25s ease;
}
.top-socials > a:hover { background: var(--secondary); transform: translateY(-2px); }

/* Navbar */
.main-navbar {
  padding: 10px 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,55,90,.07);
  transition: .3s ease;
}
.main-navbar.is-scrolled { padding: 6px 0; box-shadow: 0 10px 35px rgba(18,55,85,.10); }
.brand-wrap { display: flex; align-items: center; gap: 11px; padding: 0; }
.brand-logo {
  width: 62px; height: 62px; overflow: hidden; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; transition: .3s ease;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-wrap:hover .brand-logo { transform: rotate(-3deg) scale(1.03); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: 'Playfair Display', serif; font-size: 1.45rem; letter-spacing: .04em; color: var(--primary-dark); }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .68rem; letter-spacing: .10em; text-transform: uppercase; }
.navbar-nav { gap: 2px; }
.navbar-nav .nav-link {
  position: relative;
  padding: 10px 11px !important;
  font-size: .89rem;
  font-weight: 700;
  color: #344158;
  border-radius: 10px;
  transition: .25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); background: #f3f7fb; }
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 6px;
  height: 2px; border-radius: 3px; background: var(--secondary);
  transform: scaleX(0); transition: transform .25s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  border: 0;
  color: #fff !important;
  font-size: .85rem;
  font-weight: 800;
  border-radius: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 24px rgba(13,120,150,.20);
  transition: .25s ease;
}
.nav-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(13,120,150,.28); }
.dropdown-menu {
  border: 1px solid rgba(15,55,90,.08);
  border-radius: 16px;
  padding: 9px;
  margin-top: 9px !important;
  box-shadow: 0 24px 55px rgba(20,50,80,.15);
}
.dropdown-item { padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .84rem; color: #3c4960; }
.dropdown-item i { width: 22px; color: var(--primary); }
.dropdown-item:hover { background: #f1f7fb; color: var(--primary); }
.navbar-toggler { border: 0; box-shadow: none !important; padding: 8px; }
.navbar-toggler span { width: 24px; height: 2px; display: block; margin: 5px 0; border-radius: 2px; background: var(--primary-dark); }

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 34px 0 48px;
  background: radial-gradient(circle at 9% 20%, rgba(22,166,161,.10), transparent 29%),
              radial-gradient(circle at 92% 8%, rgba(11,79,138,.12), transparent 27%),
              linear-gradient(180deg, #f8fbfe 0%, #fff 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .65; pointer-events: none; animation: floatOrb 9s ease-in-out infinite; }
.hero-orb-one { width: 130px; height: 130px; background: rgba(242,184,75,.18); left: -40px; bottom: 20px; }
.hero-orb-two { width: 95px; height: 95px; background: rgba(22,166,161,.14); right: 2%; top: 12%; animation-delay: -3s; }
@keyframes floatOrb { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(12deg); } }
.hero-carousel { height: 100%; border-radius: 28px; overflow: hidden; box-shadow: 0 28px 70px rgba(16,61,99,.21); background: #0b3157; }
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item { height: 100%; min-height: 520px; }
.hero-carousel .carousel-item img { width: 100%; height: 520px; object-fit: cover; transform: scale(1.015); transition: transform 6s ease; }
.hero-carousel .carousel-item.active img { transform: scale(1.07); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,29,53,.90) 0%, rgba(3,35,64,.63) 47%, rgba(3,35,64,.12) 78%),
              linear-gradient(0deg, rgba(3,29,53,.48), transparent 55%);
}
.hero-caption {
  left: 7%; right: auto; bottom: 12%; width: min(650px, 82%); text-align: left; padding: 0; z-index: 3;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px; margin-bottom: 14px;
  font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .10em;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.20); backdrop-filter: blur(7px);
}
.hero-kicker i { color: var(--accent); }
.hero-caption h1,
.hero-caption h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: clamp(2.1rem, 4.5vw, 4rem); line-height: 1.05; margin: 0 0 16px; text-shadow: 0 8px 28px rgba(0,0,0,.22); }
.hero-caption h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.hero-caption p { max-width: 570px; color: rgba(255,255,255,.88); font-size: 1rem; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.hero-btn { border-radius: 12px; padding: 10px 17px; font-weight: 800; font-size: .84rem; }
.carousel-control-prev,
.carousel-control-next { width: 7%; opacity: .75; }
.carousel-indicators { justify-content: flex-start; margin-left: 7%; margin-right: 0; margin-bottom: 24px; }
.carousel-indicators [data-bs-target] { width: 25px; height: 4px; border: 0; border-radius: 999px; }

/* News */
.news-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 28px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(160deg, #0c4e86 0%, #06345f 55%, #051f3b 100%);
  box-shadow: 0 28px 65px rgba(7,53,93,.19);
}
.news-panel::before { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -75px; top: -85px; background: rgba(22,166,161,.19); }
.news-panel-head { position: relative; display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.news-panel .eyebrow { color: #8ee5df; }
.news-panel-head h2 { margin: 2px 0 0; font-family: 'Playfair Display', serif; font-size: 1.75rem; }
.pulse-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); padding: 6px 9px; border-radius: 999px; }
.pulse-badge span { width: 7px; height: 7px; border-radius: 50%; background: #63e6be; box-shadow: 0 0 0 rgba(99,230,190,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(99,230,190,0); } 100% { box-shadow: 0 0 0 0 rgba(99,230,190,0); } }
.news-list { position: relative; display: grid; gap: 9px; }
.news-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 11px; align-items: center; padding: 11px; border-radius: 15px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.08); transition: .25s ease; }
.news-item:hover { color: #fff; transform: translateX(4px); background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.18); }
.news-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(22,166,161,.18); color: #9ef0eb; }
.news-item strong { display: block; font-size: .82rem; margin-bottom: 1px; }
.news-item small { display: block; color: rgba(255,255,255,.64); line-height: 1.35; font-size: .69rem; }
.news-item > i { font-size: .7rem; color: rgba(255,255,255,.65); }
.news-cta { position: relative; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 13px; padding: 11px; font-size: .78rem; font-weight: 800; background: #fff; color: var(--primary-dark); transition: .25s ease; }
.news-cta:hover { color: var(--primary); transform: translateY(-2px); }

/* Facts */
.facts-section { position: relative; z-index: 5; margin-top: -18px; }
.facts-card { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 22px; background: rgba(255,255,255,.96); border: 1px solid rgba(15,65,105,.07); box-shadow: var(--shadow-md); }
.fact-item { display: flex; align-items: center; gap: 13px; justify-content: center; }
.fact-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: #edf6fb; }
.fact-item strong { display: block; font-size: 1rem; color: var(--primary-dark); line-height: 1.2; }
.fact-item span:last-child { display: block; color: var(--muted); font-size: .70rem; margin-top: 3px; }
.fact-divider { width: 1px; height: 35px; background: var(--line); }

/* Global section styles */
.section-space { padding: 88px 0; }
.section-heading { max-width: 760px; }
.section-heading.text-center { margin-left: auto; margin-right: auto; margin-bottom: 42px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--secondary); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; margin-bottom: 8px; }
.eyebrow.light { color: #9eeae5; }
.section-heading h2,
.activity-copy h2,
.enquiry-info h2 { font-family: 'Playfair Display', serif; color: var(--primary-deep); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.13; margin: 0 0 14px; }
.section-heading p { color: var(--muted); margin: 0; }

/* Values */
.values-section { background: linear-gradient(180deg, #fff 0%, #f7fafc 100%); }
.value-card { position: relative; height: 100%; overflow: hidden; padding: 31px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: .35s ease; }
.value-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; transform: scaleX(.18); transform-origin: left; transition: .35s ease; }
.mission-card::after { background: #ff7b6b; }
.vision-card::after { background: var(--secondary); }
.philosophy-card::after { background: #7a78dd; }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card:hover::after { transform: scaleX(1); }
.value-number { position: absolute; right: 20px; top: 14px; font-family: 'Playfair Display', serif; font-size: 3.5rem; color: #eef2f6; line-height: 1; }
.value-icon { position: relative; width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 23px; border-radius: 16px; font-size: 1.25rem; color: var(--primary); background: #eef6fb; }
.value-card h3 { position: relative; color: var(--primary-dark); font-size: 1.24rem; font-weight: 800; margin-bottom: 12px; }
.value-card p { position: relative; color: var(--muted); font-size: .9rem; margin: 0; }

/* About */
.about-section { overflow: hidden; }
.image-stack { position: relative; padding: 0 35px 35px 0; }
.image-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-md); }
.image-floating-card { position: absolute; right: 0; bottom: 0; width: min(280px, 72%); display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
.image-floating-card i { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.image-floating-card span { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.image-floating-card strong { display: block; color: var(--primary-dark); font-size: .9rem; }
.image-dot-grid { position: absolute; left: -19px; top: -22px; width: 90px; height: 90px; opacity: .30; z-index: -1; background-image: radial-gradient(var(--secondary) 1.5px, transparent 1.5px); background-size: 12px 12px; }
.about-section p { color: var(--muted); font-size: .93rem; }
.about-points { display: grid; gap: 11px; margin: 23px 0; }
.about-points div { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; font-weight: 700; color: #3f4d63; }
.about-points i { color: var(--secondary); margin-top: 5px; }
.primary-btn,
.secondary-btn { border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 800; font-size: .83rem; transition: .25s ease; }
.primary-btn { color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 13px 28px rgba(8,100,130,.18); }
.primary-btn:hover { color: #fff; transform: translateY(-2px); }
.secondary-btn { color: var(--primary); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.secondary-btn:hover { color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Leadership */
.leadership-section { background: #f5f8fc; }
.leader-card { height: 100%; display: grid; grid-template-columns: 180px 1fr; align-items: stretch; overflow: hidden; border-radius: 25px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .35s ease; }
.leader-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.leader-photo-wrap { position: relative; min-height: 320px; overflow: hidden; }
.leader-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.leader-card:hover .leader-photo-wrap img { transform: scale(1.045); }
.leader-badge { position: absolute; right: -18px; top: 30px; width: 46px; height: 46px; display: grid; place-items: center; border: 5px solid #fff; border-radius: 50%; background: var(--accent); color: var(--primary-deep); }
.leader-content { padding: 29px 25px; }
.leader-content h3 { margin: 0; font-size: 1.32rem; font-weight: 800; color: var(--primary-dark); }
.leader-content small { display: block; margin: 3px 0 16px; color: var(--secondary); font-weight: 800; }
.leader-content p { margin: 0; color: var(--muted); font-size: .87rem; font-style: italic; }

/* House */
.house-section { position: relative; overflow: hidden; }
.house-section::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -180px; bottom: -150px; background: rgba(22,166,161,.07); }
.house-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.house-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; border: 1px solid transparent; }
.prithvi { color: #277548; background: #eaf8ef; border-color: #ccebd7; }
.akash { color: #2968a0; background: #edf6ff; border-color: #d0e5f9; }
.vayu { color: #a87b00; background: #fff7d9; border-color: #f4e8a9; }
.agni { color: #b4443d; background: #fff0ed; border-color: #f5d2cd; }
.council-card { position: relative; padding: 30px; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(145deg, #0c4c82, #052b50); box-shadow: var(--shadow-md); }
.council-card::after { content: ''; position: absolute; width: 170px; height: 170px; right: -70px; top: -75px; border-radius: 50%; background: rgba(22,166,161,.18); }
.council-title { position: relative; display: flex; align-items: center; gap: 13px; margin-bottom: 23px; }
.council-title > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: #a4f2ee; background: rgba(255,255,255,.09); }
.council-title small { color: #9ddedb; text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; font-weight: 800; }
.council-title h3 { margin: 2px 0 0; font-size: 1.28rem; }
.council-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.council-grid > div { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: start; padding: 14px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.06); border-radius: 14px; }
.council-grid span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(22,166,161,.18); color: #a0ece8; font-weight: 800; font-size: .7rem; }
.council-grid p { color: rgba(255,255,255,.77); font-size: .76rem; line-height: 1.5; margin: 0; }

/* Activity */
.activity-section { padding-top: 30px; }
.activity-card { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.activity-image { position: relative; min-height: 430px; overflow: hidden; }
.activity-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.activity-card:hover .activity-image img { transform: scale(1.04); }
.activity-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,31,61,.45), transparent 48%); }
.activity-chip { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; color: #fff; font-size: .74rem; font-weight: 800; background: rgba(4,31,61,.68); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.activity-copy { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.activity-copy p { color: var(--muted); font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--primary); font-weight: 800; font-size: .84rem; }
.text-link i { transition: transform .25s ease; }
.text-link:hover i { transform: translateX(4px); }

/* Video */
.video-section { background: linear-gradient(180deg, #f7fafc 0%, #fff 100%); }
.video-card { overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .3s ease; }
.video-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.video-card video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #071d34; }
.video-card > div { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; }
.video-card span { font-size: .83rem; font-weight: 800; color: var(--primary-dark); }
.video-card i { color: var(--secondary); }

/* Gallery strip */
.gallery-strip { padding: 0; overflow: hidden; }
.gallery-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.gallery-strip-grid a { position: relative; display: block; overflow: hidden; min-height: 280px; }
.gallery-strip-grid img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.gallery-strip-grid a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,23,44,.58), transparent 55%); transition: .35s ease; }
.gallery-strip-grid span { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: #fff; font-size: .86rem; font-weight: 800; letter-spacing: .03em; }
.gallery-strip-grid a:hover img { transform: scale(1.07); filter: saturate(1.08); }

/* Enquiry */
.enquiry-section { background: #f5f8fc; }
.enquiry-shell { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: 30px; background: #fff; box-shadow: var(--shadow-md); }
.enquiry-info { position: relative; padding: 48px; color: #fff; background: linear-gradient(145deg, #0c4f87, #052d52); overflow: hidden; }
.enquiry-info::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -120px; bottom: -110px; background: rgba(22,166,161,.17); }
.enquiry-info h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.7rem); }
.enquiry-info > p { color: rgba(255,255,255,.72); font-size: .9rem; }
.enquiry-contact { position: relative; display: grid; gap: 11px; margin-top: 28px; }
.enquiry-contact a { display: flex; align-items: center; gap: 12px; color: #fff; padding: 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 15px; background: rgba(255,255,255,.06); transition: .25s ease; }
.enquiry-contact a:hover { background: rgba(255,255,255,.11); transform: translateX(4px); }
.enquiry-contact a > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #9ff0eb; background: rgba(22,166,161,.16); }
.enquiry-contact small { display: block; color: rgba(255,255,255,.56); font-size: .65rem; }
.enquiry-contact strong { display: block; font-size: .76rem; }
.enquiry-form-card { padding: 44px; }
.form-label { color: #425068; font-size: .75rem; font-weight: 800; margin-bottom: 6px; }
.form-control { min-height: 48px; border-radius: 12px; border: 1px solid #dce4ec; padding: 11px 13px; font-size: .84rem; box-shadow: none !important; transition: .2s ease; }
.form-control:focus { border-color: rgba(22,166,161,.65); box-shadow: 0 0 0 4px rgba(22,166,161,.08) !important; }
textarea.form-control { min-height: 120px; resize: vertical; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9aa8b9; font-size: .78rem; }
.input-icon .form-control { padding-left: 38px; }
.invalid-feedback { font-size: .68rem; }
.submit-btn { padding: 12px 18px; border: 0; border-radius: 12px; color: #fff; font-weight: 800; font-size: .84rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 12px 26px rgba(9,98,130,.17); }
.submit-btn:hover { color: #fff; transform: translateY(-1px); }

/* Footer */
.footer { color: rgba(255,255,255,.75); background: #041c35; }
.footer-content { padding-top: 65px; padding-bottom: 50px; }
.footer-logo { width: 58px; height: 58px; object-fit: cover; border-radius: 15px; border: 2px solid rgba(255,255,255,.15); }
.footer-brand h4 { color: #fff; font-family: 'Playfair Display', serif; }
.footer-brand span { font-size: .68rem; color: #7fded9; text-transform: uppercase; letter-spacing: .08em; }
.footer-about { max-width: 340px; font-size: .78rem; }
.footer-socials { display: flex; gap: 9px; margin-top: 18px; }
.footer-socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: rgba(255,255,255,.07); transition: .25s ease; }
.footer-socials a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-title { color: #fff; font-size: .96rem; font-weight: 800; margin-bottom: 17px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { position: relative; display: inline-flex; color: rgba(255,255,255,.66); font-size: .76rem; transition: .22s ease; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact-grid { display: grid; gap: 8px; }
.footer-contact-grid a,
.footer-contact-grid > div { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.68); font-size: .75rem; }
.footer-contact-grid i { margin-top: 5px; color: #83ded9; width: 14px; }
.footer-map { overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,.10); }
.footer-bottom { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.46); font-size: .69rem; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 12px 28px rgba(7,64,97,.25); z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* Reveal animations */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.3,1); }
[data-reveal="fade-left"] { transform: translateX(34px); }
[data-reveal="fade-right"] { transform: translateX(-34px); }
[data-reveal="zoom-in"] { transform: scale(.96); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.row > [data-reveal]:nth-child(2) { transition-delay: .08s; }
.row > [data-reveal]:nth-child(3) { transition-delay: .16s; }
.row > [data-reveal]:nth-child(4) { transition-delay: .22s; }

/* Gallery page */
.gallery-page { background: #f5f8fc; }
.gallery-hero { position: relative; padding: 76px 0 60px; overflow: hidden; color: #fff; background: linear-gradient(140deg, #073b70, #0b4f8a 55%, #16a6a1); }
.gallery-hero::after { content: ''; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 22px 22px; }
.gallery-hero .container { position: relative; z-index: 2; }
.gallery-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 4.3rem); margin-bottom: 9px; }
.gallery-hero p { max-width: 600px; color: rgba(255,255,255,.78); }
.gallery-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(7px); font-size: .76rem; font-weight: 800; }
.gallery-back:hover { color: #fff; background: rgba(255,255,255,.14); }
.gallery-page-section { padding: 65px 0 85px; }
.modern-gallery { columns: 4 250px; column-gap: 16px; }
.gallery-tile { position: relative; display: block; break-inside: avoid; margin-bottom: 16px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery-tile img { display: block; width: 100%; height: auto; transition: transform .45s ease, filter .45s ease; }
.gallery-tile::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: rgba(3,31,59,.62); backdrop-filter: blur(6px); transform: translateY(9px); opacity: 0; transition: .3s ease; }
.gallery-tile:hover img { transform: scale(1.035); filter: saturate(1.08); }
.gallery-tile:hover::after { transform: translateY(0); opacity: 1; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(2,18,34,.92); backdrop-filter: blur(7px); }
.gallery-lightbox.open { display: flex; animation: lightboxIn .25s ease; }
.gallery-lightbox img { max-width: min(1150px, 92vw); max-height: 86vh; object-fit: contain; border-radius: 18px; box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.lightbox-close { position: absolute; right: 24px; top: 20px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; color: #fff; background: rgba(255,255,255,.08); font-size: 1.25rem; cursor: pointer; }
@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; }
}

@media (max-width: 1199.98px) {
  .brand-copy strong { font-size: 1.25rem; }
  .brand-logo { width: 56px; height: 56px; }
  .navbar-nav .nav-link { font-size: .8rem; padding-left: 8px !important; padding-right: 8px !important; }
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item { min-height: 480px; }
  .hero-carousel .carousel-item img { height: 480px; }
  .leader-card { grid-template-columns: 155px 1fr; }
}

@media (max-width: 991.98px) {
  .top-strip { display: none; }
  .main-navbar { padding: 8px 0; }
  .navbar-collapse { margin-top: 12px; padding: 13px; max-height: calc(100vh - 92px); overflow-y: auto; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .navbar-nav { align-items: stretch !important; gap: 3px; }
  .navbar-nav .nav-link { padding: 10px 12px !important; }
  .nav-cta { display: block; text-align: center; }
  .dropdown-menu { box-shadow: none; background: #f7f9fc; margin: 4px 0 !important; }
  .hero-section { padding-top: 24px; }
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item { min-height: 460px; }
  .hero-carousel .carousel-item img { height: 460px; }
  .news-panel { min-height: 460px; }
  .facts-card { grid-template-columns: 1fr 1fr; }
  .fact-divider { display: none; }
  .fact-item { justify-content: flex-start; }
  .activity-card,
  .enquiry-shell { grid-template-columns: 1fr; }
  .activity-image { min-height: 380px; }
  .gallery-strip-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip-grid a,
  .gallery-strip-grid img { min-height: 240px; }
}

@media (max-width: 767.98px) {
  html { scroll-padding-top: 78px; }
  .brand-logo { width: 48px; height: 48px; border-radius: 14px; }
  .brand-copy strong { font-size: 1.12rem; }
  .brand-copy small { font-size: .57rem; }
  .section-space { padding: 65px 0; }
  .hero-carousel { border-radius: 21px; }
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item { min-height: 430px; }
  .hero-carousel .carousel-item img { height: 430px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(3,29,53,.90) 0%, rgba(3,35,64,.55) 65%, rgba(3,35,64,.18) 100%); }
  .hero-caption { left: 6%; width: 88%; bottom: 14%; }
  .hero-caption p { font-size: .84rem; line-height: 1.55; }
  .hero-btn { padding: 9px 13px; font-size: .75rem; }
  .carousel-control-prev,
  .carousel-control-next { display: none; }
  .news-panel { min-height: auto; padding: 20px; }
  .news-cta { margin-top: 18px; }
  .facts-section { margin-top: 22px; }
  .facts-card { padding: 17px; gap: 18px 8px; }
  .fact-item { gap: 9px; }
  .fact-icon { width: 40px; height: 40px; flex: 0 0 40px; }
  .fact-item strong { font-size: .88rem; }
  .fact-item span:last-child { font-size: .62rem; }
  .section-heading.text-center { margin-bottom: 30px; }
  .value-card { padding: 25px; }
  .image-stack { padding-right: 20px; padding-bottom: 28px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo-wrap { min-height: 310px; max-height: 380px; }
  .leader-badge { right: 22px; top: auto; bottom: -18px; }
  .council-grid { grid-template-columns: 1fr; }
  .activity-image { min-height: 300px; }
  .activity-copy { padding: 30px 24px; }
  .gallery-strip-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip-grid a,
  .gallery-strip-grid img { min-height: 190px; }
  .enquiry-info,
  .enquiry-form-card { padding: 30px 24px; }
  .footer-content { padding-top: 50px; padding-bottom: 40px; }
}

@media (max-width: 575.98px) {
  .hero-section .container { padding-left: 12px; padding-right: 12px; }
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item { min-height: 410px; }
  .hero-carousel .carousel-item img { height: 410px; }
  .hero-caption h1,
  .hero-caption h2 { font-size: 2rem; }
  .hero-kicker { font-size: .61rem; }
  .hero-actions { gap: 7px; }
  .facts-card { grid-template-columns: 1fr; }
  .fact-item { justify-content: flex-start; }
  .section-heading h2,
  .activity-copy h2 { font-size: 2rem; }
  .image-floating-card { width: 78%; padding: 12px; }
  .gallery-strip-grid { grid-template-columns: 1fr; }
  .gallery-strip-grid a,
  .gallery-strip-grid img { min-height: 230px; }
  .modern-gallery { columns: 2 145px; column-gap: 10px; }
  .gallery-tile { margin-bottom: 10px; border-radius: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
