/* style.css */

:root {
    /* Monochromatic Palette (Dark Theme with Blue Accent) */
    --primary-bg-color: #121212;
    --secondary-bg-color: #1E1E1E;
    --card-bg-color: #252525;
    --glass-bg-color: rgba(40, 40, 45, 0.65);
    --glass-border-color: rgba(255, 255, 255, 0.1);
    --light-glass-bg-color: rgba(50, 50, 55, 0.5); /* For sections like partners */

    /* Text Colors */
    --text-color-light: #EAEAEA;
    --text-color-medium: #B0B0B0;
    --text-color-headings: #FFFFFF;
    --text-color-dark-on-light: #333333; /* For potential light popups or sections */
    --section-title-color: #FFFFFF;
    --section-subtitle-color: #C0C0C0;

    /* Accent Color */
    --accent-color: #00AEEF; /* Bright Cyan/Blue */
    --accent-color-rgb: 0, 174, 239;
    --accent-color-darker: #008CBF;
    --accent-text-color: #FFFFFF;

    /* Fonts */
    --font-family-headings: 'Manrope', sans-serif;
    --font-family-body: 'Rubik', sans-serif;

    /* UI Elements Styling */
    --border-radius-small: 8px;
    --border-radius-medium: 15px;
    --border-radius-large: 25px;

    --box-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.2);
    --box-shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.3);
    --text-shadow-subtle: 1px 1px 3px rgba(0,0,0,0.5);

    /* Volumetric Button & Input Shadows */
    --volumetric-shadow-button:
        0 4px 8px rgba(0,0,0,0.3),
        inset 0 -2px 2px rgba(0,0,0,0.15),
        inset 0 1px 1px rgba(255,255,255,0.1);
    --volumetric-shadow-button-hover:
        0 6px 12px rgba(0,0,0,0.35),
        inset 0 -2px 2px rgba(0,0,0,0.2),
        inset 0 2px 2px rgba(255,255,255,0.15);
    --volumetric-shadow-button-active:
        0 2px 4px rgba(0,0,0,0.25),
        inset 0 2px 4px rgba(0,0,0,0.2);

    --volumetric-shadow-input:
        inset 0 2px 5px rgba(0,0,0,0.25),
        0 1px 1px rgba(0,0,0,0.05);
    --volumetric-shadow-input-focus:
        inset 0 2px 5px rgba(0,0,0,0.2),
        0 0 0 3px rgba(var(--accent-color-rgb), 0.4);

    --transition-smooth: all 0.3s ease-in-out;
    --navbar-height: 70px; /* Default, can be overridden by JS if dynamic */
    --footer-height: 200px; /* Approximate for calculations */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    background-color: var(--primary-bg-color);
    color: var(--text-color-light);
    line-height: 1.7;
    font-size: 16px;
    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(--text-color-headings);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.section-title {
    font-size: 2.5rem; /* Bootstrap h2 is 2rem */
    color: var(--section-title-color);
    text-shadow: var(--text-shadow-subtle);
    margin-bottom: 1.5rem;
    font-weight: 800;
}
.page-title {
    font-size: 2.8rem;
    color: var(--text-color-headings);
    text-shadow: var(--text-shadow-subtle);
}
.content-subtitle, .timeline-title, .card-title {
    color: var(--text-color-headings);
    font-weight: 700;
}
.lead, .hero-subtitle {
    color: var(--section-subtitle-color);
    font-size: 1.1rem;
    font-weight: 400;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--accent-color-darker);
    text-decoration: underline;
}

/* Utility Classes */
.section-padding {
    padding: 60px 0;
}
.page-padding {
    padding-top: calc(var(--navbar-height) + 40px); /* 70px + 40px = 110px */
    padding-bottom: 60px;
}
main[data-barba-namespace="privacy"].page-padding,
main[data-barba-namespace="terms"].page-padding {
    padding-top: 100px; /* Specific request */
}

.text-shadow {
    text-shadow: var(--text-shadow-subtle);
}

.content-section { /* For static pages like about, privacy, terms */
    max-width: 900px; /* Control content width */
    margin-left: auto;
    margin-right: auto;
}
.glass-effect-content { /* For content blocks on static pages */
    background: var(--secondary-bg-color);
    border-radius: var(--border-radius-medium);
    padding: 2rem;
    box-shadow: var(--box-shadow-medium);
    border: 1px solid var(--glass-border-color);
}
.glass-effect-content h2, .glass-effect-content h3 {
    color: var(--text-color-headings);
}
.glass-effect-content p, .glass-effect-content li {
    color: var(--text-color-medium);
}
.glass-effect-content ul {
    padding-left: 20px;
    margin-bottom: 1rem;
}

/* Page Transitions (Barba.js) */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg-color);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.barba-leave-active .page-transition {
    transform: translateY(0);
}
.barba-enter-active .page-transition {
    transform: translateY(-100%);
}

/* Header & Navigation */
.site-header {
    z-index: 1030; /* Bootstrap's default for sticky */
    height: var(--navbar-height);
}
.navbar.glass-effect {
    background: rgba(18, 18, 18, 0.75); /* Darker glass for navbar */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
.navbar-brand {
    font-family: var(--font-family-headings);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-color-headings) !important;
    transition: transform 0.3s ease;
}
.navbar-brand:hover {
    transform: scale(1.05);
}
.nav-link {
    font-family: var(--font-family-body);
    font-weight: 500;
    color: var(--text-color-medium) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-small);
    transition: var(--transition-smooth);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
    color: var(--text-color-light) !important;
    background-color: rgba(255,255,255,0.05);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}
.navbar-toggler {
    border-color: var(--glass-border-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(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Ensure dropdown menu in mobile also has glass effect */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(30, 30, 30, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: var(--border-radius-medium);
        border: 1px solid var(--glass-border-color);
    }
    .nav-link { margin: 0.5rem 0; }
}

/* Hero Section */
.hero-section {
    min-height: 90vh; /* Slightly less than full viewport to hint at scroll */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    /* Parallax effect - simple version */
    /* background-attachment: fixed; /* This can cause issues with positioning and other elements */
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative; /* For potential 3D transforms */
    transform-style: preserve-3d;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive font size */
    font-weight: 800;
    color: var(--text-color-headings) !important; /* Ensure white as per requirement */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #E0E0E0 !important; /* Ensure light color */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    margin-bottom: 2rem;
}

/* Global Button Styles */
.btn, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-family-headings);
    font-weight: 700;
    padding: 0.75rem 1.8rem;
    border-radius: var(--border-radius-medium);
    transition: var(--transition-smooth), transform 0.1s ease-out;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    overflow: hidden; /* For ripple or shine effects */
    transform-style: preserve-3d; /* For 3D effects */
}
.btn-primary, .volumetric-button {
    background-color: var(--accent-color);
    color: var(--accent-text-color);
    box-shadow: var(--volumetric-shadow-button);
}
.btn-primary:hover, .volumetric-button:hover {
    background-color: var(--accent-color-darker);
    color: var(--accent-text-color);
    box-shadow: var(--volumetric-shadow-button-hover);
    transform: translateY(-2px) perspective(500px) translateZ(10px);
}
.btn-primary:active, .volumetric-button:active {
    background-color: var(--accent-color-darker);
    color: var(--accent-text-color);
    box-shadow: var(--volumetric-shadow-button-active);
    transform: translateY(1px) perspective(500px) translateZ(5px);
}
.btn-outline-primary, .volumetric-button-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: none;
}
.btn-outline-primary:hover, .volumetric-button-outline:hover {
    background-color: var(--accent-color);
    color: var(--accent-text-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--accent-color-rgb), 0.3);
}

/* Global Form Input Styles */
.form-control.volumetric-input {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border-color);
    color: var(--text-color-light);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-small);
    box-shadow: var(--volumetric-shadow-input);
    transition: var(--transition-smooth);
}
.form-control.volumetric-input::placeholder {
    color: var(--text-color-medium);
    opacity: 0.7;
}
.form-control.volumetric-input:focus {
    background-color: rgba(0,0,0,0.3);
    border-color: var(--accent-color);
    color: var(--text-color-light);
    box-shadow: var(--volumetric-shadow-input-focus);
    outline: none;
}
.form-label {
    color: var(--text-color-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.form-control.is-invalid {
    border-color: #dc3545; /* Bootstrap danger color */
}
.invalid-feedback {
    color: #dc3545;
}

/* Glass Effect for Sections & Cards */
.glass-effect {
    background: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--box-shadow-light);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bg-light-glass { /* Used for Partners section in HTML */
    background: var(--light-glass-bg-color); /* Adjusted for dark theme */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--glass-border-color);
}

/* Card Styles (Global for various card types) */
.card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--glass-border-color);
    border-radius: var(--border-radius-medium);
    overflow: hidden; /* Ensures content respects border-radius */
    box-shadow: var(--box-shadow-light);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text within content */
    height: 100%; /* For equal height cards in rows */
    position: relative; /* For 3D effects */
    transform-style: preserve-3d;
}
.card:hover {
    transform: translateY(-10px) perspective(1200px) rotateX(3deg) rotateY(-2deg) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.card .card-image, .card .image-container { /* Generic image container */
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
    margin-bottom: 1rem; /* Space between image and content */
    display: flex; /* For centering image if it's smaller than container (not needed with object-fit:cover) */
    justify-content: center;
    align-items: center;
    border-top-left-radius: var(--border-radius-medium); /* Match card border */
    border-top-right-radius: var(--border-radius-medium);
}
.card .card-image img, .card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers container without distortion */
    display: block; /* Remove extra space below image */
    transition: transform 0.5s ease;
}
.card:hover .card-image img, .card:hover .image-container img {
    transform: scale(1.1);
}
.card-content {
    padding: 1rem 1.5rem; /* Padding inside the card below the image */
    width: 100%;
    flex-grow: 1; /* Allows content to fill space, useful for d-flex flex-column */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if card-text is flex-grow-1 */
}
.card-title {
    font-size: 1.25rem;
    color: var(--text-color-headings);
    margin-bottom: 0.75rem;
}
.card-text {
    color: var(--text-color-medium);
    font-size: 0.95rem;
    flex-grow: 1; /* Allows text to take up available space */
    margin-bottom: 1rem;
}
.card .btn {
    margin-top: auto; /* Pushes button to the bottom of the card */
    align-self: center; /* Center button if card is wider */
}

/* Statistics Section */
.stat-card {
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius-large); /* More rounded for stat cards */
}
.animated-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    /* Placeholder for actual animated icons if SVGs are used */
    /* For text placeholders, simple styling: */
    font-weight: bold;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color-headings);
    margin-bottom: 0.5rem;
}
.stat-description {
    color: var(--text-color-medium);
    font-size: 1rem;
}

/* Media Section (Carousel Card Styling) */
#mediaSlider .media-card {
    margin-left: auto;
    margin-right: auto;
    border: none; /* Override default card border if glass-effect is primary */
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 1.2rem; /* Make clickable area larger */
    width: 2.5rem;
    height: 2.5rem;
    background-size: 50% 50%;
}

/* Behind the Scenes (Timeline Section) */
.timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
}
.timeline::before { /* The central line */
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--glass-border-color);
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}
.timeline-item {
    margin-bottom: 50px;
    position: relative;
}
.timeline-item::after {
    content: "";
    display: table;
    clear: both;
}
.timeline-icon {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 0 0 5px var(--primary-bg-color), var(--box-shadow-light);
}
.timeline-content {
    padding: 1.5rem 2rem;
    width: 45%;
    position: relative;
    border-radius: var(--border-radius-medium);
}
/* Arrow pointing to the timeline */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 0;
    height: 0;
    border-style: solid;
}
/* Alternating sides */
.timeline-item:nth-child(odd) .timeline-content {
    float: left;
    text-align: right; /* Adjust text for left items */
}
.timeline-item:nth-child(odd) .timeline-content::before {
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent var(--glass-bg-color);
}
.timeline-item:nth-child(even) .timeline-content {
    float: right;
    text-align: left; /* Adjust text for right items */
}
.timeline-item:nth-child(even) .timeline-content::before {
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent var(--glass-bg-color) transparent transparent;
}
.timeline-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color-headings);
}
.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-color-medium);
}
.timeline-content .image-container img {
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow-light);
}
@media (max-width: 767.98px) {
    .timeline::before { left: 25px; }
    .timeline-item .timeline-icon { left: 25px; }
    .timeline-item .timeline-content {
        width: calc(100% - 70px);
        float: right; /* All items on the right */
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-content {
        float: right;
        text-align: left;
    }
    .timeline-item .timeline-content::before {
        left: -15px;
        border-width: 15px 15px 15px 0;
        border-color: transparent var(--glass-bg-color) transparent transparent;
    }
}


/* Partners Section */
#socios .partner-card {
    background-color: transparent; /* Use section's bg-light-glass */
    padding: 1rem;
    border: none;
    box-shadow: none; /* Remove individual card shadow if section has one */
    transition: transform 0.3s ease;
}
#socios .partner-card:hover {
    transform: scale(1.05) translateY(-5px);
}
.partner-logo {
    max-height: 60px; /* Control logo height */
    width: auto;
    object-fit: contain;
    filter: grayscale(80%) opacity(0.8); /* Subtle effect */
    transition: var(--transition-smooth);
}
#socios .partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
}
.partner-name {
    font-size: 0.9rem;
    color: var(--text-color-medium);
    margin-top: 0.5rem;
}

/* External Resources Section */
#recursos-externos .resource-card {
    /* Standard card styling applies */
}
#recursos-externos .resource-card .card-title {
    min-height: 3em; /* Ensure titles have enough space if varied length */
}

/* Contact Section */
.contact-form { /* .glass-effect class already applied in HTML */
    padding: 2rem;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-bg-color);
    color: var(--text-color-medium);
    border-top: 1px solid var(--glass-border-color);
}
.site-footer.glass-effect-footer { /* A specific class from HTML, make it slightly transparent */
    background-color: rgba(25,25,25,0.8); /* Darker than primary bg, slightly transparent */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.site-footer h5 {
    color: var(--text-color-headings);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.site-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}
.site-footer .footer-link {
    color: var(--text-color-medium);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.site-footer .footer-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
    transform: translateX(3px); /* Subtle hover effect for links */
    display: inline-block; /* Needed for transform */
}
.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-color-medium);
    opacity: 0.8;
}

/* Success Page Styling */
body[data-barba-namespace="success"] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main[data-barba-namespace="success"] {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem; /* Add some padding */
}
.success-animation .checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--accent-color);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--accent-color);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    margin: 0 auto 2rem auto;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--accent-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 50px var(--accent-color); }
}
main[data-barba-namespace="success"] .glass-effect-content {
    max-width: 600px; /* Limit width of success message box */
}
main[data-barba-namespace="success"] .page-title {
    color: var(--text-color-headings);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Cookie Consent Popup */
#cookieConsentPopup {
    background-color: rgba(18, 18, 18, 0.95) !important; /* Darker than default */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid var(--glass-border-color) !important;
    color: var(--text-color-light) !important;
}
#cookieConsentPopup p {
    color: var(--text-color-light) !important; /* Override p color */
}
#acceptCookieButton {
    background-color: var(--accent-color) !important;
    color: var(--accent-text-color) !important;
    border-radius: var(--border-radius-small) !important;
    padding: 0.6rem 1.2rem !important;
    transition: background-color 0.3s ease !important;
}
#acceptCookieButton:hover {
    background-color: var(--accent-color-darker) !important;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .section-title, .page-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }
    .section-padding {
        padding: 40px 0;
    }
    .page-padding {
        padding-top: calc(var(--navbar-height) + 20px);
        padding-bottom: 40px;
    }
    main[data-barba-namespace="privacy"].page-padding,
    main[data-barba-namespace="terms"].page-padding {
        padding-top: 80px; /* Adjust for mobile */
    }
    .glass-effect, .contact-form, .glass-effect-content {
        padding: 1rem;
    }
    .btn, button, input[type="submit"], input[type="button"] {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .footer-link { font-size: 0.9rem; }
    .site-footer h5 { font-size: 1rem; }
}

/* Parallax Backgrounds (Example for elements that might use it) */
.parallax-background {
    background-attachment: fixed; /* Simple parallax, can have performance implications */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Ensure hero text remains white and readable */
#hero .hero-title, #hero .hero-subtitle {
    color: #FFFFFF !important; /* Final override if Bootstrap styles conflict */
}

/* Placeholder for actual animated icons in statistics, using text for now */
.stat-card .animated-icon {
    /* If using FontAwesome or similar, style here */
    /* For text placeholder: */
    font-family: var(--font-family-headings);
    font-weight: 700;
    animation: pulseIcon 2s infinite ease-in-out;
}
@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Social icons in contact page and footer (text based) */
.social-icon-link {
    font-family: var(--font-family-headings);
    font-weight: bold;
    color: var(--text-color-medium);
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius-small);
}
.social-icon-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: rgba(var(--accent-color-rgb), 0.1);
    text-decoration: none;
}
*{
    opacity: 1 !important;
}
