/* --- CSS VARIABLES (Branding) --- */
:root {
    --logo-red: #B23B49;       /* Burgundy */
    --logo-black: #2B2B2B;     /* Deep Charcoal */
    --logo-grey: #D1D3D4;      /* Silver */
    --off-white: #F9F9F9;      /* Background */
    --white: #FFFFFF;
    --dark-grey: #333333;      /* For top bar */
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* --- TOP BAR --- */
.top-bar {
    background: var(--dark-grey);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    transition: transform 0.3s ease-in-out; /* Add transition */
}

.top-bar.hide {
    transform: translateY(-100%); /* Move up to hide */
}

.top-bar-content {
    display: flex;
    justify-content: flex-start; /* Align left */
    align-items: center;
}

.top-bar-left a {
    color: var(--white);
    text-decoration: none;
    margin-right: 20px;
}

.top-bar-left a:hover {
    color: var(--logo-red);
}

/* --- GLOBAL RESETS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; /* Essential for the ease effect */
}

/* FIX: This creates the landing offset so sections aren't hidden by the header */
section[id] {
    scroll-margin-top: 120px; /* Adjusted for top bar + header height */
}

body {
    font-family: var(--font-body);
    color: var(--logo-black);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }

a { text-decoration: none; transition: var(--transition); }

ul { list-style: none; }

img { max-width: 100%; height: auto; }

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0; width: 100%;
    background: var(--white);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-top: 40px; /* Space for the top bar */
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 0; /* No top bar margin when scrolled */
}

.nav-container {
    display: flex;
    justify-content: space-between; /* Space out logo, nav, cta */
    align-items: center;
    gap: 20px; /* Gap between elements */
}

.site-logo {
    height: 60px;
    transition: var(--transition);
}

header.scrolled .site-logo { height: 45px; }

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: var(--logo-black);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative; /* For ::after positioning */
    display: inline-block; /* Ensure width is content-based */
    /* overflow: hidden; -- REMOVED */
    padding-bottom: 5px; /* Add padding to make space for the underline */
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0; /* Starts hidden */
    height: 2px;
    background: var(--logo-red);
    bottom: 0; /* Position at the bottom edge of the link (within its padded area) */
    left: 50%; /* Start from center */
    transform: translateX(-50%); /* Center the underline */
    transition: width 0.3s ease-out; /* Animation */
}

.desktop-nav a:hover { color: var(--logo-red); } /* Keep color change */

.desktop-nav a:hover::after {
    width: 100%; /* Expands to full width on hover */
}

.btn-pay-nav {
    background: var(--logo-red);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 2px;
}

.btn-pay-nav:hover { background: #8e2e3a; }

/* New CTA button for header */
.header-cta {
    background: var(--logo-red);
    color: var(--white) !important;
    padding: 12px 25px; /* Slightly different padding for header CTA */
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.header-cta:hover { background: #8e2e3a; }

/* Remove old phone display styles and desktop-nav flex properties that are no longer needed */
.desktop-nav {
    display: block; /* Revert to default block for nav element */
}
.header-phone-display, .header-phone-display a, .btn-phone-nav, .btn-phone-nav:hover {
    display: none !important; /* Ensure these are completely gone */
}

.mobile-only-phone {
    display: none; /* Hidden by default on desktop */
}

@media (max-width: 768px) {
    .mobile-only-phone {
        display: block; /* Show on mobile */
        padding: 10px 0; /* Add padding similar to other links */
        border-top: 1px solid rgba(0,0,0,0.1); /* Separator */
        margin-top: 20px; /* Space from other links */
        text-align: center; /* Center the text */
    }
    .mobile-only-phone a {
        color: var(--logo-black);
        font-size: 1.1rem; /* Slightly larger for mobile */
        text-transform: none; /* Not uppercase */
        font-weight: 500;
        letter-spacing: normal;
    }
}

/* --- HERO SECTION --- */
.hero {
    height: 85vh;
    background: url('https://source.unsplash.com/1920x1080/?modern-office,finance') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    margin-top: 120px; /* Adjust margin-top for header + top bar (40px + 80px) */
}

.hero-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(70deg, rgba(43,43,43,0.95) 30%, rgba(43,43,43,0.2) 100%);
}

.hero-content { position: relative; z-index: 10; max-width: 800px; }

.eyebrow {
    color: var(--logo-red);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 20px; }
.hero .italic { font-style: italic; font-weight: 400; color: var(--logo-grey); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; font-weight: 300; opacity: 0.9; }

.hero-btns { display: flex; gap: 20px; }

/* --- BUTTONS --- */
.btn-primary {
    background: var(--logo-red);
    color: var(--white);
    padding: 18px 35px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background: #8e2e3a; transform: translateY(-3px); }

.btn-outline {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 18px 35px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-outline:hover { background: var(--white); color: var(--logo-black); }

/* --- ABOUT SECTION --- */
.about { padding: 120px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-image { position: relative; }
.experience-badge {
    position: absolute;
    bottom: -30px; right: -30px;
    background: var(--logo-red);
    color: var(--white);
    padding: 30px;
    text-align: center;
}
.badge-title { font-family: var(--font-heading); font-size: 2.5rem; display: block; line-height: 1; }
.badge-desc { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; }

.about-text h2 { font-size: 3rem; margin-bottom: 15px; }
.accent-line { width: 60px; height: 4px; background: var(--logo-red); margin-bottom: 30px; }
.service-list { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.service-list li::before { content: "•"; color: var(--logo-red); margin-right: 10px; font-weight: bold; }

/* --- TEAM SECTION --- */
.team { padding: 120px 0; background: var(--off-white); }
.section-header-center { text-align: center; margin-bottom: 60px; }
.accent-line-center { width: 60px; height: 4px; background: var(--logo-red); margin: 20px auto; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.member-image img { filter: grayscale(100%); transition: var(--transition); width: 100%; display: block;}
.team-card:hover .member-image img { filter: grayscale(0%); }

.member-info { padding: 25px; }
.member-info h3 { font-size: 1.4rem; margin-bottom: 5px; }
.designation { color: var(--logo-red); font-size: 1rem; }
.member-title { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; color: #777; margin-bottom: 15px; font-weight: 600; }
.member-bio { font-size: 0.85rem; color: #555; }

/* --- PAYMENT BANNER --- */
.payment-banner { background: var(--logo-black); color: var(--white); padding: 80px 0; }
.payment-flex { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.secure-tag { display: flex; align-items: center; gap: 10px; color: #27ae60; font-weight: 600; font-size: 0.8rem; margin-bottom: 15px; text-transform: uppercase; }
.payment-text h3 { font-size: 2.5rem; margin-bottom: 10px; }

/* --- CONTACT SECTION (GLASSMORPHISM) --- */
.contact { padding: 120px 0; }
.contact-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.contact-header { text-align: center; margin-bottom: 40px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid #ddd;
    font-family: inherit; font-size: 0.9rem;
}
.full-width { width: 100%; }

/* --- FOOTER --- */
.site-footer { background: var(--white); padding: 60px 0; border-top: 1px solid #eee; }
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Changed to flex-start */
    gap: 30px; /* Added gap */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.footer-logo { height: 40px; margin-bottom: 10px; }

/* Styles for new footer-contact section */
.footer-brand, .footer-contact, .footer-meta {
    flex: 1; /* Allow items to grow */
    min-width: 200px; /* Minimum width before wrapping */
}

.footer-contact h3 {
    font-size: 1.1rem;
    color: var(--logo-black);
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-contact p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
    line-height: 1.5;
}

.footer-contact a {
    color: #777;
}

.footer-contact a:hover {
    color: var(--logo-red);
}

.footer-meta { text-align: left; /* Adjusted for multi-column */ font-size: 0.8rem; color: #777; }
.footer-meta a { color: var(--logo-red); margin-left: 15px; }
.ssl-status { display: block; margin-top: 10px; color: #27ae60; font-weight: 600; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .about-grid, .payment-flex { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
    .hero { text-align: center; }
    .hero-btns { justify-content: center; }
    .accent-line { margin: 20px auto; }
}

@media (max-width: 768px) {
    .desktop-nav {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: var(--white); transition: var(--transition); padding: 50px;
    }
    .desktop-nav.active { left: 0; }
    .desktop-nav ul { flex-direction: column; gap: 40px; }
    
    .mobile-toggle { cursor: pointer; display: block; }
    .mobile-toggle span { display: block; width: 25px; height: 2px; background: var(--logo-black); margin: 6px 0; transition: var(--transition); }
    
    .contact-card { padding: 30px; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .footer-grid {
        flex-direction: column;
        align-items: center; /* Center items on mobile */
        text-align: center;
    }
    .footer-brand, .footer-contact, .footer-meta {
        margin-bottom: 20px; /* Add space between stacked items */
        text-align: center; /* Center text for all footer sections on mobile */
    }
    .footer-meta {
        margin-top: 10px; /* Add a bit more space if needed */
        text-align: center; /* Ensure it's centered on mobile */
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile */
    }

    header {
        margin-top: 0; /* Remove top bar margin from header on mobile */
    }
}