:root {
    /* Color Palette - Gradient & Neumorphic Friendly */
    --gradient-bg-start: #f3f5f9; /* Light grayish blue */
    --gradient-bg-end: #e8edf2;   /* Slightly darker grayish blue */
    
    --primary-color-start: #6D5BBA; /* Vibrant Purple */
    --primary-color-end: #8769FF;   /* Lighter Purple */
    --primary-color-main: #7A62CC;
    --primary-color-darker: #5B4B8A;

    --secondary-color: #4DB6AC; /* Teal */
    --secondary-color-darker: #3E948B;

    --accent-color-1: #FF8A65;  /* Warm Orange */
    --accent-color-2: #64B5F6;  /* Light Blue */

    /* Text Colors */
    --text-color-dark: #2c3e50; /* Dark Blue-Gray for primary text */
    --text-color-medium: #555e6f; /* Medium Gray for secondary text */
    --text-color-light: #FFFFFF;  /* White for text on dark backgrounds */
    --text-color-link: var(--primary-color-main);
    --text-color-link-hover: var(--primary-color-darker);

    /* Neumorphism Base */
    --neumorphic-base-bg: #eef1f5; /* Should be close to page bg */
    --neumorphic-shadow-light: rgba(255, 255, 255, 0.9);
    --neumorphic-shadow-dark: rgba(195, 200, 210, 0.7); /* Adjusted for subtlety */
    --neumorphic-shadow-inset-light: rgba(255, 255, 255, 0.7);
    --neumorphic-shadow-inset-dark: rgba(195, 200, 210, 0.6);

    /* Fonts */
    --font-family-headings: 'Archivo Black', sans-serif;
    --font-family-body: 'Roboto', sans-serif;

    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 25px;
    --transition-speed: 0.3s;
    --transition-easing: cubic-bezier(0.25, 0.8, 0.25, 1); /* Non-linear movement */

    /* Box Shadows for Neumorphism */
    --neumorphic-shadow-raised: 
        -7px -7px 14px var(--neumorphic-shadow-light),
         7px  7px 14px var(--neumorphic-shadow-dark);
    --neumorphic-shadow-pressed: 
        inset -5px -5px 10px var(--neumorphic-shadow-inset-light),
        inset  5px  5px 10px var(--neumorphic-shadow-inset-dark);
    --neumorphic-shadow-card:
        -5px -5px 10px var(--neumorphic-shadow-light),
         5px  5px 10px var(--neumorphic-shadow-dark);
}

/* Global Styles */
*,
*::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-family-body);
    line-height: 1.7;
    color: var(--text-color-dark);
    background: linear-gradient(135deg, var(--gradient-bg-start) 0%, var(--gradient-bg-end) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS or other elements */
}

.main-page-wrapper {
    overflow: hidden; /* Contains AOS animations */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--text-color-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle text shadow for headings */
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-color-medium);
}

a {
    color: var(--text-color-link);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-easing);
}

a:hover {
    color: var(--text-color-link-hover);
    text-decoration: underline;
}

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

/* Bootstrap Overrides & Enhancements */
.container, .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-title {
    margin-bottom: 3rem !important; /* Bootstrap mb-5 is often too much */
    color: var(--text-color-dark);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-title {
    color: var(--text-color-dark);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-color-medium);
    margin-bottom: 2rem;
}

/* Buttons - Global Neumorphic Style */
.btn, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-family-body);
    font-weight: 700;
    padding: 0.75rem 1.8rem;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-easing);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: var(--neumorphic-shadow-raised);
    background-color: var(--neumorphic-base-bg);
    color: var(--text-color-dark);
    letter-spacing: 0.5px;
}

.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: -10px -10px 20px var(--neumorphic-shadow-light),
                 10px  10px 20px var(--neumorphic-shadow-dark);
    color: var(--primary-color-main);
}

.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    box-shadow: var(--neumorphic-shadow-pressed);
    transform: translateY(1px);
    background-color: #e2e6ea; /* Slightly darker on press */
}

/* Primary Button */
.neumorphic-button-primary, .btn-primary {
    background: linear-gradient(145deg, var(--primary-color-start), var(--primary-color-end));
    color: var(--text-color-light) !important; /* Ensure high contrast */
    box-shadow: -5px -5px 10px rgba(255,255,255,0.1), 
                 5px 5px 10px rgba(0,0,0,0.2),
                 inset -2px -2px 5px rgba(0,0,0,0.1),
                 inset 2px 2px 5px rgba(255,255,255,0.3);
}

.neumorphic-button-primary:hover, .btn-primary:hover {
    background: linear-gradient(145deg, var(--primary-color-darker), var(--primary-color-start));
    color: var(--text-color-light) !important;
    box-shadow: -7px -7px 15px rgba(255,255,255,0.15), 
                 7px 7px 15px rgba(0,0,0,0.25),
                 inset -3px -3px 6px rgba(0,0,0,0.15),
                 inset 3px 3px 6px rgba(255,255,255,0.35);
}

.neumorphic-button-primary:active, .btn-primary:active {
    background: var(--primary-color-darker);
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.2),
                inset 5px 5px 10px rgba(255,255,255,0.1);
}

/* Secondary Button (Less prominent) */
.neumorphic-button-secondary, .btn-secondary {
    background-color: var(--neumorphic-base-bg);
    color: var(--secondary-color);
    box-shadow: var(--neumorphic-shadow-raised);
}

.neumorphic-button-secondary:hover, .btn-secondary:hover {
    color: var(--secondary-color-darker);
}

.neumorphic-button-link, .btn-link {
    background: none;
    box-shadow: none;
    color: var(--text-color-link);
    padding: 0.5rem 1rem;
}
.neumorphic-button-link:hover, .btn-link:hover {
    background: none;
    box-shadow: none;
    color: var(--text-color-link-hover);
    text-decoration: underline;
    transform: none;
}


/* Header & Navigation */
.site-header {
    width: 100%;
    z-index: 1030; /* Bootstrap's default for fixed navbars */
    transition: background-color var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}

.neumorphic-nav {
    background-color: rgba(238, 241, 245, 0.8); /* Semi-transparent for glassmorphism */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    color: var(--text-color-dark) !important; /* Override Bootstrap */
    transition: transform var(--transition-speed) var(--transition-easing);
}
.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-family: var(--font-family-body);
    font-weight: 500;
    color: var(--text-color-medium) !important; /* Override Bootstrap */
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-sm);
    transition: color var(--transition-speed) var(--transition-easing), background-color var(--transition-speed) var(--transition-easing);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color-main) !important;
    background-color: rgba(122, 98, 204, 0.1);
}

.navbar-toggler {
    border: none;
    box-shadow: var(--neumorphic-shadow-raised);
    background-color: var(--neumorphic-base-bg);
}
.navbar-toggler:focus {
    box-shadow: var(--neumorphic-shadow-pressed);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 62, 80, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section */
.hero-section {
    /* min-height: 90vh; Bootstrap's vh-100 can be used if full viewport is needed */
    /* HTML already handles the min-height for container with d-flex h-100 */
    padding: 6rem 0; /* Adjust padding as needed */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For parallax or overlays */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive font size */
    color: var(--text-color-light) !important; /* Explicitly white */
    font-weight: bold; /* Archivo Black is already bold */
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-color-light) !important; /* Explicitly white */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Section Styling */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.section-bg {
    background-color: #f9fafc; /* Slightly different from main bg for contrast */
}


/* Neumorphic Elements - General */
.neumorphic-element {
    background-color: var(--neumorphic-base-bg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--neumorphic-shadow-raised);
    padding: 1.5rem;
    transition: box-shadow var(--transition-speed) var(--transition-easing);
}
.neumorphic-element:hover {
     box-shadow: -10px -10px 20px var(--neumorphic-shadow-light),
                 10px  10px 20px var(--neumorphic-shadow-dark);
}

/* Cards (Services, Cases, Instructors, News) */
.card.neumorphic-card {
    background-color: var(--neumorphic-base-bg);
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--neumorphic-shadow-card);
    transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
    display: flex; /* For STROGO requirement */
    flex-direction: column; /* For STROGO requirement */
    /* align-items: center;  This might be too much for card content, apply to card-image instead */
    overflow: hidden; /* Ensures content respects border-radius */
}

.card.neumorphic-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: -8px -8px 18px var(--neumorphic-shadow-light),
                 8px  8px 18px var(--neumorphic-shadow-dark);
}

.card .card-image.image-container { /* STROGO: Image container */
    width: 100%;
    height: 200px; /* STROGO: Fixed height */
    overflow: hidden;
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0; /* Placeholder if image is missing */
}

.card .card-image.image-container img.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover; /* STROGO: object-fit */
    transition: transform 0.4s var(--transition-easing);
}
.card:hover .card-image.image-container img.card-img-top {
    transform: scale(1.1);
}

.card .card-content { /* STROGO: Content centering (partially) */
    padding: 1.5rem;
    flex-grow: 1; /* Allows footer buttons to stick to bottom if card height is fixed */
    display: flex;
    flex-direction: column;
    /* text-align: center; Applied selectively where needed */
}

.card .card-title {
    font-family: var(--font-family-headings);
    color: var(--text-color-dark);
    margin-bottom: 0.75rem;
    /* text-align: center; */ /* If titles should always be centered */
}

.card .card-text {
    color: var(--text-color-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; /* Pushes buttons down */
    margin-bottom: 1rem;
}

.instructor-card .card-image.image-container {
    height: 250px; /* Specific height for instructor images */
    width: 250px;  /* Make it square for profile pics */
    border-radius: 50%; /* Circular images for instructors */
    margin: 1.5rem auto 1rem; /* Center the circular image */
    box-shadow: var(--neumorphic-shadow-card);
}
.instructor-card .card-image.image-container img {
     border-radius: 50%;
}
.instructor-card .card-content {
    text-align: center; /* STROGO: Center instructor card content */
}
.instructor-name {
    color: var(--text-color-dark);
}
.instructor-title {
    color: var(--primary-color-main);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.news-item .news-title {
    font-size: 1.2rem;
    font-weight: 700; /* Roboto bold */
    color: var(--text-color-dark);
    line-height: 1.4;
}
.news-item .news-date {
    font-size: 0.85rem;
    color: var(--text-color-medium);
    margin-bottom: 0.5rem;
}

/* Accordion */
.accordion-item.neumorphic-accordion-item {
    background-color: var(--neumorphic-base-bg);
    border: none;
    border-radius: var(--border-radius-md)!important; /* Override Bootstrap */
    margin-bottom: 1rem;
    box-shadow: var(--neumorphic-shadow-card);
    overflow: hidden; /* To make sure content respects border-radius */
}
.accordion-header {
    margin-bottom: 0;
}
.accordion-button.neumorphic-accordion-button {
    background-color: var(--neumorphic-base-bg);
    color: var(--text-color-dark);
    font-weight: 500;
    border-radius: var(--border-radius-md); /* Ensure button also has radius if item is overflow hidden */
    box-shadow: none !important; /* Remove Bootstrap's default */
}
.accordion-button.neumorphic-accordion-button:not(.collapsed) {
    background-color: #e2e6ea; /* Slightly darker when open */
    color: var(--primary-color-main);
}
.accordion-button.neumorphic-accordion-button::after {
    /* Custom arrow or use Bootstrap's default with filter */
    filter: brightness(0.5) sepia(1) hue-rotate(190deg) saturate(5); /* Colorize Bootstrap's arrow */
}
.accordion-body {
    padding: 1rem 1.25rem;
    background-color: #f7f9fc; /* Slightly different background for body */
    color: var(--text-color-medium);
    font-size: 0.95rem;
}


/* Pricing Section */
.pricing-card {
    text-align: center; /* Center pricing card content */
}
.pricing-card.featured-price {
    border: 2px solid var(--primary-color-main);
    transform: scale(1.05); /* Make featured plan stand out */
    box-shadow: -10px -10px 20px var(--neumorphic-shadow-light),
                 10px  10px 20px var(--neumorphic-shadow-dark);
}
.pricing-card .badge {
    background-color: var(--primary-color-main) !important; /* Bootstrap override */
    font-size: 0.9rem;
    padding: 0.5em 1em;
}
.pricing-price {
    font-family: var(--font-family-headings);
    font-size: 3rem !important;
    color: var(--primary-color-main);
    margin: 1rem 0;
}
.pricing-card ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1.5rem;
}
.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--text-color-medium);
    border-bottom: 1px solid #e0e5ec;
}
.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Timeline (Events Calendar) */
.timeline {
    position: relative;
    padding: 2rem 0;
}
.timeline::before { /* The central line */
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color-start), var(--primary-color-end));
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(122, 98, 204, 0.5);
}
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem; /* Space from center line */
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem; /* Space from center line */
}
.timeline-dot {
    position: absolute;
    top: 10px; /* Align with text */
    width: 18px;
    height: 18px;
    background-color: var(--neumorphic-base-bg);
    border: 4px solid var(--primary-color-main);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--neumorphic-base-bg), var(--neumorphic-shadow-raised);
}
.timeline-item:nth-child(odd) .timeline-dot {
    right: -9px; /* (18/2) Position on the line */
    transform: translateX(50%);
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -9px; /* (18/2) Position on the line */
    transform: translateX(-50%);
}
.timeline-date {
    display: none;
}
.timeline-item:nth-child(odd) .timeline-date {
    right: 1rem; /* Adjust as needed */
    text-align: right;
}
.timeline-item:nth-child(even) .timeline-date {
    left: 1rem; /* Adjust as needed */
}
.timeline-content {
    background-color: var(--neumorphic-base-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--neumorphic-shadow-card);
    position: relative;
}
.timeline-content h4 {
    color: var(--primary-color-darker);
}
.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-color-medium);
}
/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px; /* Move line to the left */
    }
    .page-content.py-5 {
      padding-left: 0;
      padding-right: 0;
    }
    .timeline-item {
        width: 100%;
        padding-left: 45px; /* Space for dot and content */
        padding-right: 0;
        left: 0 !important; /* Override alternating sides */
    }
    .timeline-item:nth-child(even) {
        padding-left: 45px;
    }
    .timeline-dot {
        left: 20px !important; /* Align with the new line position */
        transform: translateX(-50%) !important;
    }
    .timeline-date {
        position: static; /* Stack date above content */
        display: block;
        margin-bottom: 0.5rem;
        text-align: left !important;
        box-shadow: none;
        background: none;
        padding: 0;
    }
}

/* Contact Form */
.neumorphic-form {
    background-color: var(--neumorphic-base-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorphic-shadow-raised);
}
.form-label {
    font-weight: 500;
    color: var(--text-color-dark);
    margin-bottom: 0.5rem;
}
.form-control.neumorphic-input,
.form-control.neumorphic-textarea {
    background-color: var(--neumorphic-base-bg);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 0.9rem 1.2rem;
    color: var(--text-color-dark);
    box-shadow: var(--neumorphic-shadow-pressed);
    transition: box-shadow var(--transition-speed) var(--transition-easing);
    width: 100%; /* Ensure full width */
}
.form-control.neumorphic-input::placeholder,
.form-control.neumorphic-textarea::placeholder {
    color: #9098a5;
}
.form-control.neumorphic-input:focus,
.form-control.neumorphic-textarea:focus {
    outline: none;
    box-shadow: var(--neumorphic-shadow-pressed), 0 0 0 0.2rem rgba(122, 98, 204, 0.25); /* Focus ring */
    background-color: #f3f5f8; /* Slightly different bg on focus */
}
.neumorphic-textarea {
    min-height: 120px;
    resize: vertical;
}


/* Footer */
.site-footer.neumorphic-footer {
    background: linear-gradient(135deg, #dde1e7, #cacfd6); /* Slightly darker gradient for footer */
    color: var(--text-color-medium);
    padding-top: 3rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.site-footer h5 {
    color: var(--text-color-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.site-footer p, .site-footer .copyright-text {
    color: var(--text-color-medium);
    font-size: 0.95rem;
}
.footer-link {
    color: var(--text-color-medium);
    display: inline-block;
    padding: 0.3rem 0;
    transition: color var(--transition-speed) var(--transition-easing), transform var(--transition-speed) var(--transition-easing);
}
.footer-link:hover, .footer-link.active {
    color: var(--primary-color-main);
    text-decoration: none;
    transform: translateX(3px);
}
.site-footer .list-unstyled li {
    margin-bottom: 0.3rem;
}
.neumorphic-hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    margin: 2rem 0;
}
/* Footer social links (text-based) */
.site-footer .list-unstyled a[target="_blank"]::after {
    /* Optionally add a small icon for external links, but not required by prompt */
    /* content: ' \f35d'; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    font-size: 0.8em; */
}


/* Specific Page Styles */
/* success.html (content already centered by flex in HTML structure) */
.main-page-wrapper.d-flex.flex-column.min-vh-100 { /* Ensure this applies to success.html wrapper */
    /* Flex properties already in HTML, this is a reminder */
}
#success.html main.page-content, .success-page main.page-content { /* If a class is added to success.html body/main */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}
.success-page .neumorphic-element img { /* Specific to success icon */
    margin-left: auto;
    margin-right: auto;
}


/* privacy.html & terms.html */
.page-content.py-5 { /* Generic class for main content of static pages */
    /* padding-top: 100px !important;  Applied in the HTML for these specific pages directly on main */
    /* This ensures header doesn't overlap if header is fixed. */
    /* The HTML had: <main class="page-content py-5" style="padding-top: 100px;"> which is fine.
       If to be done via CSS:
       body.privacy-page main.page-content,
       body.terms-page main.page-content {
           padding-top: 120px; /* Adjust based on actual header height */
       }
    */
}
.privacy-page main, .terms-page main { /* Assuming body classes */
    padding-top: 100px; /* For fixed header */
}


/* Cookie Consent Popup */
#cookie-consent-popup {
    box-shadow: 0 -3px 15px rgba(0,0,0,0.15) !important; /* Override inline for emphasis */
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
}
#cookie-consent-popup p {
    color: #f1f1f1;
    font-size: 0.95rem;
}
#cookie-consent-popup a {
    color: var(--accent-color-2) !important;
    text-decoration: underline !important;
}
#accept-cookie {
    background: var(--primary-color-main);
    color: var(--text-color-light);
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#accept-cookie:hover {
    background: var(--primary-color-darker);
}

/* AOS Animations - ensure they don't cause overflow issues */
[data-aos] {
    /* Might need to add perspective or backface-visibility for smoother 3D transforms if used by AOS */
}

/* Utility Classes (Example) */
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.visually-hidden { /* Bootstrap has .visually-hidden */
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Background Image Handling */
[style*="background-image"] { /* General rule for elements with inline background images */
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}
/* For hero, HTML already has linear-gradient. This is a fallback or general rule if needed elsewhere */
.bg-image-overlay::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 1; /* Ensure it's above the image but below content */
}
.bg-image-overlay > * {
    position: relative;
    z-index: 2; /* Ensure content is above overlay */
}

/* Read More Links */
a.btn-sm.neumorphic-button-secondary, a.read-more-link {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    /* Additional styling to make them attractive */
    /* color: var(--primary-color-main);
    font-weight: bold; */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    .hero-section { padding: 4rem 0; }
    .navbar-nav {
        margin-top: 1rem;
        background-color: var(--neumorphic-base-bg);
        border-radius: var(--border-radius-md);
        padding: 1rem;
        box-shadow: var(--neumorphic-shadow-card);
    }
    .nav-link {
        margin-left: 0;
        margin-right: 0;
        padding: 0.8rem 1rem !important;
    }
    .nav-link:hover, .nav-link.active {
        background-color: rgba(122, 98, 204, 0.15);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    section { padding-top: 3rem; padding-bottom: 3rem; }
    .col-lg-4, .col-md-6 { /* Ensure cards stack nicely */
        margin-bottom: 1.5rem;
    }
    .pricing-card.featured-price {
        transform: scale(1); /* Reset scale on smaller screens if it causes layout issues */
    }
    .neumorphic-form {
        padding: 1.5rem;
    }
    .site-footer .row > div { /* Stack footer columns */
        margin-bottom: 1.5rem;
        text-align: center;
    }
    .site-footer .list-unstyled {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .btn, button, input[type="submit"] {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    #cookie-consent-popup {
        padding: 15px;
        font-size: 0.9rem;
    }
    #cookie-consent-popup p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    #cookie-consent-popup button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}