/* GLOBAL STYLES & CSS VARIABLES
-------------------------------------------------- */
:root {
  /* Color Scheme: Split-Complementary (Blue base, Orange & Green accents) */
  --color-primary: #0A4F8A; /* Strong Blue */
  --color-primary-darker: #073B6A;
  --color-primary-lighter: #2A6FA8;

  --color-accent1: #F08A4B; /* Warm Orange/Coral */
  --color-accent1-darker: #D97033;
  --color-accent2: #50B887; /* Trustworthy Green/Teal */
  --color-accent2-darker: #3E9169;

  --color-text-light: #FFFFFF;
  --color-text-dark: #333333; /* Main text on light backgrounds */
  --color-text-dark-headings: #1A2B48; /* Darker blue for headings for corporate feel */
  --color-text-medium: #5F6C7B; /* Softer gray for secondary text */
  --color-text-subtle: #888888;

  --color-background-light: #F7F9FC; /* Very light blueish gray */
  --color-background-white: #FFFFFF;
  --color-background-hero-overlay: rgba(0, 0, 0, 0.55);
  --color-background-stats-overlay: rgba(10, 79, 138, 0.85); /* primary color overlay with more opacity */


  --color-border: #DDE2E6;
  --color-border-input: #CED4DA;
  --color-success: var(--color-accent2);
  --color-danger: #E74C3C;
  --color-warning: #F39C12;

  /* Fonts */
  --font-primary: 'Raleway', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;

  /* Spacing & Sizing */
  --spacing-xs: 0.25rem;  /* 4px */
  --spacing-sm: 0.5rem;   /* 8px */
  --spacing-md: 1rem;     /* 16px */
  --spacing-lg: 1.5rem;   /* 24px */
  --spacing-xl: 2.5rem;   /* 40px */
  --spacing-xxl: 4rem;    /* 64px */

  --header-height: 80px;
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 15px; /* Slightly less for corporate */

  /* Transitions & Shadows */
  --transition-speed-fast: 0.2s;
  --transition-speed-normal: 0.3s;
  --transition-speed-slow: 0.5s;
  --box-shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.07);
  --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
  --text-shadow-subtle: 1px 1px 3px rgba(0,0,0,0.3);
}

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

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

body {
  font-family: var(--font-secondary);
  color: var(--color-text-dark);
  background-color: var(--color-background-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevent horizontal scroll from AOS or other animations */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 800; /* Bolder for Raleway */
  color: var(--color-text-dark-headings);
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); }

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-accent1);
  text-decoration: none;
  transition: color var(--transition-speed-fast) ease;
}
a:hover, a:focus {
  color: var(--color-accent1-darker);
  text-decoration: underline;
}

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

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px; /* Standard max width */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.section-padding {
  padding-top: var(--spacing-xxl);
  padding-bottom: var(--spacing-xxl);
}

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

.text-center {
  text-align: center;
}

.section-title {
  margin-bottom: var(--spacing-xl);
  font-weight: 800;
  color: var(--color-text-dark-headings);
}
.section-title.text-center {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-medium);
  margin-bottom: var(--spacing-lg);
  max-width: 750px; /* Control width of subtitles */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Buttons (Global) */
.btn, button[type="submit"], .button { /* .button for non-form buttons if needed */
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8em 1.8em; /* Use ems for scalability */
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important; /* Override link underlines */
    transition: all var(--transition-speed-normal) ease-in-out;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.5; /* Ensure text is vertically centered */
}

.btn-primary {
    background-color: var(--color-accent1);
    color: var(--color-text-light);
    border-color: var(--color-accent1);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-accent1-darker);
    border-color: var(--color-accent1-darker);
    color: var(--color-text-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--box-shadow-md);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--color-primary-darker);
    border-color: var(--color-primary-darker);
    color: var(--color-text-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--box-shadow-md);
}

.btn-hero {
    padding: 1em 2.2em;
    font-size: 1.1rem;
}

/* Forms (Global) */
.form-group {
    margin-bottom: var(--spacing-lg);
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark-headings);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border-input);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text-dark);
    transition: border-color var(--transition-speed-fast) ease, box-shadow var(--transition-speed-fast) ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 10, 79, 138), 0.25); /* Use RGB var or fallback */
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.form-group select {
    appearance: none; /* Modern look for select */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    background-size: 1em;
    padding-right: calc(var(--spacing-md) + 1.5em); /* Space for arrow */
}
.form-check {
    display: flex;
    align-items: center;
}
.form-check input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    width: auto; /* Override 100% width for checkbox */
    accent-color: var(--color-primary);
}
.form-check .checkbox-label {
    margin-bottom: 0;
    font-weight: normal;
    color: var(--color-text-medium);
}
.form-check .checkbox-label a {
    color: var(--color-primary);
}

/* Main Container */
.main-container {
    /* If you have a fixed header or footer, add padding here or to main content area */
}

/* HEADER
-------------------------------------------------- */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow-sm);
    backdrop-filter: blur(5px); /* Subtle glassmorphism */
    height: var(--header-height);
    display: flex;
    align-items: center;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
}
.logo:hover {
    color: var(--color-primary-darker);
}

.main-navigation .nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.main-navigation .nav-list li {
    margin-left: var(--spacing-lg);
}
.main-navigation .nav-list a {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text-dark-headings);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    transition: color var(--transition-speed-fast);
}
.main-navigation .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent1);
    transition: width var(--transition-speed-normal) ease;
}
.main-navigation .nav-list a:hover,
.main-navigation .nav-list a:focus,
.main-navigation .nav-list a.active { /* Add .active class with JS for current page */
    color: var(--color-accent1);
}
.main-navigation .nav-list a:hover::after,
.main-navigation .nav-list a:focus::after,
.main-navigation .nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden by default, shown in media query */
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}
.menu-toggle .hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    position: relative;
    transition: transform var(--transition-speed-normal) ease, background-color var(--transition-speed-normal) ease;
}
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transition: transform var(--transition-speed-normal) ease, top var(--transition-speed-normal) ease, bottom var(--transition-speed-normal) ease;
}
.menu-toggle .hamburger::before {
    top: -8px;
}
.menu-toggle .hamburger::after {
    bottom: -8px;
}
/* Active state for hamburger */
.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 {
    position: relative;
    color: var(--color-text-light);
    padding: calc(var(--spacing-xxl) * 1.5) 0; /* More padding for hero */
    min-height: 85vh; /* Ensure it's substantial */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Parallax effect can be enhanced with JS, but fixed provides a simple one */
    /* background-attachment: fixed; */ /* This can be jarring with overlays, use with caution */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background-hero-overlay); /* Linear gradient for better text readability */
    /* background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)); */
}
.hero-content {
    position: relative; /* Above overlay */
    z-index: 1;
    max-width: 800px; /* Control width of hero text */
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive title */
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light) !important; /* VAZHNO: white text */
    text-shadow: var(--text-shadow-subtle);
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-light) !important; /* VAZHNO: white text */
    text-shadow: var(--text-shadow-subtle);
    line-height: 1.6;
}


/* VISION SECTION
-------------------------------------------------- */
.vision-section .vision-content p {
    font-size: 1.1rem;
    color: var(--color-text-medium);
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.vision-section .vision-content p:not(:last-child) {
    margin-bottom: var(--spacing-lg);
}


/* CARDS (Global Pattern & Specific Sections)
-------------------------------------------------- */
.card {
    background-color: var(--color-background-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    overflow: hidden;
    transition: transform var(--transition-speed-normal) ease, box-shadow var(--transition-speed-normal) ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height in grids */
}
.card:hover {
    transform: translateY(-6px); /* Subtle lift */
    box-shadow: var(--box-shadow-lg);
}
.card-image {
    width: 100%;
    height: 230px; /* STROGO: Fixed height for image container */
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* STROGO: Ensure image covers */
    display: block;
    transition: transform var(--transition-speed-slow) ease;
}
.card:hover .card-image img {
    transform: scale(1.05); /* Subtle zoom on card hover */
}
.card-content {
    padding: var(--spacing-lg);
    flex-grow: 1; /* Allow content to fill remaining space */
    display: flex;
    flex-direction: column;
    text-align: left; /* Default text alignment for content */
}
.card-content .card-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}
.card-content p {
    color: var(--color-text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1; /* Push elements like buttons to bottom */
}
.card-content .read-more-link {
    color: var(--color-accent1);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: auto; /* Pushes link to bottom of card */
    align-self: flex-start; /* Align to start if card content is centered by parent */
}
.card-content .read-more-link:hover {
    text-decoration: underline;
    color: var(--color-accent1-darker);
}
.card-content .read-more-link::after {
    content: ' →'; /* Arrow for read more */
    transition: transform 0.2s ease-out;
    display: inline-block;
}
.card-content .read-more-link:hover::after {
    transform: translateX(4px);
}


/* FEATURES, SERVICES, PORTFOLIO GRIDS */
.features-grid,
.services-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); /* Responsive columns */
    gap: var(--spacing-xl);
}

/* Specific card styling for centered titles if needed */
.feature-card .card-content,
.service-card .card-content {
    text-align: center; /* If titles and short text should be centered */
}
.feature-card .card-title,
.service-card .card-title {
    /* Centered by parent text-align: center */
}
.feature-card p,
.service-card p {
    font-size: 0.9rem; /* Slightly smaller for more content in cards */
}
.portfolio-card .card-content {
    text-align: left; /* Portfolio descriptions often longer */
}


/* HISTORY SECTION
-------------------------------------------------- */
.history-section .history-content p {
    font-size: 1.05rem;
    color: var(--color-text-medium);
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.history-section .history-content p:not(:last-child) {
    margin-bottom: var(--spacing-lg);
}

/* STATISTICS SECTION
-------------------------------------------------- */
.statistics-section {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Simple parallax */
    padding: var(--spacing-xxl) 0;
    color: var(--color-text-light);
}
.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background-stats-overlay);
}
.statistics-container {
    position: relative; /* Above overlay */
    z-index: 1;
}
.statistics-section .section-title {
    color: var(--color-text-light); /* White title on dark overlay */
    text-shadow: var(--text-shadow-subtle);
}
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}
.statistic-item {
    text-align: center;
}
.statistic-number {
    display: block;
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--color-accent1); /* Accent color for numbers */
    margin-bottom: var(--spacing-xs);
}
.statistic-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* TESTIMONIALS SECTION
-------------------------------------------------- */
.testimonials-slider {
    /* Basic styling if not using a JS slider. For JS slider, this might be different */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--spacing-lg);
}
.testimonial-card {
    background-color: var(--color-background-white); /* Override if section has bg */
    box-shadow: var(--box-shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
    text-align: center;
}
.testimonial-card:hover {
    transform: none; /* Disable card hover lift for testimonials if desired */
    box-shadow: var(--box-shadow-lg);
}
.testimonial-card .card-image.testimonial-author-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-top: calc(-1 * var(--spacing-lg) - 15px); /* Pull image up slightly */
    border: 4px solid var(--color-background-white);
    box-shadow: var(--box-shadow-sm);
}
.testimonial-card .card-image.testimonial-author-image img {
    border-radius: 50%;
}
.testimonial-card .card-content {
    padding: var(--spacing-lg);
    padding-top: var(--spacing-sm);
}
.testimonial-card .card-content p {
    font-style: italic;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}
.testimonial-card .card-content cite {
    font-weight: 600;
    color: var(--color-primary);
    font-style: normal;
    font-size: 0.9rem;
}

/* FAQ SECTION (Accordion)
-------------------------------------------------- */
.accordion .accordion-item {
    background-color: var(--color-background-white);
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden; /* For smooth open/close */
}
.accordion .accordion-header {
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: var(--spacing-md) var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed-fast);
}
.accordion .accordion-header:hover {
    background-color: var(--color-background-light);
}
.accordion .accordion-icon {
    width: 1em;
    height: 1em;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: relative;
    transition: transform var(--transition-speed-normal) ease;
}
.accordion .accordion-icon::before,
.accordion .accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    top: 50%;
    left: 50%;
    transition: transform var(--transition-speed-normal) ease;
}
.accordion .accordion-icon::before { /* Horizontal line */
    width: 60%;
    height: 2px;
    transform: translate(-50%, -50%);
}
.accordion .accordion-icon::after { /* Vertical line */
    width: 2px;
    height: 60%;
    transform: translate(-50%, -50%);
}
.accordion .accordion-header[aria-expanded="true"] .accordion-icon {
    /* transform: rotate(45deg); */ /* Simpler might be to hide vertical */
}
.accordion .accordion-header[aria-expanded="true"] .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg); /* Or hide: transform: scale(0) */
}
.accordion .accordion-content {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed-normal) ease-out, padding var(--transition-speed-normal) ease-out;
}
.accordion .accordion-content p {
    padding: var(--spacing-md) 0;
    margin-bottom: 0;
    color: var(--color-text-medium);
    font-size: 0.95rem;
}
.accordion .accordion-header[aria-expanded="true"] + .accordion-content {
    max-height: 500px; /* Adjust as needed, or use JS to set height */
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-lg);
}


/* EXTERNAL RESOURCES SECTION
-------------------------------------------------- */
.external-resources-section .resources-list {
    margin-top: var(--spacing-lg);
}
.resource-item {
    background-color: var(--color-background-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--box-shadow-sm);
    transition: box-shadow var(--transition-speed-normal);
}
.resource-item:hover {
    box-shadow: var(--box-shadow-md);
}
.resource-item .resource-title a {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.2rem;
}
.resource-item .resource-title a:hover {
    color: var(--color-accent1);
}
.resource-item .resource-description {
    color: var(--color-text-medium);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
    margin-bottom: 0;
}

/* CONTACT SECTION
-------------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* Default for mobile */
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}
@media (min-width: 992px) { /* Larger screens */
    .contact-wrapper {
        grid-template-columns: 2fr 1fr; /* Form takes more space */
    }
}
.contact-form-container {
    background-color: var(--color-background-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
}
.contact-info-container {
    background-color: var(--color-primary-lighter); /* Different background */
    color: var(--color-text-light);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
}
.contact-info-title {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}
.contact-info-container p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}
.contact-info-container strong {
    color: var(--color-accent1); /* Highlight labels */
}
.contact-info-container a {
    color: var(--color-text-light);
    text-decoration: underline;
}
.contact-info-container a:hover {
    color: var(--color-accent1);
}
.map-placeholder img {
    border-radius: var(--border-radius-sm);
    margin-top: var(--spacing-lg);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* FOOTER
-------------------------------------------------- */
.site-footer {
    background-color: var(--color-text-dark-headings); /* Dark footer */
    color: var(--color-text-subtle); /* Light text on dark footer */
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    font-size: 0.9rem;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}
.footer-widget-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}
.footer-widget p {
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}
.footer-nav-list, .footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-list li, .footer-social-list li {
    margin-bottom: var(--spacing-xs);
}
.footer-nav-list a, .footer-social-list a {
    color: var(--color-text-subtle);
    text-decoration: none;
    transition: color var(--transition-speed-fast);
}
.footer-nav-list a:hover, .footer-social-list a:hover {
    color: var(--color-accent1);
}
/* Specific for social text links if icons were not used */
.footer-social-list a {
    display: inline-block; /* Better spacing for text links */
    padding: var(--spacing-xs) 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.85rem;
}

/* RESPONSIVE STYLES
-------------------------------------------------- */
@media (max-width: 991px) { /* Tablet and mobile */
    .menu-toggle {
        display: block; /* Show hamburger */
        z-index: 1001; /* Above nav list */
    }
    .main-navigation .nav-list {
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-background-white);
        box-shadow: var(--box-shadow-md);
        padding: var(--spacing-md) 0;
        transform: translateY(-150%); /* Start off-screen */
        transition: transform var(--transition-speed-normal) ease-in-out;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    .main-navigation .nav-list.active {
        transform: translateY(0); /* Slide in */
    }
    .main-navigation .nav-list li {
        margin-left: 0;
        width: 100%;
    }
    .main-navigation .nav-list a {
        display: block;
        padding: var(--spacing-md) var(--spacing-lg);
        border-bottom: 1px solid var(--color-border);
        color: var(--color-primary);
    }
    .main-navigation .nav-list li:last-child a {
        border-bottom: none;
    }
    .main-navigation .nav-list a::after { /* Disable underline animation for mobile */
        display: none;
    }
    .main-navigation .nav-list a:hover,
    .main-navigation .nav-list a.active {
        background-color: var(--color-background-light);
        color: var(--color-accent1);
    }

    .hero-section {
        min-height: 70vh;
        padding: var(--spacing-xl) 0;
    }
    .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.2rem); }

    .statistics-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }
    .statistic-number { font-size: clamp(2rem, 8vw, 3rem); }
}

@media (max-width: 767px) { /* Mobile */
    .section-padding {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .features-grid, .services-grid, .portfolio-grid, .testimonials-slider {
        grid-template-columns: 1fr; /* Stack cards on smallest screens */
        gap: var(--spacing-lg);
    }
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-nav-list, .footer-social-list {
        text-align: center;
    }
    .footer-nav-list li, .footer-social-list li {
        display: inline-block;
        margin: 0 var(--spacing-sm);
    }
    .footer-widget .footer-widget-title {
        text-align: center;
    }
}


/* STYLES FOR OTHER PAGES (success.html, privacy.html, terms.html, about.html, contacts.html)
-------------------------------------------------- */
.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height)); /* Full viewport height minus header */
    text-align: center;
    padding: var(--spacing-xl);
    margin-top: var(--header-height); /* Offset for fixed header */
    background-color: var(--color-background-light);
}
.success-page-container .success-icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: var(--spacing-lg);
    /* Could be an SVG or a character like ✔ */
}
.success-page-container h1 {
    color: var(--color-text-dark-headings);
    margin-bottom: var(--spacing-md);
}
.success-page-container p {
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

/* Generic container for static content pages */
.static-page-main-content {
    padding-top: calc(var(--header-height) + var(--spacing-xl));
    padding-bottom: var(--spacing-xxl);
    min-height: calc(100vh - var(--header-height) - var(--footer-height, 200px)); /* Adjust footer height estimate */
}

.static-page-content { /* Use this class inside the container for specific pages */
    max-width: 850px; /* Readable width for text */
    margin-left: auto;
    margin-right: auto;
}
.static-page-content h1,
.static-page-content h2,
.static-page-content h3 {
    color: var(--color-text-dark-headings);
    margin-bottom: var(--spacing-lg);
}
.static-page-content h1 {
    margin-bottom: var(--spacing-xl);
}
.static-page-content p,
.static-page-content ul,
.static-page-content ol {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--color-text-dark);
}
.static-page-content ul,
.static-page-content ol {
    padding-left: var(--spacing-lg);
}
.static-page-content li {
    margin-bottom: var(--spacing-sm);
}
.static-page-content a {
    color: var(--color-accent1);
    font-weight: 600;
}
.static-page-content a:hover {
    color: var(--color-accent1-darker);
}

/* Specific page containers to apply padding for fixed header */
/* These are for the <main> or a direct child of <body> if <main> is not full width */
.privacy-page-container,
.terms-page-container,
.about-page-container,
.contacts-page-container { /* This is if the entire page is just this, otherwise use .static-page-main-content */
    padding-top: calc(var(--header-height) + var(--spacing-xl));
    padding-bottom: var(--spacing-xxl);
}

/* For Contacts page, if the form is not within a .static-page-content */
.contacts-page-container .contact-section {
    padding-top: 0; /* Override section padding if page container already has it */
}
.menu-toggle{
    display: none;
}

/* Cookie Consent Popup - Basic styling if not handled inline or by JS lib */
/* Assuming the inline styles provided in HTML are the primary source for this */
/* #cookieConsentPopup { ... } */
/* #acceptCookieButton { ... } */
/* No additional styles needed here if HTML styles are sufficient */