/* ===================================================
   Fizjoterapia Anna Jarosz – Custom Styles
   =================================================== */

:root {
    --color-primary: #5b8a72;
    --color-primary-dark: #3d6b54;
    --color-primary-light: #e8f0ec;
    --color-accent: #d4a574;
    --color-accent-light: #f5ece3;
    --color-dark: #2c3e36;
    --color-text: #3a3a3a;
    --color-text-light: #6b7b74;
    --color-bg: #fafbfa;
    --color-white: #ffffff;
    --color-border: #e2e8e5;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    padding-top: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.3;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
    border: none;
    box-shadow: none;
}

.navbar::before {
    display: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.6rem 0;
}

.navbar > .container {
    position: relative;
    z-index: 1;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
    transform: none;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.2;
    transition: color 0.4s ease;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.4s ease;
}

.navbar.scrolled .brand-text {
    color: var(--color-dark);
}

.navbar.scrolled .brand-subtitle {
    color: var(--color-text-light);
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--color-white) !important;
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link:focus {
    color: var(--color-primary) !important;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.4rem 0.6rem;
}

.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%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler {
    border-color: var(--color-border);
}

.navbar.scrolled .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%2858, 58, 58, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(160deg, #3d6b54 0%, #5b8a72 40%, #7ba693 100%);
}

/* Hero video background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        160deg,
        rgba(44, 62, 54, 0.75) 0%,
        rgba(61, 107, 84, 0.65) 40%,
        rgba(91, 138, 114, 0.6) 100%
    );
    z-index: 1;
}

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

.hero-content {
    padding: 2rem 0;
}

.hero-preheading {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    animation: fadeInUp 1s ease;
}

.hero-title .text-accent {
    color: var(--color-accent);
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    animation: bounceDown 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 138, 114, 0.35);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--color-white);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 138, 114, 0.3);
}

/* ===========================
   SECTION COMMON
   =========================== */
section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-section {
    background: var(--color-white);
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image {
    width: 320px;
    height: 430px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.about-image-accent {
    position: absolute;
    bottom: -15px;
    right: calc(50% - 175px);
    width: 320px;
    height: 400px;
    border: 3px solid var(--color-accent);
    border-radius: var(--radius-lg);
    opacity: 0.4;
    z-index: 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.about-stat {
    display: flex;
    flex-direction: column;
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ===========================
   SPECIALIZATIONS SECTION
   =========================== */
.specializations-section {
    background: var(--color-bg);
}

.spec-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.spec-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.spec-card--children .spec-card-icon {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.spec-card--adults .spec-card-icon {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.spec-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.spec-card-text {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.spec-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-card-list li {
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.spec-card-list li i {
    color: var(--color-primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ===========================
   METHODS SECTION
   =========================== */
.methods-section {
    background: var(--color-white);
}

.method-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.method-card:hover .method-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.method-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--color-dark);
}

.method-text {
    font-size: 0.92rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ===========================
   PATIENTS SECTION
   =========================== */
.patients-section {
    background: var(--color-bg);
}

.patient-group {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--color-border);
}

.patient-group-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary-light);
}

.patient-group-title i {
    color: var(--color-primary);
}

.patient-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.patient-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.98rem;
    color: var(--color-text);
}

.patient-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
    background: var(--color-white);
}

.contact-info-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--color-border);
}

.contact-info-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.contact-details li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-details li i {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.contact-details li strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.15rem;
}

.contact-details li span,
.contact-details li a {
    font-size: 0.95rem;
    color: var(--color-text);
    text-decoration: none;
}

.contact-details li a:hover {
    color: var(--color-primary);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-form-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--color-border);
}

.contact-form-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.contact-form-card .form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.contact-form-card .form-control {
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(91, 138, 114, 0.15);
}

.contact-form-card .btn-primary {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-white);
}

.footer-brand-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
}

.footer-contact li i {
    color: var(--color-primary);
    font-size: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.back-to-top-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.back-to-top-link:hover {
    color: var(--color-white);
}

/* ===========================
   COOKIE CONSENT
   =========================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 62, 54, 0.97);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-consent-banner a {
    color: #fff;
}

.cookie-consent-banner .btn-light {
    background: var(--color-white);
    color: var(--color-dark);
}

/* ===========================
   PAGE HEADER (for subpages)
   =========================== */
.page-header {
    margin-top: 0;
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(160deg, #3d6b54 0%, #5b8a72 40%, #7ba693 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* ===========================
   ANIMATION ON SCROLL
   =========================== */
.value-card, .service-card, .contact-info, .contact-form,
.stat-card, .spec-card, .method-card, .patient-group {
    /* JS observer will control opacity/transform */
}

/* ===========================
   STAT CARDS (reused from old)
   =========================== */
.stat-card {
    background: white;
    border-radius: var(--radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--color-primary);
}

/* ===========================
   CONTACT FORM (for kontakt page)
   =========================== */
.contact-info,
.contact-form {
    height: 100%;
}

.contact-info a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-primary-dark);
}

.contact-form .form-control {
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 0.75rem;
    font-family: var(--font-body);
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(91, 138, 114, 0.2);
}

/* ===========================
   BLOG MODAL
   =========================== */
#modalDescription {
    line-height: 1.8;
}

#modalDescription p {
    margin-bottom: 1rem;
}

#modalDescription h1,
#modalDescription h2,
#modalDescription h3,
#modalDescription h4,
#modalDescription h5,
#modalDescription h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

#modalDescription ul,
#modalDescription ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

#modalDescription li {
    margin-bottom: 0.5rem;
}

#modalDescription a {
    color: var(--color-primary);
    text-decoration: underline;
}

#modalDescription a:hover {
    color: var(--color-primary-dark);
}

#modalDescription blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* ===========================
   DROPDOWN MENUS
   =========================== */
.dropdown-menu {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
}

.dropdown-item {
    color: var(--color-text);
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* ===========================
   MAP
   =========================== */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 70px 0;
    }

    .navbar-collapse {
        background: rgba(44, 62, 54, 0.97);
        border-radius: var(--radius);
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .navbar.scrolled .navbar-collapse {
        background: var(--color-white);
        box-shadow: var(--shadow-md);
    }

    .navbar.scrolled .navbar-collapse .nav-link {
        color: var(--color-text);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 0;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .about-image {
        width: 250px;
        height: 340px;
    }

    .about-image-accent {
        width: 250px;
        height: 340px;
        right: calc(50% - 140px);
    }

    .spec-card {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .cta-title {
        font-size: 1.7rem;
    }
}

/* ===========================
   ACCESSIBILITY
   =========================== */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    .hero-scroll-indicator {
        animation: none;
    }
}

/* ===========================
   LOADING ANIMATION
   =========================== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* Services carousel (kept for potential blog/services page) */
.services-carousel-section {
    cursor: default;
}

.services-carousel-wrapper {
    overflow: hidden;
    margin: 0 -0.5rem;
}

.services-carousel-track {
    display: flex;
    width: 200%;
    gap: 0;
    transition: transform 0.4s ease-out;
}

.services-carousel-section:hover .services-carousel-track {
    animation: services-carousel-scroll 12s linear infinite;
}

@keyframes services-carousel-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.services-carousel-item {
    flex: 0 0 12.5%;
    padding: 0 0.5rem;
    min-width: 0;
}

@media (max-width: 991.98px) {
    .services-carousel-item {
        flex: 0 0 25%;
    }
}

@media (max-width: 767.98px) {
    .services-carousel-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .services-carousel-section:hover .services-carousel-track {
        animation: none;
    }
    .services-carousel-item {
        flex: 0 0 80%;
        max-width: 320px;
    }
}
