/* Variables for Neuro-morphism and Complementary Colors */
:root {
    /* Base Neuro-morphism Colors */
    --bg-light: #E0E0E0; /* Light background for neuro-morphism base */
    --shadow-dark: #BEBEBE; /* Dark shadow for neuro effect */
    --shadow-light: #FFFFFF; /* Light shadow for neuro effect */
    --shadow-inset-dark: #BEBEBE; /* Dark inset shadow */
    --shadow-inset-light: #FFFFFF; /* Light inset shadow */

    /* Text Colors for Contrast */
    --text-dark-heading: #222222; /* Very dark for main headings */
    --text-dark-body: #333333; /* Dark for general text */
    --text-light: #FFFFFF; /* White for hero text */

    /* Complementary Accent Colors */
    --accent-primary: #FF8C00; /* Dark Orange - Primary Accent */
    --accent-secondary: #FFC300; /* Amber - Secondary Accent (e.g., badges) */
    --accent-link: #007BFF; /* Blue for links */

    /* Footer Color */
    --footer-bg: #222222;
    --footer-text: #cccccc;
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6; /* Improved readability */
    color: var(--text-dark-body);
    background-color: var(--bg-light);
    padding-top: 60px; /* Offset for fixed header */
    transition: background-color 0.5s ease; /* Smooth transition for potential future theme changes */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    color: var(--text-dark-heading);
    text-align: center;
    margin-bottom: 1.5rem; /* Consistent spacing below headings */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2); /* Subtle shadow for headings on light background */
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem; /* Space between paragraphs */
    line-height: 1.8; /* Enhanced line height for body text */
}

a {
    color: var(--accent-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-primary); /* Use primary accent on hover */
    text-decoration: underline;
}

/* Global Container Styles (Tailwind handles much of this with mx-auto, px-4) */
.container {
     max-width: 1200px;
}


/* Header Styles */
header {
    background-color: rgba(224, 224, 224, 0.8); /* Semi-transparent neuro base */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.logo {
     color: var(--text-dark-heading);
     text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

nav a {
    color: var(--text-dark-body);
    margin-left: 1.5rem; /* Spacing for desktop menu */
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-primary);
}

/* Burger menu icon - basic styles */
.burger-menu-button {
    display: none; /* Hidden by default */
    /* Neuro-morphism for button */
    background-color: var(--bg-light);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.burger-menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark-body);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu (handled by JS toggle 'active') */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Adjust for slightly taller mobile header */
    }
    .burger-menu-button {
        display: block; /* Show on mobile */
    }
    .burger-menu {
        display: none; /* Hidden by default */
        position: absolute;
        top: 100%; /* Position below header */
        right: 0;
        background-color: var(--bg-light);
        box-shadow: -5px 5px 10px var(--shadow-dark);
        width: 200px;
        padding: 1rem;
        border-radius: 8px;
        flex-direction: column;
        align-items: flex-start; /* Align links to the left */
    }
    .burger-menu.active {
        display: flex; /* Show when active */
    }
    .burger-menu a {
        width: 100%;
        padding: 0.75rem 0; /* More vertical space */
        margin-left: 0;
        border-bottom: 1px solid rgba(0,0,0,0.1); /* Separator */
        color: var(--text-dark-body);
    }
     .burger-menu a:last-child {
         border-bottom: none;
     }
}


/* Section Padding */
section {
    padding: 4rem 0; /* Consistent vertical padding for all sections */
    /* Height is determined by content, not fixed min-height */
}

section:nth-child(odd) {
    background-color: var(--bg-light); /* Default light background */
}

section:nth-child(even) {
    background-color: #f0f0f0; /* Slightly different shade for contrast */
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light); /* White text */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Dark overlay handled inline for specific gradient control */
}

#hero .text-overlay {
    position: relative; /* Needs position for z-index */
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.6) 100%); /* Ensure readability */
    padding: 2rem;
    border-radius: 15px; /* More pronounced neuro border */
    box-shadow: 10px 10px 20px rgba(0,0,0,0.3), -10px -10px 20px rgba(255,255,255,0.1); /* Darker shadows for hero overlay */
    max-width: 800px; /* Limit width for better readability */
    margin-left: auto;
    margin-right: auto;
    /* Asymmetric balance hint: Could use padding-right or margin-left adjustment here if needed, but keeping it centered for readability on Hero */
}

#hero h1 {
     color: var(--text-light); /* Ensure heading in overlay is white */
     text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Stronger shadow for white text */
}

#hero p {
    color: rgba(255,255,255,0.9); /* Slightly less opaque white for body */
}


/* Card Styles (Applied globally to .card class) */
.card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light); /* Embossed effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Center content inside cards */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 10px 10px 20px var(--shadow-dark), -10px -10px 20px var(--shadow-light); /* More pronounced shadow on hover */
}

.card-image {
    width: 100%; /* Take full width of card */
    max-height: 250px; /* Fixed height for image container */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: #e0e0e0; /* Ensure background for images */
     box-shadow: inset 3px 3px 7px var(--shadow-inset-dark), inset -3px -3px 7px var(--shadow-inset-light); /* Inner shadow */
     display: flex; /* To center image */
     justify-content: center; /* Center image */
     align-items: center; /* Center image */
}

.card-image img {
    display: block;
    width: 100%;
    height: 100%; /* Fill container */
    object-fit: cover; /* Crop image to cover container */
    border-radius: 8px; /* Match container radius */
     margin: 0 auto; /* Ensure image is centered if smaller than container */
     box-shadow: none; /* Remove inner shadow from image itself */
}

.card-content {
    flex-grow: 1; /* Allow content to take available space */
    color: var(--text-dark-body);
    text-align: center; /* Ensure text within card content is centered */
    width: 100%; /* Ensure content respects padding */
}

.card-content h3, .card-content h4 {
    margin-bottom: 0.75rem;
    text-shadow: none; /* Remove heading shadow inside cards if needed, or make it subtler */
     color: var(--text-dark-heading); /* Ensure dark heading color */
}

/* Button and Form Element Styles (Global) */

/* Base Button/Link Styles */
.btn, button, input[type='submit'] {
    display: inline-block;
    background-color: var(--bg-light);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light); /* Embossed */
    color: var(--text-dark-body);
    font-family: 'Archivo Black', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline for links styled as buttons */
    text-align: center;
}

.btn:hover, button:hover, input[type='submit']:hover {
    box-shadow: 2px 2px 5px var(--shadow-dark), -2px -2px 5px var(--shadow-light); /* Pressed effect */
    transform: translateY(2px);
    color: var(--accent-primary); /* Optional: change color on hover */
}

.btn:active, button:active, input[type='submit']:active {
    box-shadow: inset 2px 2px 5px var(--shadow-inset-dark), inset -2px -2px 5px var(--shadow-inset-light); /* De-bossed/Pressed effect */
    transform: translateY(1px);
}

/* Primary Button (can be a class or specific element) */
.btn-primary {
    /* Inherits base button styles, could add a specific accent color background here if desired */
    /* background-color: var(--accent-primary); */ /* Example using accent color */
    /* color: var(--text-light); */ /* Example using light text on accent */
    /* box-shadow: 5px 5px 10px rgba(255,140,0,0.5), -5px -5px 10px var(--shadow-light); */ /* Example using accent shadow */
    /* For this design, sticking to neuro-morphism base is fine, maybe accent text on hover */
     color: var(--text-dark-heading); /* Darker text for primary button */
}

.btn-primary:hover {
     color: var(--accent-primary); /* Accent text on hover */
}


/* Form Input Styles (Global) */
input[type="text"],
input[type="email"],
textarea {
    background-color: var(--bg-light);
    border: none;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: inset 5px 5px 10px var(--shadow-inset-dark), inset -5px -5px 10px var(--shadow-inset-light); /* Debossed effect */
    color: var(--text-dark-body);
    width: 100%; /* Full width within parent */
    margin-bottom: 1rem;
    transition: box-shadow 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    box-shadow: inset 2px 2px 5px var(--shadow-inset-dark), inset -2px -2px 5px var(--shadow-inset-light), 0 0 0 3px rgba(0, 123, 255, 0.25); /* Subtle blue focus ring */
}

/* Placeholder text style */
input::placeholder, textarea::placeholder {
    color: #a0a0a0; /* Lighter text for placeholder */
    opacity: 1; /* Ensure full opacity */
}


/* Pricing Section Specifics */
/* Complementary color hint for featured pricing card */
#pricing .card:nth-child(2) { /* Targeting the second card (Premium Plan) */
     border: 2px solid var(--accent-primary); /* Accent border */
}

#pricing .card .absolute {
    background-color: var(--accent-secondary); /* Amber badge */
    color: var(--text-dark-heading); /* Dark text on badge */
}

/* Switch styles (Basic structure, require JS and more CSS for full neuro look) */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
   /* Basic neuro hint */
   background-color: var(--bg-light);
   border-radius: 34px;
   box-shadow: inset 3px 3px 7px var(--shadow-inset-dark), inset -3px -3px 7px var(--shadow-inset-light);
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent; /* Slider track is part of the background */
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-light); /* White knob */
  transition: .4s;
   border-radius: 50%;
   /* Knob neuro effect */
   box-shadow: 3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light);
}

input:checked + .slider {
  /* background-color: var(--accent-primary); */ /* Optional: change track color */
}

input:focus + .slider {
  box-shadow: 0 0 1px rgba(0, 123, 255, 0.5);
}

input:checked + .slider:before {
  transform: translateX(26px);
   /* Knob color/shadow change on checked if desired */
   /* background-color: var(--accent-primary); */
}

/* Accordion Styles (Basic structure) */
.accordion {
    /* Inherits .card styles */
    overflow: hidden; /* Ensure content is hidden when closed */
}

.accordion summary {
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 2rem; /* Space for custom arrow */
}

.accordion summary::-webkit-details-marker {
    display: none; /* Hide marker in Webkit browsers */
}

.accordion summary::after {
    content: '+'; /* Custom icon for closed state */
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion[open] summary::after {
    content: '-'; /* Custom icon for open state */
    transform: translateY(-50%) rotate(180deg); /* Optional: rotate icon */
}

.accordion p {
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1); /* Separator */
    margin-top: 1rem;
    margin-bottom: 0;
}


/* Accolades Section Specifics */
/* Custom Slider Styles (Basic structure, requires JS for full functionality) */
.slider-container {
    position: relative;
    /* Adjust max-width as needed */
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Animation for sliding */
}

.slider-slide {
    flex: 0 0 100%; /* Each slide takes full width of container */
    width: 100%;
    /* Inherits .card styles */
    margin: 0 1rem; /* Space between slides - adjust as needed */
     /* Centering for slider content */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Adjust margin for slides to appear centered in container */
.slider-track {
    margin-left: -1rem; /* Counteracts the left margin of the first slide */
    padding-left: 1rem; /* Adds padding to the container */
    padding-right: 1rem; /* Adds padding to the container */
}

/* Ensure awards/mentions cards align items */
#accolades .card.flex {
    align-items: center; /* Align items vertically in award cards */
}
#accolades .card .card-image.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Specific padding/background if needed, already in HTML inline */
}


/* External Resources Section */
#external-resources .card a {
    color: var(--accent-link); /* Ensure link color */
}
#external-resources .card a:hover {
    color: var(--accent-primary);
}


/* Contact Section */
#contact .card {
    /* Inherits .card styles */
    max-width: 600px; /* Limit form width */
    margin-left: auto;
    margin-right: auto;
}

#contact label {
     display: block; /* Labels on their own line */
     margin-bottom: 0.5rem;
     color: var(--text-dark-heading); /* Darker color for labels */
     font-weight: bold;
}


/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    font-family: 'Roboto', sans-serif;
}

footer a {
    color: var(--footer-text);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--text-light); /* Lighter color on hover */
    text-decoration: underline;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer h3, footer h4 {
    color: var(--text-light); /* White headings in footer */
    text-align: left; /* Left align footer headings */
    margin-bottom: 1rem;
    text-shadow: none; /* No shadow in dark footer */
}

/* Social Media Links - Text only */
footer h4 + ul li a {
    /* Additional styling for social links if needed */
}

/* Responsive Footer Layout */
@media (max-width: 768px) {
    footer .flex-col.md\:flex-row {
        flex-direction: column;
        align-items: center;
    }
    footer .mb-4.md\:mb-0 {
        margin-bottom: 1.5rem;
    }
     footer h3, footer h4 {
         text-align: center; /* Center footer headings on mobile */
     }
     footer ul {
         text-align: center; /* Center list items on mobile */
     }
}


/* Other Pages Specific Styles */
/* Padding for pages with fixed header */
body.page-content { /* Add this class to body tag of about, privacy, terms */
     padding-top: 100px; /* More padding for pages */
}

/* Success Page Styles */
body.success-page { /* Add this class to body tag of success.html */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--bg-light); /* Match site background */
}

.success-message {
    /* Style for success message container, e.g., use card styles */
     background-color: var(--bg-light);
     border-radius: 10px;
     padding: 2rem;
     box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
     max-width: 500px;
     margin: auto;
}

.success-message h2 {
     color: var(--accent-primary); /* Accent color for success heading */
     text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.success-message p {
     margin-bottom: 1.5rem;
}

.success-message .btn {
    /* Inherits global button styles */
}


/* Read More Link Style (Example - apply to specific links) */
.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--accent-primary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.read-more:hover {
    color: var(--accent-link);
    transform: translateX(5px); /* Slight slide effect */
}

/* Cookie Consent Popup Styles (Enhancements to inline) */
#cookie-consent-popup {
    /* Already has basic fixed/bottom/width/z-index */
    background: rgba(0, 0, 0, 0.9); /* Make it darker for better contrast */
    color: #fff;
    padding: 1.5rem 1rem; /* More padding */
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

#cookie-consent-popup button {
    background-color: var(--accent-primary); /* Use accent color */
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px; /* Neuro hint */
    cursor: pointer;
    margin-left: 1.5rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
     /* Simple shadow for button */
     box-shadow: 3px 3px 7px rgba(0,0,0,0.3);
}

#cookie-consent-popup button:hover {
     background-color: #e08b00; /* Slightly darker accent on hover */
     box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

/* Ensure sufficient contrast for all text elements */
/* Tailwind classes like text-gray-700, text-gray-800, text-gray-300 might need adjustment based on variables if used */
/* Explicitly setting colors using variables helps ensure contrast */
.text-gray-700 { color: var(--text-dark-body); }
.text-gray-800 { color: var(--text-dark-heading); }
.text-gray-300 { color: var(--footer-text); }
.text-white { color: var(--text-light); }
/* Add more specific text color overrides if needed based on Tailwind usage in HTML */


/* Asymmetric Balance hints - example using padding or margin */
/* Could apply varying padding to left/right sides of sections or containers */
/*
.container {
    padding-left: 2rem;
    padding-right: 4rem;
    /@media (max-width: 768px) {
         padding-left: 1rem;
         padding-right: 1rem;
    }@/
}
*/
/* Or apply it to specific elements within sections */
/* Example: Research section layout */
/* Handled mostly by Tailwind grid/flex, adjust margin/padding on child elements */
#research .flex-col.md\:flex-row > div {
     /* Add slightly different padding/margin to create asymmetry */
     /* margin-right: 1rem; @media (min-width: 768px) { margin-right: 2rem; } */
     /* padding-bottom: 1rem; */
}


/* Parallax scrolling effect example (requires JS, but CSS sets the stage) */
/*
#hero {
    background-attachment: fixed;
}
*/
/* Note: background-attachment: fixed can sometimes hinder mobile performance */


/* Ensure readability on backgrounds */
/* The linear-gradient overlay on #hero background-image is crucial */
/* For other sections with background images, add a similar overlay */
/* Example: If a section had background-image: url(...) */
/*
#some-section-with-bg-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); /# Assuming text is light on a background image #/
}
#some-section-with-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 100%); /# Dark overlay #/
    z-index: 1;
}
#some-section-with-bg-image > * {
    position: relative;
    z-index: 2;
}
*/
/* Since the current HTML only uses BG image on Hero, this is less critical for other sections */


/* Smooth transitions between pages - primarily handled by JS, but CSS can add defaults */
html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

/* Example of a fade transition for page load (requires JS) */
/*
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
body.page-loaded {
    opacity: 1;
}
*/

/* Microinteractions (handled by hover/active/focus states, AOS, GSAP) */
/* Button/input hover/active styles already defined */
/* AOS handles scroll animations */
/* GSAP would handle more complex timeline or nonlinear animations via script.js */