/* style.css */

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
  /* Fonts */
  --font-primary: 'Raleway', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;

  /* Colors (Split-Complementary: Dark Blue, Golden Yellow, Teal) */
  --primary-color: #1A2A40; /* Deep Navy Blue */
  --primary-color-rgb: 26, 42, 64;
  --secondary-color: #2A4B7C; /* Steel Blue */
  --accent-color-1: #F0A500; /* Golden Yellow - Main Accent */
  --accent-color-1-darker: #D89000; /* Darker Golden Yellow for hover */
  --accent-color-2: #1ABC9C; /* Turquoise/Teal - Secondary Accent */
  --accent-color-2-darker: #16A085; /* Darker Turquoise/Teal for hover */

  --text-light: #F5F5F5; /* Off-White for dark backgrounds */
  --text-light-transparent: rgba(245, 245, 245, 0.85);
  --text-dark: #333333; /* Dark Gray for light backgrounds */
  --heading-dark: #222222; /* Very Dark Gray for headings on light backgrounds */
  
  --bg-light: #FFFFFF;
  --bg-alt: #F8F9FA; /* Very Light Gray for alternate sections */
  --bg-dark-overlay: rgba(0, 0, 0, 0.5); /* Overlay for images with text */
  --bg-dark-overlay-strong: rgba(0, 0, 0, 0.65);

  --border-color: #DEE2E6; /* Light Gray for borders */
  --border-color-darker: #CED4DA;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-color-strong: rgba(0, 0, 0, 0.15);

  /* Spacing & Sizing */
  --header-height: 70px; /* Adjust as needed */
  --footer-height: auto; /* Will be content-dependent */
  --border-radius-soft: 8px; /* Biomorphic touch */
  --border-radius-medium: 12px;
  --border-radius-round: 50px;

  /* Transitions */
  --transition-speed: 0.3s;
  --transition-easing: ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--heading-dark);
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1.25rem; } /* Section titles */
h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; } /* Card titles */
h4 { font-size: 1.3rem; font-weight: 700; }
h5 { font-size: 1.1rem; font-weight: 700; }
h6 { font-size: 1rem; font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-dark); /* Ensure high contrast on light backgrounds */
}

a {
  color: var(--accent-color-1);
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-easing);
}
a:hover {
  color: var(--accent-color-1-darker);
  text-decoration: underline;
}

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

/* Basic Button Styles (Global) */
.cta-button, .submit-button, .learn-more-button, button, input[type="submit"], input[type="button"] {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-round); /* Softer, biomorphic */
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-speed) var(--transition-easing);
  box-shadow: 0 4px 10px var(--shadow-color);
  letter-spacing: 0.5px;
}

.cta-button, .submit-button { /* Primary buttons */
  background-color: var(--accent-color-1);
  color: var(--primary-color); /* High contrast */
  border-color: var(--accent-color-1);
}
.cta-button:hover, .submit-button:hover {
  background-color: var(--accent-color-1-darker);
  border-color: var(--accent-color-1-darker);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--shadow-color-strong);
}

.learn-more-button { /* Secondary/text buttons */
  background-color: transparent;
  color: var(--accent-color-2);
  border: 2px solid var(--accent-color-2);
  padding: 0.6rem 1.5rem;
}
.learn-more-button:hover {
  background-color: var(--accent-color-2);
  color: var(--text-light);
  border-color: var(--accent-color-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--shadow-color-strong);
}

/* Form Elements Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color-darker);
  border-radius: var(--border-radius-soft); /* Biomorphic touch */
  transition: border-color var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-color-1);
  box-shadow: 0 0 0 0.2rem rgba(var(--accent-color-1-rgb, 240, 165, 0), 0.25); /* Using accent-color-1 */
}
textarea {
  min-height: 120px;
  resize: vertical;
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--heading-dark);
}
.form-group {
  margin-bottom: 1.5rem;
}
.checkbox-label {
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
}
.checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
  width: auto; /* Override global input width */
  margin-bottom: 0;
}

/* Containers and Layout */
.site-container {
  width: 100%;
  overflow-x: hidden;
}

.content-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.section-padding {
  padding-top: 60px;
  padding-bottom: 60px;
}

.alt-bg {
  background-color: var(--bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem; /* Increased margin for better separation */
  position: relative;
  color: var(--heading-dark); /* Ensure contrast */
  padding-bottom: 15px;
}
.section-title::after { /* Biomorphic underline accent */
  content: '';
  position: absolute;
  display: block;
  width: 70px;
  height: 4px;
  background: var(--accent-color-1);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px; /* Soft ends */
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem; /* Increased margin */
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* Ensure text on dark backgrounds is light */
.alt-bg h1, .alt-bg h2, .alt-bg h3, .alt-bg h4, .alt-bg h5, .alt-bg h6,
.alt-bg p, .alt-bg li, .alt-bg cite, .alt-bg label, .alt-bg .stat-title {
    /* Default is dark text for light alt-bg. If alt-bg becomes dark, this needs adjustment. */
    /* color: var(--text-dark); */ /* This is fine for light alt-bg */
}
/* If alt-bg was a dark color, you'd uncomment and use: */
/* .dark-section-bg { background-color: var(--primary-color); }
.dark-section-bg .section-title, .dark-section-bg .section-intro, .dark-section-bg p, ... { color: var(--text-light); } */


/* Parallax Background Effect (Simple CSS version) */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* For images with text overlay */
.hero-overlay, .page-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(var(--primary-color-rgb), 0.6), rgba(var(--primary-color-rgb), 0.8)); /* Dark overlay for readability */
  z-index: 1;
}
.page-hero {
  position: relative; /* For overlay */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 80px 0; /* Adjust as needed */
  color: var(--text-light);
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-title, .page-subtitle {
  color: var(--text-light) !important; /* Ensure white text */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.page-title {
  margin-bottom: 0.5rem;
}
.page-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
}

/* Legal pages top padding */
.legal-text.content-section {
  padding-top: 100px; /* Space for fixed header */
}
.legal-text h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.legal-text h2:first-of-type {
  margin-top: 0;
}
.legal-text ul {
  margin-left: 20px;
  margin-bottom: 1rem;
}
.legal-text li {
  margin-bottom: 0.5rem;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
  background-color: rgba(var(--primary-color-rgb), 0.95); /* Slightly transparent */
  backdrop-filter: blur(10px); /* Glassmorphism */
  padding: 0;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: background-color var(--transition-speed) var(--transition-easing), height var(--transition-speed) var(--transition-easing);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.logo a {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-light);
  text-decoration: none;
}
.logo a span {
  color: var(--accent-color-1);
}

.main-navigation .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.main-navigation .nav-links li {
  margin-left: 25px;
}
.main-navigation .nav-links a {
  color: var(--text-light-transparent);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 0;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-speed) var(--transition-easing);
}
.main-navigation .nav-links a:hover,
.main-navigation .nav-links a.active {
  color: var(--accent-color-1);
}
.main-navigation .nav-links a::before { /* Underline animation */
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color-1);
  visibility: hidden;
  transform: scaleX(0);
  transition: all var(--transition-speed) var(--transition-easing);
}
.main-navigation .nav-links a:hover::before,
.main-navigation .nav-links a.active::before {
  visibility: visible;
  transform: scaleX(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none; /* Hidden by default, shown in media query */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  position: relative;
  transition: background-color var(--transition-speed) var(--transition-easing);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  transition: transform var(--transition-speed) var(--transition-easing), top var(--transition-speed) var(--transition-easing), bottom var(--transition-speed) var(--transition-easing);
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  bottom: -8px;
}

/* Active state for hamburger (X) */
.menu-toggle.active .hamburger {
  background-color: transparent; /* Middle line disappears */
}
.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  height: 100vh; /* Full viewport height */
  min-height: 600px; /* Minimum height for content */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: var(--text-light); /* Ensured white text for Hero */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem; /* Larger for hero */
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-light) !important; /* IMPORTANT: White text */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* Stronger shadow for readability */
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: var(--text-light) !important; /* IMPORTANT: White text */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-section .cta-button {
  font-size: 1.1rem;
  padding: 0.9rem 2.2rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-section {
    height: auto; /* Allow content to define height */
    min-height: 80vh; /* Still substantial */
    padding: 100px 0; /* More padding for smaller screens */
  }
}

/*--------------------------------------------------------------
# Card Styles (Generic for all card types)
--------------------------------------------------------------*/
.card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-medium); /* Softer, biomorphic */
  box-shadow: 0 5px 15px var(--shadow-color);
  overflow: hidden;
  transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
  display: flex; /* For centering content, esp. image */
  flex-direction: column;
  /* align-items: center; /* Can make text alignment tricky, apply to card-image instead */
  height: 100%; /* For equal height cards in a grid */
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px var(--shadow-color-strong);
}

.card-image {
  width: 100%;
  height: 220px; /* Fixed height for image containers */
  overflow: hidden;
  display: flex; /* For centering image if it's smaller, used with object-fit */
  align-items: center;
  justify-content: center;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area, crops if necessary */
  transition: transform var(--transition-speed) var(--transition-easing);
}
.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  text-align: left; /* Default text alignment for content */
  flex-grow: 1; /* Allows content to fill space if cards are in a flex row and have different content heights */
  display: flex;
  flex-direction: column;
}
.card-content .card-title {
  margin-bottom: 0.75rem;
  color: var(--secondary-color);
}
.card-content p {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  flex-grow: 1; /* Pushes buttons to bottom if content is short */
}
.card-content .learn-more-button {
  margin-top: auto; /* Pushes button to the bottom of the card */
  align-self: flex-start; /* Aligns button to the left */
}
/* Centering content within card if needed for specific designs */
.card.text-center .card-content {
  text-align: center;
}
.card.text-center .card-content .learn-more-button {
  align-self: center;
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card .card-title {
  color: var(--accent-color-2);
}

/*--------------------------------------------------------------
# Our Process Section (Timeline)
--------------------------------------------------------------*/
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::after { /* The central line */
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--accent-color-1);
  opacity: 0.3;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  margin-bottom: 30px;
}
/* The circles on the timeline */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -12px; /* Adjust for circle size and line width */
  background-color: var(--bg-light);
  border: 4px solid var(--accent-color-1);
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}
/* Place the Ccontainer to the left */
.timeline-item:nth-child(odd) {
  left: 0;
}
/* Place the Ccontainer to the right */
.timeline-item:nth-child(even) {
  left: 50%;
}
/* Fix the circle for containers on the right side */
.timeline-item:nth-child(even)::after {
  left: -8px; /* Adjust for circle size and line width */
}
.timeline-icon {
  position: absolute;
  width: 50px; /* Size of the icon container */
  height: 50px;
  top: 10px; /* Align with content */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  border-radius: 50%; /* Biomorphic icon container */
  box-shadow: 0 0 10px var(--shadow-color);
}
.timeline-item:nth-child(odd) .timeline-icon {
  right: -65px; /* (40px padding + 25px half-width) */
}
.timeline-item:nth-child(even) .timeline-icon {
  left: -65px;
}
.timeline-icon img {
  width: 70%; /* Adjust icon size within circle */
  height: 70%;
  object-fit: contain;
}
.timeline-content {
  padding: 1.5rem;
  background-color: var(--bg-light);
  position: relative;
  border-radius: var(--border-radius-soft);
  box-shadow: 0 3px 10px var(--shadow-color);
}
.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}
.timeline-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Media queries for timeline responsiveness */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px; /* Move line to the left */
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px; /* Space for icon and line */
    padding-right: 15px;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item::after { /* Move circle to the left */
    left: 20px; 
  }
  .timeline-item:nth-child(odd) .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon {
    left: 5px; /* Position icon over the line */
  }
}

/*--------------------------------------------------------------
# Statistics Section
--------------------------------------------------------------*/
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-widget {
  padding: 1.5rem;
  background-color: var(--bg-light); /* Or var(--bg-alt) if section is light */
  border-radius: var(--border-radius-soft);
  box-shadow: 0 4px 12px var(--shadow-color);
}
.stat-value {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-color-1);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.stat-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.stat-widget p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.progress-indicator-container {
  width: 100%;
  height: 8px;
  background-color: var(--border-color);
  border-radius: var(--border-radius-round);
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-indicator {
  height: 100%;
  background-color: var(--accent-color-2);
  border-radius: var(--border-radius-round);
  transition: width 1.5s var(--transition-easing);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.portfolio-card .card-title {
  color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Success Stories (Testimonials)
--------------------------------------------------------------*/
.testimonials-slider {
  /* Basic styling, JS will handle actual sliding */
  display: grid; /* Simple grid for now */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background-color: var(--bg-alt); /* Slightly different background */
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-card .card-image { /* Overriding generic card-image for avatar */
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--accent-color-1);
  box-shadow: 0 0 10px var(--shadow-color);
}
.testimonial-card .card-image img {
  border-radius: 50%;
}
.testimonial-card .card-content {
  padding: 0;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.testimonial-card cite {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--secondary-color);
  font-style: normal;
}

/*--------------------------------------------------------------
# Clientele Section
--------------------------------------------------------------*/
.client-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}
.client-logo {
  opacity: 0.7;
  transition: opacity var(--transition-speed) var(--transition-easing), transform var(--transition-speed) var(--transition-easing);
}
.client-logo img {
  max-height: 60px; /* Adjust as needed */
  width: auto;
  filter: grayscale(50%); /* Subtle retro feel */
}
.client-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

/*--------------------------------------------------------------
# Press Section
--------------------------------------------------------------*/
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.press-card .card-image {
  height: 120px; /* Adjust for logo sizes */
  padding: 1rem; /* Space around logos */
  background-color: var(--bg-alt);
}
.press-card .card-image img {
  object-fit: contain; /* Logos should be contained, not covered */
}
.press-card .card-title {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

/*--------------------------------------------------------------
# External Resources Section
--------------------------------------------------------------*/
.resources-list {
  display: grid;
  grid-template-columns: 1fr; /* Single column for list items */
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.resource-item.card { /* Using card style for consistency */
  padding: 1.5rem;
  background-color: var(--bg-light); /* Ensure good contrast if section has alt-bg */
}
.resource-item .resource-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.resource-item .resource-title a {
  color: var(--accent-color-2);
  font-weight: 700;
}
.resource-item .resource-title a:hover {
  color: var(--accent-color-2-darker);
}
.resource-item .resource-description {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-soft);
  overflow: hidden; /* For smooth animation of answer */
}
.faq-question {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1rem;
  background-color: var(--bg-alt);
  color: var(--secondary-color);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition-speed) var(--transition-easing);
}
.faq-question:hover {
  background-color: var(--border-color); /* Subtle hover */
}
.faq-question::after { /* Plus/minus icon */
  content: '+';
  font-size: 1.5rem;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-speed) var(--transition-easing);
  color: var(--accent-color-1);
}
.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) var(--transition-easing), padding var(--transition-speed) var(--transition-easing);
  background-color: var(--bg-light);
}
.faq-answer p {
  padding-top: 1rem; /* Add padding when answer is visible */
  padding-bottom: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  /* max-height set by JS based on content */
  padding: 0 1.5rem; /* Ensure padding is applied when active */
}


/*--------------------------------------------------------------
# Contact Section (Main Page & Contact Page)
--------------------------------------------------------------*/
.contact-section {
  /* Uses global .section-padding */
}
.contact-form-container {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-medium);
  box-shadow: 0 5px 20px var(--shadow-color);
}
.contact-details {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.contact-details h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.contact-details p {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.contact-details a.text-link {
  font-weight: 700;
}

/* For contacts.html */
.contact-detailed-section .contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Form takes more space */
  gap: 2.5rem;
}
.contact-form-wrapper, .contact-info-wrapper {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--border-radius-medium);
  box-shadow: 0 5px 20px var(--shadow-color);
}
.section-title-minor {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: left;
}
.section-title-minor::after { /* Remove global section title underline for these */
    display: none;
}

.contact-form-wrapper p, .contact-info-wrapper p {
  margin-bottom: 1.5rem;
  text-align: left;
}
.info-block {
  margin-bottom: 1.5rem;
}
.info-block h3 {
  font-size: 1.2rem;
  color: var(--accent-color-2);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.info-block h3 i { /* If using FontAwesome or similar */
  margin-right: 0.75rem;
  font-size: 1.3em;
}
.info-block p {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}
.info-block a {
  color: var(--accent-color-1);
}
.info-block a:hover {
  color: var(--accent-color-1-darker);
}

@media (max-width: 992px) {
  .contact-detailed-section .contact-grid {
    grid-template-columns: 1fr; /* Stack on smaller screens */
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-light-transparent);
  padding: 40px 0 0 0;
  font-size: 0.9rem;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 30px; /* Space before footer-bottom */
}
.footer-column h4 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-column h4 span {
  color: var(--accent-color-1);
}
.footer-column h4::after { /* Small underline accent */
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background-color: var(--accent-color-1);
  opacity: 0.7;
  border-radius: 1px;
}
.footer-column p {
  margin-bottom: 0.75rem;
  color: var(--text-light-transparent);
  line-height: 1.8;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column ul li {
  margin-bottom: 0.6rem;
}
.footer-column ul a {
  color: var(--text-light-transparent);
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-easing), padding-left var(--transition-speed) var(--transition-easing);
}
.footer-column ul a:hover {
  color: var(--accent-color-1);
  padding-left: 5px; /* Subtle hover effect */
}
.social-links-text {
  /* Uses .footer-column ul styles */
}
.social-links-text a {
  font-weight: 700; /* Make social links stand out a bit */
}
.footer-contact p a {
  color: var(--text-light-transparent);
}
.footer-contact p a:hover {
  color: var(--accent-color-1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom p {
  margin: 0;
  color: var(--text-light-transparent);
}

/*--------------------------------------------------------------
# Success Page (`success.html`)
--------------------------------------------------------------*/
body.success-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.success-page .site-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
body.success-page main.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical centering */
    align-items: center; /* Horizontal centering */
}
body.success-page .page-hero { /* Adjust hero on success page if needed */
    padding: 60px 0;
    min-height: auto; /* Not full screen */
}
body.success-page .content-section { /* The section with the success message */
    width: 100%;
    max-width: 600px; /* Or your preferred width */
}

/*--------------------------------------------------------------
# Cookie Consent Popup
--------------------------------------------------------------*/
/* Styles are inline in HTML as per prompt, but if moved to CSS: */
/* #cookieConsentPopup {
  display: none; 
  position: fixed; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  background-color: rgba(var(--primary-color-rgb), 0.95); 
  color: var(--text-light); 
  padding: 20px; 
  text-align: center; 
  z-index: 9999; 
  box-shadow: 0 -2px 10px var(--shadow-color);
  font-family: var(--font-secondary); 
  font-size: 0.95em; 
  line-height: 1.6;
}
#cookieConsentPopup p {
  margin: 0 0 15px 0;
  color: var(--text-light);
}
#cookieConsentPopup a {
  color: var(--accent-color-1); 
  text-decoration: underline;
}
#acceptCookieButton {
  background-color: var(--accent-color-1); 
  color: var(--primary-color); 
  border: none; 
  padding: 12px 25px; 
  font-family: var(--font-primary); 
  font-weight: bold; 
  font-size: 0.9em; 
  border-radius: var(--border-radius-soft); 
  cursor: pointer; 
  transition: background-color var(--transition-speed) var(--transition-easing), transform 0.2s ease;
}
#acceptCookieButton:hover {
  background-color: var(--accent-color-1-darker);
  transform: scale(1.05);
} */


/*--------------------------------------------------------------
# Responsive Design (Media Queries)
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .header-container {
    padding: 0 20px;
  }
  .services-grid, .portfolio-grid, .press-grid, .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .main-navigation .nav-links {
    display: none; /* Hide desktop nav */
    flex-direction: column;
    position: absolute;
    top: var(--header-height); /* Position below header */
    left: 0;
    width: 100%;
    background-color: var(--primary-color); /* Match header */
    padding: 1rem 0;
    box-shadow: 0 5px 10px var(--shadow-color);
  }
  .main-navigation .nav-links.active {
    display: flex; /* Show when active */
  }
  .main-navigation .nav-links li {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .main-navigation .nav-links a {
    display: block;
    padding: 0.8rem 1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-navigation .nav-links li:last-child a {
    border-bottom: none;
  }
  .main-navigation .nav-links a::before { /* Mobile nav underline */
    display: none;
  }
  .menu-toggle {
    display: block; /* Show hamburger */
  }
  .footer-column {
    text-align: center; /* Center footer content on mobile */
  }
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}