/* style.css */

/* ------------------------------------ *\
    #ROOT / VARIABLES
\* ------------------------------------ */

:root {
    /* Color Palette (Split-Complementary & Neumorphic) */
    --color-bg-main: #e0e5ec;          /* Light grayish-blue, Neumorphic base */
    --color-bg-alt-section: #d1d9e6; /* Slightly darker/cooler for alternate sections */
    
    --color-primary: #0077B6;         /* Primary Blue - professional, main actions */
    --color-primary-light: #60a5fa;   /* Lighter blue for focus or subtle highlights */
    --color-secondary: #00B4D8;       /* Lighter Cyan/Blue - highlights, secondary info */
    
    --color-accent1: #FFB703;         /* Vibrant Yellow - CTAs, main accent */
    --color-accent2: #FB8500;         /* Deep Orange - secondary accent, warnings */

    --color-text: #34495e;            /* Dark grayish blue - body text */
    --color-text-light: #FFFFFF;      /* White text for dark backgrounds */
    --color-headings: #2c3e50;        /* Darker, strong headings */
    --color-link: var(--color-primary);
    --color-link-hover: var(--color-secondary);

    /* Neumorphic Shadows (derived from --color-bg-main) */
    --color-shadow-light: #ffffff; 
    --color-shadow-dark: #a3b1c6; 
    --shadow-distance: 6px;
    --shadow-blur: 12px;

    /* Fonts */
    --font-family-headings: 'Oswald', sans-serif;
    --font-family-body: 'Nunito', sans-serif;

    /* Sizing & Spacing */
    --header-height: 70px;
    --border-radius-soft: 8px;
    --border-radius-base: 15px;
    --border-radius-large: 25px;
    --container-width: 1140px;
    --gutter: 20px;

    /* Transitions & Animations */
    --transition-speed: 0.3s;
    --transition-bouncy: cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy animation */
    --transition-smooth: ease-in-out;
}


/* ------------------------------------ *\
    #RESET / BASE STYLES
\* ------------------------------------ */

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

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px */
}

body {
    font-family: var(--font-family-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* For Barba.js page transitions */
body[data-barba="wrapper"] {
    position: relative;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

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

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

ul, ol {
    list-style: none;
}

/* ------------------------------------ *\
    #TYPOGRAPHY
\* ------------------------------------ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--color-headings);
    line-height: 1.3;
    margin-bottom: 0.75em; /* Default margin */
    text-wrap: balance;
}

h1 { font-size: 2.8rem; margin-bottom: 0.5em; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

.section-title {
    text-align: center;
    margin-bottom: 1.5em; /* More space for section titles */
    color: var(--color-headings); /* Ensure high contrast */
    text-shadow: 1px 1px 3px rgba(50,50,50,0.2); /* Subtle shadow for depth */
}
.section-intro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5em;
    font-size: 1.1rem;
    color: var(--color-text);
}

p {
    margin-bottom: 1em;
}


/* ------------------------------------ *\
    #LAYOUT & GRID
\* ------------------------------------ */

.container {
    width: 90%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
}

.section-padding_alt {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(--color-bg-alt-section); 
}

/* Basic Grid (can be expanded) */
.grid {
    display: grid;
    gap: var(--gutter);
}

@media (min-width: 768px) {
    .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}


/* ------------------------------------ *\
    #GLOBAL COMPONENTS
\* ------------------------------------ */

/* --- Buttons --- */
.cta-button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-family-headings);
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--border-radius-soft);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-bouncy);
    border: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.neumorphic-button {
    background: var(--color-bg-main);
    color: var(--color-primary);
    border-radius: var(--border-radius-base);
    box-shadow: 
        var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) var(--color-shadow-dark),
        calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) var(--color-shadow-light);
}

.neumorphic-button:hover {
    transform: translateY(-2px);
    color: var(--color-secondary);
    box-shadow: 
        calc(var(--shadow-distance) - 2px) calc(var(--shadow-distance) - 2px) calc(var(--shadow-blur) - 2px) var(--color-shadow-dark),
        calc(-1 * (var(--shadow-distance) - 2px)) calc(-1 * (var(--shadow-distance) - 2px)) calc(var(--shadow-blur) - 2px) var(--color-shadow-light);
    text-decoration: none;
}

.neumorphic-button:active, .neumorphic-button.pressed {
    transform: translateY(1px);
    box-shadow: 
        inset calc(var(--shadow-distance) / 2) calc(var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) var(--color-shadow-dark),
        inset calc(-1 * var(--shadow-distance) / 2) calc(-1 * var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) var(--color-shadow-light);
    color: var(--color-primary);
}

/* Accent button style */
.hero-section .cta-button { /* Specific CTA style for hero, uses accent */
    background-color: var(--color-accent1);
    color: var(--color-text-dark); /* Ensure contrast on yellow */
    padding: 15px 35px;
    font-size: 1.1rem;
    box-shadow: 
        var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) rgba(0,0,0,0.1), /* Softer shadow for colored buttons */
        -2px -2px var(--shadow-blur) rgba(255,255,255,0.3) inset; /* Slight inner highlight */
}
.hero-section .cta-button:hover {
    background-color: var(--color-accent2);
    color: var(--color-text-light);
}


/* --- Forms --- */
.neumorphic-form .form-group {
    margin-bottom: 1.5rem;
}

.neumorphic-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--color-headings);
}

.neumorphic-input,
.neumorphic-form textarea {
    width: 100%;
    padding: 12px 18px;
    font-family: var(--font-family-body);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg-main);
    border: none;
    border-radius: var(--border-radius-base);
    box-shadow: 
        inset calc(var(--shadow-distance) / 2) calc(var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) var(--color-shadow-dark),
        inset calc(-1 * var(--shadow-distance) / 2) calc(-1 * var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) var(--color-shadow-light);
    transition: box-shadow var(--transition-speed) var(--transition-smooth);
}

.neumorphic-input:focus,
.neumorphic-form textarea:focus {
    outline: none;
    box-shadow: 
        inset 2px 2px 4px var(--color-shadow-dark),
        inset -2px -2px 4px var(--color-shadow-light),
        0 0 0 2px var(--color-primary-light); /* Focus ring */
}

.neumorphic-form textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text);
}
.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}
.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}


/* --- Cards --- */
.neumorphic-card, .card { 
    background-color: var(--color-bg-main);
    border-radius: var(--border-radius-large); 
    padding: var(--gutter);
    box-shadow: 
        var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) var(--color-shadow-dark),
        calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) var(--color-shadow-light);
    transition: transform var(--transition-speed) var(--transition-bouncy), box-shadow var(--transition-speed) var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    overflow: hidden; 
}

.neumorphic-card:hover, .card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        calc(var(--shadow-distance) + 3px) calc(var(--shadow-distance) + 3px) calc(var(--shadow-blur) + 5px) var(--color-shadow-dark),
        calc(-1 * (var(--shadow-distance) + 3px)) calc(-1 * (var(--shadow-distance) + 3px)) calc(var(--shadow-blur) + 5px) var(--color-shadow-light);
}

.card-image { 
    width: 100%; 
    height: 220px;  /* General fixed height, adjust per section if needed */
    border-radius: var(--border-radius-base); 
    overflow: hidden; 
    margin-bottom: 1rem; 
    display: flex; 
    justify-content: center;
    align-items: center;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.card-content {
    width: 100%; 
}
.card-content .card-title,
.card-content h3 { 
    color: var(--color-headings);
    margin-bottom: 0.5em;
    font-size: 1.3rem;
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 1em;
}

.read-more-button {
    display: inline-block;
    margin-top: auto; 
    padding: 8px 18px;
    font-family: var(--font-family-headings);
    font-size: 0.9rem;
    background-color: transparent;
    color: var(--color-accent1);
    border: 2px solid var(--color-accent1);
    border-radius: var(--border-radius-soft);
    text-transform: uppercase;
    font-weight: 700;
    transition: all var(--transition-speed) var(--transition-smooth);
}
.read-more-button:hover {
    background-color: var(--color-accent1);
    color: var(--color-text-dark); 
    text-decoration: none;
}


/* ------------------------------------ *\
    #HEADER & NAVIGATION
\* ------------------------------------ */

.site-header.neumorphic-header {
    background-color: var(--color-bg-main);
    padding: 0; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px var(--shadow-distance) var(--shadow-blur) var(--color-shadow-dark); 
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}
.logo:hover {
    color: var(--color-secondary);
}

.main-nav .nav-links {
    display: flex;
    align-items: center;
}

.main-nav .nav-links li {
    margin-left: 25px;
}

.main-nav .nav-links a {
    font-family: var(--font-family-body);
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-speed) var(--transition-smooth);
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed) var(--transition-smooth);
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active { 
    color: var(--color-primary);
}
.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    width: 100%;
}


/* --- Mobile Navigation --- */
.nav-toggle {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; 
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: transform var(--transition-speed) var(--transition-smooth), background-color var(--transition-speed) var(--transition-smooth);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: transform var(--transition-speed) var(--transition-smooth), top var(--transition-speed) var(--transition-smooth), bottom var(--transition-speed) var(--transition-smooth);
}
.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* Active state for hamburger */
.nav-toggle.active .hamburger {
    background-color: transparent; 
}
.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}


@media (max-width: 768px) {
    .main-nav .nav-links {
        display: none; 
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-bg-main);
        padding: 20px 0;
        box-shadow: 
            0px var(--shadow-distance) var(--shadow-blur) var(--color-shadow-dark);
        border-top: 1px solid var(--color-shadow-dark);
    }
    .main-nav .nav-links.active { 
        display: flex;
    }
    .main-nav .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav .nav-links a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    .main-nav .nav-links a::after { display: none; } 

    .nav-toggle {
        display: block; 
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}


/* ------------------------------------ *\
    #FOOTER
\* ------------------------------------ */

.site-footer.neumorphic-footer {
    background-color: var(--color-bg-main); 
    color: var(--color-text);
    padding: 40px 0 20px;
    margin-top: 40px; 
    box-shadow: 0px calc(-1 * var(--shadow-distance)) var(--shadow-blur) var(--color-shadow-dark); 
}


.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.site-footer h4 {
    font-family: var(--font-family-headings);
    color: var(--color-headings); 
    font-size: 1.1rem;
    margin-bottom: 15px;
}


.site-footer ul li {
    margin-bottom: 8px;
}

.site-footer a {
    color: var(--color-link);
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

.footer-social ul {
    display: flex;
    flex-direction: column; 
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-shadow-dark); 
    font-size: 0.9rem;
}


/* ------------------------------------ *\
    #SECTION SPECIFIC STYLES
\* ------------------------------------ */

/* --- Hero Section --- */
.hero-section {
    position: relative;
    color: var(--color-text-light); 
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-overlay { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); 
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    font-size: 3.5rem;
    color: var(--color-text-light); 
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light); 
    margin-bottom: 1.5em;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}


@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-section { padding: 80px 0; min-height: 60vh; }
}

/* --- Our Process (Timeline) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after { 
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}
.timeline-item { /* This is the .neumorphic-card */
    padding: var(--gutter);
    position: relative;
    width: 50%;
    margin-bottom: 30px; 
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left;}

.timeline-item:nth-child(odd) .timeline-content { align-items: flex-end; } /* For text content */
.timeline-item:nth-child(even) .timeline-content { align-items: flex-start; }

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text-light);
    background-color: var(--color-primary);
    border-radius: 50%;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 0 0 4px var(--color-bg-main), 
                inset 0 2px 0 rgba(0,0,0,0.08), 
                0 3px 0 4px rgba(0,0,0,0.05);
}
.timeline-item:nth-child(odd) .timeline-icon { right: -25px; }
.timeline-item:nth-child(even) .timeline-icon { left: -25px; }

.timeline-content {
    position: relative;
    /* align-items: center already on .card (timeline-item) */
}
.timeline-title {
    margin-top: 0;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .timeline::after { left: 25px; } 
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 15px; text-align: left !important; left:0 !important; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-icon { left: 0px !important; } 
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        align-items: flex-start; /* All text left aligned on mobile */
    }
}


/* --- Gallery, Success Stories, Case Studies, News, Media --- */
.gallery-carousel, .success-stories-slider {
    display: flex;
    overflow-x: auto; 
    gap: var(--gutter);
    padding-bottom: 20px; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: thin; 
    scrollbar-color: var(--color-primary-light) var(--color-bg-main); 
}
.gallery-carousel::-webkit-scrollbar,
.success-stories-slider::-webkit-scrollbar {
    height: 8px;
}
.gallery-carousel::-webkit-scrollbar-thumb,
.success-stories-slider::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-light);
    border-radius: 4px;
}
.gallery-carousel .card,
.success-stories-slider .card {
    flex: 0 0 auto; 
    width: 300px; 
}

/* Specific card image sizes for certain sections */
.gallery-carousel .card-image { height: 200px; }
.case-studies-grid .card-image { height: 220px; }
.news-list .card .card-image { height: 180px; } /* news-item is the card */
.media-grid .card-image { height: 220px; }

.success-stories-slider .card .card-image {
    width: 150px; 
    height: 150px;
    border-radius: 50%; 
    margin-bottom: 1.5rem;
    /* align-items:center on .card handles centering of this block */
}
.success-stories-slider .card .card-content cite {
    display: block;
    margin-top: 1em;
    font-style: normal;
    font-weight: bold;
    color: var(--color-primary);
}

.case-studies-grid, .media-grid, .news-list, .resources-list, .press-releases-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gutter);
}


/* Resources Section */
.resource-item { /* Has .neumorphic-card */
    padding: var(--gutter);
}
.resource-item h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
}
.resource-item h4 a {
    color: var(--color-primary);
    font-size: 1.1rem;
}
.resource-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Press Section */
.press-release-item { /* Has .neumorphic-card */
    padding: var(--gutter);
}
.press-release-item .press-title {
    font-size: 1.2rem;
    color: var(--color-headings);
    margin-top: 0;
}
.press-release-item .press-date {
    display: block;
    font-size: 0.85rem;
    color: var(--color-secondary);
    margin-bottom: 0.75em;
}


/* --- Careers Section --- */
.careers-content .job-opening { /* Has .neumorphic-card */
    margin-bottom: var(--gutter);
    padding: var(--gutter);
}
.job-opening .job-title {
    color: var(--color-primary);
    margin-top: 0;
}
.job-opening .job-location {
    font-style: italic;
    color: var(--color-secondary);
    margin-bottom: 0.5em;
}
.careers-content .neumorphic-button { /* Applied to "Mám Záujem" */
    margin-top: 1em;
    background-color: var(--color-accent1);
    color: var(--color-text-dark);
}
.careers-content .neumorphic-button:hover {
    background-color: var(--color-accent2);
    color: var(--color-text-light);
}
.careers-note {
    text-align: center;
    margin-top: 2em;
    font-size: 0.95rem;
}
.careers-note a {
    font-weight: bold;
}

/* --- Contact Section --- */
.contact-form { /* Has .neumorphic-form */
    max-width: 700px;
    margin: 0 auto 30px auto;
}
.contact-form .neumorphic-button { /* Send button */
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.contact-form .neumorphic-button:hover {
    background-color: var(--color-accent1);
    color: var(--color-text-dark);
}
.contact-details {
    text-align: center;
    margin-top: 2rem;
}
.contact-details h3 {
    margin-bottom: 1rem;
}
.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}


/* ------------------------------------ *\
    #PAGE SPECIFIC (PRIVACY, TERMS, SUCCESS)
\* ------------------------------------ */
.privacy-page-container, .terms-page-container {
    padding-top: calc(var(--header-height) + 40px); /* Space for fixed header */
    padding-bottom: 40px;
}
.privacy-page-container .container > *,
.terms-page-container .container > * { /* Target direct children for styling if needed */
    margin-bottom: 1.5rem;
}

.success-page-container {
    padding-top: var(--header-height); /* Ensure it doesn't overlap header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}
.success-page-container .neumorphic-card {
    max-width: 500px;
    width: 90%;
    padding: 30px var(--gutter);
}
.success-page-container h1 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.success-page-container p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.success-page-container .neumorphic-button { /* Back to Home button */
    background-color: var(--color-accent1);
    color: var(--color-text-dark);
}
.success-page-container .neumorphic-button:hover {
    background-color: var(--color-accent2);
    color: var(--color-text-light);
}


/* ------------------------------------ *\
    #ANIMATIONS & TRANSITIONS
\* ------------------------------------ */

/* --- Barba.js Page Transition --- */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary); 
    z-index: 9999;
    transform: translateY(100%); 
    /* JS will handle animating this */
}


/* --- Animate on Scroll --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.7s var(--transition-bouncy), transform 0.7s var(--transition-bouncy);
    will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* ------------------------------------ *\
    #UTILITY CLASSES
\* ------------------------------------ */

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent1); }
.margin-top-large { margin-top: 40px; }
.margin-bottom-large { margin-bottom: 40px; }


/* ------------------------------------ *\
    #RESPONSIVE ADJUSTMENTS (Additional)
\* ------------------------------------ */

@media (max-width: 992px) { /* Tablets */
    .container { width: 95%; }
    h1 { font-size: 2.5rem; }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2rem; }
    
    .gallery-carousel .card,
    .success-stories-slider .card {
        width: 280px; 
    }
}

@media (max-width: 576px) { /* Small mobile */
    h1 { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.7rem; }
    .section-intro { font-size: 1rem; }

    .cta-button, button, input[type="submit"], input[type="button"] {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .hero-section .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .gallery-carousel .card,
    .success-stories-slider .card {
        width: 85vw; 
    }
    .card-image {
        height: 200px; /* Adjust if needed based on card width */
    }
    .success-stories-slider .card .card-image {
        width: 120px; 
        height: 120px;
    }
}
*{
    opacity: 1 !important;
}
.nav-toggle{
    display: none;
}