/* ============================================
   StudyLT - Study in Lithuania
   Professional Multi-Page Website Styles
   Design inspired by Estudiar Theme
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1a1a6e;
    --primary-light: #2d2d9e;
    --primary-dark: #0e0e4a;
    --primary-rgb: 26, 26, 110;
    --accent: #f5a623;
    --accent-light: #ffc857;
    --accent-dark: #e09100;
    --accent-rgb: 245, 166, 35;
    --success: #27ae60;
    /* STUDYLT CONTACT CONTRAST FIX 2026-08-22 */
    #contactForm .contact-info h3,#contactForm .contact-info h4,#contactForm .contact-info p,#contactForm .contact-info a,#contactForm .contact-info small,#contactForm .contact-info .social-links h4{color:#fff!important;opacity:1!important}#contactForm .contact-info>p{color:#e7f5f1!important}#contactForm .contact-detail__icon i{color:#ffbd2e!important}#contactForm .contact-detail__icon{background:rgba(255,255,255,.16)!important}
    ;
    --info: #2980b9;
/* STUDYLT CONTACT CONTRAST FIX 2026-08-22 */
    @ (-:){. .{-:}. .-{::-:}. .-{-:.}. .>.-{:!}. .-{-:}. .-{:( + ):-:--:}. .- .-{: !-:.!}}
    
    --white: #ffffff;
    --light-bg: #f5f7fb;
    --lighter-bg: #fafbfd;
    --text: #2c3e50;
    --text-light: #5a6a7a;
    --text-lighter: #8899aa;
    --border: #e4e8f0;
    --border-light: #f0f2f8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 45px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --max-width: 1240px;
}

/* ===== 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); color: var(--text); line-height: 1.7; overflow-x: hidden; background: var(--white); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.25; color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt { background: var(--light-bg); }
.section--dark { background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light)); color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 10px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: var(--transition); position: relative; overflow: hidden;
}
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: var(--transition); }
.btn:hover::after { background: rgba(255,255,255,0.1); }

.btn--primary { background: var(--accent); color: var(--primary-dark); }
.btn--primary:hover { background: var(--accent-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.35); }

.btn--secondary { background: var(--primary); color: var(--white); }
.btn--secondary:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3); }

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

.btn--outline-dark { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn--outline-dark:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn--lg { padding: 17px 40px; font-size: 16px; border-radius: 12px; }
.btn--sm { padding: 10px 22px; font-size: 13px; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 65px; }
.section-label {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--accent-dark); font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px;
}
.section-label::before, .section-label::after { content: ''; width: 35px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-header h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; letter-spacing: -0.5px; }
.section-header p { font-size: 17px; color: var(--text-light); max-width: 620px; margin: 0 auto; line-height: 1.8; }

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(14, 14, 74, 0.92); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header--scrolled { background: rgba(14, 14, 74, 0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.2); }
.header--light { background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--border); }
.header--light .nav-links a { color: var(--text); }
.header--light .logo-text { color: var(--primary-dark); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.logo-icon {
    width: 44px; height: 44px; background: var(--accent);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-size: 16px; font-weight: 900; color: var(--primary-dark);
    transition: var(--transition);
}
.logo:hover .logo-icon { transform: rotate(-5deg) scale(1.05); }
.logo-text { font-family: var(--font-heading); font-size: 22px; font-weight: 800; }
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    color: rgba(255,255,255,0.8); padding: 8px 15px;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cta {
    background: var(--accent) !important; color: var(--primary-dark) !important;
    font-weight: 700 !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--accent-light) !important; transform: translateY(-2px); }

.mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; padding: 8px; z-index: 1001; position: relative; }
.mobile-toggle span { display: block; width: 25px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all 0.3s ease; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    position: relative; overflow: hidden; padding-top: 80px;
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-shape {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08), transparent 70%);
}
.hero-shape--1 { width: 900px; height: 900px; top: -30%; right: -15%; }
.hero-shape--2 { width: 600px; height: 600px; bottom: -20%; left: -10%; background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 70%); }

.hero-accent { position: absolute; background: var(--accent); border-radius: 4px; }
.hero-accent--1 { width: 60px; height: 8px; top: 18%; left: 14%; transform: rotate(-30deg); animation: heroFloat 6s ease-in-out infinite; }
.hero-accent--2 { width: 8px; height: 50px; top: 22%; left: 11%; transform: rotate(-30deg); animation: heroFloat 6s ease-in-out infinite 0.3s; }
.hero-accent--3 { width: 45px; height: 6px; bottom: 22%; right: 14%; transform: rotate(25deg); animation: heroFloat 8s ease-in-out infinite 1s; }
.hero-accent--4 { width: 6px; height: 38px; bottom: 26%; right: 17%; transform: rotate(25deg); animation: heroFloat 8s ease-in-out infinite 1.3s; }

@keyframes heroFloat {
    0%, 100% { opacity: 0.8; transform: translateY(0) rotate(var(--r, -30deg)); }
    50% { opacity: 1; transform: translateY(-18px) rotate(var(--r, -30deg)); }
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.25);
    color: var(--accent); padding: 10px 22px; border-radius: 50px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(38px, 5.5vw, 68px); color: var(--white);
    margin-bottom: 22px; letter-spacing: -1.5px; line-height: 1.1;
}
.hero h1 span { color: var(--accent); display: block; }

.hero-text { font-size: 18px; color: rgba(255,255,255,0.72); margin-bottom: 38px; max-width: 540px; line-height: 1.8; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
    display: flex; gap: 45px; margin-top: 65px; padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat h3, .hero-stat .stat-number { font-family: var(--font-body); font-size: 38px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.hero-stat p, .hero-stat .stat-label { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: -40%; right: -15%;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06), transparent 70%);
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; position: relative; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 600px; margin: 0 auto; position: relative; }

.breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 20px; font-size: 14px; position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--accent); font-weight: 600; }

/* ===== CARDS ===== */
.card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); transition: var(--transition);
    overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(var(--accent-rgb), 0.2); }

.card-icon {
    width: 62px; height: 62px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--white); margin-bottom: 22px;
    transition: var(--transition);
}
.card:hover .card-icon { transform: rotate(-5deg) scale(1.05); }

.card-body { padding: 35px; }
.card-body h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.card-body p { font-size: 15px; color: var(--text-light); line-height: 1.75; }

/* ===== FEATURE GRID ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.feature-grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ===== UNIVERSITY CARDS ===== */
.uni-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(370px, 1fr)); gap: 28px; }
.uni-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition); }
.uni-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.uni-card__header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 28px 32px; color: var(--white); position: relative;
}
.uni-card__badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--accent); color: var(--primary-dark);
    padding: 5px 14px; border-radius: 50px; font-size: 11px; font-weight: 800;
    letter-spacing: 0.3px;
}
.uni-card__header h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; padding-right: 90px; }
.uni-card__header p { font-size: 13px; opacity: 0.75; margin-top: 6px; }

.uni-card__body { padding: 10px 0; }
.uni-card__row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 32px; border-bottom: 1px solid var(--border-light); font-size: 14px;
}
.uni-card__row:last-child { border-bottom: none; }
.uni-card__label { color: var(--text-light); }
.uni-card__value { font-weight: 700; color: var(--primary-dark); }

/* ===== PROGRAM CARDS ===== */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }

.program-card {
    background: var(--white); padding: 32px 26px; border-radius: var(--radius-lg);
    text-align: center; border: 2px solid transparent;
    transition: var(--transition); cursor: default;
}
.program-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.program-card__icon { font-size: 38px; color: var(--primary); margin-bottom: 16px; display: block; }
.program-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.program-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ===== COST TABLES ===== */
.costs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

.cost-box { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.cost-box__header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); padding: 28px 32px;
}
.cost-box__header h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; }
.cost-box__header p { font-size: 14px; opacity: 0.7; margin-top: 5px; }

.cost-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 32px; border-bottom: 1px solid var(--border-light);
}
.cost-item:last-child { border-bottom: none; }
.cost-item__label { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.cost-item__label i { color: var(--accent); font-size: 18px; width: 22px; text-align: center; }
.cost-item__value { font-weight: 700; color: var(--primary); font-size: 15px; white-space: nowrap; }
.cost-item__value--highlight { color: var(--success); }
.cost-item__value--accent { color: var(--accent-dark); font-size: 17px; }

/* ===== VISA CARDS ===== */
.visa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

.visa-card {
    background: var(--white); padding: 36px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border-left: 4px solid var(--accent);
    transition: var(--transition);
}
.visa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.visa-card h3 {
    font-family: var(--font-body); font-size: 18px; font-weight: 700;
    color: var(--primary-dark); margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
}
.visa-card h3 i { color: var(--accent); }
.visa-card li {
    padding: 9px 0; font-size: 14px; color: var(--text-light);
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.6;
}
.visa-card li i { color: var(--accent); margin-top: 5px; font-size: 11px; flex-shrink: 0; }

/* ===== SCHOLARSHIP CARDS ===== */
.scholarship-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 28px; }

.scholarship-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 36px;
    box-shadow: var(--shadow); border: 1px solid var(--border-light);
    transition: var(--transition);
}
.scholarship-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.scholarship-card__badge {
    display: inline-block; background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-dark); padding: 5px 16px; border-radius: 50px;
    font-size: 12px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.3px;
}
.scholarship-card h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.scholarship-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }

.step-card { text-align: center; padding: 30px 20px; position: relative; }
.step-number {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-size: 26px; font-weight: 800;
    color: var(--white); margin: 0 auto 22px;
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.25);
    transition: var(--transition);
}
.step-card:hover .step-number { transform: scale(1.1); box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.35); }
.step-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    padding: 85px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06), transparent 70%);
}
.cta-banner h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.68); font-size: 18px; max-width: 600px; margin: 0 auto 36px; position: relative; line-height: 1.8; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
    background: var(--white); border-radius: var(--radius);
    margin-bottom: 14px; overflow: hidden;
    border: 1px solid var(--border-light); transition: var(--transition);
}
.faq-item.active { border-color: var(--accent); box-shadow: var(--shadow-sm); }

.faq-question {
    padding: 22px 30px; display: flex; justify-content: space-between;
    align-items: center; cursor: pointer;
    font-weight: 600; font-size: 16px; color: var(--primary-dark);
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary-light); }
.faq-question i { color: var(--accent); transition: var(--transition); font-size: 13px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer__inner { padding: 0 30px 24px; font-size: 15px; color: var(--text-light); line-height: 1.85; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 45px; }

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg); padding: 48px; color: var(--white);
}
.

/* Contact page contrast and mobile readability */
.contact-info, .contact-info h2, .contact-info h3, .contact-info h4, .contact-info .contact-detail h4, .contact-info .contact-detail a, .contact-info .social-title { color:#fff !important; }
.contact-info .contact-detail p, .contact-info .contact-detail span, .contact-info .contact-detail small { color:#E7F2EF !important; opacity:1 !important; }
.contact-info .contact-detail__icon, .contact-info .contact-icon { color:#F9B42C !important; background:rgba(255,255,255,.12) !important; }
.contact-info .social-links a, .contact-info .social-link { color:#fff !important; background:rgba(255,255,255,.12) !important; }
.contact-info .social-links a:hover, .contact-info .social-link:hover { color:#063D33 !important; background:#F9B42C !important; }
.contact-hero p, .contact-section .section-subtitle { color:#4B5F6B !important; }
.contact-form input::placeholder, .contact-form textarea::placeholder, .contact-form select:invalid { color:#667784 !important; opacity:1 !important; }
@media (max-width:768px){ .contact-info{padding:32px 24px;} .contact-info h3{font-size:26px;line-height:1.25;} .contact-info .contact-detail h4{font-size:17px;} .contact-info .contact-detail p,.contact-info .contact-detail a{font-size:15px;line-height:1.55;} }
h3 { font-size: 28px; margin-bottom: 12px; }
.contact-info > p { opacity: 0.7; margin-bottom: 38px; font-size: 15px; line-height: 1.8; }

.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.contact-detail__icon {
    width: 48px; height: 48px; min-width: 48px;
    background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: var(--accent); transition: var(--transition);
}
.contact-detail:hover .contact-detail__icon { background: var(--accent); color: var(--primary-dark); }
.contact-detail h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-detail p { font-size: 14px; opacity: 0.8; }

.social-links { display: flex; gap: 12px; margin-top: 38px; }
.social-links a {
    width: 44px; height: 44px; background: rgba(255,255,255,0.08);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 16px; transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }

.contact-form {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 48px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-light);
}

.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--primary-dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 18px; border: 2px solid var(--border);
    border-radius: 10px; font-size: 14px; font-family: var(--font-body);
    transition: var(--transition); background: var(--lighter-bg); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
    width: 100%; padding: 17px; background: var(--accent);
    color: var(--primary-dark); font-family: var(--font-body);
    font-size: 16px; font-weight: 700; border: none;
    border-radius: 10px; cursor: pointer; transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3); }

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark); color: rgba(255,255,255,0.65);
    padding: 80px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 55px; }
.footer-col h4 { font-family: var(--font-body); color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 22px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: rgba(255,255,255,0.55); font-size: 14px; transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 80px 0; }
.content-section h2 { font-size: 32px; margin-bottom: 20px; }
.content-section h3 { font-size: 24px; margin-bottom: 14px; margin-top: 35px; }
.content-section p { font-size: 16px; color: var(--text-light); line-height: 1.85; margin-bottom: 18px; }
.content-section ul { padding-left: 0; margin-bottom: 20px; }
.content-section ul li {
    padding: 8px 0; font-size: 15px; color: var(--text-light);
    display: flex; align-items: flex-start; gap: 12px; line-height: 1.7;
}
.content-section ul li i { color: var(--accent); margin-top: 5px; font-size: 12px; flex-shrink: 0; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.06), rgba(var(--accent-rgb), 0.02));
    border: 1px solid rgba(var(--accent-rgb), 0.15); border-radius: var(--radius-lg);
    padding: 32px; margin: 30px 0;
}
.highlight-box h4 { font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--accent-dark); margin-bottom: 10px; }
.highlight-box p { margin-bottom: 0; }

/* ===== INFO BOX ===== */
.info-box {
    background: rgba(var(--primary-rgb), 0.03); border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius); padding: 24px 28px; margin: 24px 0;
    display: flex; align-items: flex-start; gap: 14px;
}
.info-box i { color: var(--primary); font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.info-box p { margin-bottom: 0; font-size: 14px; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .costs-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 30px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: var(--primary-dark);
        padding: 20px; box-shadow: var(--shadow-xl); border-radius: 0 0 var(--radius) var(--radius);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 12px 16px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; justify-content: center; }
    .mobile-toggle { display: block; }

    .hero { min-height: auto; padding: 110px 0 50px; }
    .hero h1 { font-size: 32px; letter-spacing: -0.5px; }
    .hero-content { max-width: 100%; }
    .hero-badge { font-size: 11px; padding: 8px 16px; margin-bottom: 20px; }
    .hero-text, .hero-description { font-size: 15px; margin-bottom: 28px; line-height: 1.7; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .hero-buttons .btn { width: 100%; justify-content: center; padding: 15px 24px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; margin-top: 40px; padding-top: 28px; }
    .hero-stat { flex: 0 0 calc(50% - 8px); text-align: center; }
    .hero-stat h3, .hero-stat .stat-number { font-size: 30px; }
    .hero-stat p, .hero-stat .stat-label { font-size: 11px; letter-spacing: 0.3px; }

    .hero h1 .highlight-box { font-size: 28px; padding: 12px 20px; margin-top: 8px; }

    .page-hero { padding: 110px 0 45px; }
    .page-hero h1 { font-size: 28px; }
    .page-hero p { font-size: 15px; }

    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid--4 { grid-template-columns: 1fr; }
    .uni-grid { grid-template-columns: 1fr; }
    .visa-grid { grid-template-columns: 1fr; }
    .scholarship-grid { grid-template-columns: 1fr; }
    .program-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .section-header { margin-bottom: 35px; }
    .section-header h2 { font-size: 26px; }
    .section-header p { font-size: 15px; }
    .section-label { font-size: 11px; letter-spacing: 2px; }
    .section-label::before, .section-label::after { width: 20px; }

    .cta-banner { padding: 55px 0; }
    .cta-banner h2 { font-size: 24px; }
    .cta-banner p { font-size: 15px; margin-bottom: 24px; }
    .cta-banner .btn { width: 100%; justify-content: center; }

    .faq-question { padding: 18px 20px; font-size: 15px; }
    .faq-answer__inner { padding: 0 20px 20px; font-size: 14px; }

    .contact-info { padding: 32px 24px; }
    .contact-info h3 { font-size: 22px; }
    .contact-form { padding: 28px 20px; }

    .compare-table { font-size: 0.82rem; }
    .compare-table th, .compare-table td { padding: 10px 8px; }

    .cost-item { padding: 14px 20px; font-size: 14px; }
    .cost-box__header { padding: 22px 20px; }

    .visa-card { padding: 24px 20px; }
    .scholarship-card { padding: 28px 20px; }

    .content-section { padding: 50px 0; }
    .content-section h2 { font-size: 26px; }
    .content-section h3 { font-size: 20px; }

    .breadcrumb { font-size: 12px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 100px 0 40px; }
    .hero h1 { font-size: 26px; }
    .hero h1 .highlight-box { font-size: 22px; padding: 10px 16px; }
    .hero-stat h3, .hero-stat .stat-number { font-size: 26px; }
    .hero-badge { font-size: 10px; padding: 7px 14px; }
    .hero-text, .hero-description { font-size: 14px; }
    .card-body { padding: 22px 18px; }
    .card-body h3 { font-size: 17px; }
    .contact-info { padding: 24px 18px; }
    .contact-form { padding: 22px 16px; }
    .program-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 100px 0 35px; }
    .page-hero h1 { font-size: 24px; }
    .uni-card__header { padding: 22px 20px; }
    .uni-card__header h3 { font-size: 16px; padding-right: 70px; }
    .uni-card__row { padding: 12px 20px; font-size: 13px; }
    .footer { padding: 50px 0 24px; }
    .footer-grid { margin-bottom: 30px; }
    .back-to-top { bottom: 70px; right: 16px; width: 40px; height: 40px; font-size: 0.9rem; }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(26, 26, 110, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 26, 110, 0.4);
}

/* ===== TESTIMONIALS GRID ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 0.75rem;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card .testimonial-author .author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-card .testimonial-author h4 {
    font-size: 0.95rem;
    color: var(--text);
    margin: 0;
}

.testimonial-card .testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-lighter);
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.btn--large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.6rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* University Official Website Links */
.uni-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.uni-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.uni-link i {
    font-size: 0.75em;
    margin-left: 4px;
}
.college-card__detail .uni-link {
    color: var(--primary);
}
.college-card__detail .uni-link:hover {
    color: var(--primary-dark);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: white;
    text-decoration: none;
}
.whatsapp-float i {
    font-size: 22px;
}
.whatsapp-float .whatsapp-text {
    display: inline;
}
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        padding: 14px;
        font-size: 14px;
        border-radius: 50%;
    }
    .whatsapp-float i { font-size: 20px; }
    .whatsapp-float .whatsapp-text {
        display: none;
    }
}
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 14px;
        right: 14px;
        padding: 12px;
    }
    .whatsapp-float i { font-size: 18px; }
}

/* Multilingual Welcome Banner */
.hero-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.welcome-lang {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.welcome-divider {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .hero-welcome {
        flex-direction: column;
        gap: 6px;
    }
    .welcome-divider {
        display: none;
    }
    .welcome-lang {
        font-size: 0.85rem;
    }
}

/* Comparison Table */
.compare-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
    min-width: 700px;
}
.compare-table thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}
.compare-table th {
    padding: 16px 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}
.compare-table th:first-child {
    text-align: left;
}
.compare-table td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.compare-table td:first-child {
    text-align: left;
    font-size: 0.9rem;
}
.compare-table tbody tr:hover {
    background-color: #f8f9ff;
}
.compare-table .compare-highlight {
    background: rgba(99, 102, 241, 0.06);
    font-weight: 600;
    color: var(--primary-dark);
}
.compare-table thead .compare-highlight {
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .compare-table {
        font-size: 0.82rem;
    }
    .compare-table th, .compare-table td {
        padding: 10px 8px;
    }
}

/* ==========================================================
   StudyLT 2026 responsive identity refresh
   Lithuania-focused service by Services Agency Global
   ========================================================== */
:root {
    --primary: #124b43;
    --primary-light: #1d6b60;
    --primary-dark: #082f2b;
    --primary-rgb: 18, 75, 67;
    --accent: #f2b134;
    --accent-light: #ffd36a;
    --accent-dark: #b97700;
    --accent-rgb: 242, 177, 52;
    --agency-blue: #245fb8;
    --light-bg: #f4f8f6;
    --lighter-bg: #fbfdfc;
    --text: #1f3441;
    --text-light: #526873;
    --text-lighter: #748892;
    --border: #dce8e4;
    --border-light: #edf3f1;
    --shadow-sm: 0 3px 10px rgba(8, 47, 43, 0.06);
    --shadow: 0 10px 30px rgba(8, 47, 43, 0.08);
    --shadow-md: 0 16px 38px rgba(8, 47, 43, 0.11);
    --shadow-lg: 0 22px 50px rgba(8, 47, 43, 0.14);
}

html { scroll-padding-top: 96px; }
body { min-width: 0; background: var(--lighter-bg); }
main, section, .container, .section, .content-section { min-width: 0; }
section[id] { scroll-margin-top: 96px; }

.header,
.header--scrolled {
    background: rgba(8, 47, 43, 0.96);
    box-shadow: 0 6px 24px rgba(4, 28, 25, 0.15);
}
.header--light { background: rgba(255,255,255,0.97); }
.nav { min-height: 72px; }
.logo-icon { border-radius: 14px; box-shadow: 0 8px 20px rgba(242,177,52,.2); }
.nav-links a { font-weight: 600; }
.nav-cta { box-shadow: 0 8px 22px rgba(242,177,52,.2); }

.hero {
    background:
        radial-gradient(circle at 82% 20%, rgba(242,177,52,.14), transparent 28%),
        linear-gradient(135deg, #062925 0%, #124b43 58%, #1d6b60 100%);
}
.hero-content { max-width: 760px; }
.hero h1 { max-width: 760px; text-wrap: balance; }
.hero-description,
.hero-text { color: rgba(255,255,255,.84) !important; }
.hero-stat p,
.hero-stat .stat-label { color: rgba(255,255,255,.72); }
.hero-badge { background: rgba(242,177,52,.13); border-color: rgba(242,177,52,.42); }
.highlight-box { color: var(--accent); }

.page-hero {
    background:
        radial-gradient(circle at 84% 0%, rgba(242,177,52,.13), transparent 30%),
        linear-gradient(135deg, #062925, #124b43 68%, #1d6b60);
}
.page-hero p { color: rgba(255,255,255,.82); }

.card,
.feature-card,
.program-card,
.uni-card,
.cost-box,
.visa-card,
.scholarship-card,
.contact-form,
.contact-info,
.faq-item,
.info-box {
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}
.card:hover,
.feature-card:hover,
.program-card:hover,
.uni-card:hover { box-shadow: var(--shadow-lg); }

.uni-card__header,
.cost-box__header {
    background: linear-gradient(135deg, #0b3b35, #1d6b60);
}
.uni-card__header h3,
.uni-card__header p,
.cost-box__header h3,
.cost-box__header p,
.cost-box__header i { color: #fff !important; }
.uni-card__badge { color: #082f2b; }

.compare-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--primary) var(--border-light);
}
.compare-table thead { background: linear-gradient(135deg, #082f2b, #1d6b60); }

.footer { position: relative; background: #062925; }
.footer-col ul a { color: rgba(255,255,255,.72); }
.footer-col p { color: rgba(255,255,255,.72); }
.footer-bottom { color: rgba(255,255,255,.72); flex-wrap: wrap; }
.footer-bottom::before {
    content: "StudyLT is the Lithuania-focused student platform of Services Agency Global";
    display: block;
    width: 100%;
    margin-bottom: 14px;
    color: var(--accent-light);
    font-weight: 700;
    letter-spacing: .01em;
}

.whatsapp-float { bottom: 22px; right: 22px; }
.back-to-top { bottom: 86px; right: 24px; }

@media (max-width: 768px) {
    html { scroll-padding-top: 82px; }
    section[id] { scroll-margin-top: 82px; }
    .nav { min-height: 68px; padding: 10px 0; gap: 10px; }
    .logo { gap: 8px; min-width: 0; }
    .logo-icon { width: 40px; height: 40px; flex: 0 0 40px; }
    .logo-text { font-size: 19px; white-space: nowrap; }
    .nav > .nav-cta { padding: 11px 15px; font-size: 13px; margin-left: auto; }
    .mobile-toggle { flex: 0 0 42px; width: 42px; height: 42px; }

    .nav-links {
        position: fixed;
        top: 68px;
        bottom: 0;
        max-height: calc(100dvh - 68px);
        overflow-y: auto;
        border-radius: 0;
        padding: 18px 24px 96px;
        background: rgba(6,41,37,.99);
    }
    .nav-links a { width: 100%; text-align: center; padding: 13px 16px; }

    .hero { overflow: hidden; padding-top: 104px; }
    .hero-shapes { overflow: hidden; }
    .hero-shape { max-width: 150vw; }
    .hero h1 { text-wrap: balance; }
    .hero-description,
    .hero-text { color: rgba(255,255,255,.84) !important; }
    .hero-buttons .btn { min-height: 50px; }

    .compare-table-wrapper {
        margin-inline: 0;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
    }
    .compare-table-wrapper::after {
        content: "Swipe to compare →";
        display: block;
        position: sticky;
        left: 0;
        padding: 9px 12px;
        background: #eef6f3;
        color: var(--primary-dark);
        font-size: 12px;
        font-weight: 700;
        text-align: center;
    }

    .uni-card__header h3 { color: #fff !important; line-height: 1.35; }
    .uni-card__row { gap: 14px; align-items: flex-start; }
    .uni-card__label { flex: 1 1 44%; }
    .uni-card__value { flex: 1 1 56%; text-align: right; overflow-wrap: anywhere; }

    .cost-box__header h3,
    .cost-box__header i { color: #fff !important; }
    .cost-item { gap: 14px; align-items: flex-start; }
    .cost-item__label { min-width: 0; }
    .cost-item__value { white-space: normal; text-align: right; }

    .info-box { width: 100%; max-width: 100%; margin-inline: 0; padding: 20px; overflow-wrap: anywhere; }
    .contact-form input,
    .contact-form select,
    .contact-form textarea { font-size: 16px; }
    .contact-form .btn,
    .btn-submit { width: 100%; min-height: 50px; justify-content: center; }

    .whatsapp-float { right: 14px; bottom: 14px; }
    .back-to-top { right: 15px; bottom: 70px; }
    .footer { padding-bottom: 86px; }
    .footer-col ul a { color: rgba(255,255,255,.74); }
    .footer-bottom::before { line-height: 1.55; }

    /* Homepage student-life split layout is inline; collapse it on phones. */
    #student-life > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
        align-items: stretch !important;
    }
    #student-life .info-box {
        display: block;
        width: 100%;
        min-width: 0;
    }
    #student-life .info-box h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        overflow-wrap: normal;
        word-break: normal;
    }
    #student-life .info-box ul,
    #student-life .info-box li {
        min-width: 0;
        overflow-wrap: normal;
        word-break: normal;
    }

    /* Keep wide data accessible without widening the whole page. */
    .table-wrapper,
    .programs-table-wrapper,
    .tuition-table,
    .budget-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
    }

    /* Inline auto-fit grids using a 280px minimum overflow at 320px. */
    main [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    main [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > * {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .info-box {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
    .info-box > i:first-child { display: block; margin: 0 0 12px; }
    .info-box h3,
    .info-box p,
    .info-box ul,
    .info-box li,
    .info-box strong {
        width: auto !important;
        max-width: 100% !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}

@media (max-width: 390px) {
    .container { padding-inline: 14px; }
    .logo-text { font-size: 17px; }
    .nav > .nav-cta { padding: 10px 12px; }
    .nav > .nav-cta i { display: none; }
    .mobile-toggle { padding: 7px; }
    .hero h1 { font-size: clamp(25px, 8vw, 30px); }
    .hero h1 .highlight-box { font-size: clamp(21px, 7vw, 26px); }
    .hero-stat { min-width: 0; }
    .hero-stat p,
    .hero-stat .stat-label { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* STUDYLT RESPONSIVE NAV FIX 2026-08-22 */
@media (max-width:1180px){.header .nav{position:relative;min-height:72px;gap:12px}.header .mobile-toggle{display:flex!important;flex-direction:column;justify-content:center;align-items:center;width:48px;height:48px;padding:10px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);cursor:pointer;z-index:1002}.header .mobile-toggle span{display:block!important;width:25px;height:3px;margin:3px 0;background:#fff!important;border-radius:3px}.header .nav-links{display:flex!important;position:absolute!important;top:calc(100% + 8px);left:0;right:0;z-index:1001;flex-direction:column!important;align-items:stretch!important;gap:4px!important;padding:12px!important;border-radius:16px;background:#073c35!important;box-shadow:0 18px 40px rgba(0,0,0,.28);max-height:0;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px);transition:opacity .2s ease,transform .2s ease,max-height .25s ease,visibility .2s}.header .nav-links.active,.header .nav-links.open,.header .nav-links--active,.header .nav:has(.mobile-toggle[aria-expanded="true"]) .nav-links{max-height:75vh;overflow-y:auto;opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.header .nav-links .nav-link{display:block!important;width:100%;padding:13px 16px!important;border-radius:10px;color:#fff!important;font-size:1rem!important;text-align:left}.header .nav-links .nav-link:hover,.header .nav-links .nav-link:focus,.header .nav-links .nav-link--active{background:rgba(255,189,46,.16)!important;color:#ffbd2e!important}.header .nav>.nav-cta{margin-left:auto;padding:.75rem 1rem;font-size:.9rem;white-space:nowrap}}
@media (max-width:600px){.header .nav{min-height:64px}.header .logo-icon{width:44px;height:44px;font-size:1rem}.header .logo-text{font-size:1.45rem}.header .nav>.nav-cta{display:none!important}.header .mobile-toggle{margin-left:auto}.header .nav-links{top:calc(100% + 6px);left:-4px;right:-4px;border-radius:14px}.header .nav-links .nav-link{padding:14px 16px!important;font-size:1.05rem!important}}
;

/* Mobile menu height fix */
@media (max-width: 768px) {
.nav-links.active { height: auto !important; max-height: calc(100vh - 74px) !important; overflow-y: auto !important; }
}


@media (max-width: 768px) {
.header .nav-links.active { height: auto !important; min-height: max-content !important; max-height: calc(100vh - 74px) !important; overflow-y: auto !important; }
}


/* Contact card contrast and color harmony */
#contactForm .contact-info { color: #eefaf7 !important; }
#contactForm .contact-info h3,
#contactForm .contact-info h4,
#contactForm .contact-info .contact-label,
#contactForm .contact-info strong { color: #ffffff !important; }
#contactForm .contact-info p,
#contactForm .contact-info span,
#contactForm .contact-info a { color: #e1f2ee !important; }
#contactForm .contact-info .contact-icon,
#contactForm .contact-info .contact-icon i { color: #ffbd2e !important; }
#contactForm .contact-info .social-links a,
#contactForm .contact-info .social-icons a { color: #ffffff !important; background: rgba(255,255,255,.14) !important; }
