/* =========================================
   GLOBAL VARIABLES & RESETS
========================================= */
:root {
    /* Unified Brand Colors */
    --primary: #041B3E;
    --primary-blue: #041B3E;
    --primary-color: #041B3E;
    --accent: #CA8F3D;
    --asset: #CA8F3D;
    --accent-gold: #CA8F3D;
    --gold: #CA8F3D;
    --accent-color: #CA8F3D;
    --asset-color: #CA8F3D;

    /* Backgrounds & Text */
    --bg-white: #FFFFFF;
    --bg-color: #FFFFFF;
    --white: #FFFFFF;
    --bg-light: #FAFAFB;
    --text-main: #041B3E;
    --text-light: #FFFFFF;

    /* Muted Text Variations (Scoped to keep exact original designs) */
    --text-muted: #555555;
    --text-muted-about: #4a5568;
    --text-muted-subscribe: #A0B2C6;
    --text-dark: #1A1A1A;
    --text-main: #374151;

    /* Component Specifics */
    --card-bg: #FFFFFF;
    --card-border: #EAEAEA;
    --section-bg: #F5EFE6;
    --border-color: #EAEAEA;

    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --global-padding-x: 5%;
    --global-max-width: 1200px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* check it once */
section {
    padding: 80px 5% 0 5%;
}

/* =========================================
   NAVBAR (Your code, perfectly intact)
========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--global-padding-x);
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(4, 27, 62, 0.03);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img-container {
    width: 130px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img-container img:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(4, 27, 62, 0.15);
}

.btn-contact:hover {
    background-color: var(--accent-color);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(202, 143, 61, 0.25);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
    background: none;
    border: none;
    z-index: 1001;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger:hover {
    color: var(--accent-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-link {
    font-size: 20px;
    font-weight: 600;
}

.mobile-menu .btn-contact {
    padding: 14px 40px;
    font-size: 16px;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-menu:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

/* --- BLOG HERO SECTION --- */
.blog-hero-section {
    width: 100%;
    padding: 40px 5% 0 5%;
    background-color: var(--bg-white);
}

.blog-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Left Content */
.blog-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-tagline {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--asset);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 20px;
}

.blog-hero-title span {
    color: var(--asset);
    font-style: italic;
}

.blog-hero-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
}

/* Right Image Wrapper */
.blog-hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-hero-image-container {
    width: 100%;
    max-width: 580px;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    /* background-color: #F4F5F7; */
}

.blog-hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-hero-image-container:hover img {
    transform: scale(1.03);
}

.contact-content-section {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;
}

.contact-item {
    display: grid;
    grid-template-columns: 60px 1fr 280px;
    gap: 2rem;
    align-items: stretch;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Icon Styling */
.icon-wrapper {
    display: flex;
    align-items: flex-start;
    padding-top: 0.25rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-item:hover .contact-icon {
    background-color: var(--accent-gold);
    transform: scale(1.05);
}

/* Text Content Styling */
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-subtitle {
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-desc {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Email Column Styling */
.email-wrapper {
    border-left: 1px solid var(--border-color);
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.email-label {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.email-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.mobile-email-bullet {
    display: none;
}

/* =========================================
   FOOTER (Updated padding for alignment)
========================================= */
.site-footer {
    background-color: var(--primary);
    color: var(--bg-white);
    /* Updated left/right to match global 5% spacing, keeping original vertical flow */
    padding: 60px var(--global-padding-x) 30px;
    position: relative;
    width: 100%;
}

.footer-content-wrapper {
    max-width: var(--global-max-width);
    /* Anchored to global max-width */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    width: 160px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-brand-bio {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 280px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.footer-social-icons a {
    color: var(--bg-white);
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.footer-social-icons a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item i {
    color: var(--bg-white);
    margin-top: 3px;
    font-size: 14px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-made-with {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 25px;
}

.footer-made-with i {
    color: #ff4d4d;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.footer-bottom-bar {
    max-width: var(--global-max-width);
    margin: 50px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   MEDIA QUERIES (Responsive adjustments)
========================================= */
@media (min-width: 769px) and (max-width: 1024px) {

    .nav-links {
        gap: 20px;
    }

}

@media (max-width: 992px) {
    .contact-item {
        grid-template-columns: 60px 1fr 220px;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .navbar>.btn-contact {
        display: none;
    }

    .nav-link:hover::after {
        width: 0%;
    }

    .hamburger {
        display: block;
    }

    section {
        padding: 60px 5% 0 5%;
    }

    .blog-hero-section {
        padding: 24px 5% 0 5%;
    }

    .blog-hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
    }

    .blog-hero-content {
        order: 1;
        text-align: center;
        align-items: center;
    }

    .blog-hero-image-wrapper {
        order: 2;
        flex-direction: column;
    }

    .blog-hero-description {
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-item {
        grid-template-columns: 45px 1fr;
        gap: 1.25rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .icon-wrapper {
        padding-top: 0;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-title {
        font-size: 1.2rem;
    }

    .contact-subtitle,
    .contact-desc {
        font-size: 0.85rem;
    }

    .email-wrapper {
        grid-column: 2;
        border-left: none;
        padding-left: 0;
        margin-top: 0.25rem;
        display: block;
    }

    .email-label {
        display: none;
        /* Hidden on mobile based on reference image */
    }

    .mobile-email-bullet {
        display: inline;
        color: var(--text-dark);
        font-weight: 500;
        font-size: 0.85rem;
    }

    .mobile-email-bullet::before {
        content: "• ";
        color: var(--primary-blue);
        font-weight: bold;
        margin-right: 2px;
    }

    .email-link {
        font-size: 0.85rem;
    }


    .site-footer {
        padding: 40px var(--global-padding-x) 20px;
    }

    .footer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: left;
    }

    .footer-col-brand {
        align-items: flex-start;
    }

    .footer-brand-bio {
        max-width: 100%;
    }

    .footer-bottom-bar {
        margin-top: 35px;
        padding-top: 20px;
    }
}