﻿:root {
    --primary-color: #061326;
    --secondary-color: #d21a24;
    --primary-light: #91a4b2;
    --primary-dark: #041022;
    --secondary-light: #d58b8f;
    --secondary-dark: #4a9cb1;
    --dark-color: #061326;
    --light-color: #f8f9fa;
    --accent-gold: #d4af37;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-2px);
    }

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

    .btn-outline-light:hover {
        background-color: var(--white);
        border-color: var(--white);
        color: var(--primary-color);
        transform: translateY(-2px);
    }

/* Preloader */
/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #061326;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

    .preloader.fade-out {
        opacity: 0;
    }

.preloader-logo {
    width: 120px;
    margin-bottom: 30px;
    animation: pulse 2s infinite ease-in-out;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .preloader-spinner span {
        display: block;
        width: 20px;
        height: 20px;
        background-color: #d21a24;
        border-radius: 50%;
        margin: 0 5px;
        animation: bounce 1.4s infinite ease-in-out both;
    }

        .preloader-spinner span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .preloader-spinner span:nth-child(2) {
            animation-delay: -0.16s;
        }

@keyframes bounce {

    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.9;
    }
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    padding: 20px 0;
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        background-color: rgba(0, 0, 0, 0.8) !important;
        padding: 10px 0;
    }

.navbar-brand img {
    width: 70px;
}

.login-btn {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

    .login-btn:hover {
        background-color: #fff;
        color: #000;
    }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('../IMG/account-bg.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
} */



/* Signup Modal */
.modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    background-color: var(--light-color);
}

.modal-header {
    border-bottom: none;
    padding: 20px 20px 0;
    position: relative;
}

.modal-body {
    padding: 0 30px 20px;
}

.modal-header-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.modal-header-content .subtitle {
    color: var(--primary-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #ddd;
    }

    .divider:not(:empty)::before {
        margin-right: 1em;
    }

    .divider:not(:empty)::after {
        margin-left: 1em;
    }

/* Form Elements */
.form-control {
    height: 43px;
    border-radius: 15px;
    border: 1px solid var(--secondary-light);
    padding: 10px 13px;
    font-size: 0.9rem;
    background-color: white;
}

    .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(210, 26, 36,0.28);
    }

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--primary-light);
}

/* Terms and Security */
.terms,
.security-info {
    font-size: 0.8rem;
    color: var(--primary-light);
}

    .terms a,
    .security-info a {
        color: var(--secondary-color);
        text-decoration: none;
    }

        .terms a:hover,
        .security-info a:hover {
            text-decoration: underline;
        }

/* Signup Button */
.signup-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--secondary-color);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .signup-btn:hover {
        background-color: var(--secondary-dark);
    }

/* Already User */
.already-user {
    font-size: 0.9rem;
    color: var(--primary-light);
}

    .already-user a {
        color: var(--secondary-color);
        font-weight: 600;
        text-decoration: none;
    }

        .already-user a:hover {
            text-decoration: underline;
        }

/* Modal Footer */
.modal-footer {
    padding: 15px 30px;
    text-align: center;
    color: var(--primary-light)
}

    .modal-footer small {
        font-size: 0.8rem;
    }



/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }
