:root {
    --primary-color: #0D8ABC;
    --primary-hover: #0b739e;
    --primary-light: #e6f3f8;
    --secondary-color: #f8f9fa;
    --accent-color: #ff7e00;
    --accent-hover: #e06e00;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --success-color: #10B981;
    --danger-color: #EF4444;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(246, 248, 251, 0.25) 100%), url('../bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 76px; /* Offset for fixed navbar */
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

.text-primary { color: var(--primary-color) !important; }
.text-orange { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 138, 188, 0.2);
}
.btn-orange {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}
.btn-orange:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 126, 0, 0.2);
}
.btn {
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}
.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: 100%;
}

.hero-section {
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 138, 188, 0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}
.hero-image {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.card-hover:hover .icon-box {
    transform: translateY(-10px) scale(1.1) rotate(5deg);
}

/* Custom Gradients for Icons */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0D8ABC 0%, #48b8e0 100%) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(13, 138, 188, 0.3);
}
.bg-gradient-warning {
    background: linear-gradient(135deg, #ff7e00 0%, #ffb347 100%) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(255, 126, 0, 0.3);
}
.bg-gradient-success {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}
.bg-gradient-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

/* Stats */
.stat-item h2 {
    color: var(--primary-color);
    font-weight: 800;
}

/* Forms */
.form-control, .form-select {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 138, 188, 0.15);
}
.form-label {
    font-weight: 500;
    color: var(--text-dark);
}

/* Step Form */
.step-wizard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.step-wizard::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e2e8f0;
    z-index: 1;
}
.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 10px;
    color: #cbd5e1;
    transition: all 0.3s;
}
.step-item.active .step-circle {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}
.step-item.completed .step-circle {
    border-color: var(--success-color);
    background-color: var(--success-color);
    color: white;
}
.step-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}
.step-item.active .step-title {
    color: var(--primary-color);
    font-weight: 600;
}
.form-step {
    display: none;
    animation: fadeIn 0.5s;
}
.form-step.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Spinner Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-light);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer Hover */
.hover-text-white:hover {
    color: var(--primary-color) !important;
}

/* Helper Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Modern Glass Footer */
.modern-footer {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-dark) !important;
}
.modern-footer h4 {
    color: var(--text-dark) !important;
}
.modern-footer .text-muted {
    color: #4a5568 !important; /* Perfect contrast on light glass */
}
.modern-footer a.text-muted:hover {
    color: var(--primary-color) !important;
    transform: translateX(3px);
}
.modern-footer a {
    transition: all 0.2s ease;
}

/* Responsive Optimizations for Mobile (Screen width < 768px) */
@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
    .hero-section {
        padding: 40px 0 20px;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    .hero-section .lead {
        font-size: 1rem !important;
    }
    .hero-section .d-flex.flex-wrap {
        justify-content: center;
        gap: 10px !important;
    }
    #countdown-box {
        display: block !important;
        max-width: 100%;
        margin: 20px auto 0;
    }
    #countdown-box .d-flex {
        justify-content: center;
        gap: 15px !important;
    }
    .hero-image {
        max-width: 320px !important;
        margin-top: 30px;
    }
    .step-title {
        font-size: 11px;
    }
    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 6px;
    }
    .step-wizard::before {
        top: 16px;
    }
}

/* Premium Footer Link & Button Animations */
.hover-link {
    transition: all 0.2s ease;
}
.hover-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(4px);
    text-decoration: none;
}
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(13, 138, 188, 0.06);
    color: var(--primary-color) !important;
    margin-left: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(13, 138, 188, 0.1);
    text-decoration: none;
}
.social-icon-btn:hover {
    background: var(--primary-color);
    color: #fff !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(13, 138, 188, 0.25);
}

/* Custom Utility Tokens for Form Redesign */
.bg-danger-light {
    background-color: rgba(239, 68, 68, 0.08) !important;
}
.bg-success-light {
    background-color: rgba(34, 197, 94, 0.08) !important;
}
.bg-primary-light {
    background-color: rgba(13, 138, 188, 0.08) !important;
}
.fw-extrabold {
    font-weight: 800 !important;
}
.input-group-text {
    border-color: #e2e8f0;
    transition: all 0.3s ease;
}
.input-group:focus-within .input-group-text {
    border-color: var(--primary-color) !important;
    background-color: rgba(13, 138, 188, 0.05) !important;
    color: var(--primary-color) !important;
}
