/* ==========================================================================
   CSS Variables
   ========================================================================== */
   :root {
    --gold: #C8A24A;
    --gold-hover: #b38f3f;
    --navy: #0F2747;
    --navy-80: rgba(15, 39, 71, 0.8);
    --white: #FFFFFF;
    --white-50: rgba(255, 255, 255, 0.5);
    --white-10: rgba(255, 255, 255, 0.1);
    --light-gray: #F5F7FA;
    --text-color: #333333;
    --text-muted: #6c757d;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-speed: 0.3s;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-playfair, .section-title {
    font-family: var(--font-heading);
}

.section-padding {
    padding: 80px 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: 100px 0;
    }
}

.bg-navy { background-color: var(--navy) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-light-gray { background-color: var(--light-gray) !important; }
.bg-white-10 { background-color: var(--white-10) !important; }

.text-navy { color: var(--navy) !important; }
.text-navy-80 { color: var(--navy-80) !important; }
.text-gold { color: var(--gold) !important; }

.transition-all { transition: all var(--transition-speed) ease; }
.hover-gold:hover { color: var(--gold) !important; }
.hover-bg-gold:hover { background-color: var(--gold) !important; color: var(--navy) !important; }
.hover-opacity-100:hover { opacity: 1 !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
    border: 1px solid var(--gold);
}
.btn-gold:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--navy);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--navy);
}

.btn-navy {
    background-color: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
}
.btn-navy:hover {
    background-color: #1a3c6b;
    color: var(--white);
}

.btn-outline-navy {
    background-color: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
}
.btn-outline-navy:hover {
    background-color: var(--navy);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--navy);
}

.btn.hover-invert:hover {
    background-color: transparent;
    color: var(--navy);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar-brand .logo-icon {
    color: var(--gold);
    font-size: 2rem;
}

.navbar-brand .logo-text strong {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: block;
    line-height: 1;
}

.navbar-brand .logo-text small {
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 2px;
    display: block;
}

.nav-link {
    color: var(--navy);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-speed) ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
}

@media (min-width: 992px) {
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--gold);
        transition: all var(--transition-speed) ease;
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after, .nav-link.active::after {
        width: 60%;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 90vh;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(15, 39, 71, 0.95) 0%, rgba(15, 39, 71, 0.7) 100%);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 1.25rem; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 50% !important;
    border: 5px solid var(--white);
}

@media (max-width: 991px) {
    .experience-badge {
        bottom: -20px;
        right: 10px;
        width: 120px;
        height: 120px;
    }
    .experience-badge h3 { font-size: 1.5rem; }
    .experience-badge p { font-size: 0.8rem; }
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-card {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: var(--gold) !important;
}

.service-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-row {
    z-index: 1;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--gold);
    z-index: -1;
    opacity: 0.3;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    box-shadow: 0 0 0 10px var(--white);
    transition: transform var(--transition-speed) ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background-color: var(--gold) !important;
    color: var(--navy) !important;
}

/* ==========================================================================
   Expertise Section
   ========================================================================== */
.expertise-card {
    background-color: rgba(255,255,255,0.02);
    cursor: default;
}
.expertise-card:hover {
    background-color: var(--gold);
    border-color: var(--gold) !important;
}
.expertise-card:hover i, .expertise-card:hover h6 {
    color: var(--navy) !important;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-img-wrapper img {
    transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}
.team-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px);
}
.team-social a {
    font-size: 1.2rem;
    transition: color var(--transition-speed) ease;
}
.team-social a:hover {
    color: var(--gold) !important;
}

/* ==========================================================================
   Why Us Section
   ========================================================================== */
.usp-card {
    transition: transform var(--transition-speed) ease;
}
.usp-card:hover {
    transform: translateY(-5px);
    background-color: var(--white) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.news-thumb img {
    transition: transform 0.5s ease;
}
.news-card:hover .news-thumb img {
    transform: scale(1.05);
}
.news-title a {
    transition: color var(--transition-speed) ease;
}
.news-title a:hover {
    color: var(--gold) !important;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* ==========================================================================
   Clients Section
   ========================================================================== */
.clients-slider {
    padding: 20px 0;
}
.clients-slider .swiper-slide {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--light-gray);
    color: var(--gold) !important;
    box-shadow: none;
}
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}
.custom-accordion .accordion-button::after {
    filter: sepia(100%) hue-rotate(190deg) saturate(500%);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cartographer.png');
    opacity: 0.1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-logo .logo-text strong {
    line-height: 1;
}
.footer-contact-list i {
    width: 20px;
    text-align: center;
}
