/* ============================================================
   CIC Group of Institutions — style.css
   Primary: #0A3D62 | Accent: #F4B400 | White: #ffffff
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #0A3D62;
  --primary-dark: #072d4a;
  --primary-light: #1a5276;
  --accent: #f4c700;
  --accent-dark: #d4a000;
  --white: #ffffff;
  --light: #f8f9fa;
  --light-2: #eef2f7;
  --gray: #6c757d;
  --dark: #1a1a2e;
  --text: #333344;
  --shadow: 0 8px 32px rgba(10, 61, 98, .13);
  --shadow-lg: 0 16px 48px rgba(10, 61, 98, .18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  width: 100%;
  overflow-x: hidden;
}
/* Prevent container overflow on mobile */
@media (max-width: 600px) {
  .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 100vw;
    overflow-x: hidden;
    padding-left: 8px;
    padding-right: 8px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

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

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

/* ── Utility ── */
.section-pad {
  padding: 90px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--primary);
  position: relative;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 50px;
}

.title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 4px;
  margin: 12px auto 20px;
}

.title-line.left {
  margin-left: 0;
}

.bg-primary-custom {
  background: var(--primary);
}

.bg-accent {
  background: var(--accent);
}

.bg-light-custom {
  background: var(--light-2);
}

.text-accent {
  color: var(--accent) !important;
}

.text-primary-custom {
  color: var(--primary) !important;
}

/* ── Buttons ── */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .5px;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-accent-custom {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
  padding: 12px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition);
}

.btn-accent-custom:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 180, 0, .3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
#mainNav {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10, 61, 98, .1);
  padding: 14px 0;
  transition: var(--transition);
  z-index: 1050;
}

#mainNav.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(10, 61, 98, .18);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;

  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(10, 61, 98, .3);
  flex-shrink: 0;
}

.brand-text-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.1;
}

.brand-text-sub {
  font-size: .7rem;
  color: var(--gray);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: var(--text) !important;
  padding: 8px 14px !important;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
}

.nav-apply-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary) !important;
  border-radius: 50px;
  padding: 9px 22px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(244, 180, 0, .35);
}

.nav-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 180, 0, .45);
  color: var(--primary) !important;
}

.nav-apply-btn::after {
  display: none !important;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 10px 0;
  margin-top: 8px;
  min-width: 240px;
}

.dropdown-item {
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  padding: 10px 20px;
  color: var(--text);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--light-2);
  color: var(--primary);
  padding-left: 28px;
}

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.759),rgba(0, 0, 0, 0.31),rgba(0, 0, 0, 0.753)),
    url('/images/gate.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-block;
  background: rgba(244, 180, 0, .2);
  border: 1px solid rgba(244, 180, 0, .5);
  color: var(--accent);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 105px;
  animation: fadeInDown .8s ease;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  animation: fadeInUp .8s ease .2s both;
}

.hero-title span {
  color: var(--accent);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .85);
  margin-bottom: 16px;
  font-style: italic;
  animation: fadeInUp .8s ease .35s both;
}

.hero-admissions {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 36px;
  animation: fadeInUp .8s ease .45s both;
}

.hero-actions {
  animation: fadeInUp .8s ease .55s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
  animation: fadeInUp .8s ease .65s both;
}

.hero-stat {
  text-align: center;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 28px;
  border-radius: var(--radius);
}

.hero-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(var(--accent), transparent);
  margin: 0 auto;
}

/* ── ABOUT STRIP ── */
.about-highlights {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(10, 61, 98, .1);
  padding: 18px;
  border-radius: var(--radius);
  flex: 1;
  min-width: 220px;
  box-shadow: 0 4px 16px rgba(10, 61, 98, .06);
  transition: var(--transition);
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}

.highlight-text h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.highlight-text p {
  font-size: .85rem;
  color: var(--gray);
  margin: 0;
}

/* ── INSTITUTION CARDS ── */
.inst-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 61, 98, .09);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(10, 61, 98, .07);
}

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

.inst-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.inst-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.inst-card:hover .inst-card-img img {
  transform: scale(1.07);
}

.inst-card-level {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.inst-card-body {
  padding: 24px;
}

.inst-card-body h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.inst-card-body p {
  font-size: .875rem;
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.65;
}

.inst-card-body a {
  font-size: .875rem;
}

/* ── FACILITIES ── */
.facility-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 61, 98, .08);
  box-shadow: 0 4px 20px rgba(10, 61, 98, .06);
  transition: var(--transition);
  cursor: default;
}

.facility-card:hover {
  background: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.facility-card:hover h5,
.facility-card:hover p {
  color: var(--white);
}

.facility-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--light-2), var(--white));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  transition: var(--transition);
  border: 2px solid rgba(10, 61, 98, .08);
}

.facility-card:hover .facility-icon {
  background: var(--accent);
}

.facility-card h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  transition: var(--transition);
}

.facility-card p {
  font-size: .85rem;
  color: var(--gray);
  margin: 0;
  transition: var(--transition);
}

/* ── CHAIRMAN ── */
.chairman-section {
  background: linear-gradient(135deg, var(--light-2) 0%, var(--white) 100%);
}

.chairman-photo-wrap {
  position: relative;
  display: inline-block;
}

.chairman-photo-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  object-fit: cover;
  height: 460px;
}

.chairman-photo-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.chairman-photo-wrap img {
  position: relative;
  z-index: 1;
}

.chairman-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
  background: var(--accent);
  color: var(--primary);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.chairman-badge span {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  display: block;
  line-height: 1;
}

.chairman-badge small {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chairman-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.chairman-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.chairman-title {
  font-size: .85rem;
  color: var(--gray);
}

/* ── GALLERY PREVIEW ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 61, 98, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--white);
  font-size: 1.5rem;
}

/* ── INQUIRY FORM ── */
.inquiry-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.inquiry-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(244, 180, 0, .07);
  border-radius: 50%;
}

.inquiry-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, .04);
  border-radius: 50%;
}

.inquiry-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.form-control-custom {
  border: 1.5px solid rgba(10, 61, 98, .15);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: .9rem;
  color: var(--text);
  transition: var(--transition);
  width: 100%;
  outline: none;
  background: var(--white);
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 61, 98, .1);
}

.form-control-custom.is-invalid {
  border-color: #dc3545;
}

.form-label-custom {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}

.form-group-custom {
  margin-bottom: 20px;
}

/* ── CONTACT ── */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

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

/* ── FOOTER ── */
footer {
  background: linear-gradient(135deg, #0a2540 0%, var(--primary) 100%);
  color: rgba(255, 255, 255, .8);
}

.footer-top {
  padding: 70px 0 40px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand .brand-text-main {
  color: var(--white);
}

.footer-brand .brand-text-sub {
  color: rgba(255, 255, 255, .5);
}

.footer-desc {
  font-size: .875rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .65);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .95rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, .15);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, .65);
  font-size: .875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-links a i {
  font-size: .7rem;
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, rgba(7, 45, 74, .95) 0%, rgba(10, 61, 98, .9) 100%),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1400&q=80') center/cover;
  padding: 130px 0 70px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-hero p {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  margin-top: 10px;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.breadcrumb-custom a {
  color: var(--accent);
  font-size: .875rem;
}

.breadcrumb-custom span {
  color: rgba(255, 255, 255, .5);
  font-size: .875rem;
}

/* ── INSTITUTION PAGE ── */
.inst-page-hero {
  background: linear-gradient(135deg, rgba(7, 45, 74, .92) 0%, rgba(10, 61, 98, .85) 100%),
    url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=1400&q=80') center/cover;
  padding: 140px 0 80px;
  text-align: center;
}

.inst-page-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 3rem);
}

.inst-page-hero .badge-level {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── ABOUT PAGE ── */
.vision-mission-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  height: 100%;
  transition: var(--transition);
}

.vm-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(10, 61, 98, .08);
  transition: var(--transition);
}

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

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--light-2);
  overflow: hidden;
  border: 3px solid var(--accent);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── GALLERY PAGE ── */
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-full-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

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

.gallery-filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  border: 2px solid rgba(10, 61, 98, .2);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  margin: 4px;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0, 0, 0, .5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: var(--accent);
  color: var(--primary);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  animation: pulse-wa 2.5s infinite;
  transition: transform .3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  color: var(--white);
}

/* ── SCROLL ANIMATIONS ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {

  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── KEYFRAMES ── */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 8px 40px rgba(37, 211, 102, .7);
  }
}

/* ── RESPONSIVE ── */
@media (max-width:991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 2;
  }

  .gallery-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-stats {
    gap: 16px;
  }

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

  .inquiry-form-wrap {
    padding: 24px;
  }

  .chairman-photo-wrap::before {
    display: none;
  }

  .chairman-badge {
    right: 0;
  }
}

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

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
}