/* 
 * Sterling Study Abroad - Mobile-First Premium Style Sheet
 */

/* ----------------------------------------------------
 * 1. Root Variables & Reset
 * ---------------------------------------------------- */
:root {
    --primary: #2563eb;          /* Deep Trust Blue */
    --primary-hover: #1d4ed8;
    --secondary: #0ea5e9;        /* Sky Blue Accent */
    --accent: #10b981;           /* Emerald Success Green */
    --accent-glow: rgba(16, 185, 129, 0.15);
    --gold: #f59e0b;             /* Amber Gold */
    --dark: #0b0f19;             /* Premium Midnight Blue */
    --dark-muted: #1e293b;       /* Dark slate */
    --light: #f8fafc;            /* Crisp slate light */
    --light-border: #e2e8f0;
    --text-main: #334155;        /* Slate text */
    --text-muted: #64748b;
    --white: #ffffff;
    
    /* Premium Gradients */
    --grad-primary: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
    --grad-accent: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --grad-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    --grad-glow: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 70%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 10px 20px -8px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.35);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #fafbfc;
    background-image: url('/assets/uploads/body-bg.png');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 800px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

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

a:hover {
    color: var(--primary-hover);
}

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

/* ----------------------------------------------------
 * 2. Structure & Grid (Base: Mobile / Stacked)
 * ---------------------------------------------------- */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin: 0 auto 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.03em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--grad-accent);
    margin: 10px auto 0;
    border-radius: 50px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Layout Columns */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}

.detail-layout, .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
}

/* ----------------------------------------------------
 * 3. Navigation Header & Top Bar (Base: Mobile Hidden)
 * ---------------------------------------------------- */
.top-bar {
    display: none; /* Hidden on mobile */
}

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--light-border);
    padding: 12px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-bold {
    color: var(--primary);
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: none; /* Toggle visible via script */
    flex-direction: column;
    width: 100%;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: var(--shadow-lg);
    padding: 20px 16px;
    border-top: 1px solid var(--light-border);
    align-items: stretch;
    gap: 4px;
}

.nav-menu.open {
    display: flex;
}

.nav-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: rgba(37, 99, 235, 0.05);
}

.chevron-dropdown {
    width: 16px;
    height: 16px;
}

.cta-button {
    background: var(--grad-accent);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    display: block;
    margin-top: 8px;
    border: none;
}

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon-bars {
    width: 28px;
    height: 28px;
}

.top-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    color: var(--secondary);
    display: inline-block;
}

/* ----------------------------------------------------
 * 4. Hero Banner (Base: Mobile layout)
 * ---------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.94) 0%, rgba(30, 41, 59, 0.97) 100%),
                url('/assets/uploads/hero-bg.jpg') no-repeat center center/cover;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    width: 100%;
}

.btn-primary {
    background: var(--grad-accent);
    color: var(--white);
    box-shadow: 0 8px 20px -5px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.page-banner {
    background: linear-gradient(rgba(11, 15, 25, 0.85), rgba(11, 15, 25, 0.9)),
                url('/assets/uploads/page-banner.jpg') no-repeat center center/cover;
    padding: 60px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--primary);
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(1.6rem, 5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.breadcrumbs a {
    color: var(--secondary);
}

/* ----------------------------------------------------
 * 5. General Layout Features
 * ---------------------------------------------------- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-md);
    background-color: rgba(37, 99, 235, 0.07);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
}

.icon-box svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ----------------------------------------------------
 * 6. Country Details & Tabs System
 * ---------------------------------------------------- */
.tabs-container {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-border);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tabs-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background-color: var(--light);
    border-bottom: 1px solid var(--light-border);
}

.tab-btn {
    padding: 8px 16px;
    background-color: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--white);
    background: var(--grad-accent);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.tab-content {
    padding: 24px 16px;
}

.tab-panel h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.tab-panel p, .tab-panel li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.tab-panel ul, .tab-panel ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.tab-panel li {
    margin-left: 20px;
    list-style-type: disc;
}

.flag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* ----------------------------------------------------
 * 7. Sidebar Details & Inquiry Forms
 * ---------------------------------------------------- */
.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-border);
    padding-bottom: 10px;
}

.links-list li {
    list-style: none;
    margin-bottom: 10px;
}

.links-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background-color: var(--light);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: var(--dark);
    text-transform: uppercase;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: var(--light);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

.submit-button-full {
    width: 100%;
    background: var(--grad-accent);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.15);
    transition: var(--transition);
}

/* ----------------------------------------------------
 * 8. Blogs & Contact Grid
 * ---------------------------------------------------- */
.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
}

.blog-image {
    height: 180px;
    background-color: var(--light);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-info {
    padding: 20px;
}

.blog-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.blog-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-read-more {
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    margin-bottom: 24px;
    font-size: 1.35rem;
}

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

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.map-wrapper {
    margin-top: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    border: 1px solid var(--light-border);
}

/* ----------------------------------------------------
 * 9. Interactive Counters & Testimonial Carousel
 * ---------------------------------------------------- */
.counters-section {
    background: var(--grad-primary);
    color: var(--white);
    padding: 50px 0;
}

.counters-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.counter-item {
    text-align: center;
}

.counter-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    display: block;
}

.counter-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
    text-transform: uppercase;
}

.testimonial-carousel {
    max-width: 100%;
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-lg);
    padding: 30px 20px;
}

.testimonial-slide {
    text-align: center;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-main);
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 800;
}

.testimonial-role {
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* ----------------------------------------------------
 * 10. Footer Section
 * ---------------------------------------------------- */
.main-footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 60px 0 0;
    border-top: 5px solid var(--primary);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.logo-footer {
    margin-bottom: 16px;
}

.footer-desc {
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 6px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--grad-accent);
}

.footer-widget ul li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-widget ul a {
    color: #94a3b8;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

/* ----------------------------------------------------
 * 11. Floating Assessment Form Drawer
 * ---------------------------------------------------- */
.floating-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.widget-toggle {
    background: var(--grad-accent);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.widget-box {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 290px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-border);
    overflow: hidden;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.widget-box.open {
    display: block;
    opacity: 1;
}

.widget-header {
    background: var(--grad-primary);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h4 {
    color: var(--white);
    font-size: 1rem;
}

.widget-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.widget-form {
    padding: 20px;
    max-height: 380px;
    overflow-y: auto;
}

/* ----------------------------------------------------
 * 12. Partner Logo Ticker CSS (Infinite Loop)
 * ---------------------------------------------------- */
.logo-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 6px 0;
}

.logo-ticker-container::before, .logo-ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-ticker-track {
    display: flex;
    gap: 20px;
    width: calc(180px * 16);
    animation: tickerScroll 24s linear infinite;
}

.logo-ticker-item {
    width: 160px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
    user-select: none;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 8));
    }
}

/* FAQ Accordion Styling */
.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: #fafbfc;
    border-top: 0 solid var(--light-border);
}

.faq-body p {
    padding: 16px;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-icon {
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.quiz-step {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------------
 * 13. Media Queries (Mobile-First Scales Up)
 * ---------------------------------------------------- */

/* --- Tablet Devices (min-width: 768px) --- */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 24px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr); /* 2 cols on tablet */
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        min-height: 560px;
        padding: 100px 0;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .btn {
        width: auto;
    }
    
    .page-banner h1 {
        font-size: 2.75rem;
    }
    
    .counters-grid {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .counter-num {
        font-size: 3.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .widget-box {
        width: 350px;
    }
    
    /* Restore classic tabs layout on tablet/desktop */
    .tabs-navigation {
        flex-wrap: nowrap;
        gap: 0;
        padding: 0;
        background-color: var(--light);
        border-bottom: 1px solid var(--light-border);
    }
    
    .tab-btn {
        padding: 16px 20px;
        background: none;
        border: none;
        border-radius: 0;
        font-size: 0.9rem;
        border-bottom: 4px solid transparent;
    }
    
    .tab-btn.active {
        color: var(--primary);
        border-bottom-color: var(--primary);
        background-color: var(--white);
        box-shadow: none;
    }
}

/* --- Desktop Screens (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
    
    .section {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
    
    .section-title::after {
        width: 80px;
        height: 5px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .detail-layout {
        grid-template-columns: 2fr 1fr;
        gap: 50px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }
    
    /* Top bar displayed on Desktop */
    .top-bar {
        display: block;
        background-color: var(--dark);
        color: #cbd5e1;
        font-size: 0.85rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .top-bar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .contact-info span {
        margin-right: 24px;
        display: inline-flex;
        align-items: center;
        font-weight: 500;
    }
    
    .social-links a {
        color: #94a3b8;
        margin-left: 18px;
        font-weight: 600;
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }
    
    .social-links a:hover {
        color: var(--secondary);
    }
    
    /* Sticky Navigation Header on Desktop */
    .main-header {
        background-color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        padding: 18px 0;
    }
    
    .mobile-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        width: auto;
        gap: 8px;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 10px 18px;
        border-radius: 50px;
        border: 1px solid transparent;
    }
    
    .nav-link:hover, .nav-link.active {
        border: 1px solid rgba(37, 99, 235, 0.1);
    }
    
    .cta-button {
        padding: 12px 28px;
        border-radius: 50px;
        margin-left: 16px;
        margin-top: 0;
        display: inline-block;
        width: auto;
    }
    
    .hero {
        min-height: 620px;
        padding: 120px 0;
    }
    
    .hero h1 {
        font-size: 4.25rem;
    }
    
    .hero p {
        font-size: 1.25rem;
        margin-bottom: 45px;
    }
    
    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(37, 99, 235, 0.15);
    }
    
    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--grad-accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: var(--transition);
    }
    
    .feature-card:hover::before {
        transform: scaleX(1);
    }
    
    .feature-card:hover .icon-box {
        background: var(--grad-accent);
        color: var(--white);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
        transform: scale(1.05);
    }
    
    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(37, 99, 235, 0.1);
    }
    
    .blog-card:hover .blog-image img {
        transform: scale(1.05);
    }
    
    .links-list a:hover {
        background: var(--grad-accent);
        color: var(--white);
        border-color: var(--primary);
        transform: translateX(5px);
    }
    
    .footer-grid {
        grid-template-columns: 2.2fr 1fr 1fr 1.8fr;
        gap: 50px;
    }
    
    .footer-socials a:hover {
        background: var(--grad-accent);
        color: var(--white);
        border-color: var(--primary);
        transform: translateY(-3px);
    }
    
    .widget-box {
        width: 380px;
    }
}

/* Extra-small mobile adjustments */
@media (max-width: 480px) {
    .widget-box {
        width: calc(100vw - 40px);
        right: 0;
    }
}
