:root {
    --primary-color: #001a33;
    --secondary-color: #c5a059;
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --bg-light: #ffffff;
    --bg-soft: #f4f7fa;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgb(0 0 124) !important;
}

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

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.hero h1 {
    color: white;
}

.brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}


.dropdown-toggle::after {
    display: none;
}

a.footer-link {
    color: #808d99;
    text-decoration: none;
}

/* Navbar Styling - Clean & Professional */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 12px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    min-width: 250px;
    animation: fadeInHeader 0.3s ease;
}

@keyframes fadeInHeader {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-weight: 500;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: var(--bg-soft);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.btn-login {
    background: var(--primary-color);
    color: white !important;
    border-radius: 8px;
    padding: 10px 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 26, 51, 0.2);
}

.btn-login:hover {
    background: #002b4d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 26, 51, 0.3);
    color: white !important;
}

/* Mobile Navbar Styles */
@media (max-width: 991px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar-collapse {
        background: white;
        margin: 0 -15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        max-height: 80vh;
        /* Allow scrolling on small screens */
        overflow-y: auto;
    }

    .navbar-nav {
        align-items: flex-start !important;
        margin-top: 15px;
    }

    .nav-link {
        margin: 10px 0;
        padding: 5px 0;
        width: 100%;
        display: block;
    }

    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding-left: 1rem;
        border-left: 2px solid var(--secondary-color);
        margin-bottom: 1rem;
        display: none;
        /* Initially hidden, Bootstrap will toggle its display */
    }

    .dropdown-menu.show {
        display: block;
    }

    .btn-login {
        width: 100%;
        text-align: center;
        margin-top: 15px;
        padding: 7px 10px;
    }
}

/* Hero Section - Gradient Overlay & Modern Typography */
.hero {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%),
        url('hero-bg-premium.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: none;
    letter-spacing: -1px;
}

.hero .hero-italic {
    font-style: italic;
    color: var(--secondary-color);
    opacity: 1;
}

.hero-badge {
    color: white;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.badge-line {
    width: 50px;
    height: 1.5px;
    background: var(--secondary-color);
    margin: 10px 0 35px;
}

/* Responsive Font Scaling & Layout */
@media (min-width: 1400px) {
    .hero h1 {
        font-size: 5rem;
    }
}

@media (max-width: 1399px) {
    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 1199px) {
    .hero h1 {
        font-size: 4.2rem;
    }
}

@media (max-width: 991px) {
    .badge-line {
        margin: 10px auto 35px;
    }

    .hero {
        min-height: 100vh;
        padding: 140px 0 100px;
        clip-path: none;
        background-position: 70% center;
    }

    .hero h1 {
        font-size: 3.4rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .btn-premium-solid,
    .btn-premium-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}



.hero p {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
    max-width: 550px;
    font-weight: 300;
    opacity: 0.8;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* Premium Button Styles */
.btn-premium-solid {
    background: #f5f1ea;
    color: var(--primary-color) !important;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f5f1ea;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-premium-solid:hover {
    background: #e9e2d5;
    border-color: #e9e2d5;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-premium-outline {
    background: transparent;
    color: #f5f1ea !important;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(245, 241, 234, 0.3);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-premium-outline:hover {
    border-color: #f5f1ea;
    background: rgba(245, 241, 234, 0.05);
    transform: translateY(-3px);
}

/* Service Cards - Glassmorphism & Micro-animations */
.service-card {
    background: white;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 26, 51, 0.12);
    border-color: var(--secondary-color);
}

.service-image-container {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem 1.5rem;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 120px 0;
    position: relative;
}

.about-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
}

/* Contact Section */
.contact-card {
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .contact-card .display-5 {
        font-size: 2rem;
    }

    .contact-card .bg-white {
        padding: 2rem !important;
    }
}

/* Footer */
footer {
    background: #001a33;
    color: white;
    padding: 100px 0 40px;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 120px;
}

.footer-heading {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero {
        height: auto;
        padding: 150px 0 100px;
        clip-path: none;
    }

    .service-card {
        padding: 2rem 1rem;
    }
}

/* Custom Table Styling for Premium Look */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: #f8f9fa;
    color: var(--primary-color) !important;
    border-bottom: 2px solid rgba(0, 26, 51, 0.1);
    font-family: 'Outfit', sans-serif;
}

.table-hover tbody tr:hover {
    background-color: rgba(197, 160, 89, 0.03);
}

.card-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000c1a 100%) !important;
}

.btn-warning {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #b38f4d !important;
    border-color: #b38f4d !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}