/* StudyUK - High-Conversion Modern Stylesheet */
:root {
    --primary-blue: #004eb5;
    --primary-dark: #003680;
    --dark-blue: #0b224e;
    --navy-bg: #071633;
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --accent-light: #fef3c7;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 78, 181, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; }
body { color: var(--text-main); background-color: var(--white); line-height: 1.65; font-size: 16px; overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 85px 0; }
.bg-light { background-color: var(--bg-light); }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6); }

/* Topbar */
.topbar { background: var(--navy-bg); color: #e2e8f0; font-size: 0.85rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.topbar-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-gold); font-weight: 600; }
.topbar-contacts { display: flex; gap: 20px; align-items: center; }
.topbar-contacts a { color: #cbd5e1; text-decoration: none; transition: var(--transition); font-weight: 500; }
.topbar-contacts a:hover { color: var(--accent-gold); }
.topbar-wa { background: rgba(37, 211, 102, 0.2); color: #86efac !important; padding: 3px 10px; border-radius: 20px; font-weight: 600 !important; }

/* Header & Nav */
.header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 999; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 52px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.65rem; font-weight: 800; color: var(--dark-blue); }
.logo-text span { color: var(--primary-blue); }
.nav-links { display: flex; list-style: none; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary-blue); }
.btn-nav { background: var(--primary-blue) !important; color: var(--white) !important; padding: 10px 22px !important; border-radius: var(--radius-sm); font-weight: 700 !important; box-shadow: 0 4px 14px rgba(0, 78, 181, 0.3); }
.btn-nav:hover { background: var(--primary-dark) !important; transform: translateY(-2px); }
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--dark-blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--accent-gold); color: var(--navy-bg); box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35); }
.btn-primary:hover { background: var(--accent-gold-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5); }
.btn-blue { background: var(--primary-blue); color: var(--white); box-shadow: 0 6px 18px rgba(0, 78, 181, 0.25); }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, 0.7); }
.btn-outline:hover { background: var(--white); color: var(--dark-blue); }
.btn-block { width: 100%; }

/* Titles */
.section-title { text-align: center; margin-bottom: 50px; }
.tagline { display: inline-block; color: var(--primary-blue); background: #e0edff; padding: 6px 16px; border-radius: 30px; font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; text-transform: uppercase; }
.tagline-gold { color: var(--accent-gold); background: rgba(245, 158, 11, 0.15); }
.section-title h2 { font-size: 2.4rem; font-weight: 800; color: var(--dark-blue); margin-bottom: 14px; letter-spacing: -0.5px; }
.section-title p { color: var(--text-muted); max-width: 680px; margin: 0 auto; font-size: 1.05rem; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-bg) 0%, #003680 50%, var(--primary-blue) 100%); color: var(--white); padding: 90px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.hero-content h1 { font-size: 3.3rem; font-weight: 800; line-height: 1.15; margin: 18px 0 20px; letter-spacing: -1px; }
.hero-content h1 span { color: var(--accent-gold); }
.hero-content p { font-size: 1.15rem; color: #e2e8f0; margin-bottom: 35px; }
.hero-btns { display: flex; gap: 16px; margin-bottom: 45px; flex-wrap: wrap; }
.hero-trust-badge { display: flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.08); padding: 14px 22px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); }

/* Stats Bar */
.stats-bar { background: var(--white); box-shadow: var(--shadow-lg); margin-top: -40px; position: relative; z-index: 10; border-radius: var(--radius-md); padding: 32px 20px; border: 1px solid var(--border-color); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--primary-blue); margin-bottom: 4px; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }

/* Accreditation Banner */
.accreditation-banner { padding: 50px 0; background: #f1f5f9; border-bottom: 1px solid var(--border-color); }
.accred-flex { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.accred-text { flex: 1.2; }
.accred-features { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; }
.accred-pill { background: var(--white); padding: 14px 20px; border-radius: var(--radius-md); border: 1px solid var(--border-color); display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 700; color: var(--dark-blue); box-shadow: var(--shadow-sm); }
.accred-pill span { color: var(--primary-blue); font-size: 1.2rem; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

/* Service Cards with Visual Header */
.service-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); }
.card-visual-header { height: 140px; background-size: cover; background-position: center; position: relative; }
.service-icon-overlay { position: absolute; bottom: -20px; left: 20px; width: 50px; height: 50px; background: var(--white); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.service-card-body { padding: 30px 24px 24px; }
.service-card-body h3 { font-size: 1.25rem; color: var(--dark-blue); margin-bottom: 10px; }
.service-card-body p { color: var(--text-muted); font-size: 0.92rem; }
.sfe-disclaimer { font-size: 0.78rem !important; color: #94a3b8 !important; margin-top: 10px; border-top: 1px dashed var(--border-color); padding-top: 8px; }

/* City Cards */
.city-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); }
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.city-photo { height: 190px; background-size: cover; background-position: center; transition: var(--transition); }
.city-card:hover .city-photo { transform: scale(1.04); }
.city-info { padding: 24px; }
.city-info h3 { font-size: 1.3rem; color: var(--dark-blue); margin-bottom: 8px; }
.city-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.city-badge { display: inline-block; background: #e0f2fe; color: var(--primary-blue); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }

/* Course Cards */
.course-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border-color); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: var(--transition); }
.course-card:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.course-thumb { height: 190px; background-size: cover; background-position: center; border-radius: var(--radius-sm); margin: -32px -32px 20px -32px; }
.course-badge { position: absolute; top: 20px; right: 20px; background: #ecfdf5; color: #059669; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; }
.course-rating { color: #f59e0b; font-size: 0.9rem; margin-bottom: 10px; }
.course-card h3 { font-size: 1.35rem; color: var(--dark-blue); margin-bottom: 10px; }
.course-awarded { font-size: 0.85rem; color: var(--primary-blue); font-weight: 700; margin-bottom: 14px; }
.course-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }
.course-meta { list-style: none; margin-bottom: 25px; padding-top: 15px; border-top: 1px solid var(--border-color); }
.course-meta li { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 8px; }

/* Process Cards */
.process-card { background: var(--white); padding: 35px 25px; border-radius: var(--radius-md); border: 1px solid var(--border-color); text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-gold); }
.process-step-badge { width: 54px; height: 54px; background: var(--primary-blue); color: var(--white); font-size: 1.3rem; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 6px 16px rgba(0, 78, 181, 0.3); }

/* Testimonials */
.review-score-box { background: var(--white); border-radius: var(--radius-lg); padding: 35px; text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); max-width: 500px; margin: 0 auto 40px; }
.review-stars { color: #f59e0b; font-size: 1.6rem; margin-bottom: 6px; }
.testimonial-card { background: var(--white); padding: 30px; border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.testimonial-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.testimonial-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-blue); }
.testimonial-name h4 { font-size: 1.05rem; color: var(--dark-blue); }
.testimonial-name p { font-size: 0.8rem; color: var(--text-muted); }
.testimonial-card p.quote { color: var(--text-main); font-size: 0.95rem; font-style: italic; }

/* Refer Banner */
.refer-banner { background: linear-gradient(135deg, var(--navy-bg) 0%, #1e1b4b 100%); border-radius: var(--radius-lg); padding: 60px 50px; color: var(--white); }
.refer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.refer-banner h2 { font-size: 2.3rem; margin-bottom: 15px; font-weight: 800; }
.refer-banner h2 span { color: var(--accent-gold); }
.refer-reward-badge { background: rgba(245, 158, 11, 0.15); border: 2px dashed var(--accent-gold); padding: 30px; border-radius: var(--radius-md); text-align: center; }
.refer-reward-badge .reward-amount { font-size: 2.8rem; font-weight: 800; color: var(--accent-gold); margin-bottom: 10px; }

/* Page Banners */
.page-banner { background: linear-gradient(135deg, var(--navy-bg) 0%, var(--primary-blue) 100%); color: var(--white); padding: 75px 0; text-align: center; }
.page-banner h1 { font-size: 2.9rem; font-weight: 800; margin-bottom: 12px; }
.page-banner h1 span { color: var(--accent-gold); }

/* About split */
.about-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about-visual-grid { position: relative; }
.about-main-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-logo-floating { position: absolute; bottom: -25px; right: 20px; background: var(--white); padding: 15px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); width: 130px; }
.about-logo-floating img { width: 100%; height: auto; }
.about-features-list { list-style: none; margin-top: 25px; }
.about-features-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-weight: 600; }
.about-features-list li span { color: var(--primary-blue); font-weight: bold; }

/* FAQ Accordion */
.faq-container { max-width: 850px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border-color); margin-bottom: 16px; overflow: hidden; }
.faq-item.active { border-color: var(--primary-blue); box-shadow: var(--shadow-sm); }
.faq-question { padding: 22px 26px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark-blue); font-size: 1.05rem; }
.faq-question .icon { font-size: 1.2rem; color: var(--primary-blue); transition: var(--transition); }
.faq-item.active .faq-question .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out, padding 0.35s ease; color: var(--text-muted); }
.faq-item.active .faq-answer { padding: 0 26px 22px 26px; max-height: 500px; }

/* Forms */
.form-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-color); padding: 45px; box-shadow: var(--shadow-md); max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: var(--dark-blue); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 78, 181, 0.12); }
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }
.alert-box { padding: 18px 22px; border-radius: var(--radius-sm); margin-top: 20px; font-weight: 700; text-align: center; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Contact Grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-info-card { background: var(--dark-blue); color: var(--white); border-radius: var(--radius-lg); padding: 40px; height: 100%; box-shadow: var(--shadow-md); }
.contact-info-card h3 { font-size: 1.6rem; margin-bottom: 12px; color: var(--white); }
.contact-detail-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-detail-item .icon { font-size: 1.4rem; color: var(--accent-gold); }
.contact-detail-item h4 { font-size: 1rem; color: var(--white); }
.contact-detail-item p, .contact-detail-item a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; }
.contact-detail-item a:hover { color: var(--accent-gold); }

/* Footer */
.footer { background: var(--navy-bg); color: var(--white); padding: 75px 0 25px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 18px; }
.footer-logo img { height: 48px; }
.footer-logo span { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.footer-logo span span { color: var(--accent-gold); }
.footer-col h4 { font-size: 1.1rem; color: var(--white); margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--accent-gold); }
.footer-badges { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.footer-badges span { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; color: #cbd5e1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 25px; text-align: center; color: #64748b; font-size: 0.85rem; }

/* Filter Toolbar */
.filter-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; background: var(--white); padding: 22px 28px; border-radius: var(--radius-md); border: 1px solid var(--border-color); margin-bottom: 40px; box-shadow: var(--shadow-sm); }
.filter-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn { background: #f1f5f9; border: 1px solid var(--border-color); padding: 9px 20px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; color: var(--text-main); text-decoration: none; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--primary-blue); color: var(--white); }
.search-box input { padding: 11px 18px; border-radius: 30px; border: 1.5px solid var(--border-color); font-size: 0.9rem; outline: none; }

/* Responsive */
.hero-students-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-img-box { position: relative; }
.hero-card-floating { position: absolute; bottom: -20px; left: 20px; right: 20px; background: var(--white); padding: 18px 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); text-align: center; border: 1px solid var(--border-color); }
.hero-card-floating h4 { color: var(--dark-blue); font-weight: 800; }

@media (max-width: 992px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid, .refer-grid, .about-split, .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: var(--white); padding: 25px; box-shadow: var(--shadow-lg); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}
