html, body{
    scroll-behavior:smooth;
    width:100%;
    overflow-x:hidden;
}

/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* VARIABLES */
:root{
    --primary:#02083F;
    --secondary:#E8D47A;
    --accent:#C88A12;
    --white:#ffffff;
    --gray:#f7f7f7;
    --dark:#111827;
}

/* GLOBAL */
html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--dark);
    background:white;
}

h1,h2,h3{
    font-family:'Poppins',sans-serif;
}

a{
    text-decoration:none;
}

/* HEADER */
.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);
    box-shadow:0 5px 20px rgba(0,0,0,.05);
    z-index:1000;
}

.menu-toggle{
    display:none;
    font-size:2rem;
    cursor:pointer;
    color:var(--primary);
}

.logo img{
    height: 115px;
}

.navbar{
    display:flex;
    gap:40px;
}

.navbar a{
    color:var(--primary);
    font-weight:600;
    transition:.3s;
}

.navbar a.active{
    color:#d4a017;
}

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

.nav-btn{
    background:var(--primary);
    color:white;
    padding:12px 24px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.nav-btn:hover{
    transform:translateY(-3px);
}

/* HERO */
.hero{
    min-height:100vh;
    padding:150px 8% 80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
}

.hero-content{
    flex:1;
}

.hero-badge{
    display:inline-block;
    padding:8px 18px;
    background:#f8f5e9;
    color:var(--accent);
    border-radius:50px;
    font-weight:600;
    margin-bottom:20px;
}

.tagline{
    display:block;
    color:var(--accent);
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:20px;
}

.hero-content h1{
    max-width:650px;
    font-size:4rem;
    line-height:1.1;
    margin-bottom:25px;
    color:var(--primary);
}

.hero-content p{
    font-size:1.2rem;
    line-height:1.8;
    color:#555;
    margin-bottom:40px;
    max-width:650px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn-primary{
    background:var(--primary);
    color:white;
    padding:16px 30px;
    border-radius:10px;
    transition:.3s;
}

.hero-book{
    display:inline-block;
    margin-top:20px;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    border:2px solid var(--primary);
    color:var(--primary);
    padding:16px 30px;
    border-radius:10px;
    transition:.3s;
}

.btn-secondary:hover{
    background:var(--primary);
    color:white;
}

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
    position:relative;
}

.hero-image::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:var(--secondary);
    opacity:.15;
    border-radius:50%;
    top:-40px;
    right:-20px;
    z-index:-1;
}

.hero-image img{
    width:100%;
    max-width:600px;
    border-radius:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

/* IMPACT */
.impact{
    padding:100px 8%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    background:var(--gray);
}

.impact-card{
    background:white;
    border-top:6px solid var(--secondary);
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
}

.impact-card:hover{
    transform:translateY(-10px);
}

.impact-card h3{
    color:var(--primary);
    margin-bottom:15px;
    font-size:1.5rem;
}

.impact-card p{
    color:#555;
    line-height:1.8;
}

/* ABOUT SECTION */
.about{
    padding:120px 8%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.1);
}

.section-tag{
    color:var(--secondary);
    font-weight:700;
    letter-spacing:2px;
}

.about-content h2{
    font-size:3rem;
    color:var(--primary);
    margin:20px 0;
}

.about-content p{
    line-height:1.9;
    color:#555;
    margin-bottom:20px;
}

.about-values{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:40px;
}

.value{
    background:white;
    border-top:6px solid var(--secondary);
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.value h4{
    color:var(--primary);
    margin-bottom:10px;
}

/* FRAMEWORK */
.framework{
    padding:120px 8%;
    background:var(--primary);
    color:white;
}

.section-heading{
    text-align:center;
    max-width:800px;
    margin:auto;
}

.section-heading h2{
    font-size:3rem;
    margin:20px 0;
}

.section-heading p{
    line-height:1.8;
    color:#d1d5db;
}

.framework-grid{
    margin-top:70px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.framework-card{
    background:rgba(255,255,255,.05);
    padding:35px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.framework-card:hover{
    transform:translateY(-10px);
    background:rgba(255,255,255,.1);
}

.card-number{
    font-size:2rem;
    font-weight:700;
    color:var(--secondary);
    margin-bottom:20px;
}

.framework-card h3{
    margin-bottom:15px;
    line-height:1.4;
}

.framework-card p{
    color:#d1d5db;
    line-height:1.8;
}

/* ENGAGEMENTS */
.engagements{
    padding:120px 8%;
    background:white;
}

.dark h2{
    color:var(--primary);
}

.dark p{
    color:#555;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
    padding-top:40px;
}

.gallery-item{
    height:300px;
    overflow:hidden;
    border-radius:20px;
    background:#f0f0f0;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/* ==========================================
   FIX FOR TALL PORTRAIT IMAGES
========================================== */

/* Fix for event6.jpg (784x1524 - very tall portrait) */
.gallery-item:nth-child(6) img {
    object-position: center 15%;
}

/* Fix for event8.jpg (960x1280 - standard portrait) */
.gallery-item:nth-child(8) img {
    object-position: center 20%;
}

/* SERVICES */
.services{
    padding:120px 8%;
    background:#f8fafc;
}

.services-grid{
    margin-top:70px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card h3{
    color:var(--primary);
    margin-bottom:25px;
}

.service-card ul{
    list-style:none;
    margin-bottom:35px;
}

.service-card li{
    margin-bottom:15px;
    color:black;
}

.service-card li::before{
    content:"✓ ";
    color:var(--accent);
    font-weight:bold;
}

.service-btn{
    display:inline-block;
    background:var(--primary);
    color:white;
    padding:14px 25px;
    border-radius:10px;
    transition:.3s;
}

.service-btn:hover{
    background:var(--accent);
}

.featured{
    border-top:6px solid var(--secondary);
    transform:scale(1.03);
}

/* INSIGHTS */
.insights{
    padding:120px 8%;
    background:#ffffff;
}

.insights-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.insight-card{
    background:#f8fafc;
    padding:35px;
    border-radius:20px;
    transition:0.3s ease;
}

.insight-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

.insight-tag{
    display:inline-block;
    background:#f5d76e;
    color:#07114f;
    padding:8px 14px;
    border-radius:50px;
    font-size:0.85rem;
    font-weight:600;
    margin-bottom:20px;
}

.insight-card h3{
    color:#07114f;
    font-size:1.4rem;
    line-height:1.4;
    margin-bottom:15px;
}

.insight-card p{
    color:#555;
    line-height:1.8;
    margin-bottom:20px;
}

.read-more{
    color:#07114f;
    font-weight:600;
    text-decoration:none;
}

/* INSIGHTS PAGE HERO */
.insights-hero {
    padding: 160px 8% 80px;
    text-align: center;
    background: #ffffff;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.insights-hero .section-tag {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.insights-hero h1 {
    color: var(--accent);
    font-size: 4rem;
    line-height: 1.2;
    margin: 20px 0;
    max-width: 800px;
}

.insights-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
    font-size: 1.2rem;
}

/* PARTNERSHIPS */
.partnerships{
    padding:120px 8%;
    background:white;
}

.partnerships-grid{
    margin-top:70px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.partnership-card{
    background:#f8fafc;
    padding:40px;
    border-radius:20px;
    transition:.3s;
    border:1px solid transparent;
}

.partnership-card:hover{
    transform:translateY(-10px);
    border-color:var(--secondary);
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.partnership-icon{
    font-size:2.5rem;
    margin-bottom:20px;
}

.partnership-card h3{
    color:var(--primary);
    margin-bottom:15px;
}

.partnership-card p{
    color:#555;
    line-height:1.8;
}

.partnership-cta{
    text-align:center;
    margin-top:80px;
    background:var(--primary);
    padding:60px;
    border-radius:25px;
    color:white;
}

.partnership-cta h3{
    font-size:2rem;
    margin-bottom:20px;
}

.partnership-cta p{
    max-width:700px;
    margin:0 auto 30px;
    line-height:1.8;
    color:#d1d5db;
}

.partner-btn{
    display:inline-block;
    background:var(--secondary);
    color:var(--primary);
    padding:16px 30px;
    border-radius:10px;
    font-weight:700;
    transition:.3s;
}

.partner-btn:hover{
    transform:translateY(-5px);
}

/* CTA */
.cta{
    padding:120px 8%;
    background:var(--primary);
    text-align:center;
    color:white;
}

.cta-content{
    max-width:900px;
    margin:auto;
}

.cta h2{
    font-size:3rem;
    margin-bottom:25px;
}

.cta p{
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:40px;
    color:#d1d5db;
}

.cta-btn{
    display:inline-block;
    background:var(--secondary);
    color:var(--primary);
    padding:18px 35px;
    border-radius:10px;
    font-weight:700;
    transition:.3s;
}

.cta-btn:hover{
    transform:translateY(-5px);
}

/* CONTACT */
.contact{
    padding:120px 8%;
    background:#f8fafc;
}

.contact .section-heading{
    margin-bottom:60px;
}

.contact-title{
    color:var(--primary);
    font-size:3.2rem;
    margin:15px 0;
}

.contact-container{
    margin-top:60px;
    display:grid;
    grid-template-columns:1fr 1.4fr;
    gap:60px;
    align-items:start;
}

.contact-info{
    background:white;
    padding:40px;
    border-radius:24px;
    box-shadow:0 15px 40px rgba(0,0,0,.05);
}

.contact-info h3{
    font-size:2rem;
    color:#08135c;
    margin-bottom:20px;
}

.contact-info p{
    color:black;
    line-height:1.8;
    margin-bottom:30px;
}

.info-services{
    margin-top:30px;
}

.info-services h4{
    color:var(--primary);
    margin-bottom:15px;
}

.info-services ul{
    padding-left:20px;
}

.info-services li{
    margin-bottom:10px;
    color:#555;
}

.contact-form-card{
    background:white;
    padding:40px;
    border-radius:24px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea{
    width:100%;
    padding:18px 20px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    font-size:1rem;
    font-family:inherit;
    transition:.3s;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus{
    outline:none;
    border-color:var(--accent);
    box-shadow:0 0 0 4px rgba(200,138,18,.15);
}

.contact-form-card textarea{
    resize:vertical;
}

#form-message{
    margin-top:20px;
    font-weight:600;
}

/* FOOTER */
.footer{
    background:var(--primary);
    color:white;
}

.footer-container{
    max-width:1200px;
    margin:0 auto;
    padding:80px 40px;
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:80px;
    align-items:start;
}

.footer-logo{
    height:90px;
    margin-bottom:25px;
}

.footer-brand p{
    color:#d1d5db;
    max-width:500px;
    font-size:17px;
    line-height:1.9;
}

.footer-social h3{
    margin-bottom:20px;
    color:var(--secondary);
}

.social-icons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.social-icons a{
    width:52px;
    height:52px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:white;
    font-size:1.3rem;
    transition:.3s;
}

.social-icons a:hover{
    background:var(--secondary);
    color:var(--primary);
    transform:translateY(-5px);
}

.footer-contact p{
    color:#d1d5db;
    margin-bottom:15px;
    line-height:1.7;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    text-align:center;
    padding:25px;
    color:#d1d5db;
}

/* WHATSAPP BUTTON */
.whatsapp-btn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    z-index:999;
    transition:.3s;
}

.whatsapp-btn:hover{
    transform:translateY(-5px) scale(1.05);
}

/* ARTICLE PAGE */
.article-hero{
    padding:220px 8% 80px;
    text-align:center;
    max-width:1100px;
    margin:auto;
}

.article-tag{
    display:inline-block;
    background:#f5d76e;
    color:#07114f;
    padding:8px 18px;
    border-radius:50px;
    font-weight:600;
    margin-bottom:20px;
}

.article-hero h1{
    font-size:4.5rem;
    line-height:1.1;
    color:#07114f;
    margin-bottom:20px;
}

.article-hero p{
    font-size:1.2rem;
    color:#555;
    line-height:1.8;
}

.article-featured-image{
    padding:0 8%;
}

.article-featured-image img{
    width:100%;
    max-height:600px;
    object-fit:cover;
    border-radius:24px;
}

.article-content{
    padding:10px 8%;
}

.article-container{
    padding:10px;
    max-width:850px;
    margin:auto;
}

.article-container p{
    line-height:2;
    color:#444;
    margin-bottom:25px;
    font-size:1.1rem;
}

.article-container h2{
    color:#07114f;
    margin:50px 0 20px;
    font-size:2rem;
}

.article-cta{
    background:#ffffff;
    color:#07114f;
    text-align:center;
    padding:100px 8%;
}

.article-cta h2{
    color:#07114f;
    font-size:2.5rem;
    margin-bottom:20px;
}

.article-cta p{
    color:#555;
    max-width:700px;
    margin:auto;
    margin-bottom:35px;
    line-height:1.8;
}

.article-meta{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    margin:25px 0;
    color:#64748b;
    font-size:0.95rem;
}

.article-meta span{
    display:flex;
    align-items:center;
    gap:8px;
}

.article-meta i{
    color:var(--accent);
}

.author-box{
    max-width:900px;
    margin:100px auto;
    padding:40px;
    background:#fff;
    border-radius:20px;
    display:flex;
    gap:30px;
    align-items:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.author-image{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.author-content h3{
    color:var(--primary);
    margin-bottom:10px;
}

.author-content p{
    margin-bottom:20px;
    line-height:1.8;
}

/* INSIGHTS PAGE GRID */
.insights-grid{
    padding:0 8% 120px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.insight-card{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

/* IMAGE FIX - applies to all images */
img{
    max-width:100%;
    display:block;
}

/* TABLET */
@media (max-width:992px){
    .hero{
        grid-template-columns:1fr;
        text-align:center;
        gap:50px;
    }

    .hero-buttons{
        justify-content:center;
    }

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

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-item{
        height:250px;
    }

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

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

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

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

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

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
        gap:50px;
    }

    .social-icons{
        justify-content:center;
    }

    .contact-container{
        grid-template-columns:1fr;
    }

    .contact-title{
        font-size:2.5rem;
    }

    .insights-hero h1 {
        font-size: 3rem;
    }
}

/* MOBILE */
@media (max-width:768px){
    /* HEADER */
    .header{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        background:#fff;
        padding:15px 6%;
        display:flex;
        justify-content:space-between;
        flex-direction:row;
        align-items:center;
        z-index:1000;
        box-shadow:0 2px 20px rgba(0,0,0,.05);
        transition:transform .3s ease;
    }

    .header.hide{
        transform:translateY(-100%);
    }

    .logo img{
        width:90px;
        height:auto;
    }

    .menu-toggle{
        display:block !important;
        font-size:2.2rem;
        color:var(--primary);
        cursor:pointer;
        margin-left:auto;
        z-index:1001;
        background:transparent;
        border:none;
        padding:5px;
    }

    /* MOBILE NAVIGATION */
    .navbar{
        display:none !important;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#ffffff;
        flex-direction:column;
        align-items:center;
        gap:20px;
        padding:25px 0;
        box-shadow:0 10px 30px rgba(0,0,0,.15);
        border-top:2px solid var(--secondary);
        z-index:999;
    }

    .navbar.active{
        display:flex !important;
    }

    .navbar a{
        padding:12px 20px;
        width:100%;
        text-align:center;
        font-size:1.1rem;
        border-bottom:1px solid rgba(0,0,0,0.05);
    }

    .navbar a:last-child{
        border-bottom:none;
    }

    .header .btn-primary{
        display:none;
    }

    /* HERO */
    .hero{
        padding-top:120px;
        padding-bottom:80px;
    }

    .hero-content{
        padding-top:40px;
        text-align:center;
    }

    .hero-badge{
        margin-bottom:25px;
    }

    .tagline{
        margin-bottom:25px;
    }

    .hero-content h1{
        font-size:2.2rem;
        line-height:1.2;
    }

    .hero-image{
        margin-top:40px;
        text-align:center;
    }

    .hero-image img{
        width:280px;
        max-width:100%;
    }

    .btn-primary{
        width:100%;
        max-width:300px;
    }

    /* GALLERY FIX FOR MOBILE */
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .gallery-item{
        height:200px;
    }

    /* IMPACT */
    .impact{
        grid-template-columns:1fr;
        padding:60px 20px;
    }

    .impact-card{
        padding:30px;
    }

    /* FRAMEWORK */
    .framework-grid{
        grid-template-columns:1fr;
    }

    /* ABOUT */
    .about-content h2{
        font-size:2rem;
    }

    /* SECTION TITLES */
    .section-heading h2{
        font-size:2rem;
    }

    .cta h2{
        font-size:2rem;
    }

    /* INSIGHTS HERO */
    .insights-hero {
        padding: 140px 5% 60px;
        min-height: 200px;
    }

    .insights-hero h1 {
        font-size: 2.5rem;
    }

    .insights-hero p {
        font-size: 1rem;
    }

    /* INSIGHTS GRID */
    .insights-grid {
        grid-template-columns: 1fr;
        padding: 0 5% 60px;
    }

    /* ARTICLE PAGES */
    .article-hero{
        padding:160px 5% 60px;
    }

    .article-hero h1{
        font-size:2.5rem;
        line-height:1.2;
    }

    .article-meta{
        flex-direction:column;
        gap:10px;
    }

    .author-box{
        flex-direction:column;
        text-align:center;
    }

    /* CONTACT */
    .contact-container{
        grid-template-columns:1fr;
    }

    /* FOOTER */
    .footer-container{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:40px;
        padding:60px 25px;
    }

    .footer-brand,
    .footer-social,
    .footer-contact{
        width:100%;
        text-align:center;
    }

    .footer-brand p{
        max-width:300px;
        margin:0 auto;
    }
}

/* EXTRA SMALL PHONES */
@media (max-width:480px){
    .gallery-grid{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .gallery-item{
        height:150px;
    }

    .hero-content h1{
        font-size:1.8rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        text-align:center;
    }

    .insights-hero h1 {
        font-size: 2rem;
    }
}