/* style.css */

/* ---------------------------------- */
/* Variables & Basic Setup
/* ---------------------------------- */
:root {
    /* Pastel Color Scheme */
    --color-primary: #A0D2DB; /* Soft Teal/Aqua */
    --color-primary-dark: #85B8C1;
    --color-secondary: #FFDAB9; /* Light Peach */
    --color-secondary-dark: #E8C0A0;
    --color-accent: #E6E6FA; /* Lavender */
    --color-background-light: #FDFDFD;
    --color-background-alternate: #E0F2F1; /* Light Mint */
    --color-text-dark: #2F4F4F; /* Dark Slate Grey */
    --color-text-light: #FFFFFF;
    --color-text-medium: #555555;
    --color-border: #E0E0E0;
    --color-success: #4CAF50;
    --color-error: #f44336;
    --color-shadow: rgba(47, 79, 79, 0.1); /* Dark Slate Grey shadow */
    --color-overlay: rgba(47, 79, 79, 0.5); /* Overlay for images */

    /* Fonts */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Rubik', sans-serif;

    /* Transitions & Animations */
    --transition-speed-fast: 0.2s;
    --transition-speed-medium: 0.4s;
    --transition-speed-slow: 0.6s;
    --transition-easing: ease-in-out;

    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 0 20px;
    --section-padding: 60px 0; /* Reduced padding */
    --header-height: 80px;
}

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

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

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

/* Container */
.container {
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: var(--container-padding);
}

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

h1 { font-size: 2.8rem; font-weight: 800; }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; } /* Section titles */
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

.section-title {
    text-align: center;
    margin-bottom: 2.5rem; /* Increased spacing */
    position: relative;
    padding-bottom: 10px;
    color: #222222; /* Stronger contrast for titles */
}
/* Simple "drawn" underline effect */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* Paragraphs & Text */
p {
    margin-bottom: 1.2rem;
    color: var(--color-text-medium); /* Slightly lighter for body */
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    color: var(--color-text-medium);
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed-fast) var(--transition-easing);
}

a:hover, a:focus {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Read More Links */
.read-more-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    color: var(--color-primary-dark);
    text-decoration: none;
    position: relative;
    padding-right: 20px;
}

.read-more-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right var(--transition-speed-fast) var(--transition-easing);
}

.read-more-link:hover::after {
    right: -5px;
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 20px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
}

/* Buttons (Global Styles) */
.cta-button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-light);
    background-color: var(--color-primary);
    border: none;
    border-radius: 50px; /* Modern rounded */
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--transition-speed-fast) var(--transition-easing), transform var(--transition-speed-fast) var(--transition-easing), box-shadow var(--transition-speed-fast) var(--transition-easing);
    box-shadow: 0 4px 10px var(--color-shadow);
}

.cta-button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 79, 79, 0.15);
    color: var(--color-text-light);
    text-decoration: none;
}

.cta-button.secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
}

.cta-button.secondary:hover {
    background-color: var(--color-secondary-dark);
    color: var(--color-text-dark);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-light { color: var(--color-text-light); }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.alternate-bg { background-color: var(--color-background-alternate); }

/* ScrollReveal Elements (Hidden by default) */
.reveal {
    visibility: visible;
}

/* ---------------------------------- */
/* Header
/* ---------------------------------- */
.site-header {
    position: fixed; /* Fixed navigation */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9); /* Slight transparency */
    backdrop-filter: blur(10px); /* Glassmorphism */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--color-shadow);
    transition: background-color var(--transition-speed-medium) var(--transition-easing);
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    text-decoration: none;
}

.main-navigation .nav-menu {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin-bottom: 0; /* Override default list margin */
}

.main-navigation .nav-menu li {
    margin-left: 25px;
}

.main-navigation .nav-menu a {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text-medium);
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: color var(--transition-speed-fast) var(--transition-easing);
}

.main-navigation .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed-medium) var(--transition-easing);
}

.main-navigation .nav-menu a:hover,
.main-navigation .nav-menu a:focus,
.main-navigation .nav-menu a.active { /* Add .active class via JS if needed */
    color: var(--color-text-dark);
}

.main-navigation .nav-menu a:hover::after,
.main-navigation .nav-menu a:focus::after,
.main-navigation .nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text-dark);
    padding: 0 10px; /* Add some padding */
}

/* ---------------------------------- */
/* Main Content Sections
/* ---------------------------------- */
main {
    padding-top: var(--header-height); /* Offset for fixed header */
}

.content-section {
    padding: var(--section-padding);
    overflow: hidden; /* Contain elements */
}

/* Columns Layout (Basic Implementation) */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.column {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px; /* Spacing between columns on wrap */
    flex-basis: 100%; /* Default full width */
    max-width: 100%;
}

/* Example width class */
.is-two-thirds {
    flex-basis: 66.666%;
    max-width: 66.666%;
}
.is-one-third {
    flex-basis: 33.333%;
    max-width: 33.333%;
}
.is-half {
    flex-basis: 50%;
    max-width: 50%;
}

@media (min-width: 769px) {
    .column {
        flex: 1; /* Allow columns to take up space */
    }
    /* Apply specific widths only on larger screens */
    .is-two-thirds { flex: 0 0 66.666%; max-width: 66.666%; }
    .is-one-third { flex: 0 0 33.333%; max-width: 33.333%; }
    .is-half { flex: 0 0 50%; max-width: 50%; }
}

.content-block {
    padding-right: 20px; /* Space between text and image */
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--color-shadow);
}

/* Curved Grid Elements (Subtle Example) */
.content-section.alternate-bg::before {
    content: '';
    position: absolute;
    bottom: -50px; /* Position below the section */
    left: 0;
    width: 100%;
    height: 100px; /* Height of the curve */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 120L0 120 0 0 1200 0 1200 120z" fill="%23E0F2F1"/><path d="M0,0 C150,100 350,0 600,50 C850,100 1050,0 1200,50 L1200 120 L0 120 Z" style="stroke: none; fill: %23FDFDFD;"/></svg>') no-repeat center center;
    background-size: 100% 100px;
    z-index: 0;
    opacity: 0.7; /* Make it subtle */
    pointer-events: none; /* Don't interfere with clicks */
}
/* Note: The SVG path creates a subtle curve. Adjust fill colors to match backgrounds. */


/* ---------------------------------- */
/* Hero Section
/* ---------------------------------- */
.hero-section {
    position: relative;
    color: var(--color-text-light);
    /* min-height: calc(100vh - var(--header-height)); */ /* Adjust if needed, removed strict 400px */
    padding: 80px 0; /* Generous padding */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)); /* Adjusted overlay */
    z-index: 1;
}

.hero-content {
    position: relative; /* Above overlay */
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--color-text-light); /* Explicitly white as requested */
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Ensure readability */
}

.hero-content p {
    color: var(--color-text-light); /* Explicitly white as requested */
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-content .cta-button {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Animate.css integration for Hero */
.hero-content h1.animate__animated { animation-delay: 0.2s; }
.hero-content p.animate__animated { animation-delay: 0.4s; }
.hero-content .cta-button.animate__animated { animation-delay: 0.6s; }

/* ---------------------------------- */
/* Cards (General Styling)
/* ---------------------------------- */
.card {
    background-color: var(--color-text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--color-shadow);
    overflow: hidden;
    transition: transform var(--transition-speed-medium) var(--transition-easing), box-shadow var(--transition-speed-medium) var(--transition-easing);
    display: flex; /* For centering */
    flex-direction: column; /* Stack image and content */
    height: 100%; /* Ensure cards in a row have same height */
    text-align: center; /* Center text */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(47, 79, 79, 0.15);
}

.card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
    display: flex; /* Center image within container */
    justify-content: center;
    align-items: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Scale image nicely */
    transition: transform var(--transition-speed-medium) var(--transition-easing);
}

.card:hover .card-image img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.card-content {
    padding: 25px;
    flex-grow: 1; /* Allow content to fill remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button down if present */
}

.card-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.card-content p {
    margin-bottom: 1rem;
    color: var(--color-text-medium);
    font-size: 0.95rem;
    flex-grow: 1; /* Allow text to take up space */
}

/* ---------------------------------- */
/* Specific Section Styles
/* ---------------------------------- */

/* About Us & Mission */
.about-us-section .columns,
.mission-section .columns {
    align-items: center; /* Vertically align text and image */
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 2rem;
}

.service-card .card-image { height: 180px; }

/* Switches / Toggles (Basic Style) */
.switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--color-primary); }
input:checked + .slider:before { transform: translateX(22px); }
.service-toggles, .pricing-toggles { text-align: center; margin-bottom: 2rem; }
.service-toggles span, .pricing-toggles button { margin-left: 10px; vertical-align: middle; font-weight: 500; }

/* Pricing Section */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}
.pricing-card { border: 2px solid var(--color-border); }
.pricing-card.featured { border: 2px solid var(--color-primary); position: relative; transform: scale(1.05); } /* Highlight featured */
.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.pricing-card .card-content { padding: 30px; }
.pricing-card h3 { margin-bottom: 1rem; }
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left; /* Align list items */
}
.pricing-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    color: var(--color-text-medium);
}
.pricing-card ul li::before {
    content: '✓'; /* Checkmark */
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}
.pricing-toggles button {
    padding: 8px 20px;
    margin: 0 5px;
    border: 1px solid var(--color-border);
    background-color: var(--color-text-light);
    color: var(--color-text-medium);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-speed-fast) ease;
}
.pricing-toggles button.active {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}


/* Progress Indicators */
.progress-indicators { margin-top: 2.5rem; }
.progress-item { margin-bottom: 1.5rem; }
.progress-item label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--color-text-medium); }
progress {
    width: 100%;
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    background-color: #eee; /* Background of the bar */
}
/* Style the progress bar value */
progress::-webkit-progress-bar { background-color: #eee; border-radius: 10px; }
progress::-webkit-progress-value { background-color: var(--color-secondary); border-radius: 10px; transition: width 0.5s ease; }
progress::-moz-progress-bar { background-color: var(--color-secondary); border-radius: 10px; transition: width 0.5s ease; }


/* Success Stories (Carousel) */
.carousel { position: relative; overflow: hidden; }
.carousel-inner { display: flex; transition: transform var(--transition-speed-medium) var(--transition-easing); }
.carousel-item { min-width: 100%; flex-shrink: 0; padding: 0 10px; /* Spacing between items visually */ }
.carousel-item.card { margin-bottom: 10px; } /* Prevent overlap with controls */
.carousel-item blockquote {
    margin: 0;
    padding: 15px 0 0 0; /* Add padding top */
    border-left: none; /* Remove default border */
    font-style: italic;
    color: var(--color-text-medium);
}
.carousel-item blockquote p { margin-bottom: 0.5rem; font-size: 1.05rem; }
.carousel-item blockquote footer {
    font-style: normal;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-top: 1rem;
    font-size: 0.9rem;
}
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: var(--color-text-dark);
    font-size: 1.5rem;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color var(--transition-speed-fast);
    width: 40px;
    height: 40px;
    line-height: 30px; /* Center icon */
    text-align: center;
}
.carousel-control:hover { background-color: var(--color-primary); color: var(--color-text-light); }
.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }
@media (min-width: 769px) {
    .carousel-item { min-width: 50%; } /* Show 2 items */
}
@media (min-width: 992px) {
    .carousel-item { min-width: 33.333%; } /* Show 3 items */
}


/* Clientele & Partners (Logo Carousel/Grid) */
.logo-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Space between logos */
    margin-top: 2rem;
}
.logo-item {
    flex-basis: calc(50% - 40px); /* Two columns on small screens */
    max-width: 150px; /* Max logo size */
    text-align: center;
}
.logo-item img {
    max-height: 60px; /* Limit logo height */
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-speed-fast) ease;
    filter: grayscale(50%); /* Subtle grayscale */
    margin: 0 auto; /* Center logo */
}
.logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

@media (min-width: 576px) {
    .logo-item { flex-basis: calc(33.33% - 40px); } /* Three columns */
}
@media (min-width: 769px) {
    .logo-item { flex-basis: calc(20% - 40px); } /* Five columns */
}
@media (min-width: 992px) {
    .logo-item { flex-basis: calc(16.66% - 40px); } /* Six columns */
}


/* Image Gallery */
.image-gallery { margin-top: 3rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}
.gallery-item img {
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--color-shadow);
    width: 100%;
    height: 200px; /* Fixed height */
    object-fit: cover;
    transition: transform var(--transition-speed-fast) ease, box-shadow var(--transition-speed-fast) ease;
}
.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(47, 79, 79, 0.15);
}


/* Research Section */
.research-section .columns { align-items: flex-start; /* Align top */ }


/* External Resources */
.external-links-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 2rem auto 0 auto;
}
.external-links-list li {
    background-color: var(--color-background-alternate);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-speed-fast) ease;
}
.external-links-list li:hover {
    box-shadow: 0 4px 10px var(--color-shadow);
}
.external-links-list a {
    text-decoration: none;
    color: inherit; /* Inherit text color */
    display: block;
}
.external-links-list a:hover {
    text-decoration: none; /* No underline needed for block */
}
.external-links-list strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.external-links-list p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: 0;
    line-height: 1.5;
}


/* Contact Section */
.contact-form-container {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    background-color: var(--color-text-light);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px var(--color-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-medium);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed-fast) ease, box-shadow var(--transition-speed-fast) ease;
    background-color: #f9f9f9; /* Slightly off-white inputs */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(160, 210, 219, 0.3); /* Primary color focus ring */
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

#form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* ---------------------------------- */
/* Footer
/* ---------------------------------- */
.site-footer {
    background-color: var(--color-text-dark);
    color: rgba(255, 255, 255, 0.7); /* Lighter text on dark bg */
    padding: 50px 0 0 0;
    margin-top: 40px; /* Space above footer */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex-basis: 100%; /* Full width on mobile */
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-social ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a,
.footer-social ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease;
}

.footer-links ul a:hover,
.footer-social ul a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

/* Styling for Text Social Links */
.social-links-text a {
    font-weight: 500; /* Make them slightly bolder */
    display: inline-block; /* Ensure proper spacing */
    padding: 2px 0; /* Small vertical padding */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 576px) {
    .footer-column {
        flex-basis: calc(50% - 15px); /* Two columns */
    }
}

@media (min-width: 992px) {
    .footer-column {
        flex-basis: calc(25% - 22.5px); /* Four columns */
    }
    .footer-column.footer-about {
         flex-basis: calc(30% - 22.5px); /* Slightly wider about column */
    }
     .footer-column.footer-links,
     .footer-column.footer-contact,
     .footer-column.footer-social {
         flex-basis: calc(23.33% - 22.5px);
     }

}

/* ---------------------------------- */
/* Specific Page Styles
/* ---------------------------------- */

/* Success Page */
.success-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 50px); /* Full height minus header/footer approx */
    text-align: center;
    padding: 40px var(--container-padding);
}
.success-page .icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 1.5rem;
    /* Basic checkmark - replace with SVG or icon font if available */
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 3px solid var(--color-success);
    border-radius: 50%;
    line-height: 60px; /* Center check */
    position: relative;
}
.success-page .icon::after {
    content: '✓';
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.success-page h1 {
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}
.success-page p {
    color: var(--color-text-medium);
    max-width: 500px;
    margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.privacy-policy-page,
.terms-service-page {
    padding-top: 100px; /* Offset content below fixed header */
    padding-bottom: 60px;
}

.privacy-policy-page .container,
.terms-service-page .container {
    max-width: 900px; /* Limit width for readability */
}

.privacy-policy-page h1,
.terms-service-page h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.privacy-policy-page h2,
.terms-service-page h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}


/* ---------------------------------- */
/* Responsive Design
/* ---------------------------------- */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-padding: 50px 0;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }

    .header-container { position: relative; } /* Needed for absolute positioning of menu */

    .menu-toggle {
        display: block; /* Show burger icon */
    }

    .main-navigation {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-text-light);
        box-shadow: 0 5px 10px var(--color-shadow);
        max-height: 0; /* Hidden by default */
        overflow: hidden;
        transition: max-height var(--transition-speed-medium) var(--transition-easing);
    }

    .main-navigation.is-open {
        max-height: 500px; /* Or enough height to show all items */
    }

    .main-navigation .nav-menu {
        flex-direction: column;
        padding: 15px 0; /* Padding inside mobile menu */
        align-items: center; /* Center items */
    }

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

    .main-navigation .nav-menu a {
        display: block; /* Make links full width */
        padding: 12px 20px;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
    }
    .main-navigation .nav-menu li:last-child a {
        border-bottom: none;
    }

    .main-navigation .nav-menu a::after {
        display: none; /* No underline effect needed on mobile */
    }

    .columns {
        flex-direction: column; /* Stack columns */
    }

    .column,
    .is-two-thirds,
    .is-one-third,
    .is-half {
        flex-basis: 100%; /* Full width */
        max-width: 100%;
    }

    .content-block { padding-right: 0; margin-bottom: 20px; }

    .pricing-card.featured { transform: scale(1); } /* Disable featured scaling on mobile */
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .cta-button, button, input[type="submit"] { padding: 10px 25px; font-size: 0.95rem; }
    .hero-content .cta-button { padding: 12px 30px; font-size: 1rem; }
    .container { padding: 0 15px; }
    .contact-form-container { padding: 20px; }
    .logo-item { flex-basis: calc(50% - 20px); gap: 20px; } /* Adjust gap */
    .footer-column { flex-basis: 100%; } /* Single column footer */
}

/* ---------------------------------- */
/* Animations (Subtle "Drawn" Style)
/* ---------------------------------- */
@keyframes drawBorder {
  to {
    stroke-dashoffset: 0;
  }
}

/* Example: Apply to a card on hover - requires SVG structure or complex pseudo-elements */
.card:hover {
  /* Placeholder - requires specific implementation */
}

@keyframes slightWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-1deg); }
  75% { transform: rotate(1deg); }
}

/* Example: Apply to an element revealed by ScrollReveal */
.reveal.animate__animated {
 /* animation: slightWobble 1s ease-in-out; */ /* Example */
}

/* Ensure Animate.css classes work */
.animate__animated {
    /* Base styles if needed */
}