/*
Theme Name: AlphaMonks Hybrid v4
Author: AlphaMonks
Version: 4.1
*/

/* ===================================== */
/* 1. ROOT VARIABLES */
/* ===================================== */

:root {
    --header-height: 110px;
    --primary: #1f7a3f;
    --primary-dark: #145c2d;
    --accent: #2e9e56;
    --light-bg: #f4f6f2;
    --dark-bg: #0d1f17;
    --text-dark: #111111;
}

/* ===================================== */
/* 2. GLOBAL BASE */
/* ===================================== */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    padding-top: var(--header-height);
}

h1, h2, h3, h4 {
    font-family: 'Libre Baskerville', serif;
    margin: 0;
}

/* ===================================== */
/* 3. CONTAINER SYSTEM (WIDTH ONLY) */
/* ===================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================================== */
/* 4. SECTION SPACING SYSTEM */
/* ===================================== */

.section {
    padding: 80px 0;
}

/* Alternate light blue background */
.section-alt-blue {
    background: #eef3f8;
}


/* ===================================== */
/* INVESTMENT ADVISORY PAGE STRUCTURE */
/* ===================================== */

.page-intro {
    padding-bottom: 60px;
}

.page-intro h1 {
    font-size: 48px;
    margin-bottom: 25px;
}

.page-intro p {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.85;
}


/* Section Headings */
.section h2 {
    font-size: 34px;
    margin-bottom: 18px;
}

/* Content Block Structure */
.content-block h4 {
    margin-top: 30px;
    font-size: 18px;
    font-weight: 600;
}

.content-block p {
    max-width: 760px;
    line-height: 1.7;
    opacity: 0.85;
}


/* Focus Areas List */
.content-block ul {
    margin-top: 15px;
    padding-left: 20px;
}

.content-block li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ===================================== */
/* TWO-COLUMN ESG ADVISORY STRUCTURE */
/* ===================================== */

.advisory-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.advisory-left h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.advisory-right {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-block {
    margin-bottom: 15px;
}

.info-block h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-block p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
}

.info-block ul {
    padding-left: 18px;
}

.info-block li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Mobile */
@media (max-width: 992px) {
    .advisory-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

.section-intro {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 520px;
    margin-bottom: 30px;
}

}
/* Accent line beside section titles */
.advisory-left h2 {
    position: relative;
    padding-left: 22px;
}

.advisory-left h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 28px;
    background: var(--primary);
    border-radius: 2px;
}
.advisory-icon {
    font-size: 18px;
    margin-right: 10px;
    color: var(--primary);
    opacity: 0.9;
}
/* Smooth Scroll + Sticky Header Offset */
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 130px;
}
/* ===================================== */
/* 5. HEADER SYSTEM */
/* ===================================== */

#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 14px 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.admin-bar #mainHeader {
    top: 32px;
}

.header-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo img {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

.main-nav .menu {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav .menu li a {
    text-decoration: none;
    font-weight: 550;
    font-size: 16px;
    letter-spacing: 0.3px;
    text-transform: none;
    color: #222;
    transition: 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.main-nav .menu li a:hover {
    color: var(--primary-dark);
}

.main-nav .menu li a:hover::after {
    width: 100%;
}

.btn-consult {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    white-space: nowrap;
}

.btn-consult:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

#mainHeader.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

#mainHeader.scrolled .logo img {
    height: 60px;
}

/* ===================================== */
/* 6. HERO SECTION */
/* ===================================== */

.hero {
    position: relative;
    background: url('https://alphamonksesg.com/wp-content/uploads/2026/02/AlphaMonks-Hero-Optimized.webp') center/cover no-repeat;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    content-visibility: auto;
    text-align: center;
    padding: 200px 20px 90px;  /* was 110px */
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
    margin-top: -5px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(10, 30, 20, 0.90) 0%,
        rgba(16, 60, 32, 0.85) 40%,
        rgba(31, 122, 63, 0.80) 100%
    );
    pointer-events: none;
}

.hero h1 {
    font-size: 64px;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.05;
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero p {
    font-size: 20px;
    max-width: 720px;
    margin: 0 auto 50px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

/* ===================================== */
/* 7. BUTTONS */
/* ===================================== */

.btn-primary {
    background: #ffffff;
    color: var(--primary-dark);
    padding: 20px 50px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ===================================== */
/* 8. GRID SYSTEM */
/* ===================================== */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-top: 40px;
}

/* ===================================== */
/* 9. CARDS (Refined – Inzofin Inspired) */
/* ===================================== */

.card {
    background: #ffffff;
    padding: 40px 45px;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Premium left accent line */
.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    border-radius: 12px 0 0 12px;
}

/* Hover effect */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.10);
}

/* Heading refinement */
.card h3 {
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: 600;
    color: #0d1f17;
}

/* Paragraph refinement */
.card p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.75;
}
/* ===================================== */
/* ADVISORY OVERLAP SECTION */
/* ===================================== */

.advisory-section {
    margin-top: -140px;   /* stronger overlap */
    position: relative;
    z-index: 20;
}

/* Special advisory card layout */
.advisory-card {
    display: flex;
    align-items: center;
    padding: 40px 45px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Remove old left line for these */
.advisory-card::before {
    display: none;
}

/* Icon wedge */
.card-icon {
    background: var(--primary);
    color: #ffffff;
    width: 95px;
    height: 95px;
    min-width: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-right: 30px;
    font-size: 34px;  /* bigger icon */
    box-shadow: 0 10px 25px rgba(31,122,63,0.35);
}
.card-icon i {
    font-size: 38px !important;
}

/* Content spacing */
.card-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.75;
}

/* Slight lift hover */
.advisory-card:hover {
    transform: translateY(-8px);
}
.advisory-section-block {
    padding: 110px 0;
}
.advisory-left h2 {
    line-height: 1.2;
}

/* ===================================== */
/* 10. SERVICE BOXES */
/* ===================================== */

.service-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 12px 35px rgba(0,0,0,0.04);
    transition: 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
}
.service-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
/* ===================================== */
/* 11. TITLES */
/* ===================================== */

.section-title {
    font-size: 36px;
    margin-bottom: 30px;
}

/* ===================================== */
/* 12. DARK SECTION */
/* ===================================== */

.dark-section {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 120px 0;
    text-align: center;
}

.dark-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.dark-section p {
    opacity: 0.85;
    margin-bottom: 40px;
}

/* ===================================== */
/* 13. RESPONSIVE + MOBILE NAVIGATION */
/* ===================================== */

/* Hamburger hidden on desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================= MOBILE ================= */

.mobile-cta {
    display: none;
}

@media (max-width: 992px) {

    .header-inner {
        width: 92%;
        justify-content: space-between;
        gap: 0;
    }

    .logo img {
        height: 55px;
    }

    /* Hide Desktop CTA */
    .header-cta {
        display: none;
    }

    /* Show Hamburger */
    .menu-toggle {
        display: flex;
    }

/* Dropdown Menu */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        text-align: center;
        z-index: 999;
    }

    .main-nav.active {
        max-height: 500px; /* enough for menu items */
        padding: 30px 0;
    }

    .main-nav .menu {
        flex-direction: column;
        gap: 20px;
    }

    /* CTA inside dropdown */
    .mobile-cta {
        display: block;
        margin-top: 25px;
    }

    .mobile-cta a {
        background: var(--primary-dark);
        color: #ffffff;
        padding: 10px 20px;
        text-decoration: none;
        font-size: 13px;
        border-radius: 4px;
        display: inline-block;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
     .main-nav .menu li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .main-nav .menu li:last-child {
        border-bottom: none;
    }

    .main-nav .menu li a {
        font-size: 17px;
        font-weight: 600;
        color: #111;    }
}

/* Small Mobile */

@media (max-width: 600px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }
}

/* ===================================== */
/* FOOTER */
/* ===================================== */

.site-footer {
    background: #0d1f17;
    color: #ffffff;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-social {
    margin-top: 15px;
}

.footer-social a {
    display: inline-block;
    margin-right: 12px;
    font-size: 16px;
    color: #ffffff;
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent);
}

/* Bottom bar */
.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    background: #09150f;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social a {
        margin: 0 8px;
    }
}
/* ===================================== */
/* CLICKABLE ADVISORY CARDS */
/* ===================================== */

.advisory-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.advisory-link .advisory-card {
    transition: all 0.35s ease;
    cursor: pointer;
}

.advisory-link:hover .advisory-card {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}
/* Remove default link styling inside advisory cards */

.advisory-link {
    text-decoration: none;
    color: inherit;
}

.advisory-link h3,
.advisory-link p {
    color: inherit;
    text-decoration: none;
}
.advisory-link:hover h3 {
    color: var(--primary-dark);
}
.advisory-link:hover p {
    color: var(--primary);
}
