/* ============================================
   ZIEL - Global Stylesheet
   Learning Platform
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
    /* Primary Palette - Dark Navy Theme */
    --primary: #0F1D35;
    --primary-light: #162544;
    --primary-dark: #0A1425;
    --primary-deep: #060E1A;

    /* Accent Blue */
    --accent: #2563EB;
    --accent-light: #3B82F6;
    --accent-dark: #1D4ED8;
    --accent-hover: #1E40AF;

    /* Secondary Accent */
    --secondary: #06B6D4;
    --secondary-light: #22D3EE;

    /* Success / Warning / Danger */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --black: #000000;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Design Colors from User Request */
    --ziel-yellow: #EAB308;
    --ziel-blue-dark: #002D62;

    --theme-yellow: #E3BE1A;
    --theme-blue: #0D4F8B;

    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;
    --fs-5xl: 3.5rem;
    --fs-6xl: 4rem;

    /* Font Weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-5xl: 6rem;
    --space-6xl: 8rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 500;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
    margin-bottom: var(--space-md);
    color: var(--gray-600);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-dark);
}

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

ul, ol {
    list-style: none;
}

/* ---------- Section Spacing ---------- */
.section-padding {
    padding: var(--space-6xl) 0;
}

.section-padding-sm {
    padding: var(--space-4xl) 0;
}

/* ---------- Section Header ---------- */
.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-md);
}

.section-header .section-label .label-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.section-header h2 {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-extrabold);
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: var(--fs-md);
    color: var(--gray-500);
    max-width: 550px;
}

/* On dark backgrounds */
.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.65);
}

/* Centered header */
.section-header.text-center {
    text-align: center;
}

.section-header.text-center p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn-ziel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.3px;
}

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

.btn-ziel-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-ziel-outline {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-ziel-outline:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ziel-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

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

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

.btn-ziel-white:hover {
    background-color: var(--gray-100);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-ziel-lg {
    padding: 1rem 2.25rem;
    font-size: var(--fs-base);
}

.btn-ziel-sm {
    padding: 0.55rem 1.25rem;
    font-size: var(--fs-xs);
}

/* ---------- Navbar ---------- */
.navbar-main {
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1000 !important;
}

.navbar-main.scrolled {
    padding: 12px 0;
    background: #001A33 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.navbar-brand img {
    height: 45px;
    transition: all 0.3s ease;
}

.navbar-main.scrolled .navbar-brand img {
    height: 38px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    margin: 0 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: #EAB308 !important;
}

.nav-link:hover {
    color: #ffffff !important;
}


.btn-get-started {
    background: #fff;
    color: #002D62 !important;
    border-radius: 100px;
    padding: 14px 40px;
    font-weight: 500;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-get-started:hover {
    background: var(--ziel-yellow);
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);
}

@media (max-width: 991px) {
    .navbar-main {
        background: #001A33;
        padding: 15px 0;
    }
    .navbar-main.scrolled {
        padding: 12px 0;
    }
    .navbar-collapse {
        margin-top: 20px;
        padding-bottom: 20px;
    }
    .nav-link {
        margin: 10px 0;
    }
    .btn-get-started {
        margin-top: 15px;
        width: 100%;
    }
}

/* ---------- Footer ---------- */
.footer-ziel {
    background-color: var(--primary-deep);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-5xl) 0 var(--space-xl);
}

.footer-ziel .footer-brand {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-extrabold);
    color: var(--white);
    margin-bottom: var(--space-lg);
    display: inline-block;
}

.footer-ziel .footer-brand span {
    color: var(--accent-light);
}

.footer-ziel h6 {
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-ziel p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

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

.footer-ziel .footer-links li {
    margin-bottom: 10px;
}

.footer-ziel .footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-sm);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-ziel .footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-ziel .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-ziel .footer-contact li i {
    color: var(--accent-light);
    font-size: var(--fs-base);
    margin-top: 2px;
}

.footer-ziel .footer-social {
    display: flex;
    gap: 10px;
    margin-top: var(--space-lg);
}

.footer-ziel .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
    font-size: var(--fs-sm);
}

.footer-ziel .footer-social a:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-xl);
    margin-top: var(--space-3xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--fs-xs);
}

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

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

/* ---------- Utility Classes ---------- */
.text-accent { color: var(--accent) !important; }
.text-white { color: var(--white) !important; }
.fw-medium { font-weight: var(--fw-medium) !important; }
.fw-semibold { font-weight: var(--fw-semibold) !important; }
.fw-bold { font-weight: var(--fw-bold) !important; }
.font-heading { font-family: var(--font-heading) !important; }

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

/* ---------- Premium AOS Refinements ---------- */
[data-aos] {
    pointer-events: none;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1) !important; /* Premium Cubic Easing */
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Reducing default movement for a more subtle, high-end feel */
[data-aos^='fade'][data-aos^='fade'] {
    transition-property: opacity, transform;
}

[data-aos^='fade'][data-aos^='fade'].aos-animate {
    opacity: 1;
    transform: translateZ(0);
}

[data-aos='fade-up'] {
    transform: translateY(30px);
}

[data-aos='fade-down'] {
    transform: translateY(-30px);
}

[data-aos='fade-right'] {
    transform: translateX(-30px);
}

[data-aos='fade-left'] {
    transform: translateX(30px);
}

[data-aos='zoom-in'] {
    transform: scale(0.95);
}

[data-aos='zoom-in'] {
    transform: scale(0.95);
}

/* ---------- Disable animations for visited pages ---------- */
body.no-animations [data-aos],
body.no-animations .hero-title,
body.no-animations .hero-subtitle,
body.no-animations .hero-actions,
body.no-animations .hero-stats,
body.no-animations .hero-illustration,
body.no-animations .stat-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    visibility: visible !important;
}

body.no-animations .student-img,
body.no-animations .circle-bg {
    animation: none !important;
    transform: none !important;
}

/* Still allow subtle hover effects even if entrance animations are off */
body.no-animations .course-card-v2:hover {
    transform: translateY(-10px) !important;
    transition: transform 0.4s ease !important;
}
@media (max-width: 991.98px) {
    h1 { font-size: var(--fs-3xl); }
    h2 { font-size: var(--fs-2xl); }

    .section-padding {
        padding: var(--space-4xl) 0;
    }

    .section-header h2 {
        font-size: var(--fs-3xl);
    }

    .navbar-ziel .nav-link.active::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    h1 { font-size: var(--fs-2xl); }
    h2 { font-size: var(--fs-xl); }

    .section-padding {
        padding: var(--space-3xl) 0;
    }

    .section-header h2 {
        font-size: var(--fs-2xl);
    }

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


/* ═══════════════════════════════════════════════
   FOOTER (Shared across all pages)
   ═══════════════════════════════════════════════ */
.footer-main {
    background: #001A33; /* Dark Navy from design */
    padding: 80px 0 40px;
    color: #ffffff;
}

.footer-logo {
    height: 38px;
    display: block;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 260px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #EAB308; /* Brand Yellow hover */
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #B91C1C; /* Dark Red color as per reference */
}

.footer-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-contact-info {
    margin-bottom: 30px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-item i {
    font-size: 20px;
    color: #ffffff;
    margin-top: 2px;
}

.footer-contact-item p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-buttons img {
    height: 44px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-buttons img:hover {
    transform: scale(1.05);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 60px 0 30px;
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
    color: inherit;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 991px) {
    .footer-main { padding: 60px 0 30px; }
    .footer-links li { margin-bottom: 15px; }
}

@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: calc(100% - 400px) !important;
    }
}


