/* ==========================================================================
   BANDHAN PARIVAR SECURITY GUARD SERVICES - PAGE SPECIFIC STYLES
   ========================================================================== */

/* ==========================================================================
   HOME PAGE (INDEX)
   ========================================================================== */
.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 30%, rgba(255, 107, 0, 0.15) 100%), url('../images/hero/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 151, 58, 0.12);
  border: 1px solid rgba(201, 151, 58, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 28px;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--color-gold);
}

.hero-content h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-content h1 em {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 550px;
  line-height: 1.65;
}

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

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-stat-card {
  background: rgba(7, 16, 30, 0.65);
  backdrop-filter: blur(12px);
  border: var(--border-glass);
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition-smooth);
}

.hero-stat-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--color-gold-light);
  margin-bottom: 4px;
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
}

/* Home Service Cards Grid */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.home-service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.h-service-icon {
  font-size: 40px;
  margin-bottom: 24px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.home-service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-white);
}

.home-service-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.home-service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

.home-service-card:hover .learn-more {
  color: var(--color-gold-light);
}

.home-service-card .learn-more i {
  transition: transform 0.3s ease;
}

.home-service-card:hover .learn-more i {
  transform: translateX(5px);
}

/* Client logos slider container styles */
.clients-slider-section {
  background-color: var(--color-dark);
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.swiper-client {
  width: 100%;
  overflow: hidden;
}

.client-slide {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gray-mid);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 0 16px;
  text-align: center;
  transition: var(--transition-smooth);
}

.client-slide:hover {
  background: rgba(201, 151, 58, 0.05);
  border-color: rgba(201, 151, 58, 0.2);
  color: var(--color-gold-light);
}

/* Testimonial slider layouts */
.testimonials-section {
  background-color: var(--color-primary);
}

.swiper-testimonial {
  width: 100%;
  padding-bottom: 50px !important;
}

.testi-slide-card {
  background: var(--glass-bg);
  border: var(--border-glass);
  border-radius: 8px;
  padding: 40px;
  height: auto;
}

.quote-icon {
  font-size: 40px;
  color: rgba(201, 151, 58, 0.15);
  margin-bottom: 16px;
  line-height: 1;
}

.testi-text {
  font-size: 16px;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.testi-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-initials {
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 16px;
}

.author-meta h4 {
  font-size: 15px;
  color: var(--color-white);
  margin-bottom: 2px;
}

.author-meta p {
  font-size: 12px;
  color: var(--color-text-muted);
}

.swiper-pagination-bullet {
  background: var(--color-white) !important;
  opacity: 0.3 !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-gold) !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 4px !important;
}


/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-visual {
  position: relative;
  height: 480px;
}

.visual-box-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 400px;
  background: linear-gradient(rgba(7,16,30,0.5), rgba(7,16,30,0.5)), url('../images/about/about_main.png') var(--color-secondary);
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: var(--border-glass);
}

.visual-box-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 180px;
  background: var(--gradient-gold);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.visual-box-accent h3 {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.visual-box-accent p {
  font-size: 12px;
  font-weight: 700;
  color: rgba(7, 16, 30, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 4px;
}

/* interactive Timeline */
.timeline-section {
  background-color: var(--color-dark);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: rgba(201, 151, 58, 0.25);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--color-dark);
  border: 3px solid var(--color-gold);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -8px;
}

.timeline-content {
  padding: 24px;
  background: var(--glass-bg);
  border: var(--border-glass);
  position: relative;
  border-radius: 6px;
}

.timeline-year {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-gold-light);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--color-white);
}

.timeline-content p {
  font-size: 13px;
  color: var(--color-text-muted);
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-container::after {
    left: 23px;
    right: auto;
  }
  .left, .right {
    left: 0;
  }
}

/* Certifications Panel */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.cert-card {
  text-align: center;
  padding: 48px 32px;
}

.cert-icon {
  font-size: 48px;
  margin-bottom: 24px;
  color: var(--color-gold);
}


/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.services-header-section {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 40%, rgba(255, 107, 0, 0.15) 100%), url('../images/services/services_hero.png') var(--color-secondary);
  background-size: cover;
  background-position: center;
  text-align: center;
}

/* Page specific header background image overrides */
.about-header-bg {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 40%, rgba(255, 107, 0, 0.15) 100%), url('../images/about/about_header.png') !important;
}
.services-header-bg {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 40%, rgba(255, 107, 0, 0.15) 100%), url('../images/services/services_hero.png') !important;
}
.clients-header-bg {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 40%, rgba(255, 107, 0, 0.15) 100%), url('../images/clients/clients_header.png') !important;
}
.gallery-header-bg {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 40%, rgba(255, 107, 0, 0.15) 100%), url('../images/gallery/gallery_header.png') !important;
}
.careers-header-bg {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 40%, rgba(255, 107, 0, 0.15) 100%), url('../images/careers/careers_header.png') !important;
}
.contact-header-bg {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 40%, rgba(255, 107, 0, 0.15) 100%), url('../images/contact/contact_header.png') !important;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

/* Custom Service Card Styles */
.service-card-new {
  position: relative;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 107, 0, 0.08);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.service-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-new:hover::before {
  opacity: 1;
}

.service-card-new:hover {
  transform: translateY(-8px);
  background: rgba(30, 41, 59, 0.65);
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.15);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.service-card-icon-bg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: all 0.3s ease;
}

.service-card-new:hover .service-card-icon-bg {
  background: rgba(255, 107, 0, 0.16);
  transform: scale(1.05);
}

.service-card-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: rgba(255, 107, 0, 0.15);
  transition: color 0.3s ease;
}

.service-card-new:hover .service-card-num {
  color: rgba(255, 107, 0, 0.4);
}

.service-card-new h3 {
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 14px;
  font-weight: 700;
}

.service-card-new p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.service-card-link i {
  transition: transform 0.3s ease;
}

.service-card-new:hover .service-card-link {
  color: var(--color-gold);
}

.service-card-new:hover .service-card-link i {
  transform: translateX(5px);
}

.service-detail-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sd-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.sd-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 151, 58, 0.08);
  border: 1px solid rgba(201, 151, 58, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.sd-header h3 {
  font-size: 20px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sd-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.sd-features {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  margin-bottom: 28px;
}

.sd-features h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.sd-features ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd-features li {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sd-features li i {
  color: var(--color-gold);
  font-size: 10px;
}

.sd-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sd-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-card:hover .sd-image-wrapper img {
  transform: scale(1.06);
}


/* ==========================================================================
   CLIENTS PAGE
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.industry-card {
  text-align: center;
  padding: 32px 20px;
}

.industry-icon {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--color-gold);
}

.industry-card h3 {
  font-size: 16px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-badge {
  align-self: flex-start;
  background: rgba(201, 151, 58, 0.12);
  color: var(--color-gold-light);
  border: 1px solid rgba(201, 151, 58, 0.25);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.story-card h3 {
  font-size: 22px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.story-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
  flex-grow: 1;
}

.story-stats {
  display: flex;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.story-stat-item h5 {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.story-stat-item p {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gold-light);
  margin: 0;
}


/* ==========================================================================
   GALLERY PAGE
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  gap: 20px;
}

/* Masonry effects */
.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

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

.gallery-img-wrapper {
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 16, 30, 0.9) 0%, rgba(7, 16, 30, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.gallery-overlay i {
  font-size: 20px;
  color: var(--color-gold);
  margin-bottom: 8px;
  align-self: flex-start;
}

.gallery-overlay h3 {
  font-size: 16px;
  color: var(--color-white);
}

.gallery-overlay p {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* Lightbox Styling */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 5, 8, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border: 2px solid var(--color-gold);
  border-radius: 4px;
}

.lightbox-caption {
  color: var(--color-white);
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 16px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--color-gold);
}


/* ==========================================================================
   CAREERS PAGE
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.benefit-card {
  padding: 32px 24px;
}

.benefit-icon {
  font-size: 32px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.openings-section {
  background-color: var(--color-dark);
}

.job-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
}

.job-card:first-child {
  padding-top: 0;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  cursor: pointer;
}

.job-title-group h3 {
  font-size: 20px;
  color: var(--color-white);
}

.job-meta {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.job-meta-item {
  font-size: 12px;
  color: var(--color-text-muted);
}

.job-meta-item i {
  color: var(--color-gold);
  margin-right: 6px;
}

.job-toggle-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: var(--transition-smooth);
}

.job-card.active .job-toggle-icon {
  transform: rotate(180deg);
  background: var(--gradient-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
}

.job-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.job-card.active .job-details {
  max-height: 1000px;
}

.job-details-inner {
  padding-top: 24px;
}

.job-desc-block {
  margin-bottom: 20px;
}

.job-desc-block h4 {
  font-size: 14px;
  color: var(--color-gold-light);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.job-desc-block p,
.job-desc-block ul {
  font-size: 14px;
  color: var(--color-text-muted);
}

.job-desc-block ul {
  padding-left: 20px;
  list-style-type: square;
}

.job-desc-block li {
  margin-bottom: 6px;
}

/* application Form Container */
.apply-section {
  background-color: var(--color-primary);
}

.apply-card {
  max-width: 800px;
  margin: 0 auto;
}

.form-title-block {
  text-align: center;
  margin-bottom: 40px;
}

.form-title-block h3 {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full-width {
  grid-column: span 2;
}

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

.form-group-custom label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.form-input-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 14px;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input-custom:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.06);
}

.form-input-custom option {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

textarea.form-input-custom {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #F43F5E;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.form-group-custom.error .form-input-custom {
  border-color: #F43F5E;
}

.form-group-custom.error .form-error {
  display: block;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid-main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info-panel h3 {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 28px;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.cd-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 151, 58, 0.08);
  border: 1px solid rgba(201, 151, 58, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 20px;
  flex-shrink: 0;
}

.cd-content h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.cd-content p,
.cd-content a {
  font-size: 14px;
  color: var(--color-text-muted);
}

.emergency-contact-box {
  background: rgba(217, 70, 239, 0.05) !important;
  border: 1px solid rgba(217, 70, 239, 0.25) !important;
  border-radius: 6px;
  padding: 24px;
}

.emergency-contact-box .cd-icon {
  background-color: rgba(217, 70, 239, 0.1);
  border-color: rgba(217, 70, 239, 0.3);
  color: var(--color-red);
}

.emergency-contact-box h4 {
  color: var(--color-red);
}

.emergency-contact-box p {
  color: var(--color-text-light);
  font-weight: 700;
  font-size: 18px;
}

.emergency-contact-box p a:hover {
  color: var(--color-red);
}

/* Map container styling */
.map-section {
  padding: 0;
  height: 450px;
  width: 100%;
}

.map-wrapper {
  width: 100%;
  height: 100%;
  border-top: 2px solid rgba(201, 151, 58, 0.15);
}

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


/* ==========================================================================
   MEDIA QUERY ADAPTATIONS FOR PAGES
   ========================================================================== */
@media screen and (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 28px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 40px auto 0;
    width: 100%;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-intro-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    height: 400px;
  }

  .visual-box-main {
    height: 340px;
  }

  .visual-box-accent {
    height: 150px;
  }

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

  .contact-grid-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media screen and (max-width: 576px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full-width {
    grid-column: span 1;
  }

  .timeline-content {
    padding: 16px;
  }
}
