/* --- Modern Design Variables & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
  /* Dynamic Light Two-Tone Background Blend */
  --bg-start: #f8fafc;        /* Crystal soft white */
  --bg-end: #e0e7ff;          /* Dreamy light lavender-blue */
  
  /* Elements Settings */
  --card-background: rgba(255, 255, 255, 0.75); 
  --text-primary: #0f172a;    /* Crisp dark navy */
  --text-muted: #475569;     /* Readable dark gray */
  --accent-gold: #b45309;     /* Authoritative warm gold for coops */
  --primary-brand: #3b82f6;   /* Clean processing blue */
  --primary-hover: #1d4ed8;
  --border-light: rgba(226, 232, 240, 0.8);
}

html, body {
  min-height: 100vh;
  scroll-behavior: smooth;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
  background-attachment: fixed;
}

/* --- Sticky Modern Navbar --- */


/* Ensure your header has flex positions for the toggle positioning */
header.navbar {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000; /* Forces navbar to stay on top of all hero sliders */
}

/* Hide hamburger button by default on desktop viewports */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333333; /* Matches standard text color */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* RESPONSIVE LAYOUT CONFIGURATIONS */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex; /* Reveals the hamburger toggle icon */
  }

  /* Target the nav element to act as the hidden dropdown menu block */
  header.navbar nav {
    display: none; /* Hidden by default on mobile devices */
    position: absolute;
    top: 100%; /* Sits exactly below the header border line */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
  }
header.navbar nav.active {
    display: block !important;
  }
  /* Change menu items layout flow structure vertically */
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .nav-links li a {
    display: block;
    padding: 12px 24px;
    width: 100%;
    box-sizing: border-box;
  }

  /* --- HANDLES MOBILE DROPDOWN ADJUSTMENT --- */
  .nav-links li.dropdown {
    position: relative;
  }

  .dropdown-content {
    display: none; /* Hidden until menu link is focused or hovered */
    position: static; /* Removes desktop hover absolute float layers */
    background-color: #f9f9f9;
    box-shadow: none;
    padding-left: 20px; /* Indents internal links neatly */
    width: 100%;
  }

  /* Reveals inner dropdown selections neatly on mobile focus actions */
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: block;
  }

  /* This utility class turns visibility back on when clicked */
  header.navbar nav.active {
    display: block;
  }
}


.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-brand);
}

/* Dropdown Menu Mechanism */
.dropdown {
  position: relative;
}

.dropbtn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 180px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  border: 1px solid var(--border-light);
  margin-top: 0; /* Removes the gap separating the links */
  padding-top: 10px; 
}

.dropdown-content a {
  color: var(--text-primary) !important;
  padding: 0.6rem 1.2rem;
  display: block;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background: #f1f5f9;
  color: var(--primary-brand) !important;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* --- Hero Layout Section --- */
.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  padding: 6rem 6% 4rem 6%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-brand);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.social-connect {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-connect span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1877f2;
  color: #ffffff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.social-btn:hover {
  opacity: 0.9;
}

/* Slider Box Frame */
.slider-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 4px solid #ffffff;
  height: 380px;
  position: relative;
}


.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Pure CSS Automated Fade Slider Engine --- */

/* Keep your default styling for your main homepage hero banner */
.fade-slider {
  position: relative;
  width: 100%;
  height: 500px; /* Leave this at 500px for index.html */
  overflow: hidden;
}


/* Slide structure rules */
.fade-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.fade-slider .slide.active {
  opacity: 1;
  z-index: 2; /* Brings the active slide to the front */
}

.fade-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents image stretching */
}



/* Stagger individual image frames smoothly across a 12-second loop timeline */
.fade-slider .slide:nth-child(1) { animation-delay: 0s; }
.fade-slider .slide:nth-child(2) { animation-delay: 4s; }
.fade-slider .slide:nth-child(3) { animation-delay: 8s; }

/* Optional Keyframe offsets to introduce variation between the two cards */
.css-slider-2 .slide:nth-child(1) { animation-delay: 1s; }
.css-slider-2 .slide:nth-child(2) { animation-delay: 5s; }
.css-slider-2 .slide:nth-child(3) { animation-delay: 9s; }

@keyframes cssFadeImageSequence {
  0% { opacity: 0; }
  5% { opacity: 1; z-index: 2; }   /* Fade In */
  33% { opacity: 1; }              /* Stay visible for ~4 seconds */
  38% { opacity: 0; z-index: 1; }  /* Fade Out */
  100% { opacity: 0; }             /* Rest of loop */
}

/* --- Institutional Bento System --- */
.bento-section {
  padding: 4rem 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--card-background);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  backdrop-filter: blur(10px);
}

.reduce-bottom-gap {
  padding-bottom: 1.5rem !important;
}

/* Add this class to a section to remove its top gap */
.reduce-top-gap {
  padding-top: .5rem !important;
  margin-top: 0 !important;
}

.card-large {
  grid-column: span 2;
}

.card-large h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card-large p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

.card-large p:not(:last-child) {
  margin-bottom: 1rem;
}

.card-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-stat i {
  font-size: 2rem;
  color: var(--primary-brand);
  margin-bottom: 0.75rem;
}

.card-stat h3 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.card-stat p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-accent {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.card-accent i {
  font-size: 2.5rem;
  color: var(--accent-gold);
}

.card-accent h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.card-accent p {
  color: var(--text-muted);
}


/* Compacts internal content padding and spacing */
.card-info-content {
  padding: 1.25rem;
  gap: 0.35rem;
}

/* Scales down the typography for better visual hierarchy */
.card-info-content h3 {
  font-size: 1.15rem;
}

.card-info-content p {
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Ensure the grid displays cleanly */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch; /* Forces equal heights on card rows */
}

/* Base structural card adjustment */
.news-card-wrapper {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Stacks image top, content bottom */
  height: 100%; 
}

/* Force uniform media heights (Sliders, Images, Videos, Bento layouts) */
.news-card-wrapper .slider-wrapper,
.news-card-wrapper .fade-slider,
.news-card-wrapper .fade-slider-static,
.news-card-wrapper .bento-grid,
.news-card-wrapper video {
  height: 240px !important; /* Uniform height anchor across all card types */
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 0;
}

/* Enforce proportional media filling without squishing assets */
.news-card-wrapper img,
.news-card-wrapper video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover; /* Crops rather than stretching dimensions */
}

/* Standardize card content layout area */
.news-card-wrapper .card-info-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Pushes card footer areas down equally */
}

.news-card-wrapper .card-info-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.news-card-wrapper .card-info-content p,
.news-card-wrapper .card-info-content ul {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.news-card-wrapper .card-info-content ul {
  padding-left: 20px;
}


/* Adjusts responsive scaling heights for mobile devices */
@media (max-width: 968px) {
  .news-card-wrapper .slider-wrapper {
    height: 180px;
  }
}


/* --- Services & Loans Blocks --- */
.services-section {
  padding: 5rem 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--card-background);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-brand);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Interactive Action Sections --- */
.download-section {
  text-align: center;
  margin-top: 4rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--text-primary);
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.download-btn:hover {
  transform: translateY(-1px);
  background: #1e293b;
}

.download-section p {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}



.video-container-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.video-wrapper {
  flex: 1;
  min-width: 320px;
  max-width: 540px;
  background: var(--card-background);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.video-wrapper video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.video-wrapper h4 {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  text-align: center;
}

/* --- Contacts & Location Grid Frame --- */
.contact-location-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  padding: 5rem 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-box {
  background: var(--card-background);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.contact-box h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-item:not(:last-child) {
  margin-bottom: 1.75rem;
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--primary-brand);
  margin-top: 0.25rem;
}

.contact-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  border: 4px solid #ffffff;
  height: 100%;
  min-height: 400px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
}

/* --- Modern Accordion Styles --- */

/* --- Pure HTML/CSS Accordion Styles --- */

.faq-accordion-container {
  max-width: 850px;
  margin: 2rem auto;
  padding: 0 6%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Base Details Card Framework */
.faq-card {
  background: var(--card-background);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Removes default browser disclosure triangles */
.faq-card summary::-webkit-details-marker {
  display: none;
}

/* Summary Trigger Layout formatting */
.accordion-trigger {
  list-style: none;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: background 0.2s ease;
  user-select: none;
}

.accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Icon Pointer Layout Rules */
.accordion-icon {
  color: var(--primary-brand);
  font-size: 1rem;
  transition: transform 0.25s ease;
}

/* Content Container Panel Layout */
.accordion-panel {
  border-top: 1px solid var(--border-light);
}

.panel-inner-content {
  padding: 1.5rem;
}

/* Step list spacing formatting */
.faq-step-list {
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.faq-step-list > li:not(:last-child) {
  margin-bottom: 1rem;
}

/* Document sublist customization */
.faq-document-sublist {
  list-style: none;
  padding-left: 0.25rem;
  margin: 0.5rem 0 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.faq-document-sublist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.faq-document-sublist i {
  color: #10b981; /* Green color accent for checkmarks */
  font-size: 0.95rem;
}

/* --- Native HTML Active State Changes (No JavaScript Needed) --- */
.faq-card[open] {
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.faq-card[open] .accordion-icon {
  transform: rotate(180deg); /* Rotates icon pointing straight up */
}

/* --- Dedicated Branch Grid Display --- */

.branch-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Creates side-by-side tracking columns */
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6% 4rem 6%;
}

/* Informational Text Row Layout styling */
.branch-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem !important;
}

.info-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.info-row strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.info-row p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.branch-icon {
  color: var(--primary-brand);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

/* Map Card Layout settings */
.branch-map-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border: 4px solid #ffffff;
  height: 100%;
  min-height: 380px;
}

.branch-map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive Structural Collapsing overrides */
@media (max-width: 850px) {
  .branch-grid-layout {
    grid-template-columns: 1fr; /* Stacks column maps safely downwards on smaller monitors */
    gap: 1.5rem;
  }
  .branch-map-card {
    min-height: 300px;
  }
}

/* --- Modernized Institutional Team Matrix Styles --- */

.team-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6% 6rem 6%;
}

.management-grid-section {
  margin-bottom: 4rem;
}

/* Fluid responsive grid adapting to varying employee row metrics */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Profile Bounding Glass Box */
.team-member-card {
  text-align: center;
  padding: 2rem 1.5rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Highlights managers or critical heads with a subtle tint */
.team-member-card.leader-highlight {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Crisp Uniform Round Image Catcher Frame */
.avatar-frame {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.team-member-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.role-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Branch & Department Header Rows formatting */
.branch-block {
  margin-bottom: 3.5rem;
}

.dept-caption {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 1rem;
}

/* Special Main Branch visual marker layout override */
.dept-caption.mojon-badge {
  color: var(--primary-brand);
  border-bottom-color: rgba(59, 130, 246, 0.3);
}

.dept-caption i {
  font-size: 1.1rem;
}

/* Style the link as a block button */
.btn-open-form {
  display: inline-block;
  background-color: #0056b3; /* Primary coop blue color */
  color: #ffffff;
  text-decoration: none; /* Removes the default underline text decoration */
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

/* Hover state changes background contrast color smoothly */
.btn-open-form:hover {
  background-color: #004085;
  color: #ffffff; /* Ensures text stays white on hover */
}

/* Adds a quick press-down effect when clicked */
.btn-open-form:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustment collapse formatting for mobile screens */
@media (max-width: 540px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .avatar-frame {
    width: 90px;
    height: 90px;
  }
  .team-member-card h3, .team-member-card h4 {
    font-size: 1rem;
  }
}


/* --- Footer Area --- */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border-light);
  background: rgba(248, 250, 252, 0.4);
}

footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Global Mobile Layout Adapters --- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-connect {
    justify-content: center;
  }
  .bento-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .card-large, .card-accent {
    grid-column: span 1;
  }
  .contact-location-section {
    grid-template-columns: 1fr;
  }
  .map-box {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Desktop nav elements hidden for basic responsive cleaner look */
  }
}
