/* ==========================================
   NDIS Website - Professional Styling
   Beautiful, Modern Design with Animations
   ========================================== */

/* Global Reset & Variables */
:root {
    --primary-color: #d63447;
    --primary-dark: #c12a3f;
    --primary-light: #e94f61;
    --secondary-color: #1b5e7f;
    --accent-color: #f39c12;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: #fffbf9;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */

.navbar {
    background: linear-gradient(135deg, #1b5e7f 0%, #144055 100%);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-wave {
    display: none;
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    z-index: 50;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.15rem 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    font-size: 2.7rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: -150px;
    margin-top: -0.3rem;
    margin-bottom: -0.3rem;
}

.logo-image {
    height: 126px;
    width: auto;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
}

.logo i {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    padding: 0.2rem 1.5rem;
    border-radius: 6px;
    text-shadow: none;
    font-size: 1.3rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::after {
    width: 100%;
}

/* Wave Header */
.wave-header {
    display: none;
}

.toggle-sidebar {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
    margin-left: auto;
}

.toggle-sidebar:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   DYNAMIC SIDEBAR
   ========================================== */

.sidebar {
    position: fixed;
    left: -400px;
    top: 0;
    width: 350px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2rem 0;
    z-index: 200;
    transition: left 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-sidebar {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-sidebar:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-weight: 500;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
    color: white;
    padding-left: 1.75rem;
}

.sidebar-link i {
    font-size: 1.25rem;
    min-width: 25px;
}

.sidebar-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    padding: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-info {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.sidebar-btn {
    width: 100%;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.sidebar-btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 150;
    transition: background 0.35s ease;
    pointer-events: none;
}

.overlay.active {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

/* ==========================================
   MAIN CONTENT & CONTAINER
   ========================================== */

main {
    flex: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    min-height: 100vh;
    background: radial-gradient(120% 80% at 20% 20%, rgba(91, 140, 255, 0.18), transparent 55%),
                radial-gradient(90% 60% at 80% 10%, rgba(255, 124, 255, 0.15), transparent 60%),
                #050816;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 110px 4vw 64px;
    color: #e9edff;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(65% 65% at 50% 40%, rgba(96, 123, 255, 0.28), rgba(5, 8, 22, 0.9));
    filter: blur(40px);
    opacity: 0.9;
    z-index: 0;
}

.hero-header {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto 32px;
    text-align: left;
}

.hero-kicker {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(233, 237, 255, 0.7);
    margin-bottom: 0.75rem;
}

.hero-title-top {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #f7f9ff;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.05rem;
    color: rgba(233, 237, 255, 0.78);
    line-height: 1.7;
    max-width: 900px;
    margin-bottom: 1.75rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    user-select: none;
    min-height: 48px;
    min-width: 48px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #f4c430 0%, #daa520 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 196, 48, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: #1a1a3e;
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 26, 62, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Hero slider */
.hero-slider {
    position: relative;
    margin: 28px auto 0;
    overflow: visible;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    pointer-events: auto !important;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

.hero-track {
    display: flex;
    gap: 0;
    transition: none;
    will-change: transform;
    padding: 0;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 600px;
}

.hero-panel {
    position: absolute;
    flex: 0 0 60vw;
    max-width: 60vw;
    width: 60vw;
    height: 600px;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    isolation: isolate;
    color: #f4f7ff;
    opacity: 0.4;
    transition: all 0.5s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
}

.hero-panel.active {
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.hero-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 8, 22, 0.75) 0%, rgba(5, 8, 22, 0.4) 60%, rgba(5, 8, 22, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.hero-panel.active::after {
    opacity: 0;
}

.panel-content {
    position: relative;
    z-index: 2;
    padding: 2.25rem;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.panel-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    color: rgba(244, 247, 255, 0.7);
}

.hero-panel h3 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin: 0.25rem 0;
}

.hero-panel p {
    color: rgba(244, 247, 255, 0.8);
    line-height: 1.6;
}

.panel-chip {
    align-self: flex-start;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fdfdff;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-panel.panel-1 {
    background: #000;
}

.hero-panel.panel-2 {
    background: #000;
}

.hero-panel.panel-2 .panel-content {
    display: none;
}

.panel-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: #000;
    transform: translate(-50%, -50%);
}

.hero-panel.panel-3 {
    background-image: linear-gradient(120deg, rgba(31, 95, 122, 0.45), rgba(13, 18, 34, 0.7)), url('help desk.png');
}

@media (max-width: 900px) {
    .hero {
        padding: 96px 6vw 48px;
    }
    .hero-panel {
        flex: 0 0 100%;
        min-height: auto;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .hero-track {
        padding: 0;
    }
    .panel-content {
        padding: 1.75rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .panel-video {
        object-fit: cover;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
    }
}

.hero-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    position: relative;
    min-height: 450px;
    width: 100%;
}

.ndis-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.carousel-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 900px;
    height: 400px;
    text-align: center;
    opacity: 0;
    transform: translateX(100px);
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--border-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.carousel-card .card-header,
.carousel-card h3,
.carousel-card p {
    position: relative;
    z-index: 2;
}

.carousel-card.card-slide-1 {
    background-image: url('Odyssey We Care 0.png');
}

.carousel-card.card-slide-2 {
    background-image: url('Odyssey We Care 1.png');
}

.carousel-card.card-slide-3 {
    background-image: url('Odyssey We Care 2.png');
}

.carousel-card.card-slide-4 {
    background-image: url('Odyssey We Care 3.png');
}

.carousel-card.card-slide-5 {
    background-image: url('Odyssey We Care 4.png');
}

.carousel-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 10;
}

.carousel-card.prev {
    opacity: 0;
    transform: translateX(-100px);
}

.card-header {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.carousel-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.carousel-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 20;
    box-shadow: 0 4px 15px rgba(214, 52, 71, 0.3);
    user-select: none;
    min-width: 48px;
    min-height: 48px;
}

.carousel-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(214, 52, 71, 0.5);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev-btn {
    left: -80px;
}

.carousel-nav.next-btn {
    right: -80px;
}

.illustration-placeholder {
    font-size: 8rem;
    color: rgba(214, 52, 71, 0.1);
}

.hero-content {
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.2s both;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.4);
}

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

.btn-secondary:hover {
    transform: translateY(-4px);
    background: #f8fafc;
    box-shadow: var(--shadow-xl);
}

.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    opacity: 0.15;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: white;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: white;
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: white;
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-40px) rotate(10deg);
    }
}

/* ==========================================
   SVG ANIMATION STYLES
   ========================================== */

.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.support-animation {
    width: 420px;
    height: 380px;
    max-width: 95%;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.12));
    animation: gentleFloat 6s ease-in-out infinite;
}

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

/* Wheelchair group - smooth forward motion */
#wheelchair-main {
    animation: wheelchairMotion 5s ease-in-out infinite;
    transform-origin: 260px 340px;
}

@keyframes wheelchairMotion {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

/* Caregiver - pushing motion */
#caregiver-main {
    animation: caregiverstriding 3s ease-in-out infinite;
    transform-origin: 225px 190px;
}

@keyframes caregiverstriding {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-2px);
    }
    75% {
        transform: translateY(-1px);
    }
}

/* Push arm left */
.push-arm-left {
    animation: armPushMotionLeft 3s ease-in-out infinite;
    transform-origin: 210px 180px;
}

@keyframes armPushMotionLeft {
    0%, 100% {
        transform: rotate(-35deg);
    }
    50% {
        transform: rotate(-42deg);
    }
}

/* Push arm right */
.push-arm-right {
    animation: armPushMotionRight 3s ease-in-out infinite;
    transform-origin: 240px 180px;
}

@keyframes armPushMotionRight {
    0%, 100% {
        transform: rotate(35deg);
    }
    50% {
        transform: rotate(42deg);
    }
}

/* Left leg stride */
.walk-leg-left {
    animation: legStrideMotion 2s ease-in-out infinite;
    transform-origin: 218px 210px;
}

@keyframes legStrideMotion {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(8deg);
    }
}

/* Right leg stride */
.walk-leg-right {
    animation: legStrideMotionRight 2s ease-in-out infinite;
    transform-origin: 232px 210px;
}

@keyframes legStrideMotionRight {
    0%, 100% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-8deg);
    }
}

/* Elderly person - gentle motion with wheelchair */
#elderly-main {
    animation: elderlyInMotion 5s ease-in-out infinite;
    transform-origin: 225px 290px;
}

@keyframes elderlyInMotion {
    0%, 100% {
        transform: translateX(0px) rotateZ(0deg);
    }
    50% {
        transform: translateX(10px) rotateZ(0.5deg);
    }
}

/* Care indicator line */
.care-indicator {
    animation: carePulseSubtle 3s ease-in-out infinite;
}

@keyframes carePulseSubtle {
    0%, 100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.4;
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: 8rem 0;
    background: var(--light-bg);
    margin-top: 2rem;
    scroll-margin-top: 100px;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.9;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   LANDING INFORMATION SECTION
   ========================================== */

.landing-info {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.sliding-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.sliding-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    animation: slideFromRight 0.8s ease-out forwards;
    opacity: 0;
}

.sliding-card:nth-child(1) {
    animation-delay: 0.1s;
}

.sliding-card:nth-child(2) {
    animation-delay: 0.2s;
}

.sliding-card:nth-child(3) {
    animation-delay: 0.3s;
}

.sliding-card:nth-child(4) {
    animation-delay: 0.4s;
}

.sliding-card:nth-child(5) {
    grid-column: 2 / 4;
    max-width: 300px;
    margin: 0 auto;
    animation-delay: 0.5s;
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sliding-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.card-content {
    text-align: center;
}

.card-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services {
    padding: 6rem 0;
    background: white;
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    animation: slideInUp 0.8s ease-out;
    justify-content: center;
    align-items: stretch;
}

.service-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: visible;
    cursor: pointer;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: scale(1.1) translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    z-index: 100;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-icon {
    font-size: 3rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.service-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 350px;
    box-sizing: border-box;
}

.service-features {
    list-style: none;
    text-align: left;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features i {
    color: var(--secondary-color);
    font-weight: bold;
}

.service-description {
    display: block;
    opacity: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: var(--transition);
}

.service-card:hover .service-description {
    display: block;
    opacity: 1;
}

.service-card:hover .service-features {
    display: block;
    opacity: 1;
}

/* ==========================================
   SUPPORT SECTION
   ========================================== */

.support {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e0f2fe 100%);
}

.support-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.support-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.timeline-item {
    margin-bottom: 2.5rem;
    position: relative;
    display: flex;
    gap: 2rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-marker::after {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-content {
    width: calc(50% - 40px);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    display: block;
    animation: countUp 2s ease-out forwards;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    padding: 6rem 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.contact-info {
    position: relative;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.contact-info {
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.contact-info p {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.footer-section a:hover {
    color: var(--primary-light);
    padding-left: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.social-links a:hover {
    background: var(--primary-light);
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .toggle-sidebar {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .logo {
        margin-left: 0 !important;
    }

    .logo-image {
        height: 80px !important;
    }

    .hero {
        min-height: auto;
        padding: 100px 1rem 2rem 1rem;
    }

    .hero-title-top {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        margin-top: 2rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .hero-content {
        width: 100%;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .hero-illustration {
        min-height: 350px;
        margin-top: 2rem;
    }

    .carousel-card {
        max-width: 90%;
        padding: 2rem;
        min-height: auto;
    }

    .carousel-card h3 {
        font-size: 1.3rem;
    }

    .carousel-card p {
        font-size: 0.95rem;
    }

    .card-header {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .carousel-nav.prev-btn {
        left: 5px;
    }

    .carousel-nav.next-btn {
        right: 5px;
    }

    .sidebar {
        width: 280px;
        left: -280px;
    }

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

    .about-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .services-grid {
        gap: 1rem;
    }

    .service-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .sliding-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sliding-card {
        padding: 1.5rem;
    }

    .sliding-card:nth-child(5) {
        grid-column: auto;
        max-width: 100%;
    }

    .support-timeline::before {
        left: 15px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0;
        margin-left: 40px;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline-marker {
        left: 0;
        transform: translateX(-70%);
        width: 50px;
        height: 50px;
    }

    .timeline-content {
        width: 100%;
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .stats {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .overlay {
        display: block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 0.5rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-image {
        height: 60px !important;
    }

    .logo span {
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 80px 1rem 1.5rem 1rem;
        gap: 0;
    }

    .hero-title-top {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
        line-height: 1.3;
    }

    .hero-tagline {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.5rem;
    }

    .hero-illustration {
        min-height: 300px;
        margin-top: 1.5rem;
    }

    .carousel-card {
        max-width: 95%;
        padding: 1.5rem;
        border-radius: 12px;
    }

    .carousel-card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .carousel-card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .card-header {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .carousel-nav.prev-btn,
    .carousel-nav.next-btn {
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-nav.prev-btn {
        left: 0;
    }

    .carousel-nav.next-btn {
        right: 0;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .about-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        padding: 0 0.75rem;
        line-height: 1.7;
    }

    .about-grid,
    .services-grid {
        gap: 1rem;
    }

    .about-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .about-card h3 {
        font-size: 1.1rem;
    }

    .about-card p {
        font-size: 0.9rem;
    }

    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .service-card {
        flex: 0 0 100%;
        padding: 1.25rem;
        border-radius: 12px;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .service-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .service-features li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }

    .landing-info {
        padding: 3rem 0;
    }

    .sliding-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }

    .sliding-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .sliding-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .sliding-card p {
        font-size: 0.85rem;
    }

    .card-content i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .support {
        padding: 3rem 0;
    }

    .support-timeline::before {
        left: 12px;
    }

    .timeline-marker {
        width: 45px;
        height: 45px;
        top: 15px;
    }

    .timeline-marker::after {
        width: 15px;
        height: 15px;
    }

    .timeline-item {
        margin-left: 35px;
        margin-bottom: 1.5rem;
    }

    .timeline-content {
        padding: 1.25rem;
        border-radius: 10px;
    }

    .timeline-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .stats {
        padding: 2.5rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .contact {
        padding: 3rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .contact-details {
        gap: 1rem;
    }

    .contact-item {
        gap: 0.75rem;
    }

    .contact-item i {
        font-size: 1.25rem;
        min-width: 25px;
    }

    .contact-form {
        gap: 1rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 16px;
        border-radius: 6px;
    }

    .btn-primary {
        font-size: 0.95rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section a {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }

    .footer-links {
        font-size: 0.8rem;
    }
}
