/* --- THEME DESIGN TOKENS (Deep Navy & Sand) --- */
:root {
  --color-primary: #1b365d;       /* Deep Navy (Authority/Header BG) */
  --color-accent: #2b5c8f;        /* Mid-Blue (Button Base Accent) */
  --color-sand: #cbb677;          /* Warm Sand (High-end Highlights / Gold Text) */
  --color-text-muted: #b0c4de;    /* Muted steel blue so unselected pages sit back smoothly */
  --color-active: #8cb1de;        /* Soft Sky Blue (Blends perfectly, clear contrast, professional) */
  --color-white: #ffffff;         /* Pure white elements */
  --color-bg-light: #f8f6f0;      /* Warm Sand White page base */
  --color-grey: #6c757d;          /* Body font color standard */
}

/* Base Body Application */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-grey);
}

/* Navbar Base Frame */
.navbar {
  background-color: var(--color-primary);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(27, 54, 93, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Branding Layout */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
}

.nav-logo img {
  height: 90px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* Brand Text Layout Rules */
.brand-name {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-sub {
  color: var(--color-sand); /* Beautiful golden tone stays here */
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 2px;
}

/* Desktop Target Layout Configuration */
.nav-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
  margin-left: 50px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0 auto; /* Perfectly spaces links centered in desktop gap */
}

/* Standard Link State */
.nav-link {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 0; 
  border-bottom: none; /* No underlines completely */
  transition: color 0.2s ease-in-out;
}

/* Hover Link State */
.nav-link:hover {
  color: var(--color-active); /* Changes to the soft blended sky blue */
}

/* Active Link State */
.nav-link.active {
  color: var(--color-active); /* Clear active state text color with no lines */
  font-weight: 600;
}

/* Download Action Button Styling */
.btn-brochure {
  background-color: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.25s ease-in-out;
}

.btn-brochure:hover {
  background-color: transparent;
  border-color: var(--color-sand);
  color: var(--color-sand);
}

/* Hidden Hamburger Setup */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--color-sand); /* Matches your signature golden brand text */
  border-radius: 2px;
  transition: all 0.3s linear;
}

/* --- RESPONSIVE MOBILE HANDLERS (Screen sizes below 992px) --- */
@media screen and (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: -100%;
    flex-direction: column;
    background-color: var(--color-primary);
    width: 100%;
    height: calc(100vh - 78px);
    justify-content: flex-start;
    gap: 45px;
    padding: 50px 20px;
    margin-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.15rem;
    border-bottom: none;
  }
  
  .nav-link.active {
    color: var(--color-active);
  }

  /* Structural Transformations for Morphing Mobile X Button */
  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* ================= SITE FOOTER STYLING ================= */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-text-muted);
  padding: 60px 20px 20px 20px;
  border-top: 3px solid var(--color-sand);
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

/* Footer Typography styling */
.footer-col h3 {
  color: var(--color-sand); /* Sand color headers stand out perfectly */
  font-size: 1.2rem;
  margin-bottom: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p.social-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Column 1 lists */
.footer-info-list {
  list-style: none;
  padding: 0;
}

.footer-info-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-info-list li i {
  color: var(--color-sand); /* Icons colored gold to unify layout */
  width: 16px;
}

/* Column 2 ordered member items */
.footer-members-list {
  padding-left: 20px;
}

.footer-members-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Column 3 Social Buttons styling */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social Hover states */
.social-btn.facebook:hover {
  background-color: #1877f2; /* Official Facebook Blue */
  color: var(--color-white);
  border-color: #1877f2;
}

.social-btn.whatsapp:hover {
  background-color: #25d366; /* Official WhatsApp Green */
  color: var(--color-white);
  border-color: #25d366;
}

/* Footer Base line rule */
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(209, 219, 231, 0.6);
}

/* Mobile responsive fixes */
@media screen and (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 20px 20px;
  }
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}
/* ================= HERO SECTION STYLING ================= */
.hero-section {
  background-color: var(--color-bg-light);
  padding: 60px 20px;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

/* Left Content Area */
.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-estd {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.hero-title-en {
  color: var(--color-primary); /* Deep Navy */
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-title-ne {
  color: var(--color-sand); /* Sand/Gold tone for Nepali translation */
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-description {
  color: var(--color-grey);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Call to Action Buttons */
.hero-actions {
  display: flex;
  gap: 15px;
}

.hero-actions .btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.hero-actions .btn-primary:hover {
  background-color: var(--color-accent);
}

.hero-actions .btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.hero-actions .btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Right Slider Area */
.hero-slider {
  flex: 1;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(27, 54, 93, 0.15);
  background-color: #ddd; /* Placeholder background */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Smooth cross-fade effect */
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps image looking perfectly proportioned */
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(27, 54, 93, 0.85));
  color: var(--color-white);
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* --- RESPONSIVE LAYOUT FOR TABLETS & PHONES --- */
@media screen and (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
  }

  .hero-title-en {
    font-size: 2rem;
  }

  .hero-title-ne {
    font-size: 1.3rem;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hero-slider {
    width: 100%;
    height: 300px;
  }
}
/* ================= FIXED ABOUT US SECTION STYLING ================= */
.about-section {
  background-color: var(--color-white); 
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start; /* Aligns text top and image top evenly */
  gap: 50px; 
}

/* Fixed Image Structural Column Frame */
.about-image-side {
  flex: 1;
  min-width: 350px;
  max-width: 480px; /* Prevents your square logo image from blowing up too large */
  box-sizing: border-box;
}

.image-wrapper {
  position: relative;
  padding: 20px 0 0 20px; /* Explicit interior space allocations */
  box-sizing: border-box;
}

/* The gold accent border alignment fix */
.image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 4px solid var(--color-sand);
  border-radius: 8px;
  z-index: 1;
}

.about-image-side img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Keeps your crisp logo shape from getting stretched */
  border-radius: 8px;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(27, 54, 93, 0.12);
}

/* Floating Golden Badge structural assignment */
.experience-badge {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background-color: var(--color-sand);
  color: var(--color-primary);
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.experience-badge .years {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .exp-text {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  white-space: nowrap;
}

/* Fixed Text Structural Column Frame */
.about-text-side {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.section-tag {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin: 0 0 8px 0; /* Clear baseline values */
}

.about-heading {
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 25px 0; /* Fixed margin spacing */
}

.about-paragraphs p {
  color: var(--color-grey);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 18px 0;
  text-align: justify;
}

.about-paragraphs p strong {
  color: var(--color-primary);
}

/* Mini Bottom Icon Highlights Grid Layout */
.about-highlights {
  display: flex;
  gap: 25px;
  margin-top: 25px;
  border-top: 1px solid #eef2f6;
  padding-top: 25px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.highlight-item i {
  color: var(--color-sand);
  font-size: 1.1rem;
}

/* --- RESPONSIVE SCREEN ADJUSTMENTS --- */
@media screen and (max-width: 992px) {
  .about-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .about-image-side {
    min-width: 100%;
    max-width: 100%;
  }

  .about-heading {
    font-size: 1.8rem;
  }
  
  .about-highlights {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* ================= OUR SERVICES SECTION STYLING ================= */
.services-section {
  background-color: var(--color-bg-light); /* Off-white sand tone layout split background */
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Text Blocks */
.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-tag {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.services-main-title {
  color: var(--color-primary);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 10px 0;
}

.services-subtitle {
  color: var(--color-sand);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Grid Framework configuration */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

/* Individual Content Display Cards */
.service-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(27, 54, 93, 0.05);
  border-top: 4px solid var(--color-accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(27, 54, 93, 0.12);
}

/* Standout styling specifically targeting Geotechnical operations */
.service-card.highlight-card {
  border-top-color: var(--color-sand);
  background-color: #fcfbfa;
}

.card-icon-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f4f8;
  padding-bottom: 15px;
}

.card-icon-header i {
  color: var(--color-primary);
  font-size: 1.5rem;
  background-color: #f0f4f8;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.service-card.highlight-card .card-icon-header i {
  background-color: #fff6df;
  color: #b59849;
}

.card-icon-header h3 {
  color: var(--color-primary);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Subtitles for Split Cards (Bricks & Wires) */
.sub-card-title {
  font-size: 0.9rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Lists Inside Cards */
.service-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--color-grey);
  line-height: 1.4;
}

/* Custom Square Golden list bullet marks */
.service-item-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  background-color: var(--color-sand);
  border-radius: 1px;
}

.compact-list li {
  margin-bottom: 6px;
}

/* Bottom Machine Badge for UTM */
.utm-image-badge {
  margin-top: 25px;
  background-color: #eef4fc;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

/* Mobile Screens */
@media screen and (max-width: 768px) {
  .services-main-title {
    font-size: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= INNER PAGE BANNER DESIGN ================= */
.page-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #11223c 100%);
  padding: 60px 20px;
  text-align: center;
  color: var(--color-white);
  border-bottom: 3px solid var(--color-sand);
}

.page-banner h1 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  font-weight: 800;
}

.page-banner p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin: 0;
}

/* ================= CORPORATE NETWORK GRID STYLING ================= */
.branches-section {
  background-color: var(--color-bg-light);
  padding: 80px 20px;
}

.branches-container {
  max-width: 1200px;
  margin: 0 auto;
}

.branches-header {
  text-align: center;
  margin-bottom: 50px;
}

.branches-tag {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.branches-header h2 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin: 10px 0;
}

.branches-header p {
  color: var(--color-grey);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Branch Cards styling rules */
.branch-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid #eef2f6;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.25s ease;
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(27, 54, 93, 0.08);
}

/* Give Corporate Head Office slightly more prominence */
.branch-card.head-office {
  border-top: 4px solid var(--color-sand);
}

.branch-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #fff6df;
  color: #b59849;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.branch-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.branch-card h3 {
  color: var(--color-primary);
  margin: 0 0 5px 0;
  font-size: 1.4rem;
}

.branch-loc {
  color: var(--color-sand);
  font-weight: 600;
  margin: 0 0 20px 0;
  font-size: 0.95rem;
}

.branch-details {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f0f4f8;
  padding-top: 15px;
}

.branch-details li {
  font-size: 0.9rem;
  color: var(--color-grey);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.branch-details li i {
  color: var(--color-accent);
  width: 14px;
}

@media screen and (max-width: 768px) {
  .page-banner h1 { font-size: 2rem; }
  .branches-grid { grid-template-columns: 1fr; }
}

/* ================= SERVICES PAGE CARD LAYOUTS ================= */
.services-page-section {
  background-color:transparent;
  padding: 60px 20px;
}
.services-page-container {
  max-width: 1200px;
  margin: 0 auto;
}
.services-grid-detailed {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.service-card-detailed {
  background-color: var(--color-white);
  border-radius: 10px;
  border-left: 5px solid var(--color-accent);
  box-shadow: 0 4px 15px rgba(27, 54, 93, 0.04);
  display: flex;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.service-card-detailed:hover {
  box-shadow: 0 8px 25px rgba(27, 54, 93, 0.08);
}
.service-card-detailed.highlight-page-card {
  border-left-color: var(--color-sand);
}

/* Left structural half */
.card-left-info {
  flex: 1;
  padding: 35px;
  background-color: #fafbfc;
  border-right: 1px solid #f1f5f9;
}
.card-icon-box {
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}
.highlight-page-card .card-icon-box {
  color: var(--color-sand);
}
.card-left-info h3 {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin: 0 0 12px 0;
}
.service-summary {
  color: var(--color-grey);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

/* Interactive Button Styling */
.see-more-btn {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 20px; /* Slightly padded for easier thumb tap targets on mobile */
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px; /* Generates breathing space right below list layout items */
  transition: all 0.2s ease;
}
.see-more-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.see-more-btn i {
  transition: transform 0.25s ease;
}
.see-more-btn.active-state i {
  transform: rotate(180deg);
}

/* Right structural list half */
.card-right-list {
  flex: 1.4;
  padding: 35px;
}
.section-divider-title {
  list-style: none;
  font-weight: 700;
  color: var(--color-primary);
  margin: 15px 0 8px -20px !important;
}

/* Collapsible system logic rules */
.extended-list {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card-detailed.expanded-view .extended-list {
  display: block;
  opacity: 1;
}

/* Mobile responsive scaling */
@media screen and (max-width: 850px) {
  .service-card-detailed { flex-direction: column; }
  .card-left-info { border-right: none; border-bottom: 1px solid #f1f5f9; }
}

/* ================= CAREERS PAGE LAYOUT DESIGN ================= */
.careers-section {
  background-color: transparent; /* Seamlessly matches your template base bg color */
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.careers-container {
  max-width: 900px; /* Centered tight block for optimal legibility */
  margin: 0 auto;
}

.careers-header {
  text-align: center;
  margin-bottom: 40px;
}

.careers-tag {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.careers-header h2 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin: 10px 0;
}

.accent-line {
  width: 60px;
  height: 3px;
  background-color: var(--color-sand);
  margin: 0 auto;
}

/* Empty Vacancy Alert Box */
.empty-careers-alert {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--color-sand);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-bottom: 50px;
}

.alert-icon-box {
  font-size: 3rem;
  color: #a0aec0;
  margin-bottom: 20px;
}

.empty-careers-alert h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin: 0 0 15px 0;
}

.empty-careers-alert p {
  color: var(--color-grey);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 15px auto;
}

.empty-careers-alert .sub-alert-text {
  font-size: 0.95rem;
  color: #718096;
  margin-bottom: 0;
}

/* General Talent Database Form styling */
.talent-form-container {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.form-title-block {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.form-title-block h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-title-block p {
  color: var(--color-grey);
  font-size: 0.95rem;
  margin: 0;
}

.form-grid-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group-field label {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.required-star {
  color: #e53e3e;
}

.form-group-field input[type="text"],
.form-group-field input[type="email"],
.form-group-field input[type="tel"],
.form-group-field select,
.form-group-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--color-primary);
  background-color: #fafafa;
  transition: border-color 0.2s ease;
}

.form-group-field input:focus,
.form-group-field select:focus,
.form-group-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-white);
}

/* Custom file attachment drag zone layout */
.custom-file-upload-box {
  position: relative;
  border: 2px dashed #cbd5e1;
  background-color: #f8fafc;
  padding: 25px;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-file-upload-box:hover {
  border-color: var(--color-sand);
  background-color: #fffdf9;
}

.custom-file-upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-instruction {
  color: var(--color-grey);
  font-size: 0.95rem;
  font-weight: 600;
}

.file-upload-instruction i {
  color: var(--color-accent);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}

/* Form Action Trigger Buttons */
.form-submit-wrapper {
  text-align: right;
  margin-top: 10px;
}

.btn-submit-application {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-submit-application:hover {
  background-color: #11223c;
}

/* Mobile Configurations */
@media screen and (max-width: 768px) {
  .form-grid-row {
    flex-direction: column;
    gap: 0;
  }
  .empty-careers-alert, .talent-form-container {
    padding: 25px;
  }
  .form-submit-wrapper {
    text-align: center;
  }
  .btn-submit-application {
    width: 100%;
  }
}

/* ================= PROJECTS PAGE SCHEMATIC DESIGN ================= */
.projects-page-section {
  background-color: transparent; /* Perfectly inherits your default page body color */
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.projects-page-container {
  max-width: 1000px;
  margin: 0 auto;
}

.projects-main-header {
  text-align: center;
  margin-bottom: 50px;
}

.projects-tag {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.projects-main-header h2 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin: 10px 0;
}

.projects-accent-line {
  width: 60px;
  height: 3px;
  background-color: var(--color-sand);
  margin: 0 auto;
}

/* Central Informational Placeholder Box */
.projects-placeholder-wrapper {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.animated-icon-holder {
  font-size: 3.5rem;
  color: #cbd5e1;
  margin-bottom: 25px;
}

.projects-placeholder-wrapper h3 {
  color: var(--color-primary);
  font-size: 1.6rem;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.projects-placeholder-wrapper p {
  color: var(--color-grey);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 30px auto;
}

/* Category Badge Grid Layout */
.upcoming-categories-preview {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.preview-badge {
  background-color: #f1f5f9;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
}

.preview-badge i {
  color: var(--color-sand);
}

.projects-placeholder-wrapper .projects-footer-note {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 0;
  font-style: italic;
}

/* Responsive breakpoint overrides */
@media screen and (max-width: 768px) {
  .projects-placeholder-wrapper {
    padding: 40px 20px;
  }
  .upcoming-categories-preview {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .preview-badge {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

/* ================= GALLERY PAGE STYLES ================= */
.gallery-page-section {
  background-color: transparent; /* Perfectly inherits your template base color background */
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.gallery-page-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Control Filter Navigation Bar */
.gallery-tabs-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.gallery-tab-btn {
  background-color: var(--color-white);
  border: 1px solid #cbd5e1;
  color: var(--color-primary);
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.gallery-tab-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.gallery-tab-btn.active-tab {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(27, 54, 93, 0.15);
}

/* Dynamic Grid Layout */
.gallery-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.media-card-box {
  background-color: var(--color-white);
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.media-card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Frame containers for media elements */
.media-frame-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #000000;
}

.media-frame-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card-box:hover .media-frame-wrapper img {
  transform: scale(1.05);
}

/* Video Frame adjustments */
.embedded-video-player {
  width: 100%;
  height: 100%;
  border: none;
}

/* Image Hover Zoom Effects Overlay */
.media-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 54, 93, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-frame-wrapper:hover .media-hover-overlay {
  opacity: 1;
}

.zoom-indicator-icon {
  color: var(--color-white);
  font-size: 1.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

/* Text Cap Info Zone */
.media-caption-info {
  padding: 20px;
}

.media-caption-info h4 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin: 0 0 6px 0;
  font-weight: 700;
}

.media-caption-info p {
  color: var(--color-grey);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* Tab filter state logic controls */
.media-card-box.hide-media {
  display: none !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 600px) {
  .gallery-tabs-row {
    flex-direction: column;
    gap: 10px;
  }
  .gallery-tab-btn {
    width: 100%;
    justify-content: center;
  }
  .gallery-media-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CONTACT PAGE SCHEMATICS ================= */
.contact-page-section {
  background-color: transparent;
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.contact-page-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
}

/* Info Column & Dropdown Wrapper */
.contact-info-column {
  flex: 1;
}

.branch-selector-wrapper {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.branch-selector-wrapper label {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.branch-selector-wrapper label i {
  color: var(--color-sand);
}

.branch-select-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--color-primary);
  background-color: #f8fafc;
  font-weight: 600;
  outline: none;
}

.branch-select-input:focus {
  border-color: var(--color-accent);
}

/* Branch Detail Card Window */
.active-branch-card {
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.active-branch-card h3 {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin: 0 0 8px 0;
}

.accent-line-left {
  width: 40px;
  height: 3px;
  background-color: var(--color-sand);
  margin-bottom: 25px;
}

.dynamic-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.dynamic-contact-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--color-grey);
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-text strong {
  color: var(--color-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.branch-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: var(--color-white);
  text-decoration: none;
  width: 100%;
  padding: 14px;
  box-sizing: border-box;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  font-size: 0.95rem;
}

.branch-whatsapp-link:hover {
  background-color: #1ebd58;
}

/* Contact Messaging Form styling */
.contact-form-column {
  flex: 1.3;
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.form-header-block {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.form-header-block h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin: 0 0 6px 0;
}

.form-header-block p {
  color: var(--color-grey);
  font-size: 0.95rem;
  margin: 0;
}

.form-field-row {
  display: flex;
  gap: 20px;
}

.field-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field-box label {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.field-box label .req {
  color: #ef4444;
}

.field-box input, .field-box select, .field-box textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background-color: #fcfcfc;
  font-size: 0.95rem;
  color: var(--color-primary);
  outline: none;
  transition: all 0.2s ease;
}

.field-box input:focus, .field-box select:focus, .field-box textarea:focus {
  border-color: var(--color-accent);
  background-color: var(--color-white);
}

.btn-submit-contact {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease;
}

.btn-submit-contact:hover {
  background-color: #11223c;
}

/* Mobile Configurations */
@media screen and (max-width: 850px) {
  .contact-page-container {
    flex-direction: column;
  }
  .form-field-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-form-column {
    padding: 25px;
  }
}