/* Base Theme Variables - Modernized */
:root {
    /* Brand Colors */
    --wks-blue: #00335b;
    --wks-blue-hover: #002240;
    --wks-orange: #e54a0a;
    --wks-orange-hover: #c33e08;
    
    /* Modern Accents */
    --wks-blue-light: rgba(0, 51, 91, 0.05);
    --wks-orange-light: rgba(229, 74, 10, 0.08);
    
    /* Surface Colors */
    --bg-body: #fcfdfe;
    --bg-surface: #ffffff;
    --bg-subtle: #f4f6f9;
    
    /* Typography Colors */
    --text-dark: #1a202c;
    --text-muted: #64748b;
    --text-light: #ffffff;
    
    /* Borders & UI Constraints */
    --border-color: #e2e8f0;
    --border-color-light: #edf2f7;
    
    /* Modern Shadow System */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 25px 50px -12px rgba(0, 51, 91, 0.12);
    --shadow-focus: 0 0 0 4px rgba(229, 74, 10, 0.15);
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Animations */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-in-out;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: var(--transition-fast); 
}
li { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    color: var(--wks-blue);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section { padding: 100px 0; }
.bg-gray { background-color: var(--bg-subtle); }

/* Buttons - Modern & Clickable */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--wks-orange) 0%, #fa5c18 100%);
    color: var(--text-light) !important;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(229, 74, 10, 0.25);
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(229, 74, 10, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--wks-blue-light);
    color: var(--wks-blue);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--wks-blue);
    color: var(--text-light);
}

/* Header & Glassmorphism Topbar */
.header {
    position: fixed;
    top: 0; 
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.top-bar {
    background-color: var(--wks-blue);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.smart-school { 
    letter-spacing: 0.5px; 
    opacity: 0.9; 
    display: flex;
    align-items: center;
    gap: 6px;
}
.smart-school strong { font-weight: 700; color: var(--wks-orange); }

/* Navbar */
.navbar {
    padding: 16px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* WKS Logo */
.logo { display: flex; align-items: center; gap: 16px; }
.logo-box {
    position: relative;
    width: 44px; height: 44px;
}
.logo-shape {
    position: absolute; border-radius: 4px;
}
.blue-shape {
    width: 28px; height: 36px;
    background-color: var(--wks-blue);
    top: 0; left: 0;
}
.orange-shape {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--wks-orange), #fa5c18);
    bottom: 0; right: 0;
    box-shadow: 2px 2px 10px rgba(229, 74, 10, 0.3);
}

.logo-text { display: flex; flex-direction: column; }
.logo-text strong {
    color: var(--wks-blue); 
    font-size: 1.4rem; 
    line-height: 1; 
    letter-spacing: 1px;
    font-weight: 800;
}
.logo-text span {
    color: var(--text-dark); 
    font-weight: 600; 
    font-size: 0.95rem;
    margin-top: 2px;
}
.logo-text small {
    color: var(--text-muted); 
    font-size: 0.7rem; 
    font-weight: 500; 
    max-width: 200px; 
    line-height: 1.3;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex; gap: 32px; align-items: center;
}
.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    background: none; border: none; cursor: pointer;
    transition: var(--transition-fast);
}
.nav-link:hover { color: var(--wks-orange); }

/* Animated Underline */
.nav-link::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 0%; 
    height: 2px; 
    background-color: var(--wks-orange);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 6px; }
.dropdown-toggle i { font-size: 0.8rem; transition: transform 0.3s ease; }
.dropdown:hover .dropdown-toggle i { transform: rotate(180deg); color: var(--wks-orange); }

.dropdown-menu {
    position: absolute; 
    top: calc(100% + 15px); 
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-surface);
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    padding: 12px;
    border: 1px solid var(--border-color-light);
}

/* Invisible hover bridge */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block; 
    padding: 12px 16px;
    color: var(--text-dark); 
    font-size: 0.9rem; 
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--wks-orange-light); 
    color: var(--wks-orange);
    transform: translateX(4px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none; 
    background: none; 
    border: none; 
    font-size: 2rem;
    color: var(--wks-blue); 
    cursor: pointer; 
    transition: var(--transition-fast);
    z-index: 1100;
}
.mobile-toggle:hover { color: var(--wks-orange); }

/* Modern full-screen overlay navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--wks-blue);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-inner {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Ensure the inner container is never made invisible by child-div rules */
    opacity: 1 !important;
    transform: none !important;
}

.mobile-nav a { 
    font-weight: 700; 
    font-size: 1.5rem; 
    color: white; 
    padding: 12px 20px; 
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.03);
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav.open a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered entrance animation for links */
.mobile-nav.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open .mobile-nav-section:nth-child(5) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.mobile-nav.open .mobile-nav-section:nth-child(6) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.mobile-nav.open .mobile-nav-section:nth-child(7) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.mobile-nav.open .mobile-nav-inner > div:last-child { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

.mobile-nav a:hover {
    background-color: var(--wks-orange);
    color: white;
    transform: scale(1.05);
}

/* Only section accordion divs start hidden for stagger animation.
   .mobile-nav-inner must stay visible so all content renders correctly. */
.mobile-nav .mobile-nav-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
/* Last child (social links) also starts hidden for stagger animation */
.mobile-nav-inner > div:last-child {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Modern Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
}
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(105deg, rgba(0,25,48,0.92) 0%, rgba(0,51,91,0.6) 100%);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative; z-index: 10; display: flex; align-items: center; width: 100%;
}

.orange-box {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-dark);
    padding: 60px;
    max-width: 650px;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.5);
}

.hero-box {
    position: relative;
}

/* Adding an accent line to the hero box */
.hero-box::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 60px;
    height: 6px;
    background-color: var(--wks-orange);
    border-radius: 3px;
}

.hero-box h1 {
    font-size: 3.5rem; 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 24px;
    color: var(--wks-blue);
}
.hero-box p {
    font-size: 1.25rem; 
    margin-bottom: 40px; 
    color: var(--text-muted);
    font-weight: 400;
}

/* Quick Links - Below Hero */
.quick-links { padding: 0; margin-top: 0; position: relative; z-index: 20; }
.link-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--bg-surface); 
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg); 
    overflow: hidden;
}

.quick-link-card {
    display: flex; gap: 20px; padding: 40px 32px; 
    border-right: 1px solid var(--border-color-light);
    transition: var(--transition);
    background: var(--bg-surface);
}
.quick-link-card:last-child { border-right: none; }
.quick-link-card i {
    font-size: 2.5rem; 
    color: var(--wks-orange); 
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.quick-link-card h3 {
    color: var(--wks-blue); font-size: 1.15rem; margin-bottom: 8px; font-weight: 700;
}
.quick-link-card p {
    font-size: 0.9rem; color: var(--text-muted); line-height: 1.5;
}
.quick-link-card:hover { 
    background-color: var(--bg-body); 
    transform: translateY(-5px);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.02);
}
.quick-link-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Section Title */
.section-title h2 {
    color: var(--wks-blue); font-size: 2.5rem; font-weight: 800;
    margin-bottom: 48px; text-align: left;
    display: inline-block;
    position: relative;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 4px;
    background-color: var(--wks-orange);
    border-radius: 2px;
}

/* Cards (News & Features) - Modern Minimalist */
.news-grid, .features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}

.feature-col h2 { color: var(--wks-blue); font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.subtitle { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 30px; }

.news-card, .virtual-card {
    background: var(--bg-surface); 
    border-radius: var(--radius-lg); 
    overflow: hidden;
    box-shadow: var(--shadow); 
    transition: var(--transition);
    border: 1px solid var(--border-color-light);
    display: flex;
    flex-direction: column;
}
.news-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg); 
    border-color: transparent;
}

.news-image {
    height: 220px; 
    background-color: var(--bg-subtle); 
    background-size: cover; 
    background-position: center;
    position: relative;
}

/* Add a subtle dark gradient to images for premium feel */
.news-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 40%);
}

.news-content { padding: 32px; flex-grow: 1; display: flex; flex-direction: column; }
.news-date {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.85rem; color: var(--wks-orange); margin-bottom: 16px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.news-card h3 {
    font-size: 1.3rem; color: var(--wks-blue); margin-bottom: 16px; font-weight: 700; height: 3.2rem;
}
.news-card p {
    color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; flex-grow: 1;
}

.read-more {
    color: var(--wks-blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.95rem; margin-top: auto;
}
.read-more:hover { color: var(--wks-orange); gap: 10px; }
.line-clamp-2 { display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Forms - Floating Labels & Clean Inputs */
.form-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color-light);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control, .form-select, .form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
}

.form-control:focus, .form-select:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--wks-orange);
    box-shadow: 0 0 0 4px rgba(229, 74, 10, 0.15), var(--shadow);
    background: var(--bg-surface);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #a0aec0;
}

.form-file-input {
    display: block;
    width: 100%;
    border: 1px dashed var(--border-color);
    padding: 18px;
    border-radius: var(--radius);
    background: var(--bg-surface);
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-file-input:hover {
    border-color: var(--wks-orange);
    background: var(--wks-orange-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Testimonial */
.testimonial-card {
    background: var(--bg-surface); 
    padding: 40px; 
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow); 
    border: 1px solid var(--border-color-light);
    height: 100%; display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px; right: 30px;
    font-size: 6rem;
    color: var(--wks-blue-light);
    font-family: serif;
    line-height: 1;
}
.quote { font-size: 1.15rem; font-style: italic; color: var(--text-dark); font-weight: 400; line-height: 1.7; position: relative; z-index: 2; }
.author { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.avatar {
    width: 50px; height: 50px; border-radius: 50%; background-color: var(--wks-blue-light);
    color: var(--wks-orange); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
}
.author strong { display: block; color: var(--wks-blue); font-size: 1.05rem; }
.author span { font-size: 0.9rem; color: var(--text-muted); }

/* Virtual Tour Card */
.virtual-card {
    height: 100%;
    min-height: 300px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.virtual-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?q=80&w=800&auto=format&fit=crop');
    background-size: cover; background-position: center; transition: transform 0.6s ease;
}
.virtual-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 51, 91, 0.4); transition: var(--transition);
}
.virtual-card i {
    position: relative; z-index: 10; font-size: 4rem; color: var(--text-light);
    background: rgba(229, 74, 10, 0.9);
    width: 90px; height: 90px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(229, 74, 10, 0.4);
    transition: var(--transition);
    padding-left: 6px; /* center the play icon perfectly */
}
.virtual-card:hover .virtual-bg { transform: scale(1.08); }
.virtual-card:hover::after { background: rgba(0, 51, 91, 0.6); }
.virtual-card:hover i { transform: scale(1.1); background: var(--wks-orange); }

/* Benefits List */
.benefits-list li {
    display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px;
    color: var(--text-dark); font-weight: 500; font-size: 1.05rem;
}
.benefits-list i { 
    color: var(--wks-orange); 
    font-size: 1.5rem; 
    margin-top: 2px; 
    flex-shrink: 0; 
    background: var(--wks-orange-light);
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}

/* Facts Section */
.facts { 
    background: linear-gradient(135deg, var(--wks-blue) 0%, #001f38 100%); 
    color: var(--text-light); 
    padding: 120px 0; 
    position: relative;
    overflow: hidden;
}
/* Subtle pattern overlay for facts section */
.facts::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 40px; position: relative; z-index: 2; }
.fact-item {
    background: rgba(255,255,255,0.03);
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.fact-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
.fact-item i { font-size: 3rem; color: var(--wks-orange); margin-bottom: 20px; }
.fact-num { font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: 12px; }
.fact-text { font-size: 1rem; opacity: 0.9; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* Form Success/Layout additions */
.application-card {
    background: var(--bg-surface); padding: 50px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--border-color-light);
}

/* Footer - Clean & Professional */
.footer { 
    background-color: #0f172a; 
    color: #cbd5e1;
    padding: 80px 0; 
}
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; gap: 24px; }

.footer-brand strong { color: var(--text-light); font-size: 1.2rem; display: block; margin-bottom: 8px; font-weight: 700; }
.footer-brand p { font-size: 0.95rem; line-height: 1.6; }

.footer-links { display: flex; gap: 32px; }
.footer-links a { color: #cbd5e1; font-weight: 500; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--wks-orange); text-decoration: underline; text-underline-offset: 4px; }
.footer-links i { font-size: 1.2rem; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero { padding-top: 150px; }
    .hero-box h1 { font-size: 3rem; }
    .link-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-link-card:nth-child(2) { border-right: none; }
    .quick-link-card { border-bottom: 1px solid var(--border-color-light); }
    .quick-link-card:nth-last-child(-n+2) { border-bottom: none; }
    .news-grid, .features-grid, .fact-grid { grid-template-columns: repeat(2, 1fr); }
    .orange-box { max-width: 500px; padding: 40px; }
    .section { padding: 80px 0; }
}

@media (max-width: 768px) {
    .top-bar { display: none; } /* Space saving on mobile */
    .header { background: rgba(255, 255, 255, 0.95); } /* More opacity on mobile */

    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    
    .hero { min-height: 70vh; padding-top: 100px; padding-bottom: 60px; }
    .orange-box { 
        padding: 40px 24px; 
        margin: 0; 
        max-width: 100%; 
        border-radius: var(--radius); 
    }
    .hero-box h1 { font-size: 2.2rem; }
    .hero-box::before { display: none; }
    
    .quick-links { margin-top: -30px; }
    .link-grid { grid-template-columns: 1fr; border-radius: var(--radius); }
    .quick-link-card { border-right: none; padding: 30px 24px; }
    .quick-link-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-color-light); }
    .quick-link-card:last-child { border-bottom: none; }
    
    .news-grid, .features-grid, .fact-grid, .form-row { grid-template-columns: 1fr; gap: 20px; }
    
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 1.8rem; }

    .form-control, .form-select, .form-group input, .form-group select, .form-group textarea {
        padding: 14px 18px;
    }
    
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 20px; }
    
    .form-card, .application-card { padding: 30px 20px; }
    
    .fact-item { padding: 30px 20px; }
    .facts { padding: 80px 0; }
    .fact-num { font-size: 2.5rem; }

    /* Mobile Accordion Styles */
    .mobile-nav-section {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .mobile-nav-section-toggle {
        width: 100%;
        background: none;
        border: none;
        color: white;
        padding: 18px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition);
    }
    .mobile-nav-section-links {
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        opacity: 0;
    }
    .mobile-nav-section-toggle[aria-expanded="true"] + .mobile-nav-section-links {
        max-height: 800px;
        padding-bottom: 15px;
        opacity: 1;
    }
    .mobile-nav-section-toggle i {
        transition: transform 0.3s ease;
        color: var(--wks-orange);
    }
    .mobile-nav-section-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }
    .mobile-nav-section-links a {
        font-size: 1rem !important;
        padding: 12px 35px !important;
        text-align: left !important;
        border: none !important;
        background: none !important;
        opacity: 1 !important;
        transform: none !important;
        font-weight: 500 !important;
    }
    .mobile-nav-section-links a:hover {
        color: var(--wks-orange) !important;
        padding-left: 40px !important;
    }
}

/* ==========================================================================
   LANDING PAGE (FACHSCHULE WIRTSCHAFT) SPECIFIC STYLES
   ========================================================================== */

/* Hero Modernization */
.hero-landing {
    min-height: 100vh;
}
.overlay-gradient {
    background: linear-gradient(135deg, rgba(0,25,48,0.95) 0%, rgba(0,51,91,0.75) 50%, rgba(229,74,10,0.6) 100%);
}
.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: 60px;
    max-width: 750px;
}
.glass-box h1 {
    color: #ffffff;
    font-size: 4rem;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.glass-box p {
    color: #edf2f7;
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.6;
}
.glass-box-dark {
    background: rgba(0, 34, 64, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Badges */
.badge-accent {
    display: inline-block;
    background: var(--wks-orange);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(229, 74, 10, 0.4);
}

/* Buttons */
.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-actions .btn-secondary:hover {
    background: white;
    color: var(--wks-blue);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}
.benefit-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border-color-light);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--wks-blue-light);
}
.icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--wks-orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: var(--wks-orange);
    font-size: 2.5rem;
    transition: var(--transition);
}
.benefit-card:hover .icon-wrap {
    background: var(--wks-orange);
    color: white;
    transform: scale(1.1);
}
.benefit-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.focus-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.focus-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
}
.focus-item:hover {
    transform: translateX(10px);
    border-color: var(--wks-orange);
    box-shadow: var(--shadow);
}
.focus-item i {
    font-size: 2rem;
    color: var(--wks-orange);
    background: var(--wks-orange-light);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.focus-item h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.focus-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.badge-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
}
.skill-badge i {
    color: #4ade80;
}

/* Advanced Form Styling */
.form-wrapper {
    max-width: 850px;
    margin: 0 auto;
}
.form-header {
    margin-bottom: 40px;
}
.application-form-box {
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}
.modern-form .form-control {
    background: var(--bg-subtle);
    border-color: transparent;
}
.modern-form .form-control:focus {
    background: white;
    border-color: var(--wks-orange);
}

/* Radio Cards */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.radio-card input {
    display: none;
}
.radio-content {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background: var(--bg-body);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.radio-card input:checked + .radio-content {
    border-color: var(--wks-orange);
    background: var(--wks-orange-light);
    box-shadow: 0 10px 25px rgba(229, 74, 10, 0.15);
    transform: translateY(-2px);
}
.radio-content h4 {
    color: var(--wks-blue);
    margin-bottom: 4px;
}
.radio-content span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
}
.file-upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}
.file-upload-visual {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 2px dashed var(--wks-blue);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    color: var(--wks-blue);
    transition: all 0.3s ease;
}

.file-upload-input:focus + .file-upload-visual,
.file-upload-input:hover + .file-upload-visual {
    background: var(--wks-blue-light);
    border-color: var(--wks-orange);
    color: var(--wks-orange);
    box-shadow: 0 8px 20px rgba(229, 74, 10, 0.1);
}
.file-upload-visual i {
    font-size: 2rem;
    margin-bottom: 8px;
}

/* Custom Checkbox */
.checkbox-group {
    margin: 30px 0;
}
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
}
.custom-checkbox input {
    width: 24px;
    height: 24px;
    accent-color: var(--wks-orange);
    margin-top: 2px;
    cursor: pointer;
}
.checkbox-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.btn-submit {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
}

/* Responsive Overrides for Landing Page */
@media (max-width: 1024px) {
    .glass-box {
        padding: 40px;
    }
    .glass-box h1 {
        font-size: 3.2rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .split-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .glass-box {
        padding: 30px 20px;
        border-radius: var(--radius);
    }
    .glass-box h1 {
        font-size: 2.2rem;
    }
    .glass-box p {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
    .hero-landing { min-height: 80vh; }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .benefit-card {
        padding: 30px 24px;
    }
    .icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    .benefit-card h3 { font-size: 1.2rem; }
    .focus-item {
        padding: 18px;
        gap: 14px;
    }
    .focus-item i {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    .focus-item h4 { font-size: 1.05rem; }
    .application-form-box {
        padding: 30px 20px;
    }
    .radio-group {
        grid-template-columns: 1fr;
    }
    .btn-submit {
        padding: 16px;
        font-size: 1.05rem;
    }
    .badge-accent {
        font-size: 0.78rem;
        padding: 5px 12px;
    }
    .glass-box-dark {
        padding: 24px;
    }
    .skill-badge {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item[open] {
    border-color: var(--wks-orange);
    box-shadow: var(--shadow);
}
.faq-item summary {
    font-weight: 600;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--wks-blue);
    font-size: 1.1rem;
    outline: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item[open] summary i {
    transform: rotate(180deg);
}
.faq-item i {
    transition: transform 0.3s ease;
    color: var(--wks-orange);
    font-size: 1.2rem;
}
.faq-content {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pulsating Button Animation */
@keyframes pulsate {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 74, 10, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(229, 74, 10, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 74, 10, 0); }
}
.btn-pulsate {
    animation: pulsate 2s infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}
.btn-pulsate:hover {
    animation: none;
    transform: scale(1.05);
}

/* Calendar Widget */
.calendar-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.calendar-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.calendar-card .cal-date-box {
    background: var(--bg-gray);
    color: var(--wks-blue);
    border-radius: 8px;
    padding: 10px 15px;
    text-align: center;
    min-width: 80px;
}
.calendar-card .cal-date-box strong {
    font-size: 1.5rem;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}
.calendar-card .cal-date-box span {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}
.calendar-card h4 {
    margin-bottom: 5px;
    color: var(--wks-blue);
    font-size: 1.1rem;
}
.calendar-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Highlighted Event (Next 3 Days / Highlight Range) */
.highlight-event {
    border-left: 5px solid var(--wks-blue);
    background: linear-gradient(to right, var(--wks-blue-light), white);
    box-shadow: var(--shadow);
}
.highlight-event .cal-date-box {
    background: var(--wks-blue);
    color: white;
}
.highlight-event-badge {
    display: inline-block;
    background: var(--wks-blue);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulsateWarning 1.5s infinite;
}

/* Today Highlight - Specific Orange Accent */
.today-highlight {
    border: 2px solid var(--wks-orange);
    background: linear-gradient(to right, var(--wks-orange-light), white);
    transform: scale(1.02);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}
.today-highlight .cal-date-box {
    background: var(--wks-orange);
    color: white;
}
.today-badge {
    background: var(--wks-orange);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 8px;
}

/* Live Indicator & Pulse */
.live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--wks-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--wks-orange);
    border-radius: 50%;
    position: relative;
}
.pulse-dot::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background-color: var(--wks-orange);
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { width: 8px; height: 8px; opacity: 1; }
    100% { width: 24px; height: 24px; opacity: 0; }
}

@keyframes pulsateWarning {
    0% { opacity: 1; }
    50% { opacity: 0.7; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* Calendar Date Subtitle */
.calendar-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── Schulprofil Global Hero (from Leitbild) ── */
.schulprofil-hero {
    background: linear-gradient(135deg, var(--wks-blue) 0%, #001f38 100%);
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}
.schulprofil-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.5;
}
.schulprofil-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: var(--bg-body);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.schulprofil-hero-inner {
    position: relative; z-index: 2;
    max-width: 820px;
}
.schulprofil-hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(229, 74, 10, 0.18);
    color: #ff8c5a;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px; border-radius: 99px;
    margin-bottom: 20px;
    border: 1px solid rgba(229, 74, 10, 0.3);
}
.schulprofil-hero h1 {
    color: #fff;
    font-size: 3.5rem; font-weight: 800; line-height: 1.1;
    margin-bottom: 20px;
}
.schulprofil-hero h1 span { color: var(--wks-orange); }
.schulprofil-hero .lead {
    color: rgba(255,255,255,0.75);
    font-size: 1.2rem; line-height: 1.7;
    max-width: 640px;
}
@media (max-width: 768px) {
    .schulprofil-hero { padding-top: 100px; padding-bottom: 50px; }
    .schulprofil-hero h1 { font-size: 2.4rem; }
    .schulprofil-hero .lead { font-size: 1rem; }
    .schulprofil-hero .eyebrow { font-size: 0.72rem; padding: 5px 12px; }

    /* Calendar cards mobile */
    .calendar-card { padding: 14px; gap: 14px; }
    .calendar-card .cal-date-box { min-width: 60px; padding: 8px 10px; }
    .calendar-card .cal-date-box strong { font-size: 1.2rem; }
    .calendar-card h4 { font-size: 0.95rem; }
    .calendar-card p { font-size: 0.82rem; }
    .today-highlight { transform: none; }

    /* FAQ mobile */
    .faq-item summary { padding: 16px 18px; font-size: 0.95rem; gap: 12px; }
    .faq-content { padding: 0 18px 18px 18px; font-size: 0.9rem; }

    /* News card mobile */
    .news-card h3 { height: auto; font-size: 1.1rem; }
    .news-content { padding: 20px; }
    .news-image { height: 160px; }

    /* Testimonial mobile */
    .testimonial-card { padding: 28px 20px; }
    .testimonial-card::before { font-size: 4rem; top: 10px; right: 15px; }
    .quote { font-size: 1rem; }

    /* Footer mobile */
    .footer { padding: 50px 0; }
    .footer-brand { flex-direction: column; gap: 16px; }
}

/* ── Extra Small Devices (< 480px) ── */
@media (max-width: 480px) {
    .container { padding: 0 4%; }

    .logo-text span { font-size: 0.8rem; }
    .logo-text small { display: none; }
    .logo-box { width: 36px; height: 36px; }
    .blue-shape { width: 22px; height: 30px; }
    .orange-shape { width: 22px; height: 22px; }
    .navbar { padding: 10px 0; }

    .section { padding: 45px 0; }
    .section-title h2 { font-size: 1.5rem; margin-bottom: 32px; }

    .quick-link-card { padding: 22px 18px; gap: 14px; }
    .quick-link-card i { font-size: 1.8rem; }
    .quick-link-card h3 { font-size: 1rem; }
    .quick-link-card p { font-size: 0.82rem; }

    .fact-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .fact-item { padding: 20px 12px; }
    .fact-num { font-size: 2rem; }
    .fact-text { font-size: 0.78rem; letter-spacing: 0.5px; }
    .fact-item i { font-size: 2rem; margin-bottom: 12px; }
    .facts { padding: 60px 0; }

    .btn-primary { padding: 12px 24px; font-size: 0.9rem; }
    .btn-secondary { padding: 10px 18px; font-size: 0.9rem; }

    .footer-links a { font-size: 0.85rem; }
}

/* ── Touch-friendly enhancements ── */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover transforms on touch devices */
    .news-card:hover,
    .quick-link-card:hover,
    .edu-card:hover,
    .benefit-card:hover,
    .focus-item:hover,
    .fact-item:hover {
        transform: none;
    }

    /* Ensure minimum touch targets (44x44px) */
    .mobile-nav a,
    .mobile-nav-section-toggle {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .footer-links a {
        padding: 8px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Social posts: show overlay on mobile since no hover */
    .social-post .post-content {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
        justify-content: flex-end;
        padding-bottom: 12px;
    }
    .social-post .post-content i { display: none; }
    .social-post .post-content h4 { font-size: 0.85rem; margin-bottom: 2px; }
    .social-post .post-content span { font-size: 0.75rem; }
}

/* ── iOS viewport height fix ── */
@supports (-webkit-touch-callout: none) {
    .mobile-nav { height: -webkit-fill-available; }
}

/* ── Smooth scrolling ── */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

