:root {
    --primary-blue: #002B5B;
    --secondary-blue: #1A5F7A;
    --elegant-gold: #C5A022;
    --soft-gold: #D4AF37;
    --clean-white: #FFFFFF;
    --light-bg: #F8F9FA;
    --dark-text: #1A1A1A;
    --muted-text: #6C757D;
    --navy-rgb: 0, 43, 91;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
    background-color: var(--clean-white);
}

/* Navbar Styling */
.navbar {
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-blue) !important;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.navbar-brand span {
    color: var(--elegant-gold);
}

.nav-link {
    font-weight: 600;
    color: var(--primary-blue) !important;
    margin: 0 12px;
    position: relative;
    transition: 0.3s;
    font-size: 0.95rem;
    opacity: 0.85;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--elegant-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--elegant-gold);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-premium {
    background: var(--primary-blue);
    color: white;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 700;
    border: none;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0, 43, 91, 0.25);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-premium:hover {
    background: var(--secondary-blue);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 43, 91, 0.35);
    color: white;
}

.btn-gold {
    background: var(--elegant-gold);
    color: white;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 700;
    border: none;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(197, 160, 34, 0.3);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-gold:hover {
    background: #b08d1e;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(197, 160, 34, 0.4);
    color: white;
}

/* Sections */
section {
    padding: 120px 0;
}

.section-title {
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--elegant-gold);
    bottom: -12px;
    left: 0;
    border-radius: 10px;
}

.bg-light-premium {
    background-color: var(--light-bg);
}

.bg-navy {
    background-color: var(--primary-blue);
}

/* Cards */
.card-premium {
    border: none;
    border-radius: 24px;
    padding: 45px;
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 34, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: 0.4s;
}

.card-premium:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.card-premium:hover::before {
    opacity: 1;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(197, 160, 34, 0.15) 0%, rgba(197, 160, 34, 0.05) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--elegant-gold);
    margin-bottom: 30px;
    transition: 0.4s;
}

.card-premium:hover .icon-box {
    background: var(--elegant-gold);
    color: white;
    transform: rotate(10deg);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4,
.bg-navy h5,
.bg-navy h6 {
    color: #ffffff !important;
}

.display-3 {
    line-height: 1.1;
}

.lead {
    font-weight: 300;
    line-height: 1.7;
}

/* Helpers */
.text-gold {
    color: var(--elegant-gold) !important;
}

.shadow-xl {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1) !important;
}

/* Animation Overlays */
.portfolio-item {
    cursor: pointer;
}

.portfolio-item img {
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Hero Badge */
.hero-badge {
    background: rgba(197, 160, 34, 0.1);
    color: var(--elegant-gold);
    border: 1px solid rgba(197, 160, 34, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* Footer Section */
footer {
    background-color: #002B5B !important;
    color: #ffffff !important;
    padding: 140px 0 60px !important;
    margin-top: -100px !important;
    /* To handle CTA overlap */
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    color: #ffffff !important;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #C5A022 !important;
    transform: translateX(5px);
}

.social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 12px;
    color: #ffffff !important;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: #C5A022;
    color: #ffffff !important;
    transform: translateY(-5px);
    border-color: #C5A022;
}

footer h5 {
    color: #ffffff !important;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #C5A022;
}

/* CTA Section Overlap Handling */
.cta-overlap {
    position: relative;
    z-index: 5;
    /* Ensure CTA stays on top */
    margin-bottom: 0;
}

.cta-box {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}