/* Global CSS Property  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

body.no-scroll {
    overflow: hidden !important;
    /* height: 100vh; */
}



/* ================================  Top Bar CSS ===================================== */

.top-bar {
    width: 100%;
    height: 40px;
    background-color: #3392FF;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1001;
    font-size: 14px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 120px; /* indent left desktop */
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 120px; /* indent right desktop */
}

.top-left a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.top-left a:hover {
    opacity: 0.8;
}

.top-right span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.top-bar a:hover {
    opacity: 0.8;
}


/* ================================== Navbar CSS =============================================== */

/* --- Navbar --- */
.navbar {
    width: 100%;
    background-color: #ffffff;
    position: sticky;
    top: 40px; /* sticky at top now */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
}

/* Logo left indent */
.logo {
    margin-left: 120px; /* desktop */
}

.logo img {
    height: 80px;
    width: auto;
}

.logo a {
    display: inline-block;
}
/* Menu right indent */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 120px; /* desktop */
}

.nav-links li a {
    text-decoration: none;
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    background-color: #2678D9;
    color: white;
}

/* Contact Button */
.contact-btn {
    background-color: #3392FF;
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #2678D9 !important;
    color: white;
}

/* ==================================== Burger Menu CSS ============================================== */

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 120px; /* desktop */
}

.hamburger i {
    color: black;
}

/* Hide mobile contact by default */
.mobile-contact-btn {
    display: none;
}

/* Hide mobile sidebar on desktop */
.mobile-sidebar {
    display: none;
}



.nav-links li a {
    position: relative;
    text-decoration: none;
}

.nav-links li a.active {
    border-bottom: 2px solid #1E5FCC;
}


.nav-links li a:focus,
.mobile-sidebar a:focus {
    outline: 2px solid #3392FF;
}





/* =================Contact Popup CSS======================= */

.contact-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    /* hidden state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: all 0.3s ease;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* MAIN BOX */
.popup-container {
    width: 90%;
    max-width: 800px;
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;

    /* ADD THIS (animation part) */
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.contact-popup.active .popup-container {
    transform: scale(1);
}


/* LEFT SIDE */
.popup-left {
    flex: 1;
    padding: 25px;
}

.popup-left h2 {
    color: #3392FF;
    margin-bottom: 5px;
}

.popup-left p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* INPUTS */
.popup-left input,
.popup-left textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* BUTTON */
.popup-left button {
    width: 100%;
    padding: 10px;
    background: #3392FF;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.popup-left button:hover {
    background: #2678D9;
}




/* RIGHT PANEL */
.popup-right {
    flex: 1;
    background: linear-gradient(135deg, #f7fbff, #eef6ff);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

/* SMALL LOGO */
.right-logo img {
    height: 50px;
    margin-bottom: 10px;
}

/* TITLE */
.popup-right h3 {
    margin: 5px 0;
    color: #1E5FCC;
    font-size: 18px;
}


.contact-tagline {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin: 0;
    background-clip: text;
    background: #666;
    -webkit-background-clip: text;
}

/* INFO BOX */
.info-box {
    width: 100%;
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.info-box p {
    margin: 6px 0;
    font-size: 14px;
}

.info-box a {
    color: #2678D9;
    text-decoration: none;
    font-weight: 500;
}

/* SOCIAL BOX */
.social-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.social-item {
    background: white;
    border-radius: 8px;
    padding: 10px 5px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: 0.3s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ICON */
.social-item i {
    font-size: 20px;
    color: #3392FF;
    margin-bottom: 5px;
}

/* TEXT */
.social-item span {
    font-size: 12px;
}

/* HOVER EFFECT */
.social-item:hover {
    transform: translateY(-3px);
    background: #f3f9ff;
}


/* NOTE */
.note {
    margin-top: 12px;
    font-size: 13px;
    color: #1E5FCC;
    background: linear-gradient(135deg, #eaf4ff, #f7fbff);
    padding: 8px 14px;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid #d6e9ff;
    box-shadow: 0 3px 10px rgba(51,146,255,0.1);
    font-weight: 500;
}



/* CLOSE */
.close-popup {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f1f6ff;
    border: 1px solid #d6e9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: #2678D9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);


}

.close-popup:hover {
    background: #2678D9;
    color: white;
    transform: rotate(90deg) scale(1.1);
}



.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(6px);
    z-index: 99999;
}

/* BOX */
.success-box {
    width: 90%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: popupScale 0.3s ease;
}

/* ANIMATION */
@keyframes popupScale {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* LOGO */
.success-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* TITLE */
.success-box h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2678D9;
}

/* MESSAGE */
.success-box p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* OK BUTTON */
.ok-btn {
    background: #2678D9;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.ok-btn:hover {
    background: #1b5fb8;
    transform: translateY(-2px);
}



.secure-note {
    font-size: 12px;
    color: #22c55e;
    margin-bottom: 10px;
}

/* =============================   Hero Section =================================================== */
/* hero section */

.hero {
    width: 100%;
    height: 600px;
    margin: 0;
    padding: 0;

    /* 🔥 More premium layered background */
    background:
        radial-gradient(circle at 20% 20%, rgba(51,146,255,0.15), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(0,0,0,0.08), transparent 40%),
        linear-gradient(
            0deg,
            rgba(255,255,255,0.6) 0%,
            rgba(255,255,255,1) 100%
        ),
        url("images/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    /* 🔥 smoother look */
    position: relative;
    overflow: hidden;
    will-change: transform;
}




/* CONTENT WRAPPER */
.hero-content {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px; /* Desktop margin */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT SIDE */
.hero-left {
    flex: 1;
}

/* BLUE RECTANGLE */
.hero-tagline {
    width: 250px;
    height: 30px;
    background: linear-gradient(135deg, #3392ff, #1e6bff);

    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;

    /* NEW */
    box-shadow: 0 8px 20px rgba(51,146,255,0.25);
    letter-spacing: 0.3px;
}

/* HEADING */
.hero-left h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.8px;

    background: linear-gradient(90deg, #0f172a, #1e293b);

    /* ✅ Standard (for compatibility warning fix) */
    background-clip: text;

    /* ✅ WebKit fallback (required for Chrome/Safari) */
    -webkit-background-clip: text;

    /* ✅ Required for text gradient effect */
    -webkit-text-fill-color: transparent;
}

/* PARAGRAPH */
.hero-left p {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 500;

    color: #334155;
    max-width: 600px;

    /* NEW */
    opacity: 0.9;
}

.brand-line {
    color: #0F55B2;
    font-weight: bold;
    font-size: 40px;
    letter-spacing: 1px;

   
    margin-bottom: 12px;

    background: linear-gradient(90deg, #0F55B2, #3B82F6);

    /* ✅ Standard property (fix warning) */
    background-clip: text;

    /* ✅ WebKit support */
    -webkit-background-clip: text;

    /* required for gradient text */
    -webkit-text-fill-color: transparent;
}

/* remove paragraph styling inheritance */
.hero-left .brand-line {
    font-size: 40px !important;
    font-weight: bold;
    line-height: normal !important;
    opacity: 1 !important;
}

/* BUTTON */
.hero-btn {
    background: linear-gradient(135deg, #3392ff, #1e6bff);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;

    box-shadow: 0 10px 25px rgba(51, 146, 255, 0.35);

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    
}

/* hover glow */
.hero-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(51, 146, 255, 0.5);
}

/* ripple shine effect */
.hero-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: 0.5s;
}

.hero-btn:hover::after {
    left: 100%;
}

/* Click Effect */
.hero-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 10px rgba(51, 146, 255, 0.3);
}



.hero-right img {
    width: 100%;
    max-width: 500px;

    /* NEW */
    animation: floatImage 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

@keyframes floatImage {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}




/* ======================================Recent Projects ================================================ */


/* ------------------ */
/* RECENT PRODUCTS */
/* ------------------ */

.products {
    padding: 90px 0;
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* CONTAINER */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
    text-align: center;
}

/* TITLE */
.products h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0f172a;
    letter-spacing: -0.5px;
}


.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3392ff, #1e6bff);
    margin: 10px auto 0;
    border-radius: 10px;
}

/* DESCRIPTION */
.products-desc {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #475569;
    line-height: 1.8;
}

/* CARDS WRAPPER */
.product-cards {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* CARD DESIGN */
.card {
    background: #ffffff;
    padding: 28px;
    border-radius: 22px;
    text-align: left;

     display: flex;              /* ✅ add this */
    flex-direction: column; 

    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);

    position: relative;
    overflow: hidden;

    /* softer modern shadow */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

    transition: all 0.4s ease;
    border: 1px solid rgba(226, 232, 240, 0.6);
    
}

/* Hover Effect */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(51, 146, 255, 0.15);
    border-color: rgba(51, 146, 255, 0.2);
}

/* IMAGE CENTER */
.card img {
    display: block;
    margin: 0 auto 18px;
    width: 100%;
    max-width: 140px;

    transition: 0.4s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* TITLE CENTER */
.card h3 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

/* DESCRIPTION LEFT */
.card p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
}

/* BUTTON RIGHT */
/* BUTTON RIGHT - FLOATING */
.card-btn {
    display: inline-block;
    margin-left: auto;

    background: linear-gradient(135deg, #3392ff, #1e6bff);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(51, 146, 255, 0.25);

    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

/* Hover Effect */
.card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(51, 146, 255, 0.35);
}

/* Click Effect */
.card-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 10px rgba(51, 146, 255, 0.3);
}


.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;

    background: linear-gradient(135deg, #ff4d4d, #ff1a75);
    color: white;

    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;

    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.25);
    animation: pulseNew 1.5s infinite;
}

/* 🔥 Pulse animation */
@keyframes pulseNew {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* MORE BUTTON WRAPPER */
.products-more {
    text-align: center;
    margin-top: 40px;
}

/* MORE BUTTON STYLE */
.more-btn {
    background: linear-gradient(135deg, #3392ff, #1e6bff);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;

    box-shadow: 0 10px 25px rgba(51, 146, 255, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    
}

/* Hover */
.more-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(51, 146, 255, 0.35);
}
/* Click */
.more-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



.category-badge {
    position: absolute;
    top: 10px;
    right: 10px;

    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;

    color: white;
    z-index: 2;
    text-transform: capitalize;
}

.card[data-category="android"] .category-badge {
    background: #3ddc84;
}

.card[data-category="windows"] .category-badge {
    background: #00a2ed;
}

.card[data-category="web"] .category-badge {
    background: #6366f1;
}

.card[data-category="chrome"] .category-badge {
    background: #f4b400;
}


/* ===================== Why Choose section======================================== */


/* ========================= */
/* WHY CHOOSE SECTION */
/* ========================= */

.why {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

/* TITLE */
.why h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* DESCRIPTION */
.why-desc {
    max-width: 750px;
    margin: 0 auto 60px;
    font-size: 17px;
    color: #64748b;
    line-height: 1.8;
}

/* FEATURES WRAPPER */
.why-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.why-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* hover effect */
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

/* subtle top accent line */
.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* ICON BOX */
.icon-box {
    width: 85px;
    height: 85px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

/* icon hover */
.why-card:hover .icon-box {
    background: #dbeafe;
    transform: scale(1.05);
}

/* ICON */
.icon-box img {
    width: 45px;
    height: 45px;
}

/* TITLE */
.why-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.why-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}



/* =================================== Reviews section ============================================= */

/* ========================= */
/* REVIEWS SECTION */
/* ========================= */

.reviews {
    padding: 90px 0;
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}


.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* TITLE */
/* TITLE */
.reviews h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

/* DESCRIPTION */
.reviews-desc {
    max-width: 750px;
    margin: 0 auto 50px;
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
}

.review-card p,
.review-text {
    word-wrap: break-word;     /* OLD support */
    overflow-wrap: break-word; /* MODERN */
    word-break: break-word;    /* FORCE break long words */
    white-space: normal;       /* ensure wrapping */
}

.review-text {
    max-height: 100px;
    overflow-y: auto;
}


/* ========================= */
/* SLIDER */
/* ========================= */

.reviews-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.reviews-cards {
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
}

.reviews-track {
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}




.review-card {
    flex: 0 0 calc((100% - 50px) / 3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

/* HOVER EFFECT */
.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ACTIVE CENTER CARD (VERY IMPORTANT UPGRADE) */
.review-card.active {
    transform: scale(1.08);
    border: 2px solid #3392ff;
    box-shadow: 0 25px 50px rgba(51,146,255,0.25);
}

.full-popup-content {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.full-popup-content img {
    display: block;
    margin: 0 auto;   /* centers image */
    width: 90px;      /* optional (adjust if needed) */
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}


.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #3392ff;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.read-more:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ACTIVE */

.user-img {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e6f0ff;
    display: block;
    min-width: 60px;
    min-height: 60px;
}

.user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* TEXT */

.review-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #0f172a;
}


.stars {
    color: #fbbf24;  /* gold */
    font-size: 18px;
    letter-spacing: 2px;
}

.review-popup .stars,
.full-popup-content .stars {
    color: #ffcc00;
}
.full-popup-content .stars {
    margin-bottom: 12px; /* adds space below stars */
}
.error-box {
    display: none; /* hidden by default */
    color: #ff4d4f;
    background: rgba(255, 77, 79, 0.1);
    border: 1px solid rgba(255, 77, 79, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.review-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* ========================= */
/* NAV */
/* ========================= */

.nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: 0.3s;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon size */
.nav-btn i {
    font-size: 16px;
}

.nav-btn:hover {
    background: #3392ff;
    color: white;
    transform: scale(1.1);
}



/* ========================= */
/* ADD REVIEW BUTTON */
/* ========================= */

.add-review {
    margin-top: 40px;
}

.add-review-btn {
    background-color: #3392ff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.add-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}




/* ========================= */
/* POPUP BACKGROUND */
/* ========================= */
/* POPUP BACKGROUND */
.review-popup {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
     z-index: 999999 !important;
    pointer-events: auto !important;
}

.full-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}
/* ========================= */
/* POPUP BOX */
/* ========================= */
/* POPUP BOX */
/* POPUP BOX */




.popup-content {
    pointer-events: auto !important;
    position: relative;
    z-index: 1000000;
}


.popup-content,
.full-popup-content {
    background: #fff;
    width: 420px;
    max-width: 95%;
    border-radius: 22px;
    padding: 25px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    animation: popupIn 0.3s ease;
}

.popup-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0f172a;
}


/* ANIMATION */
@keyframes popupIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CLOSE BUTTON */



/* IMAGE PREVIEW */
.image-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 2px solid #ddd;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INPUTS */
.popup-content input,
.popup-content select,
.popup-content textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.popup-content input:focus,
.popup-content textarea:focus,
.popup-content select:focus {
    border-color: #3392ff;
    box-shadow: 0 0 0 3px rgba(51,146,255,0.15);
}

/* BIGGER TEXTAREA */
textarea#userText {
    min-height: 120px;
    resize: vertical;
}


.submit-review-btn {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3392ff, #1d4ed8);
    color: white;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(51,146,255,0.3);
}




.star-input {
    margin: 10px 0;
}

.star-input span {
    font-size: 24px;
    color: #ccc; /* default gray */
    cursor: pointer;
    transition: 0.3s;
}

.star-input span.active {
    color: #ffcc00; /* GOLD */
}

/* AVATAR SELECTION */
.avatar-options img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.avatar-options img:hover {
    transform: scale(1.1);
}

.avatar-options img.selected {
    border-color: #3392ff;
    box-shadow: 0 0 0 3px rgba(51,146,255,0.2);
}


.submit-status {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.submit-status.loading {
    color: orange;
}

.submit-status.success {
    color: green;
}

.review-card.new {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.review-card {
    position: relative;
}

/* PREMIUM EDIT BUTTON */
.edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;

    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;

    border: none;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;

    border-radius: 8px;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 4px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

.edit-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #4338ca, #4f46e5);
}







/* ================= FULL REVIEW POPUP FIX ONLY ================= */

#fullReviewPopup {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Make popup card vertical + scroll fix */
#fullReviewPopup .full-popup-content {
    width: 420px;
    max-width: 95%;
    max-height: 80vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    overflow: hidden;
    position: relative;
}

/* Scrollable text ONLY */
#fullReviewPopup .full-popup-content p {
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    padding: 10px 8px;

    line-height: 1.6;
    word-break: break-word;
    white-space: normal;
}

/* Better scrollbar */
#fullReviewPopup .full-popup-content p::-webkit-scrollbar {
    width: 4px;
}
#fullReviewPopup .full-popup-content p::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Center name + stars properly */
#fullReviewPopup h3 {
    margin: 8px 0 4px;
    text-align: center;
}

#fullReviewPopup .stars {
    text-align: center;
    margin-bottom: 10px;
}

/* Image center fix (already good but ensure consistency) */
#fullReviewPopup img {
    margin-bottom: 10px;
}

/* Close button safety fix */
#fullReviewPopup .close-popup {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}







.review-limit-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.review-limit-box {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    width: 300px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: popupIn 0.25s ease;
}

.review-limit-box p {
    font-size: 15px;
    margin-bottom: 15px;
    color: #0f172a;
}

.review-limit-box button {
    padding: 8px 18px;
    border: none;
    background: #3392ff;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}




/* ===================  note ================= */
.review-status-text {
    display: flex;
    justify-content: center;
    margin: 20px 0 40px; /* FIX spacing from FAQ */
    padding-bottom: 10px;
}

.review-status-badge {
    display: flex;
    align-items: center;
    gap: 12px;

    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: #fff;

    padding: 14px 18px;
    border-radius: 14px;

    max-width: 500px;
    width: 90%;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.15);

    animation: fadeIn 0.35s ease;
}

.review-status-badge .icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.3);

    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.review-status-badge .text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.review-status-badge .text p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .review-status-badge {
        flex-direction: row;
        padding: 12px 14px;
        gap: 10px;
    }

    .review-status-badge .text strong {
        font-size: 13px;
    }

    .review-status-badge .text p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .review-status-badge {
        width: 95%;
        padding: 12px;
    }

    .review-status-badge .icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}




.custom-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.6);

    z-index: 2147483647; /* 🔥 IMPORTANT FIX */
}

.custom-popup .popup-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 280px;
    animation: pop 0.2s ease;
}

.custom-popup button {
    margin-top: 10px;
    padding: 6px 15px;
    border: none;
    background: #3392ff;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

@keyframes pop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}



/* ==================================== FAQ Section =========================================== */
.faq-section {
    padding: 80px 20px;
    background: #f8fafc; /* light background like modern sites */
    margin-top: 40px;
}

.faq-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.faq-container h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #0f172a;
}

.faq-subtitle {
    color: #64748b;
    margin-bottom: 40px;
}

/* FAQ CARD */
.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
}

/* QUESTION */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #0f172a;
    padding: 18px 20px;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

/* PLUS ICON */
.faq-question span {
    font-size: 20px;
    color: #ffcc00; /* ⭐ match your star color */
    transition: transform  0.3s ease;
}

/* ANSWER */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f1f5f9;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 15px 20px;
    color: #475569;
    line-height: 1.6;
}

/* ACTIVE */
.faq-item.active {
    border-color: #ffcc00;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* HOVER */
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}



/* ===================================== Footer Section ================================================================== */


/* Footer CSS */
.footer {
    background-color: #fff;
    color: #000;
    font-family: Arial, sans-serif;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 0 20px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 250px; /* flexible width, min 250px */
    margin-bottom: 30px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer p {
    line-height: 1.6;
}

.footer h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

/* Quick Links center alignment and spacing */
.quick-links-col {
    text-align: center;
}


.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    align-items: center;
    gap: 30px; /* gap between each link */
}

.footer-links li {
    margin: 0; /* remove default margin, gap handles spacing */
}

.footer-links a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
}

.footer-links a:hover {
    color: #3392FF;
}

/* Social icons container */
.social-icons {
    display: flex;
    justify-content: left;
    gap: 15px;
    margin-top: 30px;
}

/* Icon circle style */
.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1f6ff;
    border-radius: 50%;
    color: #3392FF;
    font-size: 18px;

    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-decoration: none;
}

/* Hover effect */
.social-icons a:hover {
    background: #3392FF;
    color: #fff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(51,146,255,0.35);
}




/* =========================
   BASE (DESKTOP)
========================= */

.newsletter-wrapper {
    margin-top: 20px;
}

.newsletter-heading {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.newsletter-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 340px;
}

/* INPUT BOX */
.input-group {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 360px;
    width: 100%;
    flex-wrap: nowrap; /* IMPORTANT */
}

.input-group input {
    flex: 1 1 auto;
    padding: 12px;
    border: none;
    outline: none;
    font-size: 14px;
    min-width: 0; /* IMPORTANT FIX for overflow */
    width: 100%;
}

.input-group button {
    padding: 12px 18px;
    border: none;
    background: linear-gradient(135deg, #3392FF, #0f6bcc);
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex: 0 0 auto;   
    white-space: nowrap;
}

.input-group button:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

.newsletter-note {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}




.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0f6bcc;
    color: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.footer-line {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 120px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 20px;
    font-size: 14px;
}

.footer-bottom a {
    color: #000;
    text-decoration: none;
    margin-left: 15px;
}

.footer-bottom a:hover {
    color: #3392FF;
}




.grecaptcha-badge {
    visibility: hidden;
}











/* =============================== full review popup ================================== */




/* =================================  Responsive CSS ====================================================== */




@media (min-width: 1024px) {
/* =============== Footer Section ===================== */


    .footer-content, .footer-bottom {
        margin: 0 120px;
    }
}

@media screen and (max-width: 1024px) {

/* ======================== Navbar CSS ============================= */

    .top-left, .top-right, .logo, .nav-links, .hamburger {
        margin-left: 20px;
        margin-right: 20px;
    }

    /* =================== Contact Popup  =========================== */

        .popup-container {
        width: 95%;
        max-width: 700px;
    }

    /* ================= Hero section ================================= */

        .hero {
        height: auto;
        padding: 60px 0;
    }

    .hero-content {
        padding: 0 60px;
        flex-direction: column; /* stack */
        align-items: center;
        text-align: center;
    }

    /* 🔥 IMAGE FIRST */
    .hero-right {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-right img {
        max-width: 400px;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left p {
        font-size: 18px;
        
    }

    .hero-tagline {
        margin: 0 auto 20px;
    }

    /* =============== Product section ====================== */

     .products-container {
        padding: 0 60px;
    }

    .card {
       flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    /* =============== Why choose section =========================== */

    .why-features {
        grid-template-columns: repeat(2, 1fr);
    }


    /* =================== Reviews Cards ============================== */

    .reviews-container {
        padding: 0 60px;
    }
      .reviews-wrapper {
        max-width: 700px;
    }

    .review-card {
        flex: 0 0 calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }

    .popup-content,
    .full-popup-content {
        width: 80%; /* smaller for tablet */
        padding: 20px;
    }

    /* =================== Footer Section ============================ */

    .newsletter-wrapper {
        width: 100%;
    }

    .newsletter-heading {
        font-size: 17px;
        margin-top: 30px;
    }

    .newsletter-text {
        max-width: 100%;
    }

    .input-group {
         width: 100%;
        min-width: 0;
    }
     .footer-col {
        min-width: 0; /* 🔥 CRITICAL FIX for iPad */
    }


}



/* Tablet Responsive (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns */
        gap: 40px;
        margin: 0 60px; /* medium spacing */
    }

    /* Make first column full width */
    .footer-col:nth-child(1) {
        grid-column: span 2; /* takes full row */
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    /* Quick Links */
    .quick-links-col {
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
        gap: 20px;
        margin-top: 20px;
    }

    /* Social icons */
    .social-icons {
        justify-content: flex-start;
        gap: 15px;
    }

    /* Newsletter */
    .newsletter-form {
        max-width: 100%;
    }

    /* Footer bottom */
    .footer-bottom {
        margin: 0 60px;
    }

    .footer-line {
        margin: 20px 60px;
    }
}


@media screen and (max-width: 768px) {

    /* ======================== Navbar CSS ================================ */

    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }

    .navbar {
        top: 0; /* 👈 important */
    }

    /* Navbar logo & hamburger small padding */
    .logo {
        margin-left: 15px;
    }

    .hamburger {
        display: block;
        margin: 0;
        font-size: 24px;
        cursor: pointer;
    }

    /* Mobile menu */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: left;
        padding-left: 20px;
    }

    /* Hide desktop contact in mobile menu */
    .nav-links li .contact-btn {
        display: none;
    }


   /* Show mobile contact button */
    .mobile-contact-btn {
        display: block;
        background-color: #3392FF;
        color: white !important;
        padding: 8px 15px;
        border-radius: 5px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .mobile-contact-btn:hover {
        background-color: pink;
        color: orange !important;
    }

     /* Mobile-right container */
    .mobile-right {
        display: flex;
        align-items: center;
        gap: 10px; /* space between contact button and hamburger */
        margin-right: 15px; /* add space from page edge */
    }

    /* Sidebar container */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #ffffff, #f6faff);
    box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: left 0.3s ease;
    align-items: stretch;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

    /* Sidebar active */
    .mobile-sidebar.active {
        left: 0;
    }

    /* Close button */
    .mobile-sidebar .close-btn {
        align-self: flex-end;
        font-size: 24px;
        cursor: pointer;
        margin-bottom: 20px;
    }

    /* Sidebar menu items */
 .mobile-sidebar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

    .mobile-sidebar ul li {
    text-align: center; /* 👈 center text */
    width: 100%;
}


  .mobile-sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: transparent;
}

   /* HOVER */
.mobile-sidebar ul li a:hover {
    background: #eaf4ff;
    color: #2678D9;
    transform: translateX(5px);
}

    .mobile-sidebar ul li a.active {
    background: #2678D9;
    color: white;
}


/* Sidebar header (logo + close button) */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

/* Small logo left */
.sidebar-header img {
    height: 38px;
}

/* CLOSE BUTTON (PREMIUM STYLE) */
.close-btn {
    width: 34px;
    height: 34px;
    background: #f1f6ff;
    border: 1px solid #d6e9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: #2678D9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.close-btn:hover {
    background: #2678D9;
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* Keep close button aligned right */
.mobile-sidebar .close-btn {
    font-size: 24px;
    cursor: pointer;
}

/* Contact Info (bottom of links) */
.sidebar-contact {
    margin-top: auto;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    font-size: 13px;
    color: #2678D9;
   
}

.sidebar-contact a {
    margin: 5px 0;
     text-decoration: none;
    color: inherit;
    cursor: pointer;
}


.sidebar-contact a:hover {
    text-decoration: underline;
}

/* Follow Us Section */
.sidebar-social {
    text-align: center;
    margin-top: 15px;
    width: 100%;
}

.follow-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 0px;
    font-weight: 600;
    margin-top: 20px;
}

/* Icons container */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

/* FIX ICON BUTTONS */
.social-icons a {
    width: 38px;
    height: 38px;
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2678D9;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0; /* IMPORTANT */
}

/* Hover effect */
.social-icons a:hover {
    background: #2678D9;
    color: white;
    transform: translateY(-3px);
}



.mobile-sidebar ul li a.active  {
    background-color: #2678D9;
    color: white;
    border-radius: 5px;
}


/* =============== Contact Popup ============================ */

    .contact-popup {
        align-items: flex-start; /* IMPORTANT */
        padding: 15px; /* space from edges */
        overflow-y: auto;
        padding-top: 40px; /* gives breathing space */
        padding-bottom: 40px;
    }

    /* FULL STACK LAYOUT */
    .popup-container {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        max-height: 95vh; /* IMPORTANT */
        overflow-y: auto;
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
    }

    /* LEFT SIDE */
    .popup-left {
        padding: 15px;
    }

    /* RIGHT SIDE */
    .popup-right {
        padding: 15px;
        align-items: center;
    }

    /* SOCIAL GRID FIX */
    .social-box {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    /* INFO BOX TEXT SMALL */
    .info-box p {
        font-size: 13px;
    }

    /* MAKE CLOSE BUTTON STABLE */
    .close-popup {
        top: 10px;
        right: 10px;
    }

    /* NOTE SMALL ADJUST */
    .note {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* =================== Hero Section ======================= */

        .hero {
        padding: 50px 0;
    }

    .hero-content {
        padding: 0 20px;
        flex-direction: column;
        text-align: center;
    }

    /* 🔥 IMAGE FIRST */
    .hero-right {
        order: -1;
        margin-bottom: 25px;
    }

    .hero-right img {
        max-width: 100%;
    }

    .hero-left h1 {
        font-size: 30px;
    }

    .hero-left p {
        font-size: 16px;
        
    }

    .hero-btn {
        width: 70%;
    }
    .hero-tagline {
        width: 200px;      /* smaller width */
        height: 26px;      /* smaller height */
        font-size: 10px;   /* smaller text */
        border-radius: 15px; /* slightly adjusted */
    }

    /* ===================== Products section ====================== */

    .products-container {
        padding: 0 20px;
    }

    .products h2 {
        font-size: 28px;
    }

    .products-desc {
        font-size: 16px;
    }

    .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* ======================= Why Choose Section ======================== */
    .why {
        padding: 60px 0;
    }

    .why h2 {
        font-size: 28px;
    }

    .why-desc {
        font-size: 15px;
    }

    .why-features {
        grid-template-columns: 1fr;
    }


    /* ====================== Reviews Cards Section ================================== */

  


   


    .reviews-container {
        padding: 0 20px;
    }

      .reviews-track {
        gap: 15px;
    }

    .review-card {
        flex: 0 0 100%;   /* 🔥 FULL WIDTH */
        padding: 20px 15px;
        max-width: 100%;
    }

    .reviews h2 {
        font-size: 26px;
    }

    .reviews-desc {
        font-size: 16px;
    }

    .reviews-wrapper {
        gap: 10px;
    }

       .nav-btn {
        width: 36px;
        height: 36px;
    }

    .nav-btn i {
        font-size: 14px;
    }

    .popup-content,
    .full-popup-content {
        width: 95%;       /* almost full width */
        padding: 15px;
        max-height: 90vh;
        margin: 0 auto; /* ✅ center the popup */
    }

    /* Adjust image preview */
    .image-preview {
        width: 60px;
        height: 60px;
    }

    /* Avatar size smaller */
    .avatar-options img {
        width: 50px;
        height: 50px;
    }

    /* Textarea smaller */
    textarea#userText {
        min-height: 100px;
    }

    /* Submit button smaller */
    .submit-review-btn {
        padding: 10px;
        font-size: 14px;
    }
     .review-card {
        flex: 0 0 100%;
        padding: 20px;
    }

    .reviews h2 {
        font-size: 28px;
    }

    .reviews-desc {
        font-size: 15px;
    }

 

     .user-img {
        width: 70px;
        height: 70px;
        margin: 0 auto 12px;
        flex-shrink: 0;   /* 🔥 PREVENT SHRINK */
    }

    .user-img img {
        width: 100%;
        height: 100%;
        display: block;
    }


    /* ===================== Footer Section ============================ */

        .footer-content {
        flex-direction: column;
        align-items: left;
        text-align: left;
    }


     .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 20px auto 0; /* THIS centers the whole form */
        align-items: center; /* center items inside */
    }

    .newsletter-form input {
        border-radius: 4px 4px 0 0;
        border-right: 1px solid #ccc;
        margin-bottom: 10px;
        width: 100%;
        text-align: center; 
    }

    .newsletter-form button {
        border-radius: 0 0 4px 4px;
        
    }

   .footer-bottom {
        flex-direction: column;
        align-items: center; /* center everything horizontally */
        gap: 10px;
        text-align: center;
    }

      .footer-bottom-links {
        width: 100%;
        display: flex;
        justify-content: space-between; /* left & right */
    }

    .footer-bottom-links a {
        margin: 0; /* remove extra spacing */
    }

    .social-icons {
        gap: 12px;
        margin-bottom: 20px;
    }
    .footer-line{
        width: 100%;
        margin: 20px 0px;
    }
  .footer-bottom span {
        width: 100%;
        text-align: center; /* center the copyright */
    }

    .quick-links-col {
    text-align: left;
}
.footer-links{
    align-items: flex-start;
}


}









/* ================= MOBILE REVIEW FIX ================= */





@media (max-width: 1024px) and (min-width: 600px) {

    .newsletter-wrapper {
        text-align: left;
    }

    .newsletter-heading {
        font-size: 17px;
        margin-top: 25px;
    }

    .newsletter-text {
        max-width: 100%;
    }

    .input-group {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: row;   /* FORCE ROW */
    }

    .input-group input {
        flex: 1;
        min-width: 0;          /* critical fix */
        padding: 12px;
        font-size: 14px;
    }

    .input-group button {
        flex: 0 0 auto;       /* prevents shrinking */
        padding: 12px 16px;
        white-space: nowrap;
    }
}


@media (max-width: 600px) {
/* ================  FAQ Section ====================================== */
    .faq-container h2 {
        font-size: 26px;
    }

    .faq-question {
        font-size: 14px;
        padding: 15px;
    }
/* =================== Footer Section ==================================== */

 .newsletter-text {
        text-align: center;
    }

    .input-group {
        flex-direction: column;   /* 🔥 KEY FIX */
        max-width: 100%;
        border-radius: 10px;
    }

    .input-group input {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
        font-size: 13px;
    }

    .input-group button {
        width: 100%;
        padding: 12px;
        border-radius: 0;
    }

    .newsletter-heading {
        text-align: center;
        margin-top: 20px;
    }

    .newsletter-note {
        text-align: center;
    }


    .recaptcha-note {
        font-size: 11px;
        padding: 0 10px;
    }
}



@media (max-width: 480px) {

/* ============= Contact Popup =================== */

    .popup-left h2 {
        font-size: 18px;
    }

    .popup-left p {
        font-size: 12px;
    }

    .popup-left input,
    .popup-left textarea {
        padding: 8px;
    }

    .social-item i {
        font-size: 18px;
    }

    .social-item span {
        font-size: 11px;
    }

      .success-box {
        padding: 20px;
    }

    .success-box h2 {
        font-size: 18px;
    }

    .success-logo img {
        width: 50px;
        height: 50px;
    }
}

