:root {
            --gg-gold: #FAB82C;
            --gg-gold-dark: #d99a1b;
            --gg-dark: #121722;
            --gg-body-bg: #FFFFFF;
            --gg-text-main: #2d3748;
            --gg-text-muted: #718096;
            --gg-border: rgba(0, 0, 0, 0.08);
        }

        body {
            background-color: var(--gg-body-bg);
            color: var(--gg-text-main);
            font-family: 'Plus Jakarta Sans', sans-serif;
            overflow-x: hidden;
        }

        /* --- TOP UTILITY BAR --- */
        #templatemo_nav_top {
            background: #1a202c;
            color: #ffffff;
            font-size: 13px;
            letter-spacing: 0.5px;
            padding: 8px 0;
            z-index: 1050;
        }

        #templatemo_nav_top a {
            color: #e2e8f0;
            transition: color 0.3s ease;
            text-decoration: none;
        }

        #templatemo_nav_top a:hover {
            color: var(--gg-gold);
        }

        /* --- STICKY NAVBAR --- */
        .navbar-custom {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid var(--gg-border);
            padding: 25px 0;
            transition: all 0.4s ease;
            position: sticky;
            top: 0;
            z-index: 1040;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        }

        .navbar-brand img {
            max-height: 85px;
            width: auto;
        }

        .navbar-nav .nav-link {
            color: var(--gg-text-main) !important;
            font-weight: 500;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px 16px !important;
            transition: color 0.3s ease;
            position: relative;
        }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 16px;
            right: 16px;
            height: 2px;
            /*background-color: var(--gg-gold);*/
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after {
            transform: scaleX(1);
        }

        .navbar-nav .nav-link:hover {
            color: var(--gg-gold-dark) !important;
        }

        /* --- DROPDOWN MEGA MENU --- */
        .dropdown-menu-custom {
            background: rgba(255, 255, 255, 0);
            /*border: 1px solid var(--gg-border);*/
            border-radius: 8px;
            box-shadow: 0 0px 0px rgba(0, 0, 0, 0.0);
            padding: 20px;
            margin-top: 15px;
            min-width: 650px;
        }

        .dropdown-item-custom {
            color: var(--gg-text-main);
            padding: 10px 15px;
            border-radius: 6px;
            transition: all 0.2s ease;
            display: block;
            text-decoration: none;
            font-size: 13px;
        }

        .dropdown-item-custom:hover {
            background: rgba(250, 184, 44, 0.12);
            /*color: var(--gg-gold-dark);*/
            transform: translateX(4px);
        }

        .dropdown-item-custom span {
            display: block;
            font-size: 11px;
            color: var(--gg-text-muted);
        }

        /* --- ACTION BUTTONS --- */
        .btn-gold {
            background-color: var(--gg-gold);
            color: #1a202c;
            font-weight: 600;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 15px 38px;
            border-radius: 4px;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 14px rgba(250, 184, 44, 0.25);
            text-decoration: none;
            display: inline-block;
        }

        .btn-gold:hover {
            background-color: #1a202c;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        /* --- HERO CSS SLIDER --- */
        .hero-slider {
            position: relative;
            height: 85vh;
            min-height: 600px;
            overflow: hidden;
            background: #1a202c;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
            animation: slideAnimation 18s infinite;
        }

        .hero-slide:nth-child(1) {
            background-image: linear-gradient(rgba(10, 13, 20, 0.25), rgba(10, 13, 20, 0.65)), url('images/bg-1.jpg');
            animation-delay: 0s;
        }

        .hero-slide:nth-child(2) {
            background-image: linear-gradient(rgba(10, 13, 20, 0.25), rgba(10, 13, 20, 0.65)), url('images/bg-2-new.jpg');
            animation-delay: 6s;
        }

        .hero-slide:nth-child(3) {
            background-image: linear-gradient(rgba(10, 13, 20, 0.25), rgba(10, 13, 20, 0.65)), url('images/bg-3.jpg');
            animation-delay: 12s;
        }

        @keyframes slideAnimation {
            0% { opacity: 0; visibility: hidden; }
            5% { opacity: 1; visibility: visible; }
            33% { opacity: 1; visibility: visible; }
            38% { opacity: 0; visibility: hidden; }
            100% { opacity: 0; visibility: hidden; }
        }

        .hero-content {
            color: #ffffff;
            max-width: 800px;
            z-index: 2;
        }

        .hero-content h1 {
            font-family: 'Playfair Display', serif;
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero-content p {
            font-size: 18px;
            color: #cbd5e1;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        /* --- ABOUT US SECTION --- */
        .about-section {
            padding: 100px 0;
            background-color: #ffffff;
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 38px;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 15px;
        }

        .section-subtitle {
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 2px;
            color: var(--gg-gold-dark);
            font-weight: 700;
            margin-bottom: 10px;
            display: block;
        }

        /* --- SERVICES SECTION --- */
        .services-section {
            padding: 0px 0;
            background-color: #f8fafc;
        }

        .service-card {
            background: #ffffff;
            border: 1px solid var(--gg-border);
            border-radius: 8px;
            padding: 35px 30px;
            transition: all 0.3s ease;
            height: 100%;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
            border-color: var(--gg-gold);
        }

        .service-card i {
            font-size: 36px;
            color: var(--gg-gold-dark);
            margin-bottom: 20px;
        }

        .service-card h4 {
            font-family: 'Playfair Display', serif;
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #1a202c;
        }

        /* --- INTERMISSION / STATS BANNER --- */
        .intermission-section {
            background: linear-gradient(rgba(26, 32, 44, 0.92), rgba(26, 32, 44, 0.92)), url('images/dar-city.png') center/cover fixed;
            padding: 80px 0;
            color: #ffffff;
            text-align: center;
        }

        .stat-box h2 {
            font-family: 'Playfair Display', serif;
            font-size: 48px;
            color: var(--gg-gold);
            font-weight: 700;
            margin-bottom: 10px;
        }

        /* --- TEAM SECTION --- */
        .team-section {
            padding: 100px 0;
            background-color: #ffffff;
        }

        .team-card {
            border: none;
            border-radius: 8px;
            overflow: hidden;
            background: #f8fafc;
            box-shadow: 0 10px 20px rgba(0,0,0,0.03);
            transition: transform 0.3s ease;
        }

        .team-card:hover {
            transform: translateY(-5px);
        }

        .team-card img {
            width: 100%;
            height: 320px;
            object-fit: cover;
        }

        /* --- CLEAR CTA SECTION --- */
        .cta-section {
            background-color: var(--gg-gold);
            padding: 70px 0;
            color: #1a202c;
        }

        .cta-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        /* --- QUICK CONTACT FORM SECTION --- */
        .contact-section {
            padding: 100px 0;
            background-color: #f8fafc;
        }

        .contact-form-box {
            background: #ffffff;
            padding: 50px;
            border-radius: 12px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.05);
            border: 1px solid var(--gg-border);
        }

        .form-control {
            padding: 12px 15px;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            font-size: 14px;
        }

        .form-control:focus {
            border-color: var(--gg-gold);
            box-shadow: 0 0 0 3px rgba(250, 184, 44, 0.15);
        }

        /* --- FOOTER --- */
        .footer-custom {
            background-color: #1a202c;
            color: #a0aec0;
            padding: 80px 0 30px 0;
            font-size: 14px;
        }

        .footer-custom h5 {
            color: #ffffff;
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            margin-bottom: 25px;
            font-weight: 600;
        }

        .footer-custom a {
            color: #a0aec0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-custom a:hover {
            color: var(--gg-gold);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 50px;
            padding-top: 25px;
        }

        /* --- FEATURE CARD HOVER & MEGA MENU HOVER --- */
        .feature-card-hover:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
            border-color: #cbd5e0 !important;
        }
        .feature-card-hover:hover .feature-icon-box {
            transform: scale(1.08);
        }


        @media (min-width: 992px) {
    .navbar-nav .dropdown {
        position: static;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block !important;
        margin-top: 0 !important;
    }
}


/* --- IMPROVED PRACTICE AREA / SERVICE CARDS TYPOGRAPHY --- */
        .service-card {
            background: #ffffff;
            border: 1px solid var(--gg-border);
            border-radius: 8px;
            padding: 40px 35px; /* Added a bit more breathing room */
            transition: all 0.3s ease;
            height: 100%;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
            border-color: var(--gg-gold);
        }

        .service-card i, 
        .service-card svg {
            font-size: 38px;
            color: var(--gg-gold-dark);
            margin-bottom: 22px;
            display: inline-block;
        }

        /* Increased heading size and weight */
        .service-card h4 {
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 15px;
            color: #1a202c;
            letter-spacing: -0.3px;
        }

        /* Increased body text size, contrast, and line-height for readability */
        .service-card p,
        .service-card span.dropdown-item-custom span {
            font-size: 14.5px;
            line-height: 1.7;
            color: #4a5568;
            margin-bottom: 0;
        }



/* Recent Posts Styling */
.post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1) !important;
}

.post-img-wrapper img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-img-wrapper img {
    transform: scale(1.05);
}

.hover-primary:hover {
    color: #fab82c !important; /* Matches brand theme color */
    transition: color 0.2s ease;
}

.tracking-wider {
    letter-spacing: 1px;
}


/* Custom Brand Color Variables */
:root {
    --brand-gold: #fab82c;
    --brand-navy: #1a2b4c;
    --brand-dark: #0f1a2e;
}

/* Post Card Container */
.post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12) !important;
}

/* Image Wrapper with Dark Fallback */
.post-img-wrapper {
    position: relative;
    height: 200px;
    background-color: var(--brand-navy);
    overflow: hidden;
}

.post-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.post-card:hover .post-img-wrapper img {
    transform: scale(1.05);
}

/* Brand Badge Styling */
.badge-brand {
    background-color: var(--brand-gold) !important;
    color: var(--brand-navy) !important;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Links & Hover States */
.hover-brand-gold:hover {
    color: var(--brand-gold) !important;
    transition: color 0.2s ease;
}

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

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

/* "Read Article" Action Link */
.read-more-link {
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.read-more-link:hover {
    color: var(--brand-gold);
}


/* Golden Subtitle Accent */
.text-brand-gold {
    color: #fab82c !important;
}

/* Custom Gold Outline Button */
.btn-outline-gold {
    color: #fab82c;
    border-color: #fab82c;
    padding: 10px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    color: #1a2b4c; /* Navy text on gold background hover */
    background-color: #fab82c;
    border-color: #fab82c;
    box-shadow: 0 4px 12px rgba(250, 184, 44, 0.25);
}

/* 1. Container: Grid layout for 2 cards side-by-side */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px)); /* Limits max width & side-by-side */
    justify-content: center; /* Centers the cards horizontally */
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* 2. Team Card Container */
.team-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 3. Image Wrapper & Image Scaling Fix */
.team-card .image-wrapper,
.team-card img {
    width: 100%;
    height: 320px; /* Gives the image a fixed, proportional height */
    object-fit: cover; /* Fits nicely without stretching */
    object-position: top center; /* Keeps faces centered in frame */
    border-radius: 12px;
}

/* Optional: Mobile Responsiveness */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr; /* Stacks cleanly on mobile screens */
    }
}

/* Container & Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.team-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Keeps social buttons pinned at the bottom */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* Image */
.image-wrapper img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Typography */
.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.member-role {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #d97706; /* Elegant gold/amber accent */
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Zanzibar Address Styling */
.office-address {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
}

.address-icon {
    color: #d97706;
    margin-top: 3px;
}

.office-address strong {
    color: #2d3748;
    display: block;
    margin-bottom: 2px;
}

.office-address p {
    margin: 0;
}

/* Social Icon Buttons */
.team-card-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f7fafc;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background-color: #1e3a8a; /* Brand primary navy/blue on hover */
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Name Styling (Dark Navy, Bold, Sans-Serif) */
.member-name,
.team-card h3 {
    font-family: inherit; /* or 'Inter', 'Montserrat', sans-serif */
    font-size: 1.25rem;
    font-weight: 800; /* Extra bold matching original */
    color: #0d1b2a;   /* Rich dark navy color */
    margin: 16px 0 6px 0;
    line-height: 1.3;
}

/* Title Styling (Gold, Uppercase, Tracking) */
.member-role,
.team-card .role {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px; /* Adds clean spacing between gold letters */
    color: #f3a812;        /* Original gold accent color */
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Top Nav Styling (Matches Footer Theme) */
.top-nav-custom {
  background-color: #111827 !important; /* Footer Dark Background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  font-size: 13px;
}

.top-nav-item a {
  color: #9ca3af !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-nav-item a:hover {
  color: #fab82c !important; /* Gold Hover */
}

/* Footer-Matched Social Icons */
.top-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1f2937; /* Dark Circle */
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.top-social-icon:hover {
  background-color: #fab82c; /* Gold Background on Hover */
  color: #111827 !important; /* Dark Icon on Hover */
  border-color: #fab82c; 
  transform: translateY(-2px);
}