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

:root {
    --primary-color: #47c1e6;       /* Sky Blue primary */
    --primary-dark: #29abcf;        /* Darker Blue for hover */
    --primary-light: #eaf9fd;       /* Soft blue tint */
    --text-dark: #1f2937;           /* Slate gray text */
    --text-light: #ffffff;
    --border-color: #dbe4ea;
    --bg-light: #f3f7fa;            /* Light gray-blue background */
    --secondary-color: #47c1e6;     /* Map secondary to primary for consistency */
    --success-color: #10b981;
    --success-light: #d1fae5;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --danger-light: #fee2e2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Slim Top Bar */
.top-bar {
    background-color: var(--text-dark);
    color: var(--primary-light);
    padding: 6px 5%;
    display: flex;
    justify-content: flex-end;
    font-size: 0.75rem;
    font-weight: 600;
}

.top-bar span {
    margin-left: 20px;
}

/* Navbar */
.main-navbar, nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
    color: var(--text-dark);
}

.logo-accent {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-dark);
    background-color: var(--primary-light);
}

.login-nav-btn {
    background-color: var(--primary-color);
    color: white !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(71, 193, 230, 0.3);
}

.login-nav-btn:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(71, 193, 230, 0.4);
}

.logout-inline-form {
    margin: 0;
    display: inline-block;
}

.logout-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.logout-btn:hover {
    background-color: var(--danger-light);
    color: #b91c1c;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
        gap: 10px;
    }

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

    .logout-inline-form, .logout-btn {
        width: 100%;
    }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('/assets/images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    color: var(--text-light);
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #e2e8f0;
}

/* Auth Card */
.auth-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4b5563;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    outline: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background-color: #f9fafb;
    color: var(--text-dark);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Buttons */
.btn, .btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background-color: #070530;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(71, 193, 230, 0.3);
    text-align: center;
}

.btn:hover, .btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(71, 193, 230, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #4b5563;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    color: var(--text-dark);
}

.auth-toggle {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #6b7280;
}

.auth-toggle a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--primary-color);
}

/* Sections styling */
section {
    padding: 60px 8%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.privileges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.privilege-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.privilege-item:hover {
    transform: translateY(-4px);
}

.privilege-item h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.privilege-item p {
    color: #64748b;
    font-size: 0.9rem;
}

/* FAQs */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 18px;
    background: #ffffff;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.25s;
    font-size: 0.95rem;
}

.faq-question:hover {
    background-color: var(--primary-light);
}

.faq-answer {
    padding: 18px;
    border-top: 1px solid var(--border-color);
    color: #6b7280;
    display: none;
    font-size: 0.9rem;
}

/* Footer Section */
footer {
    background-color: var(--text-dark);
    color: #cbd5e1;
    padding: 50px 8% 25px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 35px;
    border-bottom: 1px solid #374151;
    padding-bottom: 35px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links-grid {
    display: flex;
    gap: 10px;
}

.social-icon {
    background: #374151;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* Alerts and Messages */
.error-msg {
    color: var(--danger-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

.alert-success {
    background-color: var(--success-light);
    color: #065f46;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    border: 1px solid #a7f3d0;
    font-size: 0.9rem;
}

/* Landscape Stepper Dashboard Container */
.dashboard-container {
    max-width: 1300px;
    margin: 20px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
}

@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        margin: 10px auto;
        gap: 15px;
    }
}

/* Slim Sidebar Layout */
.sidebar {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    height: fit-content;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
}

.profile-summary {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.profile-summary img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-bottom: 10px;
}

.profile-summary h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
}

.profile-summary p {
    margin: 4px 0 0 0;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary-light);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 15px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.85rem;
}

.sidebar-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateX(2px);
}

.sidebar-menu a.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(71, 193, 230, 0.2);
}

/* Sidebar Toggle on Mobile */
.sidebar-mobile-header {
    display: none;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 12px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .sidebar-mobile-header {
        display: flex;
    }
    .sidebar-content {
        display: none;
    }
    .sidebar-content.show {
        display: block;
    }
}

/* Layout Grid Utilities (Landscape Alignment) */
.landscape-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.landscape-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.landscape-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .landscape-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .landscape-grid-4, .landscape-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .landscape-grid-4, .landscape-grid-3, .landscape-grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Compact Dashboard Card height/padding */
.dashboard-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    margin-bottom: 20px;
    height: 100%;
}

.dashboard-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1.5px solid var(--bg-light);
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.3px;
}

/* Forms Card Layout */
.application-page {
    background-color: var(--primary-light);
    min-height: 100vh;
}

.application-section {
    padding: 40px 0;
}

.application-card {
    background: #ffffff;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.step-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    overflow-x: auto;
    gap: 10px;
}

.step-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #94a3b8;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
}

.step-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.step-tab.completed {
    color: var(--text-dark);
}

.step-tab span.icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.step-tab.active span.icon-circle {
    background: var(--primary-color);
    color: white;
}

.step-tab.completed span.icon-circle {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Stepper status tracker on dashboard */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    position: relative;
}

.steps-line {
    position: absolute;
    top: 35%;
    left: 8%;
    right: 8%;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
    transform: translateY(-50%);
}

.steps-progress {
    position: absolute;
    top: 35%;
    left: 8%;
    height: 3px;
    background-color: var(--success-color);
    z-index: 2;
    transform: translateY(-50%);
    transition: width 0.4s ease;
}

.step-node {
    position: relative;
    z-index: 3;
    text-align: center;
}

.step-node .step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: white;
    border: 3.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 8px auto;
    color: #94a3b8;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.step-node.completed .step-circle {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step-node.active .step-circle {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: white;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
}

.step-node.completed .step-label, .step-node.active .step-label {
    color: var(--text-dark);
}

/* Horizontal alignment of uploads */
.uploads-horizontal-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.uploads-horizontal-row .upload-box {
    flex: 1;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #f8fafc;
    position: relative;
}

.uploads-horizontal-row .upload-box:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.uploads-horizontal-row .upload-box .box-icon {
    font-size: 1.6rem;
    color: #94a3b8;
    margin-bottom: 5px;
    display: block;
}

.uploads-horizontal-row .upload-box .box-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    display: block;
}

.preview-container {
    margin-bottom: 5px;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-container img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

@media (max-width: 576px) {
    .uploads-horizontal-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Lists and details */
.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.details-item:last-child {
    border-bottom: none;
}

.details-label {
    font-weight: 700;
    color: #64748b;
    font-size: 0.85rem;
}

.details-val {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: right;
}

/* Status Badges */
.status-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    text-align: center;
}

.badge-pending { background-color: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.badge-review { background-color: #dbeafe; color: #2563eb; border: 1px solid #bfdbfe; }
.badge-verified { background-color: #f3e8ff; color: #7c3aed; border: 1px solid #e9d5ff; }
.badge-approved { background-color: #d1fae5; color: #059669; border: 1px solid #a7f3d0; }
.badge-rejected { background-color: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }

/* Dashboard Tables */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.dashboard-table th, .dashboard-table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.dashboard-table th {
    background-color: #f8fafc;
    color: #4b5563;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

/* Academic card blocks (forms) */
.academic-card-block {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.remove-block-btn {
    background-color: var(--danger-light);
    color: var(--danger-color);
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-block-btn:hover {
    background-color: var(--danger-color);
    color: white;
}

.note-box {
    border-radius: 8px;
    font-weight: 600;
}

.alert-box {
    border-radius: 8px;
    font-weight: 600;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Degree chooses */
.degree-item {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* Notifications block */
.notification-item {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-title {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.notification-msg {
    color: #4b5563;
    font-size: 0.85rem;
    line-height: 1.4;
}

.notification-time {
    color: #94a3b8;
    font-size: 0.7rem;
    margin-top: 5px;
    font-weight: 600;
}

/* Welcome banner */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #29abcf 100%);
    border-radius: 12px;
    padding: 25px 30px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(71, 193, 230, 0.15);
}

.welcome-banner h1 {
    font-size: 1.8rem;
    margin: 0 0 6px 0;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.welcome-banner p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
}

/* ==========================================================
   Phase 1 Responsive Fixes — Hero Section & Auth Card
   Only inside media queries. No desktop styles changed.
   ========================================================== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: center;
        padding: 40px 5%;
        gap: 28px;
        min-height: auto;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }
    .auth-card {
        width: 100%;
        max-width: 440px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 28px 4%;
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 1.65rem;
        letter-spacing: 0;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .auth-card {
        padding: 22px 18px;
    }
}
