/* ========================================================= */
/* ======================= GLOBAL ========================== */
/* ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #555555;
    font-family: Arial, sans-serif;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================================= */
/* ======================= HEADER ========================== */
/* ========================================================= */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #242323;
    padding: 10px 20px;
    position: relative;
    height: 130px;
}

header .logo {
    height: 85px;
    flex-shrink: 0;
}

.center-header {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 12px;
    text-align: center;
}

.center-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 48px;
    color: #f1eded;
}

.center-header .tagline {
    font-size: 17px;
    font-weight: bold;
    color: #efebeb;
    letter-spacing: 0.5px;
}

/* ============================== */
/*            VIDEOS              */
/* ============================== */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.video-grid video {
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: #000;              /* 🔥 prevents white flash on iOS */
    object-fit: cover;
}

/* ========================================================= */
/* ======================== HERO =========================== */
/* ========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Background video */
.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dark overlay */
.hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

/* ================= HERO TEXT ================= */

.hero-text {
    position: absolute;
    bottom: 18%;
    left: 8%;
    z-index: 2;
    color: #ffffff;
    max-width: 520px;
}

/* Subtitle */
.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    opacity: 0.95;
}

/* Title */
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

/* ================= CTA BUTTON ================= */

.hero-call-btn {
    display: inline-block;
    padding: 14px 36px;
    margin-top: 4px;

    background: transparent;
    color: #ffffff;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;

    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 4px;

    transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.hero-call-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* ========================================================= */
/* ================= TABLET FIX ============================ */
/* ========================================================= */

@media (max-width: 768px) {

    .hero-text {
        bottom: 26%;
        left: 6%;
        max-width: 90%;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-call-btn {
        padding: 13px 32px;
        font-size: 14px;
    }
}

/* ========================================================= */
/* ================= MOBILE FIX (FINAL) ==================== */
/* ========================================================= */

@media (max-width: 480px) {

    .hero-text {
        bottom: 36%;      /* ⬅ PERFECT POSITION (KEY FIX) */
        left: 6%;
        right: 6%;
        max-width: 92%;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .hero-call-btn {
        padding: 12px 26px;
        font-size: 13px;
    }
}

/* ========================================================= */
/* ====================== SECTIONS ========================= */
/* ========================================================= */

.section {
    background: #faf7f7;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 45px 25px;
    border-radius: 22px;
    box-shadow: 0 0 18px rgba(0,0,0,0.18);
}

.section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ========================================================= */
/* ====================== ABOUT US ========================= */
/* ========================================================= */

#about.section {
    padding-top: 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-top: 20px;
}

.about-image img {
    width: 350px;
    border-radius: 14px;
    box-shadow: 0 0 18px rgba(0,0,0,0.28);
}

.about-text {
    max-width: 600px;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 16px;
}

/* ========================================================= */
/* ================= MANAGEMENT TEAM ======================= */
/* ========================================================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
    gap: 25px;
}

.team-card {
    background: #faf7f7;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
}

.team-card img {
    width: 130px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.team-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.team-card p {
    font-size: 15px;
    margin: 4px 0;
}

/* ========================================================= */
/* ===================== CLIENTS =========================== */
/* ========================================================= */

.clientsSwiper {
    width: 100%;
    padding: 20px 0;
}

.clientsSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clientsSwiper img {
    width: 90%;
    max-width: 500px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
}

.swiper-pagination-bullet {
    background: #444;
}

/* ========================================================= */
/* =================== WHY STAND OUT ======================= */
/* ========================================================= */

.vision-box {
    background: #faf7f7;
    padding: 25px;
    border-radius: 14px;
}

.vision-box p {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

/* ================= MOBILE FIX ================= */

@media (max-width: 768px) {
    .vision-box p {
        line-height: 2;
    }

    .vision-box .results {
        display: block;        /* ⬅ forces OUR RESULTS to next line */
        margin-top: 6px;
    }
}

/* ========================================================= */
/* ==================== WHY CHOOSE US ====================== */
/* ========================================================= */

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.choose-card {
    background: #faf7f7;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: left;
}

/* BIG NUMBER (COUNTER) */
.choose-card h3 {
    font-size: 64px;          /* BIG on desktop */
    font-weight: 900;
    color: #111111;
    margin-bottom: 6px;
    line-height: 1;
}

/* Description text */
.choose-card p {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px) {
    .choose-card {
        padding: 30px 22px;
    }

    .choose-card h3 {
        font-size: 56px;      /* BIG on mobile */
    }

    .choose-card p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .choose-card {
        padding: 28px 20px;
    }

    .choose-card h3 {
        font-size: 52px;      /* Still BIG on small phones */
    }

    .choose-card p {
        font-size: 14px;
    }
}

/* ====================== SERVICES ========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.service-card {
    background: #242323;
    padding: 26px 28px;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    color: #ffffff;                 /* ✅ makes ALL text white */
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;                 /* explicit (safe) */
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;                 /* explicit (safe) */
}

/* ========================================================= */
/* ======================== FAQ ============================ */
/* ========================================================= */

.faq-item {
    background: #faf7f7;
    padding: 22px;
    border-radius: 14px;
    margin-bottom: 15px;
}

.faq-item h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

/* ========================================================= */
/* ======================= VIDEOS ========================== */
/* ========================================================= */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 25px;
}

.video-grid video {
    width: 100%;
    border-radius: 14px;
}

/* ========================================================= */
/* ======================= CONTACT ========================= */
/* ========================================================= */

#contact {
    text-align: center;
}

#contact h3 {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 700;
}

#contact p {
    font-size: 16px;
    margin-top: 10px;
}

.contact-cta {
    margin-top: 30px;
}

.contact-cta a {
    display: inline-block;
    padding: 14px 34px;
    background: #007bff;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.contact-cta a:hover {
    background: #005fc4;
}

/* ========================================================= */
/* ================= CONNECT WITH US ======================= */
/* ========================================================= */

.connect-social {
    margin-top: 25px;
    text-align: center;
}

.connect-social a {
    display: inline-block;
    text-decoration: none;
}

.connect-social img {
    width: 55px;
    margin: 12px;
    transition: 0.3s ease;
}

/* Twitter (X) visual size correction */
.connect-social a:nth-child(3) img {
    transform: scale(1.25);
}

.connect-social img:hover {
    transform: scale(1.15);
}

/* ========================================================= */
/* ==================== WHATSAPP FLOAT ===================== */
/* ========================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 0;
    z-index: 9999;
}

.whatsapp-float img {
    width: 65px;
}

/* ==================================== */
/*               FOOTER                 */
/* ==================================== */

.footer-wrapper {
    background: #9c9c9c;
    padding: 45px 25px;
    text-align: center;
}

/* ========================================================= */
/* ===================== RESPONSIVE ======================== */
/* ========================================================= */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {

    header {
        flex-direction: column;
        height: auto;
    }

    .center-header {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .center-header h1 {
        font-size: 32px;
    }

    .center-header .tagline {
        font-size: 14px;
    }

    .about-image img {
        width: 280px;
    }
}
/* ================= LEFT SLIDE MENU (FINAL) ================= */

.hamburger {
    position: fixed;
    top: 22px;
    left: 18px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

/* hidden by default */
.side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    padding-top: 140px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    transition: left 0.35s ease;
    z-index: 10000;
}

.side-menu a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    padding-left: 32px;
}

.side-menu a:hover {
    color: #ff8c32;
}

.side-menu.active {
    left: 0;
}
/* ===== FIX EXTRA SPACE IN MANAGEMENT SECTION ===== */

.team-grid {
    grid-template-columns: repeat(2, 1fr);   /* force 2 columns */
    max-width: 900px;                         /* limit width */
    margin: 0 auto;                           /* center grid */
    gap: 40px;                                /* controlled spacing */
}
/* ================= MANAGEMENT – MOBILE FIX ================= */

@media (max-width: 480px) {

    /* Reduce section padding */
    .section {
        padding: 28px 16px;
        border-radius: 18px;
    }

    /* Stack cards nicely */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Reduce image size */
    .team-card img {
        width: 110px;
        margin-bottom: 12px;
    }

    /* Tighten heading spacing */
    .team-card h3 {
        font-size: 17px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    /* Reduce paragraph spacing */
    .team-card p {
        font-size: 14px;
        line-height: 1.4;
        margin: 4px 0;
    }
}
/* ================= CLIENTS SWIPER – MOBILE EXPAND ================= */

@media (max-width: 480px) {

    /* Reduce section padding so swiper gets more width */
    #clients.section {
        padding: 22px 10px;
    }

    /* Make swiper take full width */
    .clientsSwiper {
        width: 100%;
    }

    /* Each slide bigger */
    .clientsSwiper .swiper-slide {
        width: 100% !important;
        padding: 0;
    }

    /* Expand image */
    .clientsSwiper img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 14px;
    }

    /* Reduce arrow size (optional) */
    .swiper-button-next,
    .swiper-button-prev {
        transform: scale(0.8);
    }
}

/* ========================================================= */
/* ================== BRAND LOGO STRIP ===================== */
/* ========================================================= */

.brands-strip {
    width: 100%;
    background: #ffffff;
    padding: 60px 0;
    overflow: hidden;
}

/* Visible viewport */
.brands-marquee {
    width: 100%;
    overflow: hidden;
    padding: 0 28px;
}

/* Moving row */
.brands-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;

    animation: brand-scroll-rtl 55s linear infinite;
    will-change: transform;
    transform: translate3d(0,0,0);
}

/* ========================================================= */
/* DEFAULT LOGO SIZE — BIG & STABLE                          */
/* ========================================================= */

.brands-track img {
    width: 260px;
    height: 140px;

    object-fit: contain;
    display: block;

    opacity: 1;
    filter: none;
}

/* ========================================================= */
/* CONTROL OVERFITTING LOGOS ONLY                            */
/* ========================================================= */

.brands-track img[alt="BJP"],
.brands-track img[alt="CONGRESS"],
.brands-track img[alt="MG"],
.brands-track img[alt="CORNITOS"],
.brands-track img[alt="HSACS"],
.brands-track img[alt="RPCB"],
.brands-track img[alt="PPCB"] {
    width: 230px;
    height: 120px;
}

/* ========================================================= */
/* 🎯 MINISTRY — BIGGER THAN ALL (NO GLITCH)                 */
/* ========================================================= */

.brands-track img[alt="MINISTRY"] {
    width: 300px;     /* 🔥 BIG */
    height: 160px;
}

/* ========================================================= */
/* RIGHT → LEFT ANIMATION                                   */
/* ========================================================= */

@keyframes brand-scroll-rtl {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ========================================================= */
/* TABLET                                                   */
/* ========================================================= */

@media (max-width: 768px) {

    .brands-track {
        gap: 70px;
        animation-duration: 65s;
    }

    .brands-track img {
        width: 230px;
        height: 120px;
    }

    .brands-track img[alt="BJP"],
    .brands-track img[alt="CONGRESS"],
    .brands-track img[alt="MG"],
    .brands-track img[alt="CORNITOS"],
    .brands-track img[alt="HSACS"],
    .brands-track img[alt="RPCB"],
    .brands-track img[alt="PPCB"] {
        width: 200px;
        height: 110px;
    }

    .brands-track img[alt="MINISTRY"] {
        width: 260px;
        height: 140px;
    }
}

/* ========================================================= */
/* MOBILE — BIG, CLEAN, NO CUT                               */
/* ========================================================= */

@media (max-width: 480px) {

    .brands-marquee {
        padding: 0 18px;
    }

    .brands-track {
        gap: 60px;
        animation-duration: 75s;
    }

    .brands-track img {
        width: 210px;
        height: 110px;
    }

    .brands-track img[alt="BJP"],
    .brands-track img[alt="CONGRESS"],
    .brands-track img[alt="MG"],
    .brands-track img[alt="CORNITOS"],
    .brands-track img[alt="HSACS"],
    .brands-track img[alt="RPCB"],
    .brands-track img[alt="PPCB"] {
        width: 185px;
        height: 100px;
    }

    .brands-track img[alt="MINISTRY"] {
        width: 240px;
        height: 130px;
    }
}

/* ========================================================= */
/* ACCESSIBILITY                                            */
/* ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .brands-track {
        animation: none;
        transform: none;
    }
}
