* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

/* NAVBAR */
.navbar {
    position: absolute;
    top: 20px;
    width: 100%;
    z-index: 10;
}

.nav-container {
    width: 85%;
    margin: auto;
    background: #1c2b4a;
    border-radius: 16px;
    padding: 10px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.logo img {
    height: 45px;
}

/* NAV BUTTON */
.nav-btn {
    background: linear-gradient(135deg, #4c7cf3, #5a8cff);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    border: 2px solid rgba(255,255,255,0.7);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76,124,243,0.4);
    border-color: #ffffff;
}

/* HERO */
.hero {
    height: 100vh;
    background: url('assets/herobackground.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    padding: 110px 8% 70px;
    position: relative;
    color: white;
    overflow: hidden;
}

/* CONTENT */
.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

/* HEADING */
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0px 3px 10px rgba(0,0,0,0.5);
}

/* TEXT */
.hero-content p {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 520px;
}

/* CTA BUTTON */
.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4c7cf3, #5a8cff);
    padding: 13px 24px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
    border: 2px solid rgba(255,255,255,0.7);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76,124,243,0.4);
    border-color: #ffffff;
}

/* HERO IMAGE */
.hero-image {
    position: absolute;
    right: 10%;          /* more right spacing */
    bottom: 0;
    top: 80px;          /* less top gap */
    z-index: 2;
    width: 55%;         /* bigger image area */
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-image img {
    max-height: 105%;
    width: auto;
    object-fit: contain;

    /* optional premium feel */
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        padding: 100px 20px 60px;
        height: auto;
    }

    /* IMAGE FIRST */
    .hero-image {
        position: relative;
        width: 100%;
        margin-top: 10px;   /* less top gap */
        order: -1;
        top: 0;
        right: 0;
        justify-content: center;
    }

    .hero-image img {
        width: calc(100% - 30px);  /* bigger image */
        max-height: none;
    }

    /* TEXT */
    .hero-content {
        margin-top: 20px;
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 14px;
    }
}

/* SECTION */
.uncertainty {
    padding: 80px 8%;
    background: #f7f7f7;
    text-align: center;
}

.uncertainty h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 10px;
}

.uncertainty h2 span {
    color: #4c7cf3;
}

.subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

/* GRID */
.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* CARD BASE */
.card {
    background: #eaeaea;
    border-radius: 14px;
    padding: 20px;
    text-align: left;
    position: relative;
    transition: 0.3s;
}

/* ICON */
.card img {
    width: 26px;
    margin-bottom: 15px;
}

/* TEXT */
.card p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* BOTTOM BLUE LINE */
.card::after {
    content: "";
    position: absolute;
    inset: 0; /* full cover */
    border-radius: 14px; /* ðŸ”¥ same as card */
    border-bottom: 4px solid #4c7cf3; /* only bottom visible */
    pointer-events: none;
}

/* SIZE VARIATION */
.small {
    height: 170px;
}

.big {
    height: 180px;
}

/* HOVER */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .small, .big {
        height: auto;
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: repeat(2, 1fr); /* ðŸ”¥ 2 cards per row */
        gap: 12px;
    }

    .card {
        padding: 15px;
    }

    .card p {
        font-size: 13px;
    }
}

/* SECTION */
.trend-section {
    padding: 80px 8%;
    background: #f4f4f4;
    text-align: center;
}

/* CONTAINER */
.trend-container {
    max-width: 1100px;
    margin: auto;
}

/* HEADING */
.trend-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #1c2b4a;
}

.trend-section h2 span {
    color: #4c7cf3;
}

/* ARROW */
.trend-arrow {
    width: 35px;
    margin: 10px auto 30px;
    display: block;
    opacity: 0.7;
}

/* IMAGE */
.trend-image img {
    width: 100%;
    max-width: 850px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .trend-section h2 {
        font-size: 26px;
    }

    .trend-image img {
        max-width: 100%;
    }
}


/* SECTION */
.approach {
    padding: 80px 8%;
    color: white;
    position: relative;
    overflow: hidden;

    /* ðŸ”¥ exact dark + light gradient */
    background: radial-gradient(circle at 80% 50%, rgba(76,124,243,0.25), transparent 40%),
                linear-gradient(135deg, #1c2b4a 20%, #243b6b 60%, #2f4f8f 100%);
}

/* CONTAINER */
.approach-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* TEXT */
.approach-text {
    max-width: 520px;
}

.approach-text .line {
    width: 80px;
    height: 6px;
    background: #4c7cf3;
    border-radius: 10px;
    margin-bottom: 20px;
}

.approach-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.approach-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #dbe3ff;
    margin-bottom: 15px;
}

/* IMAGE SIDE */
.approach-image {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: center;
}

/* ðŸ”¥ glow behind image */
.approach-image::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76,124,243,0.5), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.approach-image img {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .approach-container {
        flex-direction: column;
        text-align: center;
    }

    .approach-text {
        max-width: 100%;
    }

    /* ðŸ”¥ important: glow image ke peeche hi aaye */
    .approach-image {
        width: 100%;
        margin-top: 30px;
    }

    .approach-image::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .approach-image img {
        max-width: 320px;
    }
}


/* SECTION */
.exception {
    padding: 80px 8%;
    background: url('assets/except.jpg') no-repeat center/cover;
    position: relative;
    color: white;
}

/* optional overlay for readability */
.exception::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 40, 0.7);
}

.exception-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.exception h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

/* GRID DESKTOP */
.exception-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.ex-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    text-align: left;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.ex-card img {
    width: 30px;
    margin-bottom: 15px;
}

.ex-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* hover */
.ex-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* ðŸ“± MOBILE CUSTOM PATTERN */
@media (max-width: 768px) {

    .exception-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .ex-card {
        width: 100%;
    }

    /* 2nd & 3rd cards row (2 cards) */
    .ex-card:nth-child(2),
    .ex-card:nth-child(3),
    .ex-card:nth-child(5),
    .ex-card:nth-child(6) {
        width: calc(50% - 8px);
    }

    /* 1st & 4th single row */
    .ex-card:nth-child(1),
    .ex-card:nth-child(4) {
        width: 100%;
    }
}

/* SECTION */

/* SECTION */
.expect {
    padding: 80px 8%;
    color: white;
    text-align: center;
    position: relative;

    background: 
        linear-gradient(rgba(10,20,40,0.7), rgba(10,20,40,0.7)),
        url('assets/except.jpg') center/cover no-repeat;
}

/* CONTAINER */
.expect-container {
    max-width: 1200px;
    margin: auto;
}

/* HEADING */
.expect h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 50px;
}

/* GRID WRAPPER */
.expect-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ROW BASE */
.row {
    display: grid;
    gap: 20px;
}

/* ðŸ”¥ EXACT WIDTHS */

/* ROW 1 â†’ 37% 37% 26% */
.row-1 {
    grid-template-columns: 37% 37% 26%;
}

/* ROW 2 â†’ 45% 27.5% 27.5% */
.row-2 {
    grid-template-columns: 45% 29% 26%;
}

/* CARD BASE */
.expt-card {
    padding: 25px;
    border-radius: 16px;
    text-align: left;

    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);

    height: 100%;
    transition: 0.3s;
}

/* ICON */
.expt-card img {
    width: 32px;
    margin-bottom: 15px;
}

/* TEXT */
.expt-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.expt-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #dbe3ff;
}

/* SPECIAL STYLES */

/* Card 2 (light) */
.row-1 .expt-card:nth-child(2) {
    background: rgba(255,255,255,0.9);
    color: #1c2b4a;
}
.row-1 .expt-card:nth-child(2) p {
    color: #333;
}

/* Blue cards */
.row-1 .expt-card:nth-child(1),
.row-2 .expt-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(76,124,243,0.7), rgba(76,124,243,0.4));
}

/* Outline card */
.row-2 .expt-card:nth-child(1) {
    border: 1px solid #4c7cf3;
    background: rgba(255,255,255,0.04);
}

/* Hover */
.expt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* ðŸ“± MOBILE */
@media (max-width: 768px) {

    .row-1,
    .row-2 {
        grid-template-columns: 1fr;
    }

    .expt-card {
        width: 100%;
    }
}



/* SECTION */
.services {
    padding: 80px 8%;
    background: #f5f6f8;
    text-align: center;
}

/* HEADING */
.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 500;
    color: #1c2b4a;
    margin-bottom: 10px;
}

.subtitle {
    color: #8a8f98;
    font-size: 15px;
    margin-bottom: 55px;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 22px;
    text-align: center;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);

    overflow: hidden; /* 🔥 IMPORTANT FIX */
}

/* TOP BORDER */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}
.service-card.blue::before {
    background: #4c7cf3;
}

.service-card.orange::before {
    background: #ff6a00;
}

/* ICON */
.service-card img {
    width: 38px;
    margin-bottom: 18px;
    opacity: 0.9;
}

/* TITLE */
.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1c2b4a;
    margin-bottom: 14px;
}

/* TEXT */
.service-card p {
    font-size: 13.5px;
    color: #8a8f98;
    line-height: 1.6;
}

/* SMALL TEXT */
.small-text {
    margin-bottom: 12px;
}

/* LIST */
.service-card ul {
    text-align: left;
    padding-left: 18px;
    margin-top: 10px;
}

.service-card li {
    font-size: 13.5px;
    color: #8a8f98;
    margin-bottom: 6px;
}

/* HOVER */
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}