:root {
    --primary-blue: #0B3C6D;
    --gold: #F4B400;
    --orange: #FF6F00;
    --dark-blue: #062A4A;
    --light-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

/* Container Responsive */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top: 5px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 576px) {
    .loader { width: 50px; height: 50px; border-width: 3px; }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: none;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
}

.scroll-top-btn:hover {
    background: var(--orange);
    transform: translateY(-5px);
}

.scroll-top-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .scroll-top-btn { width: 40px; height: 40px; font-size: 14px; }
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
}

.top-bar a:hover { color: var(--gold); }

.social-icons a { margin-left: 15px; font-size: 16px; }

@media (max-width: 768px) {
    .top-bar .contact-info a { font-size: 12px; margin: 0 8px; }
    .social-icons a { margin: 0 8px; font-size: 14px; }
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.logo span { color: var(--gold); }
.navbar-brand small { font-size: 12px; color: var(--orange); display: block; }

.nav-link {
    font-weight: 500;
    color: var(--primary-blue);
    transition: all 0.3s;
    margin: 0 5px;
}

.nav-link:hover { color: var(--gold); }

.btn-apply {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--primary-blue);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    margin-left: 15px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(244,180,0,0.3);
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(244,180,0,0.5);
    color: var(--primary-blue);
}

@media (max-width: 991px) {
    .navbar { padding: 10px 0; }
    .logo { font-size: 20px; }
    .navbar-brand small { font-size: 10px; }
    .navbar-nav { padding: 15px 0; max-height: calc(100vh - 80px); overflow-y: auto; }
    .nav-link { text-align: center; padding: 10px 0; }
    .btn-apply { display: block; width: 80%; margin: 15px auto; text-align: center; }
}

@media (max-width: 576px) {
    .logo { font-size: 16px; }
    .btn-apply { width: 90%; padding: 8px 20px; font-size: 13px; }
}

/* Hero Carousel */
.hero-carousel { margin-top: 0; }
.carousel-item {
    height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}
.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
    left: 0;
    right: 0;
    padding: 0 15px;
}
.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}
.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
}
.btn-carousel {
    background: linear-gradient(135deg, #F4B400, #FF6F00);
    color: #0B3C6D;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-carousel:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    color: #0B3C6D;
}

@media (max-width: 992px) {
    .carousel-item { height: 60vh; min-height: 450px; }
    .carousel-caption h1 { font-size: 2rem; }
    .carousel-caption p { font-size: 1rem; }
}
@media (max-width: 768px) {
    .carousel-item { height: 50vh; min-height: 400px; }
    .carousel-caption h1 { font-size: 1.5rem; }
    .carousel-caption p { font-size: 0.85rem; }
    .btn-carousel { padding: 8px 20px; font-size: 0.85rem; }
}
@media (max-width: 576px) {
    .carousel-item { height: 40vh; min-height: 350px; }
    .carousel-caption h1 { font-size: 1.2rem; }
    .carousel-caption p { font-size: 0.7rem; }
    .btn-carousel { padding: 6px 15px; font-size: 0.7rem; }
}

/* Section Common */
section { padding: 60px 0; }
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0B3C6D;
    margin-bottom: 15px;
}
.text-gold { color: #F4B400; }

@media (max-width: 768px) { section { padding: 40px 0; } .section-title { font-size: 1.5rem; } }
@media (max-width: 576px) { section { padding: 30px 0; } .section-title { font-size: 1.3rem; } }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #F4B400, #FF6F00);
    color: #0B3C6D;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244,180,0,0.3);
    color: #0B3C6D;
}
.btn-outline-gold {
    border: 2px solid #F4B400;
    color: #F4B400;
    background: transparent;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-outline-gold:hover {
    background: #F4B400;
    color: #0B3C6D;
}

/* Cards */
.card-premium {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}
.card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.card-icon {
    font-size: 3rem;
    color: #F4B400;
    margin-bottom: 20px;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 15px;
}
.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11,60,109,0.95), transparent);
    color: white;
    padding: 15px;
    transition: 0.3s;
    text-align: center;
}
.gallery-item:hover .gallery-overlay { bottom: 0; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0B3C6D, #062A4A);
    padding: 80px 0;
    text-align: center;
    color: white;
}
.btn-cta {
    background: #F4B400;
    color: #0B3C6D;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-cta:hover {
    background: #FF6F00;
    transform: translateY(-3px);
    color: #0B3C6D;
}

@media (max-width: 768px) {
    .cta-section { padding: 50px 20px; }
    .cta-section h2 { font-size: 1.5rem; }
    .btn-cta { padding: 12px 30px; font-size: 0.9rem; }
}

/* Row Gutter */
.row { margin-right: -12px; margin-left: -12px; }
.row > [class*="col-"] { padding-right: 12px; padding-left: 12px; }

/* Images */
img { max-width: 100%; height: auto; }

/* ========================================
   MODAL RESPONSIVE FIX - IMPORTANT
   ======================================== */
.modal-dialog {
    margin: 0.5rem;
}
.modal-content {
    border-radius: 20px;
    overflow: hidden;
}
.modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    .modal-content {
        border-radius: 15px;
    }
    .modal-body {
        padding: 15px;
        max-height: 75vh;
    }
    .modal-header {
        padding: 12px 15px;
    }
    .modal-header h5 {
        font-size: 16px;
    }
    .form-control, .form-select {
        padding: 8px 12px;
        font-size: 14px;
    }
    .btn-submit {
        padding: 10px;
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: #ccc;
    padding: 60px 0 20px;
}
.footer h3, .footer h4 { color: white; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}
.footer ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}