/* =========================================
   GLOBAL VARIABLES
========================================= */

:root {
    --primary: #071a33;
    --primary-light: #0d2f55;
    --gold: #c9a227;
    --gold-light: #e4c55d;
    --white: #ffffff;
    --text: #5f6b7a;
    --light: #f7f9fc;
    --border: #e6ebf0;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}


/* =========================================
   GLOBAL STYLES
========================================= */

* {
    box-sizing: border-box;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}


/* =========================================
   ATTESTATION HERO SECTION
========================================= */

.attestation-hero {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 640px;

    padding: 85px 0;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            rgba(5, 22, 45, 0.96) 0%,
            rgba(7, 31, 60, 0.90) 50%,
            rgba(7, 26, 51, 0.78) 100%
        ),
        url("../assets/attestation.webp")
        center center / cover no-repeat;
}


/* =========================================
   HERO CONTAINER
========================================= */

.attestation-hero .attestation-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


/* =========================================
   HERO GRID LAYOUT
========================================= */

.attestation-hero .hero-content {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);

    align-items: center;
    gap: 55px;

    text-align: left;
}


/* =========================================
   LEFT COLUMN
========================================= */

.attestation-hero .hero-left {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* =========================================
   HERO BADGE
========================================= */

.attestation-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    gap: 10px;

    max-width: 100%;
    padding: 11px 18px;

    margin: 0 0 25px;

    background: rgba(201, 162, 39, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 50px;

    color: var(--gold-light);

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;

    text-align: left;
}

.attestation-hero .hero-badge i {
    flex-shrink: 0;

    font-size: 18px;
    color: var(--gold-light);
}


/* =========================================
   MAIN HEADING
========================================= */

.attestation-hero .hero-left h1 {
    width: 100%;
    max-width: 560px;

    margin: 0;
    padding: 0;

    color: var(--white);

    font-family: "DM Sans", sans-serif;
    font-size: clamp(38px, 3.6vw, 52px);

    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;

    text-align: left;

    overflow-wrap: break-word;
}

/* Highlighted Heading Text */

.attestation-hero .hero-left h1 span {
    display: block;

    margin-top: 4px;

    color: var(--gold-light);
}


/* =========================================
   RIGHT COLUMN
========================================= */

.attestation-hero .hero-right {
    width: 100%;
    max-width: 500px;

    min-width: 0;

    justify-self: end;
}


/* =========================================
   HERO DESCRIPTION
========================================= */

.attestation-hero .hero-right p {
    width: 100%;
    max-width: 480px;

    margin: 0;
    padding: 0;

    color: rgba(255, 255, 255, 0.88);

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;

    line-height: 1.9;

    text-align: left;
}


/* =========================================
   HERO BUTTONS
========================================= */

.attestation-hero .hero-btns {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;
    gap: 14px;

    margin-top: 28px;
}


/* Common Button Styles */

.attestation-hero .hero-btns a {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 22px;

    border-radius: 50px;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;

    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================
   PRIMARY BUTTON
========================================= */

.attestation-hero .btn-primary {
    background: var(--gold);
    border: 1px solid var(--gold);

    color: var(--primary);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.attestation-hero .btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);

    color: var(--primary);

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}


/* =========================================
   OUTLINE BUTTON
========================================= */

.attestation-hero .btn-outline {
    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.45);

    color: var(--white);
}

.attestation-hero .btn-outline:hover {
    background: var(--white);
    border-color: var(--white);

    color: var(--primary);

    transform: translateY(-3px);
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .attestation-hero {
        min-height: 500px;
        padding: 75px 0;
    }

    .attestation-hero .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 35px;
    }

    .attestation-hero .hero-left h1 {
        font-size: clamp(34px, 4vw, 44px);
        letter-spacing: -0.8px;
    }

    .attestation-hero .hero-badge {
        padding: 10px 14px;
        font-size: 12px;
    }

    .attestation-hero .hero-right p {
        font-size: 15px;
        line-height: 1.8;
    }

    .attestation-hero .hero-btns {
        gap: 10px;
    }

    .attestation-hero .hero-btns a {
        min-height: 48px;
        padding: 12px 17px;
        font-size: 13px;
    }
}


/* =========================================
   SMALL TABLET
========================================= */

@media (max-width: 850px) {

    .attestation-hero {
        min-height: auto;
        padding: 70px 0;
    }

    .attestation-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .attestation-hero .hero-left h1 {
        max-width: 650px;
        font-size: clamp(38px, 6vw, 50px);
    }

    .attestation-hero .hero-right {
        max-width: 620px;
        justify-self: start;
    }

    .attestation-hero .hero-right p {
        max-width: 620px;
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .attestation-hero {
        min-height: auto;

        padding: 60px 0;

        background-position: center center;
    }

    .attestation-hero .attestation-container {
        width: 90%;
    }

    .attestation-hero .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    /* Badge */

    .attestation-hero .hero-badge {
        gap: 8px;

        padding: 9px 13px;
        margin-bottom: 22px;

        font-size: 11px;
        line-height: 1.5;
    }

    .attestation-hero .hero-badge i {
        font-size: 16px;
    }

    /* Heading */

    .attestation-hero .hero-left h1 {
        max-width: 100%;

        font-size: clamp(33px, 8vw, 43px);

        line-height: 1.15;
        letter-spacing: -0.8px;
    }

    .attestation-hero .hero-left h1 span {
        margin-top: 5px;
    }

    /* Description */

    .attestation-hero .hero-right {
        max-width: 100%;
    }

    .attestation-hero .hero-right p {
        max-width: 100%;

        font-size: 15px;
        line-height: 1.8;
    }

    /* Buttons */

    .attestation-hero .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 12px;
        margin-top: 24px;
    }

    .attestation-hero .hero-btns a {
        width: 100%;
        min-height: 50px;

        padding: 13px 20px;

        font-size: 14px;
        white-space: normal;
    }
}


/* =========================================
   EXTRA SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .attestation-hero {
        padding: 50px 0;
    }

    .attestation-hero .hero-left h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .attestation-hero .hero-badge {
        font-size: 10px;
        padding: 8px 10px;
    }

    .attestation-hero .hero-right p {
        font-size: 14px;
    }
}


/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .attestation-hero .hero-btns a {
        transition: none;
    }

    .attestation-hero .hero-btns a:hover {
        transform: none;
    }
}

/* COMMON */

.intro-section,
.services-section,
.process-section,
.documents-section,
.benefits-section,
.faq-section{
    padding:100px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:var(--gold);
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}

.section-title h2{
    font-size:44px;
    margin-top:12px;
    color:var(--primary);
}

/* INTRO */

.intro-grid{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:50px;
    align-items:center;
}

.intro-content p{
    margin-bottom:20px;
    line-height:1.9;
    color:var(--text);
}

.intro-image{
    height:320px;
    border-radius:30px;
    background:linear-gradient(135deg,#071a33,#0d2f55);
    display:flex;
    align-items:center;
    justify-content:center;
}

.intro-image i{
    color:var(--gold);
    font-size:120px;
}

/* SERVICES */

.services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.service-card{
    background:#fff;
    padding:35px;
    border-radius:25px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.4s;
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card i{
    font-size:45px;
    color:var(--gold);
    margin-bottom:20px;
}

.service-card h3{
    margin-bottom:15px;
    color:var(--primary);
}

.service-card p{
    color:var(--text);
    line-height:1.7;
}

/* TIMELINE */

.timeline{
    max-width:900px;
    margin:auto;
    position:relative;
}

.timeline::before{
    content:"";
    position:absolute;
    left:35px;
    top:0;
    bottom:0;
    width:4px;
    background:var(--gold);
}

.timeline-item{
    display:flex;
    gap:25px;
    margin-bottom:45px;
}

.number{
    width:70px;
    height:70px;
    min-width:70px;
    border-radius:50%;
    background:var(--gold);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    color:#071a33;
    z-index:2;
}

.content{
    background:#fff;
    flex:1;
    padding:30px;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.content h3{
    margin-bottom:10px;
    color:var(--primary);
}

.content p{
    color:var(--text);
}

/* DOCUMENTS */

.documents-section{
    background:var(--light);
}

.docs-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.doc-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.4s;
}

.doc-card:hover{
    transform:translateY(-8px);
}

.doc-card i{
    font-size:40px;
    color:var(--gold);
    margin-bottom:15px;
}

.doc-card span{
    display:block;
    color:var(--primary);
    font-weight:600;
}

/* BENEFITS */

.benefit-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.benefit-card{
    background:#fff;
    border-radius:25px;
    padding:35px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.4s;
}

.benefit-card:hover{
    transform:translateY(-10px);
}

.benefit-card i{
    font-size:40px;
    color:var(--gold);
    margin-bottom:18px;
}

.benefit-card h3{
    margin-bottom:15px;
    color:var(--primary);
}

.benefit-card p{
    color:var(--text);
}

/* FAQ */

.faq-section{
    background:var(--light);
}

.faq-item{
    background:#fff;
    border-radius:18px;
    margin-bottom:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.faq-btn{
    width:100%;
    border:none;
    background:none;
    text-align:left;
    padding:25px;
    cursor:pointer;
    font-size:18px;
    font-weight:600;
    color:var(--primary);
}

.faq-content{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;
    padding:0 25px;
    color:var(--text);
    line-height:1.8;
}

.faq-content.active{
    padding-bottom:25px;
}

/* CTA */

.cta-section{
    padding:100px 20px;
    text-align:center;
    background:linear-gradient(135deg,#071a33,#0d2f55);
    color:#fff;
}

.cta-section h2{
    font-size:50px;
    margin-bottom:20px;
}

.cta-section p{
    max-width:700px;
    margin:auto;
    margin-bottom:30px;
    line-height:1.8;
}

.cta-btn{
    display:inline-block;
    background:var(--gold);
    color:#071a33;
}

/* ANIMATION */

.service-card,
.doc-card,
.benefit-card,
.timeline-item,
.faq-item{
    opacity:0;
    transform:translateY(40px);
    transition:.8s;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* RESPONSIVE */

@media(max-width:992px){

    .services-grid,
    .docs-grid,
    .benefit-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .intro-grid{
        grid-template-columns:1fr;
    }

    .attestation-hero h1{
        font-size:48px;
    }
}

@media(max-width:768px){

    .services-grid,
    .docs-grid,
    .benefit-grid{
        grid-template-columns:1fr;
    }

    .attestation-hero h1{
        font-size:36px;
    }

    .section-title h2{
        font-size:30px;
    }

    .cta-section h2{
        font-size:34px;
    }
}

/* =====================================
   ATTESTATION HERO - VERTICAL LAYOUT
===================================== */

.attestation-hero .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    gap: 0 !important;
    text-align: left !important;
}

/* Badge at the top */

.attestation-hero .hero-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.attestation-hero .hero-badge {
    margin-bottom: 22px !important;
}

/* Heading below badge */

.attestation-hero .hero-left h1 {
    width: 100%;
    max-width: 850px !important;

    margin: 0 0 25px !important;

    font-size: clamp(38px, 4.5vw, 58px) !important;
    line-height: 1.15 !important;

    text-align: left !important;
}

/* Description below heading */

.attestation-hero .hero-right {
    width: 100% !important;
    max-width: 850px !important;

    justify-self: auto !important;
    margin: 0 !important;
}

.attestation-hero .hero-right p {
    width: 100%;
    max-width: 800px !important;

    margin: 0 !important;

    font-size: 16px;
    line-height: 1.8;

    text-align: left !important;
}

/* Buttons below description */

.attestation-hero .hero-btns {
    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: flex-start !important;

    gap: 15px;
    margin-top: 25px !important;
}

/* Mobile responsive */

@media (max-width: 600px) {

    .attestation-hero {
        min-height: auto;
        padding: 60px 0;
    }

    .attestation-hero .hero-left h1 {
        font-size: 36px !important;
    }

    .attestation-hero .hero-right p {
        font-size: 15px;
    }

    .attestation-hero .hero-btns {
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .attestation-hero .hero-btns a {
        width: 100%;
    }
}