* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 80%;
    max-width: 1200px;   /* ✅ prevents too wide */
    margin: auto;
}

@media (max-width: 768px) {
    .container {
        width: 92%;  /* ✅ better spacing on mobile */
    }
}

/* HEADER */
/* ========================= */
/* 🔥 HEADER FULL LINE */
/* ========================= */

.header {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* WRAPPER */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 40px;
    font-weight: 600;
    color: #174a7c;
}

.logo img {
    height: 50px;
    width: 50px;
}

/* NAV */
.nav {
    display: flex;
    gap: 20px
}

.nav a {
    text-decoration: none;
    color: #174a7c;
    font-size: 14px;
    transition: 0.3s;
}

.nav a:hover {
    color: #ffd166;
}

/* CONTACT */
.header-contact {
    display: flex;
    gap: 40px;
    font-size: 13px;
    color: #174a7c;
    margin-left: 40px;
}

.header-contact i {
    margin-right: 4px;
}
/* PHONE BLOCK */
.phone {
    display: flex;
    flex-direction: column;
}

/* SECOND NUMBER (ALIGN UNDER FIRST) */
.phone .second {
    margin-left: 80px; /* aligns under number, not icon */
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

   .header-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: #174a7c;
}
.phone .second {
        margin-left: 0; /* ✅ fix alignment issue */
}

}
@media (max-width: 768px) {

    /* 🔥 HEADER ONE LINE */
    .header-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* ❌ HIDE NAV MENU */
    .nav {
        display: none;
    }

    /* LOGO LEFT */
    .logo {
        justify-content: flex-start;
    }

    .logo img {
        height: 40px;
    }

    /* CONTACT RIGHT */
    .header-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        font-size: 11px;
    }

    /* PHONE ALIGN */
    .phone {
        align-items: flex-end;
    }

    .phone .second {
        margin-left: 0;
    }

}
/* HERO */
.hero {
    position: relative;
    height: 450px;
    background: url(images/bgimage.png) no-repeat center center/cover;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: 900;
}

.hero-text span {
    color: #0b3c6d;
}

.hero-agent img {
    width: 280px;
}

/* BUTTON */
.btn {
    background: linear-gradient(45deg, #2e7d32, #43a047);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* SECTION BAR */
.section-bar {
    background: #1d4e89;
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: 600;
}

/* ABOUT + REVIEW */
/* ========================= */
/* 🔥 ABOUT MODERN SECTION */
/* ========================= */

.about-modern {
    padding: 60px 0;
    background: #f8f9fb;
}

/* HEADER */
.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a4f;
}

.about-header p {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}

/* CONTENT LAYOUT */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* IMAGE SIDE */
.about-image {
    flex: 1;
    background: #f8cfcf;
    padding: 20px;
    border-radius: 20px;

    display: flex;              /* ✅ horizontal alignment */
    align-items: center;
    justify-content: center;

    min-height: 250px;          /* ✅ gives horizontal height */
}

/* IMAGE FULL WIDTH */
.about-image img {
    width: 100%;                /* ✅ take full width */
    height: 100%;
    object-fit: cover;          /* ✅ crop properly */
    border-radius: 15px;
}

/* TEXT SIDE */
.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a4f;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
}


/* ========================= */
/* 🔥 SERVICES CARD UPDATED  */
/* ========================= */

.services {
    padding: 30px 0;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* CARD */
.card {
    background: #f8f9fb;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* FIX BLUR ISSUE */
    will-change: transform;
    backface-visibility: hidden;
}

/* IMAGE */
.card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* TEXT */
.card p {
    background: #eef2f7;
    font-size: 14px;
    font-weight: 600;
    color: #1a2a4f;
    padding: 12px 8px;
    margin: 0;
}

/* HOVER EFFECT */
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

/* IMAGE HOVER */
.card:hover img {
    transform: scale(1.08);
}

/* ❌ REMOVE BLUE LINE EFFECT */
.card::after {
    display: none;
}

/* ========================= */
/* 🔥 SERVICES SLIDER */
/* ========================= */

.services-slider {
    overflow-x: auto;
    scroll-behavior: auto; /* 🔥 remove smooth blur effect */
}

/* SCROLLBAR */
.services-slider::-webkit-scrollbar {
    height: 6px;
}

.services-slider::-webkit-scrollbar-thumb {
    background: #1d4e89;
    border-radius: 10px;
}

/* HORIZONTAL */
.services-slider .grid {
    display: flex;
    gap: 18px;
    min-width: max-content;
}

/* CARD SIZE */
.services-slider .card {
    min-width: 260px;
    flex: 0 0 auto;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
/* ========================= */
/* 🔥 WHY MODERN SECTION */
/* ========================= */

.whyus{
    padding: 60px 0;
    background: #f6f7fb;
    text-align: center;
}

/* TITLE */
.why-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a4f;
}

.why-title span {
    color: #e63946;
}

/* SUBTITLE */
.why-subtitle {
    font-size: 14px;
    color: #777;
    margin: 10px 0 30px;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.why-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

/* ICON */
.why-card .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background: #ffeaea;
    color: #e63946;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* TEXT */
.why-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #1a2a4f;
}

.why-card p {
    font-size: 13px;
    color: #777;
}

/* HOVER */
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================= */
/* 🔥 CONTACT + REVIEW */
/* ========================= */

.contact-review {
    background: linear-gradient(to right, #f5f7fa, #e4ecf5);
    padding: 40px 0;
}

/* WRAPPER */
.contact-review-wrapper {
    display: flex;
    gap: 20px;
}

/* LEFT SIDE */
.contact-box {
    flex: 2;
    background: transparent;
}

.contact-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    display: inline-block;
    padding-bottom: 5px;
}

/* CONTACT ITEMS */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.contact-item i {
    font-size: 20px;
    color: #1d4e89;
    margin-right: 12px;
}

/* SOCIAL */
.social a {
    margin-right: 10px;
    color: #1d4e89;
    font-size: 20px;
    transition: 0.3s;
}

.social a:hover {
    color: #ff4d4d; /* highlight color */
    transform: scale(1.2);
}

.follow {
    font-weight: 600;
}
.contact-item {
    display: flex;
    align-items: flex-start; /* ✅ important for multi-line text */
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.contact-item i {
    font-size: 20px;
    color: #1d4e89;
    margin-right: 12px;
    margin-top: 3px; /* ✅ aligns icon with text */
}

.contact-item p {
    line-height: 1.5;
}

/* RIGHT PANEL */
.review-panel {
    flex: 1;
    background: #1d4e89;
    color: white;
    padding: 20px;
    border-radius: 6px;
}

.review-panel h2 {
    margin-bottom: 15px;
}

/* REVIEW CARD */
.review-card {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.review-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.review-card h4 {
    margin: 0;
    font-size: 14px;
}

.review-card p {
    font-size: 12px;
    margin: 3px 0;
}

.stars {
    color: gold;
    font-size: 14px;
}
/* CONTACT */


/* CTA */
.cta {
    background: #1d4e89;  /* ✅ Blue color */
    padding: 30px 0;
    color: white;
}

.cta .overlay {
    background: rgba(0,0,0,0.6);
}

.cta-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid {
        grid-template-columns: 1fr;
    }
}


/* ========================= */
/* 🔥 SPLIT CONTACT DESIGN */
/* ========================= */

/* ========================= */
/* 🔥 CONTACT LEFT GRID */
/* ========================= */

.contact-left {
    flex: 1;
    background: #1d4e89;
    color: white;
    padding: 50px;
    text-align: center;
}
/* FIX WIDTH ALIGNMENT */
.contact-split {
    width: 80%; 
    margin: auto;/* full section background */
}

/* WRAPPER SHOULD FOLLOW CONTAINER */
.contact-wrapper {
    display: flex;
    gap: 20px; /* spacing between left & right */
}
/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/* CARD */
.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

/* ICON */
.contact-card i {
    font-size: 20px;
    margin-bottom: 8px;
    color: #ffd166;
}

/* TITLE */
.contact-card h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

/* TEXT */
.contact-card p {
    font-size: 12px;
}

/* HOVER */
.contact-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}
/* RIGHT SIDE */
.contact-right {
    flex: 1;
    background: #f2f2f2;
    padding: 50px;
}

/* TITLE */
.contact-right h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* FORM */
.whatsapp-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* INPUTS */
.whatsapp-form input,
.whatsapp-form textarea {
    padding: 10px;
    border: none;
    background: #e6e6e6;
    font-size: 14px;
    outline: none;
}

/* BUTTON */
.submit-btn {
    margin-top: 10px;
    background: #1d4e89;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #1d4e89;
}
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .contact-split {
        width: 100%; /* ✅ full width on mobile */
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        padding: 30px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* ✅ stack cards */
    }
}
@media (max-width: 768px) {
    .contact-review-wrapper {
        flex-direction: column;
    }

    .review-panel {
        margin-top: 20px;
    }
}
/* ========================= */
/* 🔥 FLOATING SOCIAL ICONS */
/* ========================= */

.floating-social {
    position: fixed;
    right: 15px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

/* COMMON BUTTON */
.social-btn {
    width: 45px;
    height: 45px;
    background: white;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 18px;
    transition: 0.3s;
}

/* HOVER EFFECT */
.social-btn:hover {
    transform: scale(1.1);
}

/* COLORS */
.instagram { color: #E4405F; }
.youtube { color: #FF0000; }
.facebook { color: #1877F2; }

/* ========================= */
/* 🔥 WHATSAPP FLOAT */
/* ========================= */

.whatsapp-float {
    position: fixed;
    right: 15px;
    bottom: 40px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s;
    /* REMOVE UNDERLINE FROM ICON LINKS */

}

.whatsapp-float:hover {
    transform: scale(1.1);
}
.floating-social a,
.whatsapp-float {
    text-decoration: none;
}