/* style.css */

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

    /* Bright Color Scheme */
    --color-primary: #FF6B6B; /* Vibrant Coral */
    --color-primary-dark: #E05252;
    --color-secondary: #4ECDC4; /* Bright Teal */
    --color-secondary-dark: #3AAFA9;
    --color-accent: #FFD166; /* Sunny Yellow */
    --color-accent-dark: #E6B800;
    
    --color-neutral-light: #F7FFF7; /* Very Light Mint */
    --color-neutral-medium: #DAE2DF; /* Light Greyish Cyan */
    --color-neutral-dark: #222831;  /* Dark Charcoal */

    --color-text-light: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-headings: #222222;
    --color-text-muted: #6c757d;

    --color-background-body: var(--color-neutral-light);
    --color-background-card: var(--color-text-light);
    --color-background-dark-section: var(--color-neutral-dark);
    
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --gradient-secondary: linear-gradient(135deg, var(--color-secondary), #86e7e0);

    /* Volumetric UI Shadows */
    --shadow-volumetric-sm: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.08);
    --shadow-volumetric-md: 0 5px 15px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.1);
    --shadow-volumetric-lg: 0 10px 25px rgba(0,0,0,0.2), 0 6px 10px rgba(0,0,0,0.15);
    --shadow-volumetric-inset: inset 0 2px 4px rgba(0,0,0,0.06);

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

    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
    --transition-speed-slow: 0.5s;

    --header-height: 70px; /* Adjust as needed */
    --footer-height: auto; /* Footer height will be dynamic */
}

/* Global Styles & Modern Normalize Complements */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-background-body);
    margin: 0;
    padding-top: var(--header-height); /* Account for fixed header */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-container {
    overflow-x: hidden; /* Prevents horizontal scrollbars from animations */
}

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: 1.25em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease-in-out;
}
a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

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

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}
.section-padding-alt {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--color-neutral-medium); /* Or another subtle background */
}

.text-center { text-align: center; }
.light-text { color: var(--color-text-light) !important; }
.light-text h1, .light-text h2, .light-text h3, .light-text h4, .light-text p, .light-text a {
    color: var(--color-text-light) !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Enhanced readability */
}
.light-text a:hover { color: var(--color-accent) !important; }

.section-title {
    text-align: center;
    margin-bottom: 1em; /* Increased for better separation */
    font-weight: 800;
    color: var(--color-text-headings);
}
.sub-section-title {
    text-align: center;
    margin-bottom: 1em;
    font-weight: 700;
    color: var(--color-text-dark);
}
.section-intro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5em; /* Increased for better separation */
    font-size: 1.1em;
    color: var(--color-text-muted);
}

.content-column {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.content-column.is-two-thirds {
    max-width: 66.66%;
}
@media (max-width: 768px) {
    .content-column.is-two-thirds {
        max-width: 90%;
    }
}

/* Buttons - Global Styles */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 2px solid transparent;
    padding: 0.65em 1.5em; /* Adjusted padding */
    border-radius: var(--border-radius-md);
    transition: all var(--transition-speed-normal) ease-in-out;
    text-decoration: none;
    line-height: 1.5; /* Ensure consistent line height */
    box-shadow: var(--shadow-volumetric-sm); /* Default volumetric */
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-volumetric-md);
}
.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(0px);
    box-shadow: var(--shadow-volumetric-inset);
}

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

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

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-neutral-dark); /* Ensure contrast with yellow */
    border-color: var(--color-accent);
}
.btn-accent:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-neutral-dark);
}

.btn-volumetric { /* Base volumetric already on .btn */
    padding: 0.8em 1.8em;
    font-weight: 700;
}
.btn-volumetric-small { /* Base volumetric already on .btn */
    padding: 0.5em 1.2em;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    background-color: transparent;
    border-color: transparent;
    color: var(--color-primary);
    padding: 0.25em 0.5em;
    box-shadow: none;
}
.btn-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
    background-color: transparent;
    transform: none;
    box-shadow: none;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white for a modern feel */
    backdrop-filter: blur(8px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-volumetric-sm);
    height: var(--header-height);
    display: flex;
    align-items: center;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
}
.logo span {
    color: var(--color-secondary);
}
.logo:hover {
    text-decoration: none;
}

.main-navigation .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-navigation .nav-list li {
    margin-left: 25px;
}
.main-navigation .nav-list a {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--color-text-dark);
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    transition: color var(--transition-speed-fast) ease;
}
.main-navigation .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed-normal) ease;
}
.main-navigation .nav-list a:hover,
.main-navigation .nav-list a.active { /* Assuming an 'active' class for current page */
    color: var(--color-primary);
}
.main-navigation .nav-list a:hover::after,
.main-navigation .nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--color-text-dark);
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}
.menu-toggle:hover {
    color: var(--color-primary);
    transform: none;
    box-shadow: none;
}


/* Hero Section */
.hero-section {
    position: relative;
    color: var(--color-text-light);
    min-height: calc(100vh - var(--header-height)); /* Full viewport height minus header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.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.7)); /* Darker gradient for better text contrast */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    font-size: 3.5rem; /* Larger for impact */
    font-weight: 800;
    margin-bottom: 0.5em;
    color: var(--color-text-light); /* Explicitly white */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* Stronger shadow */
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5em;
    line-height: 1.7;
    color: var(--color-text-light); /* Explicitly white */
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}
.hero-section .btn-primary {
    padding: 0.9em 2.2em; /* Larger hero button */
    font-size: 1.1rem;
    font-weight: 700;
}

/* Page Hero (for inner pages like about.html, contacts.html) */
.page-hero {
    position: relative;
    color: var(--color-text-light);
    padding: 80px 0; /* Adjust padding as needed */
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.3em;
    color: var(--color-text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}


/* Cards (Services, Blog, Pricing, Team, etc.) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--color-background-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-volumetric-md);
    transition: transform var(--transition-speed-normal) ease, box-shadow var(--transition-speed-normal) ease;
    overflow: hidden; /* Ensures content respects border-radius */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text inside card */
}
.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-volumetric-lg);
}

.card-image { /* Container for the image */
    width: 100%;
    height: 220px; /* Fixed height for consistent card appearance */
    overflow: hidden; /* Clip image if it's larger */
    margin-bottom: 0; /* Remove default margin from image container itself */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block; /* Remove extra space below image */
    transition: transform var(--transition-speed-slow) ease;
}
.card:hover .card-image img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.card-content {
    padding: 25px;
    flex-grow: 1; /* Allows content to take up remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if present */
    width: 100%; /* Ensure padding is applied correctly */
}
.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
    color: var(--color-text-headings);
}
.card p { /* Generic paragraph in card */
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1em;
}
.card .btn {
    margin-top: auto; /* Pushes button to the bottom if card-content is flex */
}

/* Volumetric Element (can be applied to cards or other elements) */
.volumetric-element {
    /* Base card already has shadow, this can be for lighter/different ones */
    border: 1px solid var(--color-neutral-medium); /* Subtle border for definition */
}
.volumetric-element-light {
    background-color: rgba(255, 255, 255, 0.1); /* Glassmorphism on dark bg */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-volumetric-md);
    border-radius: var(--border-radius-lg);
    color: var(--color-text-light);
}
.volumetric-element-light .card-title,
.volumetric-element-light h3,
.volumetric-element-light p {
    color: var(--color-text-light);
}


/* Pricing Section Specifics */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.toggle-label {
    margin: 0 10px;
    font-weight: 500;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-neutral-medium);
    transition: var(--transition-speed-normal);
    border-radius: 34px;
    box-shadow: var(--shadow-volumetric-inset);
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-speed-normal);
    border-radius: 50%;
    box-shadow: var(--shadow-volumetric-sm);
}
input:checked + .slider {
    background-color: var(--color-primary);
}
input:focus + .slider {
    box-shadow: 0 0 1px var(--color-primary), var(--shadow-volumetric-inset);
}
input:checked + .slider:before {
    transform: translateX(26px);
}

.pricing-card .price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0.5em 0;
}
.pricing-card .price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}
.pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin: 1.5em 0;
    text-align: left; /* Align list items left within centered card */
    display: inline-block; /* To center the block of text */
}
.features-list li {
    margin-bottom: 0.7em;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}
.features-list li::before {
    content: '✔'; /* Or use an SVG icon */
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.popular-plan {
    border: 3px solid var(--color-accent);
    position: relative;
    transform: scale(1.05); /* Make it stand out a bit */
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-neutral-dark);
    padding: 5px 15px;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow-volumetric-sm);
}

/* Timeline (Webinars) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 0;
    border-radius: 2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
}
.timeline-item::after { /* The circles on the timeline */
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-text-light);
    border: 4px solid var(--color-accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--color-background-card); /* For light background timeline */
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-volumetric-md);
    text-align: left;
}
/* For timeline items on dark background section (using .volumetric-element-light) */
.webinars-section .timeline-item .timeline-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-light);
}
.webinars-section .timeline-item .timeline-content h3,
.webinars-section .timeline-item .timeline-content p {
    color: var(--color-text-light);
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.3em;
}
.timeline-date {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.8em;
    font-weight: 500;
}
.webinars-section .timeline-date {
    color: var(--color-neutral-medium);
}

/* Carousels (Blog, Testimonials) */
.content-carousel-container, .testimonial-carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden; /* Important for carousel */
}
.carousel-wrapper {
    display: flex;
    transition: transform var(--transition-speed-slow) ease-in-out; /* JS will handle transform */
}
.carousel-slide {
    min-width: 100%; /* For single item view */
    flex-shrink: 0;
    padding: 0 10px; /* Space between slides if multiple are partially visible */
}
.content-carousel-container .card { /* Blog post cards in carousel */
    margin-bottom: 0; /* Override default card margin if any */
}

/* Multiple items per view for blog carousel on larger screens */
@media (min-width: 768px) {
    .blog-section .carousel-slide {
        min-width: 50%;
    }
}
@media (min-width: 1024px) {
    .blog-section .carousel-slide {
        min-width: 33.333%;
    }
}


.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color var(--transition-speed-fast) ease;
    box-shadow: none;
}
.carousel-control:hover {
    background-color: rgba(0,0,0,0.6);
    transform: translateY(-50%) scale(1.1); /* Keep the Y transform */
}
.carousel-control.prev {
    left: 10px;
}
.carousel-control.next {
    right: 10px;
}
.carousel-control.light-control { /* For carousels on dark backgrounds */
    background-color: rgba(255,255,255,0.2);
    color: var(--color-text-light);
}
.carousel-control.light-control:hover {
    background-color: rgba(255,255,255,0.4);
}

/* Testimonial Card Specifics */
.testimonial-card {
    padding: 30px;
    /* Styles inherited from .card or .volumetric-element-light */
}
.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto; /* Centered */
    border: 3px solid var(--color-accent);
}
.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 1em;
    line-height: 1.7;
}
.testimonial-author {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary); /* Or accent color */
}
.testimonial-carousel-container .sub-section-title {
    margin-bottom: 1.5em;
}

/* Read More Button Styling */
.read-more-btn { /* This class is applied to an <a> tag styled as a button */
    font-weight: 500;
    /* Other styles inherited from .btn and its variants */
}

/* External Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.resource-card {
    padding: 25px;
    background-color: var(--color-background-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-volumetric-md);
    transition: transform var(--transition-speed-normal) ease, box-shadow var(--transition-speed-normal) ease;
    display: flex;
    flex-direction: column;
    text-align: left; /* Content aligned left */
}
.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-volumetric-lg);
}
.resource-title {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}
.resource-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1em;
    flex-grow: 1;
}
.resource-card .btn-link {
    margin-top: auto; /* Push to bottom */
    align-self: flex-start; /* Align button to left */
    font-weight: bold;
}

/* Contact Section Specifics */
.contact-section.parallax-background {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
}
.contact-form-container {
    flex: 2; /* Takes more space */
    padding: 30px;
    border-radius: var(--border-radius-lg);
    /* For light background section use: */
    /* background-color: var(--color-background-card); */
    /* box-shadow: var(--shadow-volumetric-lg); */
    /* For dark background section, .volumetric-element-light handles it */
}
.contact-details-container {
    flex: 1;
}
.form-title, .details-title {
    margin-bottom: 1.5em;
    font-size: 1.8rem;
}
.form-group {
    margin-bottom: 1.5em;
}
.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: inherit; /* Inherits from parent, useful for .light-text */
}
.form-control {
    display: block;
    width: 100%;
    padding: 0.8em 1em;
    font-size: 1rem;
    font-family: var(--font-secondary);
    line-height: 1.5;
    color: var(--color-text-dark);
    background-color: var(--color-background-body); /* Lighter than card for contrast */
    background-clip: padding-box;
    border: 1px solid var(--color-neutral-medium);
    border-radius: var(--border-radius-md);
    transition: border-color var(--transition-speed-fast) ease-in-out, box-shadow var(--transition-speed-fast) ease-in-out;
}
.volumetric-input { /* Apply this class for 3D effect on inputs */
    box-shadow: var(--shadow-volumetric-inset);
}
.form-control:focus {
    color: var(--color-text-dark);
    background-color: var(--color-text-light);
    border-color: var(--color-primary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary), 0.25), var(--shadow-volumetric-inset);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.contact-details-container p {
    margin-bottom: 1em;
    line-height: 1.8;
}
.contact-details-container strong {
    color: inherit; /* Ensure consistency */
}
.contact-link {
    text-decoration: underline;
}
.map-placeholder {
    height: 250px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-top: 20px;
}
.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.map-placeholder .caption-text {
    font-size: 0.9rem;
    padding-top: 5px;
}
/* Contact page specific styling for form */
.contact-page-section .contact-form-container {
    background-color: var(--color-background-card);
    box-shadow: var(--shadow-volumetric-lg);
}
.contact-page-section .contact-details-container-page {
    flex: 1;
}
.contact-page-section .form-row {
    display: flex;
    gap: 20px;
}
.contact-page-section .form-group.half-width {
    flex: 1;
}
.contact-page-section .checkbox-label {
    font-size: 0.9em;
    display: flex;
    align-items: center;
}
.contact-page-section .checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: auto; /* Override default width */
    height: auto;
}
.contact-page-section .contact-info-block {
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--color-background-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-volumetric-md);
}
.contact-page-section .contact-info-block h4 {
    color: var(--color-primary);
    margin-bottom: 0.7em;
}

/* Modals */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Darker overlay */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.modal.is-open { /* Class added by JS to show modal */
    display: flex; /* Use flex to center content */
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: var(--color-background-card);
    margin: auto;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-volumetric-lg);
    position: relative;
    width: 90%;
    max-width: 600px; /* Adjust as needed */
    animation: modal-fade-in var(--transition-speed-normal) ease-out;
}
.modal-content h2 {
    margin-top: 0;
    color: var(--color-primary);
}
.modal-content img { /* For blog post modals */
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5em;
}
.close-btn {
    color: var(--color-text-muted);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}
.close-btn:hover,
.close-btn:focus {
    color: var(--color-text-dark);
    text-decoration: none;
    cursor: pointer;
}
.modal-form input, .modal-form button {
    margin-bottom: 15px;
    width: 100%;
}
@keyframes modal-fade-in {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Media Section */
.media-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    align-items: center;
    margin-bottom: 40px;
}
.media-logo-item {
    padding: 20px;
    background-color: var(--color-background-card);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-volumetric-sm);
    text-align: center;
}
.media-logo-item img {
    max-height: 60px; /* Control logo height */
    width: auto;
    margin: 0 auto 10px auto; /* Center logo */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition-speed-normal), opacity var(--transition-speed-normal);
}
.media-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.media-logo-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}
.media-placeholder-image {
    text-align: center; /* Centers the image if it's inline-block or has margin auto */
}
.media-placeholder-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-volumetric-md);
    margin: 0 auto; /* Center if it's a block element */
}
.media-placeholder-image .caption-text {
    margin-top: 1em;
    font-style: italic;
    color: var(--color-text-muted);
}


/* Careers Section */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.career-card {
    /* Styles from .card apply */
    text-align: left; /* Override card's text-align:center for content */
}
.career-card .card-content {
    text-align: left;
}
.job-location {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 0.7em;
}
.careers-cta {
    text-align: center;
    margin: 40px 0;
}
.careers-cta p {
    margin-bottom: 1.5em;
}
.career-image-container img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-volumetric-md);
    margin: 20px auto 0 auto; /* Center if it's a block element */
}


/* Team Section (on About page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.team-member-card {
    /* Uses .card styles */
}
.team-member-card .card-image img { /* Avatar */
    width: 150px; /* Fixed size for avatars */
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px auto 0 auto; /* Add top margin within card-image if needed or adjust padding */
    border: 4px solid var(--color-accent);
}
.team-member-card .card-content {
    padding-top: 15px; /* Adjust padding if avatar is inside card-image */
}
.team-member-name {
    font-size: 1.4rem;
    color: var(--color-text-headings);
    margin-bottom: 0.2em;
}
.team-member-title {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 0.8em;
}


/* Parallax and Animation on Scroll */
.parallax-background {
    background-attachment: fixed; /* Simple parallax */
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-speed-slow) ease-out, transform var(--transition-speed-slow) ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered animation delays can be added in HTML via data-delay and handled by JS */


/* Footer */
.site-footer {
    background-color: var(--color-neutral-dark);
    color: var(--color-neutral-medium);
    padding: 50px 0 0 0; /* No bottom padding, handled by footer-bottom */
    font-size: 0.95rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column h4.footer-heading {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 1.2em;
    position: relative;
}
.footer-column h4.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 1px;
}
.footer-column p {
    line-height: 1.8;
    margin-bottom: 0.8em;
}
.footer-nav-list, .social-media-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-list li, .social-media-list li {
    margin-bottom: 0.8em;
}
.footer-nav-list a, .social-media-list a, .footer-column a {
    color: var(--color-neutral-medium);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease;
}
.footer-nav-list a:hover, .social-media-list a:hover, .footer-column a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}
.social-media-list a {
    /* Text links for social media as requested */
    font-weight: 500;
}
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}


/* Privacy & Terms Pages Specifics */
body.privacy-page main > section:first-of-type,
body.terms-page main > section:first-of-type {
    /* padding-top: calc(var(--header-height) + 40px); Use body padding-top instead */
}
body.privacy-page .content-column ul,
body.terms-page .content-column ul {
    padding-left: 20px;
    margin-bottom: 1.5em;
}
body.privacy-page .content-column li,
body.terms-page .content-column li {
    margin-bottom: 0.7em;
}


/* Success Page */
body.success-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.success-page-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.success-page-section .section-title {
    color: var(--color-secondary); /* Or primary */
}
.success-page-section .section-intro {
    font-size: 1.25rem;
    color: var(--color-text-dark);
}
.success-icon img {
    margin: 0 auto 30px auto; /* Center the icon */
    box-shadow: var(--shadow-volumetric-md);
    border-radius: 50%;
}
.success-page-links {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}
.success-page-links li {
    margin-bottom: 15px;
}


/* Cookie Consent Popup */
#cookieConsentPopup p {
    color: #fff; /* Ensure text color is white on dark background */
    font-family: var(--font-secondary);
}
#cookieConsentPopup button {
    font-family: var(--font-secondary);
}
#cookieConsentPopup a {
    font-family: var(--font-secondary);
    text-decoration: underline;
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0%; }
    .timeline-item::after, .timeline-item:nth-child(even)::after {
        left: 10px; /* Adjusted from 15px if using 30px central line offset */
    }
}

@media (max-width: 768px) {
    body {
        padding-top: calc(var(--header-height) - 10px); /* Adjust if header height changes */
    }
    .site-header {
        height: calc(var(--header-height) - 10px);
    }
    .hero-section {
        min-height: calc(90vh - (var(--header-height) - 10px));
    }
    .menu-toggle {
        display: block;
        z-index: 1001; /* Above nav list */
    }
    .main-navigation .nav-list {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-neutral-dark);
        flex-direction: column;
        padding-top: calc(var(--header-height) + 20px); /* Space for header */
        padding-left: 20px;
        padding-right: 20px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
        transition: left var(--transition-speed-normal) ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }
    .main-navigation .nav-list.is-open {
        display: flex;
        left: 0; /* Slide in */
    }
    .main-navigation .nav-list li {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    .main-navigation .nav-list a {
        color: var(--color-text-light);
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }
    .main-navigation .nav-list a:hover,
    .main-navigation .nav-list a.active {
        color: var(--color-accent);
    }
    .main-navigation .nav-list a::after {
        background-color: var(--color-accent);
    }

    .grid-container {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-form-container, .contact-details-container {
        width: 100%;
    }
    .page-hero { padding: 60px 0; }
    .page-title { font-size: 2.2rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-padding, .section-padding-alt {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .pricing-toggle-container {
        flex-direction: column;
    }
    .toggle-label { margin: 5px 0; }

    .blog-section .carousel-slide {
        min-width: 100%; /* Single item view on mobile */
    }
}