:root {
    /* Color Palette - Triadic (Corporate & Modern) */
    --primary-color: #005A9C;         /* Deep Blue - Professional, Trustworthy */
    --primary-color-dark: #003D6B;    /* Darker shade of primary */
    --primary-color-light: #E6F0F8;   /* Light tint for backgrounds */
    --primary-color-rgb: 0, 90, 156;  /* For RGBA box-shadows */

    --secondary-color: #4CAF50;       /* Green - Growth, Success */
    --secondary-color-dark: #388E3C;  /* Darker shade of secondary */

    --accent-color-1: #FF9800;        /* Amber/Orange - Attention, Energy */
    --accent-color-1-dark: #F57C00;   /* Darker shade of accent */

    --accent-color-2: #00BCD4;        /* Cyan/Teal - Clarity, Innovation (Subtle Accent) */

    /* Text Colors */
    --text-color-dark: #212529;       /* Near Black - Strong Readability for body */
    --text-color-headings: #1A2B48;   /* Dark Blue/Grey - For major headings */
    --text-color-medium: #495057;     /* Grey - Subheadings, less important text */
    --text-color-light: #FFFFFF;      /* White - For dark backgrounds */
    --text-color-subtle: #6c757d;     /* Lighter Grey - Captions, muted text */

    /* Background Colors */
    --bg-color-light: #FFFFFF;
    --bg-color-page: #F8F9FA;         /* Very Light Grey - Overall page background */
    --bg-color-section-alt: #EFF3F7;  /* Slightly darker grey for alternating sections */
    --bg-color-dark: #2A3B4D;         /* Dark Blue/Grey - Footer or dark sections */

    /* Borders */
    --border-color: #DEE2E6;
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;

    /* Fonts */
    --font-family-headings: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-family-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;  /* 8px */
    --spacing-sm: 1rem;    /* 16px */
    --spacing-md: 1.5rem;  /* 24px */
    --spacing-lg: 2rem;    /* 32px */
    --spacing-xl: 3rem;    /* 48px */
    --spacing-xxl: 4rem;   /* 64px */

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.075);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);

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

    /* Header Height */
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* --- GLOBAL RESETS & BASE STYLES --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px; /* Base font size */
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--bg-color-page);
    padding-top: var(--header-height); /* For fixed header */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
}
a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--text-color-headings);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}
h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: var(--spacing-md);} /* ~44.8px */
h2 { font-size: 2.2rem; font-weight: 900;} /* ~35.2px */
h3 { font-size: 1.6rem; } /* ~25.6px */
h4 { font-size: 1.3rem; } /* ~20.8px */

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

/* --- LAYOUT HELPERS --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.section-padding {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}
.section-padding-alt {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    background-color: var(--bg-color-section-alt);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md); /* Space between title and subtitle */
}
.section-subtitle {
    text-align: center;
    color: var(--text-color-medium);
    font-size: 1.1rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl); /* Space after subtitle */
    line-height: 1.7;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    margin: calc(-1 * var(--spacing-md) / 2); /* Gutter simulation */
}
.column {
    padding: calc(var(--spacing-md) / 2); /* Gutter simulation */
    flex-basis: 100%; /* Default to full width on mobile */
}

@media (min-width: 768px) {
    .columns.content-columns {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Default 50/50 */
        gap: var(--spacing-lg);
        align-items: center;
        margin: 0; /* Override flexbox gutter simulation if using grid */
    }
    .columns.content-columns .column {
        padding: 0; /* Override flexbox gutter simulation */
    }
    .intro-about-section .column-text {
        /* Default order is fine */
    }
    .intro-about-section .column-image {
        text-align: center; /* Center image if it's smaller than column */
    }
    .intro-about-section .column-image img {
        border-radius: var(--border-radius-medium);
        box-shadow: var(--shadow-md);
    }
}


/* --- GLOBAL COMPONENT STYLES --- */

/* Buttons */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-family-headings);
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 2px solid transparent;
    padding: 0.75rem 1.75rem; /* Slightly wider */
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-speed) var(--transition-timing);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: var(--text-color-light);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
    color: var(--text-color-light);
}

.btn-hero { /* Specific style for hero button if needed */
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    background-color: var(--accent-color-1);
    border-color: var(--accent-color-1);
    color: var(--text-color-light); /* Or dark text if accent is light */
}
.btn-hero:hover {
    background-color: var(--accent-color-1-dark);
    border-color: var(--accent-color-1-dark);
}

/* Cards */
.cards-grid {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background-color: var(--bg-color-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in a row have same height */
    text-align: center;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.card .card-image {
    width: 100%;
    height: 220px; /* Consistent image height */
    overflow: hidden;
}
.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card .card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card .card-content h3, .card .card-content h4 {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}
.card .card-content p {
    margin-bottom: var(--spacing-md);
    flex-grow: 1; /* Allow p to take space */
    font-size: 0.95rem;
    line-height: 1.6;
}
.card .card-content .btn {
    margin-top: auto; /* Push button to bottom */
    align-self: center;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-color-headings);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-family: var(--font-family-body);
    line-height: 1.5;
    color: var(--text-color-dark);
    background-color: var(--bg-color-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    transition: border-color var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group-switch {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}
.form-group-switch .switch-label {
    margin-bottom: 0;
    font-weight: normal;
    color: var(--text-color-medium);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0; /* Prevent shrinking in flex container */
}
.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;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px; width: 20px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider { background-color: var(--secondary-color); }
input:focus + .slider { box-shadow: 0 0 1px var(--secondary-color); }
input:checked + .slider:before { transform: translateX(24px); }
.slider.round { border-radius: 26px; }
.slider.round:before { border-radius: 50%; }

/* Progress Indicators */
.progress-indicator-container {
    margin-top: var(--spacing-sm);
    width: 100%;
    text-align: left;
}
.progress-indicator-container span,
.skills-container label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-medium);
    margin-bottom: var(--spacing-xs);
}
.progress-indicator {
    width: 100%;
    height: 10px;
    border-radius: var(--border-radius-large);
    background-color: #e9ecef;
    border: none;
    overflow: hidden;
}
.progress-indicator::-webkit-progress-bar {
    background-color: #e9ecef;
    border-radius: var(--border-radius-large);
}
.progress-indicator::-webkit-progress-value {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-large);
    transition: width 0.5s var(--transition-timing);
}
.progress-indicator::-moz-progress-bar {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-large);
    transition: width 0.5s var(--transition-timing);
}


/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    backdrop-filter: blur(5px); /* Subtle glassmorphism */
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    transition: background-color var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.site-header .logo {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
}
.main-navigation .nav-list {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}
.main-navigation .nav-list li a {
    color: var(--text-color-medium);
    font-weight: 700;
    padding: var(--spacing-xs) 0;
    position: relative;
    text-decoration: none;
}
.main-navigation .nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) var(--transition-timing);
}
.main-navigation .nav-list li a:hover,
.main-navigation .nav-list li a.active-link { /* Add .active-link via JS */
    color: var(--primary-color);
}
.main-navigation .nav-list li a:hover::after,
.main-navigation .nav-list li a.active-link::after {
    width: 100%;
}

/* Mobile Navigation */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: var(--spacing-sm); z-index: 1001; }
.hamburger { display: block; width: 25px; height: 3px; background-color: var(--text-color-dark); position: relative; transition: background-color 0s var(--transition-speed); }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; width: 25px; height: 3px; background-color: var(--text-color-dark); transition: transform var(--transition-speed) var(--transition-timing), top var(--transition-speed) var(--transition-timing), bottom var(--transition-speed) var(--transition-timing); }
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.main-navigation.active .menu-toggle .hamburger { background-color: transparent; }
.main-navigation.active .menu-toggle .hamburger::before { top: 0; transform: rotate(45deg); }
.main-navigation.active .menu-toggle .hamburger::after { bottom: 0; transform: rotate(-45deg); }


/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    color: var(--text-color-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height)); /* Full viewport minus header */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.parallax-background { /* Applied to hero-section in HTML */
    background-attachment: fixed; /* Simple parallax */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-lg);
    max-width: 800px;
}
.hero-title {
    font-size: 3.5rem; /* ~56px */
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.4rem; /* ~22.4px */
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    color: var(--text-color-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- PORTFOLIO SECTION --- */
.portfolio-card .progress-indicator-container {
    padding: 0 var(--spacing-sm); /* Align with card content padding */
}

/* --- PRICING SECTION --- */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    font-size: 0.95rem;
    color: var(--text-color-medium);
}
.pricing-card {
    border: 2px solid var(--border-color); /* Default border */
}
.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03); /* Make it stand out */
    position: relative;
}
.pricing-card.popular .popular-badge {
    position: absolute;
    top: -1px; /* Align with border */
    right: var(--spacing-md);
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0 0 var(--border-radius-small) var(--border-radius-small);
    text-transform: uppercase;
}
.pricing-plan-name {
    color: var(--primary-color);
}
.pricing-plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-color-headings);
    margin: var(--spacing-sm) 0 var(--spacing-md);
}
.pricing-plan-price .price-period {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-color-subtle);
}
.pricing-plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
    text-align: left; /* Features list typically left-aligned */
}
.pricing-plan-features li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color-medium);
    font-size: 0.95rem;
}
.pricing-plan-features li:last-child {
    border-bottom: none;
}
.pricing-plan-features li::before {
    content: "✓"; /* Checkmark */
    color: var(--secondary-color);
    margin-right: var(--spacing-xs);
    font-weight: bold;
}

/* --- TEAM SECTION --- */
.team-member-card .card-image img {
    border-radius: 50%; /* Circular images for team members */
    width: 150px; /* Fixed size for consistency */
    height: 150px;
    margin: var(--spacing-md) auto; /* Center image if card-image doesn't have fixed height */
    box-shadow: var(--shadow-sm);
}
.team-member-card .card-image { /* Override default card image height for team */
    height: auto;
}
.team-member-role {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}
.team-member-bio {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}
.skills-container {
    text-align: left;
    padding: 0 var(--spacing-sm);
}

/* --- CLIENTELE SECTION --- */
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
}
.client-logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 50px; /* Control logo height */
    opacity: 0.65;
    filter: grayscale(50%);
    transition: all var(--transition-speed) var(--transition-timing);
}
.client-logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}
.testimonials { margin-top: var(--spacing-xl); }
.subsection-title { font-size: 1.8rem; color: var(--text-color-headings); text-align: center; margin-bottom: var(--spacing-lg); }
.testimonial-item { background-color: var(--bg-color-section-alt); padding: var(--spacing-lg); border-radius: var(--border-radius-medium); margin-bottom: var(--spacing-lg); box-shadow: var(--shadow-sm); text-align: center; }
.testimonial-item blockquote { font-size: 1.1rem; font-style: italic; color: var(--text-color-medium); margin: 0 0 var(--spacing-md) 0; line-height: 1.7; position: relative; padding-left: var(--spacing-lg); }
.testimonial-item blockquote::before { content: "\201C"; font-family: 'Georgia', serif; font-size: 3.5rem; color: var(--primary-color); opacity: 0.3; position: absolute; left: -5px; top: -1rem; }
.testimonial-item cite { font-weight: 700; color: var(--text-color-headings); font-style: normal; display: block; margin-top: var(--spacing-sm); }

/* --- EXTERNAL RESOURCES --- */
.external-resources-section { background-color: var(--bg-color-section-alt); }
.resources-list { display: grid; gap: var(--spacing-lg); }
.resource-item { background-color: var(--bg-color-light); padding: var(--spacing-md); border-radius: var(--border-radius-medium); box-shadow: var(--shadow-sm); transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing); text-align: left;}
.resource-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-item .resource-title a { font-family: var(--font-family-headings); font-size: 1.2rem; color: var(--primary-color); text-decoration: none; font-weight: 700; }
.resource-item .resource-title a:hover { color: var(--primary-color-dark); text-decoration: underline; }
.resource-item .resource-description { font-size: 0.95rem; color: var(--text-color-medium); margin-top: var(--spacing-xs); line-height: 1.6; }


/* --- CONTACT SECTION --- */
.contact-form-container {
    display: grid;
    gap: var(--spacing-xl);
}
@media (min-width: 992px) {
    .contact-form-container {
        grid-template-columns: 2fr 1fr; /* Form takes more space */
    }
}
.contact-form {
    background-color: var(--bg-color-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-md);
}
.contact-details {
    background-color: var(--primary-color-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-medium);
}
.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}
.contact-details p {
    color: var(--text-color-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}
.contact-details p strong {
    color: var(--text-color-headings);
}
.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}
.contact-details a:hover {
    color: var(--primary-color-dark);
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-color-dark);
    color: var(--text-color-subtle); /* Lighter text for footer */
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    font-size: 0.9rem;
}
.footer-widgets {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: var(--spacing-xl);
}
.footer-widget h4 {
    color: var(--text-color-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}
.footer-widget p {
    line-height: 1.7;
    color: var(--text-color-subtle);
}
.footer-nav-list, .footer-social-list {
    list-style: none;
    padding: 0;
}
.footer-nav-list li, .footer-social-list li {
    margin-bottom: var(--spacing-xs);
}
.footer-nav-list li a, .footer-social-list li a {
    color: var(--text-color-subtle);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
}
.footer-nav-list li a:hover, .footer-social-list li a:hover {
    color: var(--text-color-light);
    text-decoration: underline;
}
.footer-social-list {
    display: flex; /* For horizontal layout if desired */
    flex-direction: column; /* Text links better vertically */
    /* gap: var(--spacing-sm); */ /* if horizontal */
}
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}
.footer-bottom p {
    margin: 0;
    color: var(--text-color-subtle);
}

/* --- SPECIFIC PAGE STYLES --- */
/* Success Page */
.success-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height)); /* Account for fixed header */
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--bg-color-page);
}
.success-page-container h1 {
    color: var(--secondary-color);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}
.success-page-container p {
    font-size: 1.2rem;
    color: var(--text-color-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

/* Privacy & Terms pages content padding */
.page-container-padded { /* Add to main on privacy.html, terms.html */
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}
.page-container-padded .container h1 {
    margin-bottom: var(--spacing-lg);
}
.page-container-padded .container p,
.page-container-padded .container ul,
.page-container-padded .container ol {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}
.page-container-padded .container ul,
.page-container-padded .container ol {
    padding-left: var(--spacing-lg);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) { /* Tablets and below */
    body { padding-top: var(--header-height-mobile); }
    .site-header { height: var(--header-height-mobile); }

    .menu-toggle { display: block; }
    .main-navigation .nav-list {
        display: none;
        position: absolute;
        top: var(--header-height-mobile);
        left: 0;
        width: 100%;
        background-color: var(--bg-color-light);
        flex-direction: column;
        padding: var(--spacing-sm) 0;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
    }
    .main-navigation.active .nav-list { display: flex; }
    .main-navigation .nav-list li { width: 100%; text-align: left; } /* Align text left */
    .main-navigation .nav-list li a {
        padding: var(--spacing-sm) var(--spacing-lg); /* More padding */
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .main-navigation .nav-list li:last-child a { border-bottom: none; }
    .main-navigation .nav-list li a::after { display: none; } /* Remove underline effect on mobile */

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }

    .columns.content-columns { grid-template-columns: 1fr; } /* Stack columns */
    .intro-about-section .column-image { order: -1; margin-bottom: var(--spacing-lg); } /* Image first on mobile stack */

    .pricing-card.popular { transform: scale(1); } /* No scaling on mobile to save space */

    .contact-form-container { grid-template-columns: 1fr; } /* Stack contact form and details */
    .contact-details { margin-top: var(--spacing-lg); }
}

@media (max-width: 767px) { /* Mobile phones */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section-title { margin-bottom: var(--spacing-sm); }
    .section-subtitle { margin-bottom: var(--spacing-lg); font-size: 1rem;}
    .section-padding, .section-padding-alt {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .btn, button, input[type="submit"] { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
    .btn-hero { font-size: 1rem; padding: 0.8rem 1.5rem; }

    .footer-widgets { grid-template-columns: 1fr; } /* Stack footer widgets */
    .footer-widget { text-align: center; }
    .footer-social-list { justify-content: center; flex-direction: row; gap: var(--spacing-md); }
}