/* CSS Variables */
:root {
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  --color-primary: #0055A5; /* Your existing primary blue */
  --color-primary-dark: #003D73;
  --color-primary-light: #e8f0fe;
  
  --color-secondary: #4CAF50; /* A complementary green for accents if needed */
  --color-accent: #FF9800; /* An orange accent for specific CTAs if needed */

  --color-text: #333333;
  --color-text-light: #5f6c7b;
  --color-headings: #1a2a3a;
  --color-background: #FFFFFF;
  --color-light-gray: #F3F4F6; /* For light section backgrounds */
  --color-border: #E5E7EB;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* Global Resets and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%; /* 16px base */
}

body {
  font-family: var(--font-secondary);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-headings);
  line-height: 1.3;
  margin-bottom: 0.75em; /* Consistent bottom margin */
}

/* Adjusted font sizes for mobile first, clamp still handles responsiveness */
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2.section-title { font-size: clamp(1.6rem, 5vw, 2.5rem); color: var(--color-primary); margin-bottom: 1.25rem;}
h3 { font-size: clamp(1.15rem, 4vw, 1.75rem); }
h4 { font-size: clamp(1rem, 3.5vw, 1.35rem); }

p { margin-bottom: 1rem; color: var(--color-text-light); font-size: clamp(0.9rem, 2.5vw, 1rem); }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s ease-in-out; }
a:hover { color: var(--color-primary-dark); }

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

.container {
  width: 90%;
  max-width: 1180px; /* Slightly wider max-width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem; /* Default padding */
  padding-right: 1rem; /* Default padding */
}

.section-padding { padding: clamp(2.5rem, 7vw, 6rem) 0; } /* Adjusted clamp for mobile */
.bg-light { background-color: var(--color-light-gray); }
.text-center { text-align: center; }

.section-intro {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--color-text-light);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(0.85rem, 2.5vw, 1rem); /* Adjusted for mobile */
  padding: 0.7em 1.5em; /* Adjusted for mobile touch targets */
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.5px;
}
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-background);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0; /* Reduced padding for mobile */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* For nav-links positioning */
}

.navbar .logo img {
  max-height: 35px; /* Slightly smaller logo for mobile */
  width: auto;
  margin-left: 0; /* Ensure logo is aligned left on mobile */
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed; /* Changed from absolute to fixed for full viewport height */
  top: 0; /* Align to top of header */
  right: -100%; /* Start off-screen */
  width: 80%; /* Or a fixed width like 280px */
  max-width: 300px;
  height: 100vh; /* Full height */
  background-color: var(--color-background);
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.3s ease-in-out;
  padding-top: 5rem; /* Space for close button or header */
  margin: 0;
  z-index: 999; /* Below header but above content */
}

.nav-links.active {
  right: 0; /* Slide in */
}

.nav-links li {
  margin-left: 0;
  width: 100%;
  text-align: center;
}

.nav-links a {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--color-text);
  padding: 1rem 1.5rem; /* Increased padding for touch targets */
  display: block; /* Make full width clickable */
  width: 100%;
  position: relative;
  font-size: clamp(1rem, 3vw, 1.1rem); /* Larger font for mobile menu */
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap; /* Prevent text from wrapping */
}
.nav-links li:last-child a {
    border-bottom: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px; /* Keep this or adjust if underline looks off */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 50%; /* Adjusted for mobile menu item */
}
.nav-links a.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.nav-toggle {
  display: flex; /* Show hamburger */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001; /* Above nav-links */
  position: relative; /* Ensure it's clickable */
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-headings);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger animation for open state */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* Language Toggle Mobile Adjustments */
.language-toggle {
  /* This is the main container for the language toggle.
     It will be positioned by media queries.
     Desktop: in header. Mobile: fixed on page. */
  z-index: 1100;
  display: none; /* Hide by default, shown by media queries */
}

/* Styles for the link within the toggle, assuming it's an <a> tag */
.language-toggle a,
.language-toggle .lang-switch { /* If a specific class like lang-switch is used */
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 500;
  display: inline-block;
}

/* This rule hides the language toggle if it's an item in the mobile navigation menu (e.g., <li class="language-toggle-mobile">) */
.nav-links .language-toggle-mobile,
.nav-links .language-toggle { /* Also hide if the generic .language-toggle was mistakenly put inside nav-links */
  display: none !important;
}

/* Removed .language-toggle.desktop { display: block; } rule from here, as .language-toggle is now fully responsive. */
/* Removed .language-toggle-mobile a { ... } rule from here, as it's hidden from nav-links. */

/* Responsive adjustments */
@media (max-width: 768px) {
  /* .nav-links remains as is, .nav-active controls visibility */

  .nav-toggle {
    display: flex;
  }

  /* .language-toggle.desktop { display: none; } is removed as .language-toggle is now handled directly. */

  /* Style .language-toggle for fixed mobile page view */
  .language-toggle {
    display: inline-block; /* Show the toggle */
    position: fixed; /* Positioned on the page */
    bottom: 10px;
    right: 100px; /* Increased from 20px to move it more to the left */
    background-color: var(--color-primary);
    padding: 10px 15px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
  }
  .language-toggle a,
  .language-toggle .lang-switch { /* Style the link inside for mobile */
    color: white;
    font-size: 0.9rem;
  }
  .language-toggle:hover {
    background-color: var(--color-primary-dark);
  }
}

/* Desktop Navigation Styles */
@media (min-width: 769px) {
  .nav-toggle {
    display: none; /* Hide hamburger on desktop */
  }

  .nav-links {
    position: static; /* Override fixed positioning from mobile */
    flex-direction: row; /* Display links in a row */
    width: auto; /* Adjust width */
    height: auto; /* Adjust height */
    background-color: transparent; /* No background for desktop nav */
    box-shadow: none; /* No shadow for desktop nav */
    padding-top: 0; /* Reset padding */
    margin: 0; /* Reset margin */
    right: auto; /* Reset mobile positioning */
    /* .nav-links is already display: flex by default, which is fine for row display */
  }

  .nav-links li {
    margin-left: 1.5rem; /* Spacing between nav items */
    width: auto; /* Override mobile width */
  }
  .nav-links li:first-child {
    margin-left: 0; /* No margin for the first item */
  }

  .nav-links a {
    padding: 0.5rem 1rem; /* Desktop padding for links */
    border-bottom: none; /* Remove mobile border */
    font-size: clamp(0.9rem, 1vw, 1rem); /* Desktop font size */
    white-space: nowrap; /* Prevent text from wrapping */
  }
  
  .nav-links a.active {
    background-color: transparent; /* Reset background for active link */
  }

  /* Adjust underline style for desktop nav links */
  .nav-links a::after {
    bottom: -2px; 
    /* width: 0; by default from general styles */
    /* background-color: var(--color-primary); by default */
    /* transition: width 0.3s ease; by default */
  }
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 50%; /* Underline width on hover/active for desktop */
  }

  .language-toggle {
    display: inline-block;
    position: absolute; /* Position relative to the .site-header */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Center the element */
    background-color: var(--color-primary);
    padding: 8px 12px; /* Adjusted padding to better align with nav items vertically */
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1100; /* Ensure it's above other content */
    /* Reset properties from any previous fixed positioning */
    bottom: auto;
    right: auto;
  }

  .language-toggle:hover {
    background-color: var(--color-primary-dark);
  }

  /* Style the link within the desktop toggle */
  /* Adjusted selector as .language-toggle is a direct child of .site-header */
  .site-header .language-toggle a,
  .site-header .language-toggle .lang-switch {
    color: white;
    font-size: 0.9rem;
    font-family: var(--font-primary); /* Ensuring consistent font */
    font-weight: 500; /* Ensuring consistent weight */
    text-decoration: none; /* Ensuring no underline */
    display: inline-block; /* Ensuring proper layout of the link content */
    padding: 0; 
    border: none;
    background-color: transparent;
    /* transition for color is not strictly needed if color doesn't change on hover */
  }

  .site-header .language-toggle a:hover,
  .site-header .language-toggle .lang-switch:hover {
    color: white; /* Keep link color consistent on hover */
    /* Background hover effect is handled by the parent .language-toggle */
  }
}

/* Ensure the .nav-active class is used for showing the menu */
.nav-links.nav-active {
  right: 0;
}

/* Ensure the .open class is used for the hamburger icon animation */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* Hero Section */
.hero-main {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #d4e2fd 100%);
  padding: clamp(2.5rem, 10vh, 6rem) 0; /* Adjusted clamp */
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: auto; /* Adjust for mobile, content will define height */
  text-align: center; /* Center text on mobile */
}
.hero-container {
  display: flex;
  flex-direction: column; /* Stack on mobile */
  align-items: center;
  justify-content: center; /* Center content */
  gap: 2rem; /* Reduced gap for mobile */
}
.hero-content {
  flex: 1 1 auto; /* Allow content to take space */
  max-width: 100%; /* Full width on mobile */
  order: 2; /* Text below logo on mobile */
}
.hero-content h1 {
  color: var(--color-headings); 
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 3vw, 1.25rem); /* Adjusted clamp */
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}
.btn-hero { padding: 0.8em 2em; font-size: clamp(0.9rem, 2.8vw, 1.1rem); }

.hero-logo-container {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 250px; /* Smaller max for mobile */
  perspective: 1000px;
  order: 1; /* Logo above text on mobile */
}

.hero-logo {
  width: clamp(150px, 40vw, 220px); /* Adjusted clamp for mobile */
  height: clamp(150px, 40vw, 220px); /* Maintain aspect ratio for roundness */
  border-radius: 50%;
  object-fit: cover; /* Ensure logo fits well if not perfectly square */
  box-shadow: 0 10px 25px rgba(0, 50, 100, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05);
  animation: subtleFloat 5s ease-in-out infinite;
}

/* Keyframes for logo animation */
@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Remove or comment out the old hero-image-placeholder styles if they exist */
/*
.hero-image-placeholder {
  flex: 1 1 45%;
  max-width: 500px;
}
.hero-image-placeholder img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
*/

/* Stats Section */
.stats-section { background-color: var(--color-background); }
.stats {
  display: grid;
  grid-template-columns: 1fr; /* Stack on mobile */
  gap: 1.5rem; /* Adjusted gap */
  text-align: center;
}
.stat {
  padding: 2rem 1.5rem;
  background-color: var(--color-light-gray);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}
.stat h2 { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--color-primary); margin-bottom: 0.5rem; font-weight: 700;}
.stat p { font-size: clamp(0.9rem, 1.5vw, 1rem); color: var(--color-text-light); line-height: 1.5; margin-bottom: 0;}

/* Challenge Section */
.challenge-section .section-intro { margin-bottom: 1rem; }

/* Solution Section (How It Works) */
.steps-detailed {
  display: grid;
  grid-template-columns: 1fr; /* Stack on mobile */
  gap: 1.5rem; /* Adjusted gap */
  margin-top: 2rem; /* Adjusted margin */
}
.step-detailed {
  background: var(--color-background);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.2rem, 2.5vw, 2rem);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center; /* Reverted to center as per original structure, adjust if needed */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; /* Added for better control over icon and text alignment */
  flex-direction: column; /* Stack icon and text vertically */
  align-items: center; /* Center items horizontally */
}
.step-detailed:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-icon-wrapper {
  width: 64px; 
  height: 64px;
  border-radius: 16px; 
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem; 
  color: var(--color-primary); /* This color will be inherited by SVG's fill="currentColor" */
  border: 2px solid var(--color-primary); /* Added a border matching the icon color */
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Added border-color to transition */
}

/* Styling for SVGs within the wrapper */
.step-icon-wrapper svg {
  width: 55%; 
  height: 55%; 
  transition: transform 0.3s ease; 
}

.step-detailed:hover .step-icon-wrapper {
  background-color: var(--color-primary); /* Wrapper background fills on hover */
  border-color: var(--color-primary); /* Border color matches the new background, making it blend */
  /* The color property for the SVG will be handled by the rule below */
}

.step-detailed:hover .step-icon-wrapper svg {
  color: var(--color-background); /* SVG color inverts for contrast with new wrapper background */
  transform: scale(1.1); 
}

/* .step-text-content can remain as is, or styles can be added if needed: */
.step-text-content {
  /* Example: if you wanted to ensure it takes full width below centered icon */
   width: 100%; 
}

.step-detailed h3 { 
  font-size: clamp(1.15rem, 2.5vw, 1.5rem); 
  color: var(--color-headings); 
  margin-bottom: 0.75rem; /* Adjusted margin */
}
.step-detailed p { 
  font-size: clamp(0.9rem, 1.5vw, 1rem); 
  color: var(--color-text-light); 
  margin-bottom: 0; 
}
/* Key Features & Benefits Section - NEW DESIGN */
.features-spotlight-section {
  background-color: var(--color-background);
}

.features-spotlight-section .section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem); /* Adjusted clamp */
}

.features-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr; /* Stack on mobile */
  gap: 1.5rem; /* Adjusted gap */
}

.feature-spotlight-card {
  background-color: var(--color-background);
  border-radius: var(--border-radius-lg); /* e.g., 16px */
  padding: clamp(1.5rem, 3vw, 2.5rem); /* Responsive padding inside card */
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.feature-spotlight-card:hover {
  transform: translateY(-10px) scale(1.01); /* Subtle lift and scale */
  box-shadow: var(--shadow-lg);
}
.spotlight-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: var(--color-primary-light);
  border-radius: 12px; /* Squircle shape */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary); /* For SVG fill="currentColor" */
  flex-shrink: 0; /* Prevent shrinking if card content is constrained */
}

.spotlight-icon-wrapper svg {
  width: 28px; /* Adjust size as needed */
  height: 28px; /* Adjust size as needed */
}

.spotlight-title { /* This is an h3 */
  font-size: clamp(1.2rem, 2.2vw, 1.45rem); /* Slightly larger than old h4 */
  color: var(--color-headings);
  font-weight: 600; /* Ensure it's bold */
  margin-bottom: 0.75rem;
}

.spotlight-description { /* This is a p */
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--color-text-light);
  line-height: 1.7; /* Improved readability */
  margin-bottom: 0; /* Remove default p margin if it's the last element */
  flex-grow: 1; /* Allows cards to have same height if in a row and content varies */
}
/* για προηγούμενη έκδοση
.feature-icon {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  /* Optional background for icon */
  /* background-color: var(--color-primary-light); 
     width: 60px; height: 60px; border-radius: 50%; 
     display: inline-flex; align-items: center; justify-content: center; 
}
.feature-item h4 { color: var(--color-primary); font-size: clamp(1.1rem, 2vw, 1.25rem); margin-bottom: 0.75rem;}
.feature-item p { font-size: clamp(0.9rem, 1.5vw, 0.95rem); margin-bottom: 0; }*/

/* Why Us Section */
.why-us-content {
  display: grid;
  grid-template-columns: 1fr; /* Stack on mobile */
  align-items: center;
  gap: 2rem; /* Adjusted gap */
  text-align: center; /* Center text on mobile */
}
.why-us-text .section-title {
  text-align: center; /* Center title on mobile */
}
.why-us-text p { margin-bottom: 1rem; }
.why-us-image-placeholder img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 300px; /* Adjusted for mobile */
  margin-top: 1.5rem; /* Space above image when stacked */
}
.social-links-inline {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column; /* Stack social links on mobile */
  align-items: center;
  gap: 0.75rem;
}
.social-icon {
  display: inline-block;
  margin-right: 0; /* Remove right margin for stacked items */
  padding: 0.7em 1.5em; /* Ensure good touch target */
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  color: var(--color-text);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
}
.social-icon:hover {
  background-color: var(--color-light-gray);
  border-color: var(--color-light-gray);
  color: var(--color-primary);
}

/* Testimonials Section */
.testimonial-slider {
  display: grid;
  grid-template-columns: 1fr; /* Stack on mobile */
  gap: 1.5rem; /* Adjusted gap */
  margin-top: 2rem; /* Adjusted margin */
}
.testimonial-item {
  background: var(--color-light-gray);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testimonial-item p {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}
.testimonial-item cite {
  font-weight: 600;
  color: var(--color-primary);
  font-style: normal;
  align-self: flex-start;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Sponsors Section - Added for responsiveness */
.sponsors-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.sponsors-title {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: var(--color-headings);
  margin-bottom: 1.5rem;
  text-align: center;
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Responsive grid */
  gap: 1.5rem; /* Gap between logos */
  align-items: center;
  justify-items: center;
}
.sponsor-item {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sponsor-logo {
  max-width: 100%; /* Ensure logo scales */
  height: auto;
  max-height: 60px; /* Control max height of logos */
  object-fit: contain;
}

/* Styling for the link around sponsor logos for hover effect */
.sponsor-item a {
  display: block; /* Or inline-block if preferred, block helps with full area click */
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  border-radius: var(--border-radius-sm); /* Optional: for a slightly rounded highlight on hover */
  padding: 0.25rem; /* Small padding to give space for box-shadow */
}

.sponsor-item a:hover {
  transform: translateY(-5px) scale(1.05); /* Lift and slightly enlarge */
  box-shadow: var(--shadow-md); /* Add a professional shadow */
}

.sponsor-item a:focus-visible { /* Modern focus styling for accessibility */
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: var(--shadow-md);
}


/* CTA Section */
.cta-section {
  background-color: var(--color-primary-dark);
  color: var(--color-background);
  padding: clamp(3.5rem, 9vw, 7rem) 0; /* More padding for impact */
  border-radius: var(--border-radius-lg); /* Added for rounded tips */
}
.cta-section .section-title, .cta-section .cta-title {
  color: var(--color-background);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.cta-text {
  font-size: clamp(1rem, 3vw, 1.2rem); /* Adjusted clamp */
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  color: var(--color-background); /* Changed from opacity to direct color for better visibility */
}
.btn-cta {
  margin: 0.5rem 0.25rem; /* Adjust margin for mobile */
  padding: 0.8em 1.8em; /* Ensure good touch target */
  display: block; /* Stack buttons on very small screens if needed */
  width: 100%;
  max-width: 280px; /* Max width for stacked buttons */
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn-primary {
    margin-bottom: 0.75rem; /* Space between stacked buttons */
    background-color: var(--color-background);
    color: var(--color-primary-dark);
    border-color: var(--color-background);
}
.cta-section .btn-primary:hover {
    background-color: var(--color-light-gray);
    color: var(--color-primary-dark);
    border-color: var(--color-light-gray);
}
.cta-section .btn-secondary {
    color: var(--color-background);
    border-color: var(--color-background);
}
.cta-section .btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}


/* Footer */
.site-footer-bottom {
  background-color: var(--color-headings);
  color: #A0AEC0;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0; /* Adjusted clamp */
  font-size: clamp(0.8rem, 2vw, 0.95rem); /* Adjusted clamp */
  text-align: center; /* Center text on mobile */
}
.footer-content {
  display: flex;
  flex-direction: column; /* Stack on mobile */
  justify-content: center;
  align-items: center;
  gap: 0.75rem; /* Reduced gap */
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column; /* Stack links on mobile */
  gap: 0.5rem; /* Reduced gap */
  padding: 0;
}
.footer-links a { color: #A0AEC0; }
.footer-links a:hover { color: var(--color-background); }

/* Scroll Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Team Page Styles */
/* Team Page Styles (additions) */
.team-header {
  text-align: center;
  padding: clamp(2.5rem, 8vw, 6rem) 1rem; /* Adjusted padding */
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #e0eaff 60%, var(--color-background) 100%); /* Softer, professional gradient */
  border-bottom: 1px solid var(--color-border); /* Subtle separator */
}

.team-header h1 {
  font-size: clamp(2.6rem, 5.5vw, 3.4rem); /* Slightly adjusted for impact */
  color: var(--color-primary); 
  font-weight: 700;
  margin-bottom: 1rem; /* More space below title */
}

.team-header p {
  font-size: clamp(1.05rem, 2vw, 1.2rem); /* Enhanced readability */
  color: var(--color-text-light); 
  max-width: 750px; 
  margin-left: auto;
  margin-right: auto;
  margin-top: 0; /* Reset top margin as h1 has bottom margin */
  line-height: 1.75; /* Improved line spacing */
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr; /* Stack on mobile */
  gap: 1.5rem; /* Adjusted gap */
  padding: 1.5rem 1rem; /* Adjusted padding */
  max-width: 380px; /* Max width for single card layout */
  margin-left: auto; /* Center the grid container */
  margin-right: auto; /* Center the grid container */
}

.team-card { 
  perspective: 1000px; 
  width: 100%; /* Allow card to fill grid column */
}
.card-inner {
  position: relative;
  width: 100%;
  min-height: 320px; /* Ensure enough height on mobile */
  height: auto; /* Allow height to adjust to content */
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.team-card:hover .card-inner { transform: rotateY(180deg); }

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-front {
  background: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
}
.card-front img {
  width: 120px; 
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--color-primary-light); /* Added subtle border */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Added subtle shadow for depth */
  display: block; /* Ensure it behaves as a block for auto margins */
  margin-left: auto; /* Center the image */
  margin-right: auto; /* Center the image */
}
.card-front h3 { margin-bottom: 0.5rem; color: #333; }
.card-front p  { color: #777; }

/* Style for the SVG placeholder in the "Join Us" card front */
.join-us-placeholder-icon {
  width: 120px; 
  height: 120px;
  border-radius: 50%; /* Make it circular like other team images */
  object-fit: cover; /* Though for SVG, this might not be as relevant as for img */
  margin-bottom: 1rem;
  border: 3px solid var(--color-primary-light);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 20px; /* Add some padding so the icon isn't edge-to-edge */
  box-sizing: border-box; /* Ensure padding is included in width/height */
  color: var(--color-primary); /* Set a color for the SVG icon */
  pointer-events: none; /* Add this to allow taps to pass through to the parent card */
}

.card-back {
  background: #0055a5;
  color: #fff; /* Changed text color to white */
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-back p {
  flex-grow: 1;
  font-family: var(--font-secondary); /* Ensuring Inter is used */
  font-size: 1rem; 
  font-weight: 500; /* Makes the font bolder (Inter Medium) */
  line-height: 1.5; 
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.45); /* Stronger shadow for better contrast */
  color: #FFFFFF; /* Explicitly set description text to white */
}
.card-back .social { text-align: center; margin-top: 1rem; }
.card-back .social a {
  display: inline-block; /* Ensures transform works correctly */
  font-size: 1.5rem; /* Kept for consistency, though SVG size is explicit */
  margin: 0 0.5rem;
  transition: transform 0.3s;
  color: #fff; /* Ensure SVG inherits white color */
}
.card-back .social a:hover { transform: scale(1.2); }

.card-back .social a svg {
  width: 24px; /* Explicit size for SVG */
  height: 24px; /* Explicit size for SVG */
  vertical-align: middle; /* Better alignment */
}

/* Connect With Us Section on Team Page - Enhanced Styling */
.connect-with-us-section {
  background-color: var(--color-background); /* Clean background */
  /* section-padding is already applied via class */
  border-top: 1px solid var(--color-border); /* Separator from team grid */
  text-align: center; /* Ensure content is centered */
}

.connect-with-us-section .section-title { /* h2 */
  color: var(--color-primary); 
  margin-bottom: 1rem; 
}

.connect-with-us-section .section-intro { /* p */
  color: var(--color-text-light);
  margin-bottom: 2.5rem; /* More space before the links */
  max-width: 720px; /* Consistent with other intro texts */
  margin-left: auto;
  margin-right: auto;
}

.connect-with-us-section .social-links-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem; /* Space between buttons */
  flex-wrap: wrap; 
}

.connect-with-us-section .social-links-inline a.social-icon {
  /* Overriding general .social-icon for a more prominent button style here */
  background-color: var(--color-primary);
  color: var(--color-background);
  border: 2px solid var(--color-primary);
  padding: 0.8em 1.5em; /* Adjusted padding */
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(0.85rem, 2.5vw, 1rem); /* Adjusted font size */
  text-decoration: none;
  transition: background-color 0.25s ease-out, color 0.25s ease-out, transform 0.25s ease-out, box-shadow 0.25s ease-out;
  box-shadow: var(--shadow-sm);
  display: inline-flex; /* Helps with alignment if icons were used */
  align-items: center;
  justify-content: center;
}

.connect-with-us-section .social-links-inline a.social-icon:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-background);
  transform: translateY(-4px); /* More noticeable hover effect */
  box-shadow: var(--shadow-md);
}

/* Responsive Styles */
/* Tablet and Desktop Overrides */
@media (min-width: 769px) {
  .nav-toggle {
    display: none; /* Hide hamburger on desktop */
  }

  .nav-links {
    position: static; /* Override fixed positioning from mobile */
    flex-direction: row; /* Display links in a row */
    width: auto; /* Adjust width */
    height: auto; /* Adjust height */
    background-color: transparent; /* No background for desktop nav */
    box-shadow: none; /* No shadow for desktop nav */
    padding-top: 0; /* Reset padding */
    margin: 0; /* Reset margin */
    right: auto; /* Reset mobile positioning */
    /* .nav-links is already display: flex by default, which is fine for row display */
  }

  .nav-links li {
    margin-left: 1.5rem; /* Spacing between nav items */
    width: auto; /* Override mobile width */
  }
  .nav-links li:first-child {
    margin-left: 0; /* No margin for the first item */
  }

  .nav-links a {
    padding: 0.5rem 1rem; /* Desktop padding for links */
    border-bottom: none; /* Remove mobile border */
    font-size: clamp(0.9rem, 1vw, 1rem); /* Desktop font size */
    white-space: nowrap; /* Prevent text from wrapping */
  }
  
  .nav-links a.active {
    background-color: transparent; /* Reset background for active link */
  }

  /* Adjust underline style for desktop nav links */
  .nav-links a::after {
    bottom: -2px; 
    /* width: 0; by default from general styles */
    /* background-color: var(--color-primary); by default */
    /* transition: width 0.3s ease; by default */
  }
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 50%; /* Underline width on hover/active for desktop */
  }

  .language-toggle {
    display: inline-block;
    position: absolute; /* Position relative to the .site-header */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Center the element */
    background-color: var(--color-primary);
    padding: 8px 12px; /* Adjusted padding to better align with nav items vertically */
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1100; /* Ensure it's above other content */
    /* Reset properties from any previous fixed positioning */
    bottom: auto;
    right: auto;
  }

  .language-toggle:hover {
    background-color: var(--color-primary-dark);
  }

  /* Style the link within the desktop toggle */
  /* Adjusted selector as .language-toggle is a direct child of .site-header */
  .site-header .language-toggle a,
  .site-header .language-toggle .lang-switch {
    color: white;
    font-size: 0.9rem;
    font-family: var(--font-primary); /* Ensuring consistent font */
    font-weight: 500; /* Ensuring consistent weight */
    text-decoration: none; /* Ensuring no underline */
    display: inline-block; /* Ensuring proper layout of the link content */
    padding: 0; 
    border: none;
    background-color: transparent;
    /* transition for color is not strictly needed if color doesn't change on hover */
  }

  .site-header .language-toggle a:hover,
  .site-header .language-toggle .lang-switch:hover {
    color: white; /* Keep link color consistent on hover */
    /* Background hover effect is handled by the parent .language-toggle */
  }
}

/* Further adjustments for very small screens if needed */
@media (max-width: 360px) {
  h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); }
  h2.section-title { font-size: clamp(1.4rem, 4vw, 2.5rem); }
  p { font-size: clamp(0.85rem, 2.2vw, 1rem); }
  .btn { padding: 0.6em 1.2em; }
  .navbar .logo img { max-height: 28px; }
}


/* Contact Page Styles */

/* Hero for Contact Page */
.contact-hero-section {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #e0eaff 60%, var(--color-background) 100%);
  border-bottom: 1px solid var(--color-border);
}

.contact-hero-section .section-title {
  /* Uses global .section-title styling */
  margin-bottom: 1rem;
}

.contact-hero-section .section-intro {
  /* Uses global .section-intro styling */
  max-width: 800px; /* Can be adjusted */
  margin-bottom: 0;
}

/* Main Content Area for Contact Page */
.contact-main-content {
  /* .section-padding and .bg-light are applied via classes */
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr; /* Single column for mobile-first */
  gap: clamp(1.5rem, 3vw, 3rem); /* Adjusted gap for mobile */
}

@media (min-width: 992px) { /* Two columns for larger screens */
  .contact-layout {
    grid-template-columns: 2fr 1.2fr; /* Form takes more space */
  }
}

.contact-content-wrapper {
  display: flex;
  flex-direction: column; /* Stack on mobile */
  gap: 2rem; /* Space between form and details on mobile */
}

.contact-form-container {
  background-color: var(--color-background);
  padding: clamp(1.5rem, 4vw, 2.5rem); /* Adjusted padding */
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  /* max-width: 850px; Will be controlled by flex-basis on desktop */
  margin: -80px auto 0 auto; /* Adjusted negative margin to pull it up more */
  position: relative;
  z-index: 10;
  width: 100%; /* Take full width on mobile */
}

.contact-details-container {
  background-color: var(--color-background);
  padding: clamp(1.5rem, 4vw, 2.5rem); /* Adjusted padding */
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm); /* Lighter shadow for details */
  width: 100%; /* Take full width on mobile */
  /* Height will be handled by flex alignment on desktop */
}

/* Desktop layout for contact form and details */
@media (min-width: 992px) { /* Adjust breakpoint as needed */
  .contact-content-wrapper {
    flex-direction: row; /* Side-by-side on desktop */
    align-items: stretch; /* Make items same height */
  }

  .contact-form-container {
    flex-basis: 65%; /* Form takes more space */
    margin-top: -80px; /* Keep the overlap */
    margin-right: 1rem; /* Space between form and details */
    margin-left: 0; /* Reset mobile auto margin */
  }

  .contact-details-container {
    flex-basis: 35%; /* Details take less space */
    margin-top: -80px; /* Align with form overlap */
    margin-left: 1rem; /* Space between form and details */
    margin-right: 0; /* Reset mobile auto margin */
    display: flex; /* To help with vertical alignment of content if needed */
    flex-direction: column; /* Stack info cards vertically */
    justify-content: flex-start; /* Align content to the top */
  }
}

.form-group {
  margin-bottom: 1.5rem; /* Increased spacing between form groups */
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.6rem; /* Slightly more space below label */
  color: var(--color-text);
  font-size: clamp(0.875rem, 1.4vw, 0.95rem); /* Slightly adjusted label size */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea {
  width: 100%;
  padding: 0.75em 1em; /* Adjusted padding for a cleaner look */
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md); /* Softer corners */
  font-family: var(--font-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--color-text);
  background-color: var(--color-background);
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  line-height: 1.5; /* Improved text readability inside input */
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form input[type="url"]::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af; /* Lighter placeholder text */
  opacity: 1; /* Firefox fix */
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="url"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 85, 165, 0.15); /* More subtle focus ring, using primary color with alpha */
}

.contact-form textarea {
  min-height: 150px; /* Slightly taller textarea */
  resize: vertical;
}

.contact-form .btn.btn-primary {
  width: 100%;
  margin-top: 1.5rem; /* More space above the button */
  padding: 0.9em 1.5em;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem); /* Slightly larger button font */
}

.contact-form-container h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); /* Adjusted title size */
  color: var(--color-headings);
  margin-bottom: 2rem; /* More space below title */
  text-align: center;
  font-weight: 600;
}

/* Contact Details Cards */
.info-card-group {
  display: grid;
  gap: 1.5rem; /* Space between info cards */
}

.info-card {
  background-color: var(--color-light-gray);
  padding: clamp(1.2rem, 2vw, 1.5rem);
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.info-card-icon svg {
  width: 22px; /* Adjust icon size within the circle */
  height: 22px;
}

.info-card h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-headings);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.info-card p {
  font-size: clamp(0.9rem, 1.4vw, 0.95rem);
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

.info-card p a {
  color: var(--color-primary);
  font-weight: 500; /* Make links slightly bolder */
  word-break: break-all; /* Prevent long emails/links from breaking layout */
}

.info-card p a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.social-links-contact {
  display: flex;
  justify-content: center;
  gap: 1.2rem; /* Space between social icons */
  margin-top: 0.75rem;
}

.social-links-contact a svg {
  width: 26px; /* Adjust size as needed */
  height: 26px;
  color: var(--color-primary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links-contact a:hover svg {
  color: var(--color-primary-dark);
  transform: scale(1.15);
}

/* Map Section */
.map-section {
  /* .section-padding is applied via class */
   background-color: var(--color-background); /* Or var(--color-light-gray) */
}

.map-section .section-title { /* For the "Find Us (Figuratively Speaking!)" title */
    /* Uses global .section-title styling */
    margin-bottom: 1rem;
}
.map-section .section-intro {
    /* Uses global .section-intro styling */
    margin-bottom: 2rem;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden; /* Ensures iframe respects border-radius */
  box-shadow: var(--shadow-md);
  line-height: 0; /* Fixes potential small gap under iframe in some browsers */
}

.map-section iframe {
  display: block; /* Remove any extra space below iframe */
  width: 100%;
  height: 400px; /* Default height */
  border: none; /* Already in inline style, but good for completeness */
  /* border-radius is handled by .map-container for the iframe to clip correctly */
}

@media (max-width: 768px) {
  .map-section iframe {
    height: 300px; /* Adjust height for smaller screens */
  }
}

/* =============================================== */
/* Desktop Layout Adjustments                      */
/* =============================================== */

@media (min-width: 768px) {
  /* General */
  .container {
    /* Max-width is already 1180px, padding is adjusted in existing 769px query */
    /* Ensure width can go up to max-width */
    width: 90%; /* Keep this for some constraint, or adjust to 95% if needed */
  }

  /* Hero Section */
  .hero-main {
    text-align: left; /* Align text to left on desktop */
    min-height: 70vh; /* Give more height on desktop */
    padding: clamp(4rem, 12vh, 8rem) 0;
  }
  .hero-container {
    flex-direction: row; /* Side-by-side layout */
    justify-content: space-between; /* Space between content and logo */
    gap: 3rem; /* Gap for desktop */
  }
  .hero-content {
    flex: 1 1 55%; /* Allow content to take more space */
    max-width: 650px; /* Max width for text content */
    order: 1; /* Text first on desktop */
    text-align: left;
  }
  .hero-logo-container {
    flex: 1 1 40%;
    max-width: 380px; /* Larger logo for desktop */
    order: 2; /* Logo second on desktop */
    justify-content: flex-end; /* Align logo to the right of its container */
  }
  .hero-logo {
    width: clamp(200px, 25vw, 350px);
    height: clamp(200px, 25vw, 350px);
  }
  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem); /* Adjust subtitle for desktop */
  }
  .btn-hero {
    padding: 0.9em 2.2em; 
    font-size: clamp(1rem, 1.8vw, 1.2rem);
  }

  /* Stats Section */
  .stats {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive columns */
    gap: 2rem;
  }
  .stat {
    padding: 2.5rem 2rem;
  }

  /* Solution Section (How It Works) */
  .steps-detailed {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }

  /* Key Features & Benefits Section */
  .features-spotlight-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  /* Why Us Section */
  .why-us-content {
    text-align: left; /* Align text to left */
  }
  .why-us-text .section-title {
    text-align: left; /* Align title to left */
  }
  .why-us-image-placeholder {
    order: 2; /* Image on the right */
  }
  .why-us-image-placeholder img {
    max-height: 450px; /* Allow more height for desktop image */
    margin-top: 0;
  }
  .social-links-inline {
    flex-direction: row; /* Social links in a row */
    justify-content: flex-start; /* Align to start */
    gap: 1rem;
  }
  .social-icon {
    margin-right: 0.5rem; /* Restore some right margin if needed, or rely on gap */
  }


  /* Testimonials Section */
  .testimonial-slider {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  @media (min-width: 992px) { /* For 3 columns on larger screens */
    .testimonial-slider {
        grid-template-columns: repeat(3, 1fr);
    }
  }


  /* CTA Section */
  .cta-section .btn-cta {
    display: inline-block; /* Buttons side-by-side */
    width: auto; /* Auto width for inline-block */
    max-width: none; /* Remove max-width */
    margin: 0.5rem; /* Adjust margin for side-by-side */
  }
  .cta-section .btn-primary {
      margin-bottom: 0; /* Reset mobile stacking margin */
  }
  /* Add a wrapper div with class .cta-buttons-container in your HTML around the CTA buttons for this to work best */
  .cta-buttons-container { 
    text-align: center; /* Center the inline-block buttons */
  }


  /* Footer */
  .site-footer-bottom {
    text-align: left; /* Align text to left */
  }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
  .footer-links {
    flex-direction: row;
    gap: 1.5rem;
  }

  /* Team Page */
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    gap: 2rem; /* Desktop gap */
    max-width: 1180px; /* Allow grid to use container width */
    padding: 2rem 0; /* Desktop padding */
  }
  .card-inner {
    min-height: 380px; /* Slightly more height for desktop cards */
  }
  .card-front, .card-back {
    padding: 2rem; /* More padding for desktop */
  }
  .card-front img {
    width: 140px;
    height: 140px;
  }
   .join-us-placeholder-icon {
    width: 140px;
    height: 140px;
    padding: 25px;
  }

  /* Connect With Us Section on Team Page */
  .connect-with-us-section .social-links-inline {
    justify-content: center; /* Keep centered for this specific section */
  }

  /* Contact Page - Relies on existing @media (min-width: 992px) rules for major layout. */
  /* Minor adjustments if needed can go here, but the 992px block is primary for contact page desktop. */

}

@media (min-width: 1024px) {
  /* Larger Desktop specific refinements */
  /* .container { max-width: 1280px; } /* Optional: Wider container for very large screens */

  .hero-content {
    max-width: 700px;
  }
  .hero-logo-container {
    max-width: 420px;
  }

  .stats {
    /* Consider fixed columns if auto-fit results in too many/few based on content */
    grid-template-columns: repeat(3, 1fr); /* Example: Fixed 3 columns for larger stats */
  }
  
  .steps-detailed {
    grid-template-columns: repeat(4, 1fr); /* Example: Fixed 4 columns */
    gap: 1.5rem; /* Adjust gap if items are smaller */
  }

  .features-spotlight-grid {
    grid-template-columns: repeat(3, 1fr); /* Example: Fixed 3 columns */
  }

  .team-grid {
     /* For 3 cards per row on larger screens */
    grid-template-columns: repeat(3, 1fr); /* Enforce 3 columns */
  }
   @media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr); /* Still 3 columns for very wide screens */
    }
  }

  /* CTA Section - ensure buttons are well-spaced */
  .cta-section .btn-cta {
    padding: 1em 2.5em; /* Slightly larger padding */
  }
}

/* Scroll Animation */