/* style.css */

/* Table of Contents
------------------------------------
1. CSS Variables
2. Global Styles & Typography
3. Neumorphic Base Styles
4. Buttons (Global)
5. Header & Navigation
6. Hero Section
7. General Section Styling
8. Card Styles (Global for Instructors, Workshops, Portfolio, Insights, Research etc.)
9. Specific Component Styles (Accordion, Progress, Forms, Lists)
10. Section-Specific Adjustments (About Us, Statistics, Media, External Resources, FAQ, Contact Summary)
11. Footer
12. Utility Classes
13. Animations & Transitions
14. Page-Specific Styles (success.html, privacy.html, terms.html)
15. Particle Animation Container
16. Responsive Design (Media Queries)
------------------------------------ */

/* 1. CSS Variables
------------------------------------ */
:root {
    /* Color Scheme: Bright */
    --primary-color: #007bff; /* Bright Blue */
    --secondary-color: #28a745; /* Bright Green */
    --accent-color: #ffc107; /* Bright Yellow */
    --danger-color: #dc3545; /* Bright Red */
    --highlight-color: #fd7e14; /* Bright Orange */

    /* Neumorphism Base & Text */
    --bg-color: #eef3f8; /* Light, slightly cool off-white */
    --bg-color-dark: #2c3238; /* Dark background for footer/contrast elements */
    
    --text-color: #343a40; /* Dark grey for body text */
    --text-color-light: #f8f9fa; /* Very light grey/white for dark backgrounds */
    --heading-color: #212529; /* Near black for headings */
    --link-color: var(--primary-color);
    --link-hover-color: #0056b3; /* Darker primary */

    /* Neumorphism Shadows */
    --shadow-distance: 6px;
    --shadow-blur: 12px;
    --shadow-light-color: rgba(255, 255, 255, 0.9);
    --shadow-dark-color: rgba(163, 177, 198, 0.6);
    --shadow-dark-color-stronger: rgba(140, 150, 170, 0.7); /* For more pronounced shadows */

    /* Neumorphism Pressed Shadows */
    --inset-shadow-light-color: rgba(255, 255, 255, 0.7);
    --inset-shadow-dark-color: rgba(163, 177, 198, 0.5);
    
    /* Borders & Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 25px;

    /* Fonts */
    --font-family-base: 'IBM Plex Sans', sans-serif;
    --font-family-headings: 'Inter', sans-serif;

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

    /* Spacing */
    --section-padding-y: 5rem;

    /* Header Height (approximate, for content offset) */
    --header-height: 70px; 
}

/* 2. Global Styles & Typography
------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden; /* Prevent horizontal scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0px !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; } /* Section titles */
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; } /* Card titles */
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-color); /* Ensure good contrast */
}

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

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

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

.container {
    max-width: 1140px; /* Bootstrap's default lg breakpoint */
}

/* 3. Neumorphic Base Styles
------------------------------------ */
.neumorphic-outset {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-md);
    box-shadow: 
        calc(var(--shadow-distance) * -1) calc(var(--shadow-distance) * -1) var(--shadow-blur) var(--shadow-light-color),
        var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) var(--shadow-dark-color);
    transition: box-shadow var(--transition-speed) var(--transition-timing);
}

.neumorphic-inset {
    background-color: var(--bg-color); /* or slightly darker like #dde2e8 */
    border-radius: var(--border-radius-md);
    box-shadow: 
        inset calc(var(--shadow-distance) / 2 * -1) calc(var(--shadow-distance) / 2 * -1) calc(var(--shadow-blur) / 2) var(--shadow-dark-color),
        inset calc(var(--shadow-distance) / 2) calc(var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) var(--shadow-light-color);
    transition: box-shadow var(--transition-speed) var(--transition-timing);
}

/* 4. Buttons (Global)
------------------------------------ */
.btn, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-family-headings);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-timing);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.5; /* Ensure text is vertically centered */
    font-size: 1rem;
}

/* Primary Button Style (Neumorphic Outset by default) */
.btn-primary,
.neumorphic-button,
.neumorphic-button-cta { /* CTA can be more prominent */
    background-color: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 
        -4px -4px 8px var(--shadow-light-color),
        4px 4px 8px var(--shadow-dark-color-stronger),
        inset 1px 1px 2px rgba(255,255,255,0.3), /* Inner highlight */
        inset -1px -1px 2px rgba(0,0,0,0.1); /* Inner shadow */
}

.btn-primary:hover,
.neumorphic-button:hover,
.neumorphic-button-cta:hover {
    background-color: var(--link-hover-color);
    color: var(--text-color-light);
    box-shadow: 
        -2px -2px 4px var(--shadow-light-color),
        2px 2px 4px var(--shadow-dark-color-stronger),
        inset -3px -3px 6px var(--shadow-dark-color), /* Pressed effect */
        inset 3px 3px 6px var(--shadow-light-color); /* Pressed effect */
    transform: translateY(1px) translateX(1px); /* Slight press down */
}

/* Secondary Button Style */
.btn-secondary,
.neumorphic-button-secondary {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color); /* For clarity */
     box-shadow: 
        -3px -3px 6px var(--shadow-light-color),
        3px 3px 6px var(--shadow-dark-color);
}

.btn-secondary:hover,
.neumorphic-button-secondary:hover {
    background-color: #d8e0e8; /* Slightly darker bg */
    color: var(--link-hover-color);
    border-color: var(--link-hover-color);
    box-shadow: 
        inset -2px -2px 4px var(--shadow-dark-color),
        inset 2px 2px 4px var(--shadow-light-color);
}


/* 5. Header & Navigation
------------------------------------ */
.site-header {
    background-color: var(--bg-color);
    z-index: 1030; /* Above most content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for fixed header */
}

.neumorphic-nav {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800 !important; /* Overrides Bootstrap if needed */
    color: var(--heading-color) !important;
}
.navbar-brand span {
    color: var(--primary-color) !important;
}

.nav-link {
    font-family: var(--font-family-headings);
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem !important;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed) var(--transition-timing);
}

.nav-link:hover,
.nav-link.active { /* .active class added by Bootstrap or JS */
    color: var(--primary-color) !important;
    background-color: #e0e5ec; /* Slightly inset look on hover */
}

.navbar-toggler.neumorphic-button {
    border: none;
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-color);
    box-shadow: 
        -3px -3px 6px var(--shadow-light-color),
        3px 3px 6px var(--shadow-dark-color);
}
.navbar-toggler.neumorphic-button:focus {
    box-shadow: 
        inset -2px -2px 4px var(--shadow-dark-color),
        inset 2px 2px 4px var(--shadow-light-color);
}
.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(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}


/* 6. Hero Section
------------------------------------ */
.hero-section {
    padding: var(--section-padding-y) 0;
    min-height: 80vh; /* Adjusted from 100vh to be less imposing */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For pseudo-element overlay if not using linear-gradient in HTML */
    color: var(--text-color-light); /* Default text color for hero */
}

/* Ensure the HTML includes style="background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(...)" */
/* No ::before needed if HTML has the gradient */

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem; /* Larger for hero */
    font-weight: 800;
    color: #FFFFFF !important; /* Strictly white as requested */
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #FFFFFF !important; /* Strictly white as requested */
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-section .neumorphic-button-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* 7. General Section Styling
------------------------------------ */
section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
    position: relative; /* For potential pseudo-elements or absolute positioned children */
}

.section-neumorphic {
    background-color: var(--bg-color);
}

.section-neumorphic-accent {
    background-color: #e0e5ec; /* A slightly different shade for variation */
}

.section-neumorphic-dark {
    background-color: var(--bg-color-dark);
    color: var(--text-color-light);
}
.section-neumorphic-dark h1,
.section-neumorphic-dark h2,
.section-neumorphic-dark h3,
.section-neumorphic-dark h4,
.section-neumorphic-dark h5,
.section-neumorphic-dark h6,
.section-neumorphic-dark p {
    color: var(--text-color-light);
}
.section-neumorphic-dark a {
    color: var(--accent-color); /* Bright accent for links on dark bg */
}
.section-neumorphic-dark a:hover {
    color: #ffdd6a;
}


.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color); /* Ensure high contrast */
    margin-bottom: 3rem !important; /* Using !important to override Bootstrap if needed */
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for depth on light bg */
}
.section-neumorphic-dark .section-title {
    color: var(--text-color-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


/* 8. Card Styles (Global)
------------------------------------ */
.card.neumorphic-card {
    background-color: var(--bg-color);
    border: none;
    border-radius: var(--border-radius-lg); /* Softer radius for cards */
    box-shadow: 
        -8px -8px 16px var(--shadow-light-color),
        8px 8px 16px var(--shadow-dark-color);
    overflow: hidden; /* To ensure border-radius applies to images */
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}

.card.neumorphic-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        -10px -10px 20px var(--shadow-light-color),
        10px 10px 20px var(--shadow-dark-color-stronger);
}

.card-image { /* Container for the image */
    width: 100%;
    height: 200px; /* Example fixed height, adjust per section design */
    overflow: hidden;
    border-top-left-radius: var(--border-radius-lg); /* Match card's radius */
    border-top-right-radius: var(--border-radius-lg);
    display: flex; 
    align-items: center;
    justify-content: center;
    margin-bottom: 0; /* Remove default margin */
    background-color: #c5cdd6; /* Placeholder while image loads */
}

.card-image img.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    border-radius: 0; 
}

.card-content { 
    padding: 1.5rem;
    text-align: left; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}
.card-content.text-center {
    text-align: center; 
}

.card-title {
    font-family: var(--font-family-headings);
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.card-text {
    font-family: var(--font-family-base);
    color: var(--text-color); 
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; 
}

.card .btn, .card .neumorphic-button-secondary {
    margin-top: auto; 
    align-self: flex-start; 
}
.card-content.text-center .btn {
    align-self: center;
}

.neumorphic-image-container {
    border-radius: var(--border-radius-lg);
    padding: 10px; 
    background-color: var(--bg-color);
    box-shadow: 
        inset -5px -5px 10px var(--shadow-dark-color),
        inset 5px 5px 10px var(--shadow-light-color);
}
.neumorphic-image-container img {
    border-radius: calc(var(--border-radius-lg) - 5px); 
}


/* 9. Specific Component Styles
------------------------------------ */

/* Accordion (Bootstrap Customization) */
.accordion.neumorphic-accordion .accordion-item {
    background-color: var(--bg-color);
    border: none;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    box-shadow: 
        -5px -5px 10px var(--shadow-light-color),
        5px 5px 10px var(--shadow-dark-color);
    overflow: hidden;
}

.accordion.neumorphic-accordion .accordion-header {
    margin-bottom: 0;
}

.accordion.neumorphic-accordion .accordion-button {
    background-color: var(--bg-color);
    color: var(--heading-color);
    font-family: var(--font-family-headings);
    font-weight: 600;
    border: none;
    box-shadow: none; 
    border-radius: var(--border-radius-md); 
    padding: 1rem 1.5rem;
}

.accordion.neumorphic-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #e0e5ec; 
    box-shadow: inset -3px -3px 6px var(--inset-shadow-dark-color),
                inset 3px 3px 6px var(--inset-shadow-light-color);
}

.accordion.neumorphic-accordion .accordion-button:focus {
    box-shadow: none; 
}

.accordion.neumorphic-accordion .accordion-button::after { 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23007bff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform var(--transition-speed) var(--transition-timing);
}
.accordion.neumorphic-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion.neumorphic-accordion .accordion-body {
    padding: 1.5rem;
    font-family: var(--font-family-base);
    color: var(--text-color);
    background-color: #f8fafd; 
    border-top: 1px solid #d1d9e6; 
}

/* Progress Bars (Bootstrap Customization) */
.progress.neumorphic-progress {
    height: 12px;
    border-radius: var(--border-radius-sm);
    background-color: #d1d9e6; 
    box-shadow: inset 2px 2px 4px var(--shadow-dark-color),
                inset -2px -2px 4px var(--shadow-light-color);
    padding: 2px; 
}
.progress.neumorphic-progress .progress-bar {
    border-radius: calc(var(--border-radius-sm) - 2px);
    box-shadow: -1px -1px 2px rgba(255,255,255,0.5) inset, 1px 1px 2px rgba(0,0,0,0.2) inset;
}


/* Forms */
.neumorphic-form .form-label {
    font-family: var(--font-family-headings);
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.neumorphic-form .form-control,
.neumorphic-form .form-select {
    background-color: var(--bg-color);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 0.9rem 1.2rem;
    box-shadow: 
        inset -3px -3px 7px var(--shadow-dark-color),
        inset 3px 3px 7px var(--shadow-light-color);
    color: var(--text-color);
    transition: box-shadow var(--transition-speed) var(--transition-timing);
    font-family: var(--font-family-base);
}
.neumorphic-form .form-control::placeholder {
    color: #86909c;
}
.neumorphic-form .form-control:focus,
.neumorphic-form .form-select:focus {
    background-color: var(--bg-color); 
    box-shadow: 
        -3px -3px 7px var(--shadow-light-color), 
        3px 3px 7px var(--shadow-dark-color),
        inset 1px 1px 2px var(--shadow-dark-color), 
        inset -1px -1px 2px var(--shadow-light-color);
    outline: none;
    border: none; 
}

.neumorphic-form textarea.form-control {
    min-height: 150px;
}

/* Neumorphic List (for External Resources) */
.list-group.neumorphic-list .list-group-item {
    background-color: var(--bg-color);
    border: none;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 
        -5px -5px 10px var(--shadow-light-color),
        5px 5px 10px var(--shadow-dark-color);
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}
.list-group.neumorphic-list .list-group-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 
        -7px -7px 14px var(--shadow-light-color),
        7px 7px 14px var(--shadow-dark-color-stronger);
    z-index: 2; 
}
.list-group.neumorphic-list .list-group-item h5 {
    color: var(--primary-color);
    font-family: var(--font-family-headings);
}
.list-group.neumorphic-list .list-group-item p {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}
.list-group.neumorphic-list .list-group-item small {
    color: var(--link-color);
    font-size: 0.8rem;
    font-family: var(--font-family-base);
}


/* 10. Section-Specific Adjustments
------------------------------------ */
#about-us p {
    line-height: 1.8; 
}

.neumorphic-stat-box {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background-color: var(--bg-color);
    box-shadow: 
        -6px -6px 12px var(--shadow-light-color),
        6px 6px 12px var(--shadow-dark-color);
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.neumorphic-video-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 
        -6px -6px 12px var(--shadow-light-color),
        6px 6px 12px var(--shadow-dark-color);
    background-color: #c5cdd6; /* Placeholder background */
}
.neumorphic-video-container img,
.neumorphic-video-container iframe {
    display: block;
    width: 100%;
    border: none; 
}

.neumorphic-testimonial {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: 
        inset -4px -4px 8px var(--inset-shadow-dark-color),
        inset 4px 4px 8px var(--inset-shadow-light-color);
    margin-bottom: 1.5rem;
}
.neumorphic-testimonial p {
    font-style: italic;
    color: #55595c; 
    margin-bottom: 0.5rem;
}
.neumorphic-testimonial .blockquote-footer {
    color: var(--text-color);
    font-size: 0.9em;
}

.read-more-link {
    display: inline-block;
    font-family: var(--font-family-headings);
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.3rem 0;
    position: relative;
    transition: color var(--transition-speed) var(--transition-timing);
}
.read-more-link::after {
    content: '→'; 
    display: inline-block;
    margin-left: 0.5em;
    transition: transform var(--transition-speed) var(--transition-timing);
}
.read-more-link:hover {
    color: var(--link-hover-color);
    text-decoration: none;
}
.read-more-link:hover::after {
    transform: translateX(5px);
}


/* 11. Footer
------------------------------------ */
.site-footer {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.site-footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color-light) !important; 
}
.site-footer p, .site-footer li {
    font-size: 0.95rem;
    color: #cccccc !important; 
}

.site-footer .list-unstyled {
    padding-left: 0;
    list-style: none;
}

.footer-link {
    color: #b0bec5 !important; 
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
    display: inline-block;
    padding: 0.25rem 0;
    font-family: var(--font-family-base) !important; 
}
.footer-link:hover {
    color: var(--accent-color) !important; 
    text-decoration: underline !important;
}

.site-footer hr {
    border-top: 1px solid #4a5056; 
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.site-footer .text-muted { 
    color: #90a4ae !important; 
    font-size: 0.85em !important;
}


/* 12. Utility Classes
------------------------------------ */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.mb-6 { margin-bottom: 4rem !important; } 

/* 13. Animations & Transitions
------------------------------------ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--transition-timing), transform 0.6s var(--transition-timing);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 14. Page-Specific Styles
------------------------------------ */

/* success.html */
.success-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
}
.success-page-container .neumorphic-card {
    max-width: 500px;
    width: 100%;
    padding: 2.5rem;
}
.success-page-container h1 {
    color: var(--secondary-color); 
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.success-page-container p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* privacy.html, terms.html, about.html, contacts.html */
.privacy-page-container,
.terms-page-container,
.about-page-container,
.contact-page-container { 
    padding-top: calc(var(--header-height) + 30px); 
    padding-bottom: var(--section-padding-y);
}
.privacy-page-container .container,
.terms-page-container .container,
.about-page-container .container,
.contact-page-container .container {
    background-color: #fff; 
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.privacy-page-container h1,
.terms-page-container h1,
.about-page-container h1,
.contact-page-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}
.privacy-page-container h2,
.terms-page-container h2,
.about-page-container h2,
.contact-page-container h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}
.privacy-page-container p, .privacy-page-container li,
.terms-page-container p, .terms-page-container li,
.about-page-container p, .about-page-container li,
.contact-page-container p {
    line-height: 1.8;
}
.contact-page-container .neumorphic-form {
    max-width: 700px;
    margin: 0 auto;
}

/* 15. Particle Animation Container
------------------------------------ */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    pointer-events: none; 
}

/* 16. Responsive Design (Media Queries)
------------------------------------ */
@media (max-width: 991.98px) { 
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.9rem; }

    .nav-link { margin-left: 0; margin-right: 0; padding: 0.8rem 1rem !important; }
    .navbar-nav { margin-top: 1rem; } 
}

@media (max-width: 767.98px) { 
    :root {
        --section-padding-y: 3.5rem;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-section .neumorphic-button-cta { padding: 0.8rem 1.8rem; font-size: 1rem;}

    .section-title { font-size: 1.8rem; margin-bottom: 2rem !important; }
    
    .card.neumorphic-card {
        margin-left: auto; 
        margin-right: auto;
    }
    .site-footer { text-align: center; }
    .site-footer .col-md-4 { margin-bottom: 2rem; }
    .site-footer .list-unstyled { display: inline-block; text-align: center;}
}

@media (max-width: 575.98px) { 
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.9rem; }
    
    .privacy-page-container .container,
    .terms-page-container .container,
    .about-page-container .container,
    .contact-page-container .container {
        padding: 1.5rem;
    }

    .neumorphic-form .form-control,
    .neumorphic-form .form-select,
    .neumorphic-form .btn {
        width: 100%;
    }
    .neumorphic-form .btn {
        margin-top: 1rem;
    }
}

/* Cookie Consent Popup Minimal Styles */
#cookieConsentPopup {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-size: 15px; 
}
#cookieConsentPopup p {
    color: #f1f1f1;
    font-size: inherit;
}
#cookieConsentPopup a {
    color: #4db8ff; 
    text-decoration: underline;
}
#acceptCookieConsent {
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-size: 15px;
}