
/* =========================================================
   MSK PIPES (PRIVATE) LIMITED
   COMPLETE PROFESSIONAL RESPONSIVE CSS
   COMPACT CUSTOMER REVIEWS
   SLIDER DESIGN AND SIZE PRESERVED
========================================================= */

/* ===================== 1. RESET ===================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #071629;
    --navy-light: #102b49;
    --blue: #0878d1;
    --blue-dark: #0755a0;
    --cyan: #20c5e8;
    --white: #ffffff;
    --text: #1b2b40;
    --muted: #66758a;
    --background: #f4f7fc;
    --border: #e2eaf3;
    --shadow: 0 8px 25px rgba(12, 38, 68, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

section {
    scroll-margin-top: 85px;
}

/* ===================== 2. HEADER ===================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 68px;
    padding: 8px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: rgba(5, 18, 34, 0.97);
    border-bottom: 1px solid rgba(32, 197, 232, 0.22);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(14px);
}

/* LOGO */

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.logo-area img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    padding: 3px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-area img:hover {
    transform: scale(1.05);
}

.logo-area h1 {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* ===================== 3. NAVIGATION ===================== */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-menu > a,
.drop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 11px;
    color: #eaf4ff;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.25s ease;
}

.nav-menu > a:hover,
.drop-btn:hover {
    color: #ffffff;
    background: rgba(32, 197, 232, 0.12);
    border-color: rgba(32, 197, 232, 0.2);
}

.dropdown {
    position: relative;
}

/* DROPDOWN MENU */

.drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1100;
    min-width: 220px;
    padding: 7px;
    overflow: hidden;
    background: #0b2038;
    border: 1px solid rgba(87, 182, 231, 0.18);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.dropdown:hover .drop-menu,
.dropdown:focus-within .drop-menu,
.dropdown.active .drop-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.drop-menu a {
    display: block;
    padding: 9px 12px;
    color: #dce9f8;
    border-radius: 7px;
    font-size: 11px;
    transition: 0.2s ease;
}

.drop-menu a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #0878d1, #0755a0);
}

/* ===================== 4. HAMBURGER ===================== */

.hamburger {
    display: none;
    width: 40px;
    height: 39px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 5px;
    transition: 0.25s ease;
}

.hamburger.active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================== 5. HERO SLIDER ===================== */

.slider {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: min(78vh, 760px);
    min-height: 450px;
    overflow: hidden;
    background: #071629;
}

.slides {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* DARK OVERLAY */

.slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(3, 13, 27, 0.82) 0%,
            rgba(4, 19, 38, 0.57) 50%,
            rgba(3, 13, 27, 0.34) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3, 13, 27, 0.38),
            transparent 55%
        );
}

/* HERO TEXT */

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(900px, 90%);
    padding: 20px;
    color: #ffffff;
    text-align: center;
    transform: translate(-50%, -50%);
    animation: heroReveal 0.9s ease both;
}

.hero-text h1 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(30px, 4.4vw, 58px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.hero-text p {
    margin: 10px 0;
    color: #eaf5ff;
    font-size: 17px;
    font-weight: 500;
}

.hero-text p h3 {
    color: #eaf5ff;
    font-size: clamp(15px, 2vw, 22px);
    font-weight: 500;
    line-height: 1.7;
}

.hero-text p:last-child h3 {
    color: #70dfff;
    font-weight: 600;
}

/* SLIDER DOTS */

.navigation {
    position: absolute;
    left: 50%;
    bottom: 25px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateX(-50%);
}

.dot-nav {
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
}

.dot-nav.active {
    width: 31px;
    background: #37c8ed;
    border-color: #37c8ed;
}

/* ===================== 6. PRODUCTS ===================== */

.products {
    position: relative;
    padding: 45px 4% 50px;
    overflow: hidden;
    color: var(--text);
    text-align: center;
    background:
        radial-gradient(circle at 5% 5%, rgba(32, 197, 232, 0.07), transparent 25%),
        linear-gradient(180deg, #f7faff, #edf3fa);
}

/* SECTION HEADINGS */

.products h2,
.reviews h2,
.ceo-section h2 {
    position: relative;
    margin-bottom: 25px;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.products h2::after,
.reviews h2::after,
.ceo-section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: 10px;
}

/* PRODUCT SLIDER */

.product-slider {
    position: relative;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 3%,
        #000 97%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 3%,
        #000 97%,
        transparent
    );
}

.product-track {
    display: flex;
    align-items: stretch;
    gap: 17px;
    width: max-content;
    padding: 8px 0 15px;
    animation: scrollProducts 22s linear infinite;
}

.product-slider:hover .product-track {
    animation-play-state: paused;
}

/* PRODUCT CARDS */

.product-card {
    flex: 0 0 225px;
    width: 225px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(12, 38, 68, 0.07);
    cursor: pointer;
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: #b6dcf6;
    box-shadow: var(--shadow);
}

.product-card a {
    display: block;
    height: 100%;
}

.product-card img {
    width: 100%;
    height: 155px;
    padding: 9px;
    object-fit: contain;
    background: #f2f7fc;
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.045);
}

.product-card h3 {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    color: var(--navy);
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.product-card:hover h3 {
    color: var(--blue);
}

@keyframes scrollProducts {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===================== 7. CUSTOMER REVIEWS ===================== */

/* Clean, premium customer review section */
.reviews {
    position: relative;
    isolation: isolate;
    padding: 48px 4% 52px;
    overflow: hidden;
    color: var(--text);
    text-align: center;
    background:
        radial-gradient(circle at 8% 15%, rgba(8, 120, 209, 0.09), transparent 28%),
        radial-gradient(circle at 92% 85%, rgba(32, 197, 232, 0.12), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #edf5fc 50%, #f7fbff 100%);
}

.reviews::before,
.reviews::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(8, 120, 209, 0.09);
    border-radius: 50%;
    pointer-events: none;
}

.reviews::before {
    top: -145px;
    left: -95px;
    box-shadow:
        0 0 0 25px rgba(8, 120, 209, 0.025),
        0 0 0 50px rgba(8, 120, 209, 0.018);
}

.reviews::after {
    right: -125px;
    bottom: -160px;
    box-shadow:
        0 0 0 25px rgba(8, 120, 209, 0.025),
        0 0 0 50px rgba(8, 120, 209, 0.018);
}

/* Section title */
.reviews h2 {
    position: relative;
    margin-bottom: 28px;
    color: #102b49;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.reviews h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin: 11px auto 0;
    background: linear-gradient(90deg, #0878d1, #20c5e8);
    border-radius: 10px;
}

/* Three cards on desktop */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.review-grid > a {
    display: flex;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
    color: inherit;
    text-decoration: none;
}

/* Review card */
.review-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 205px;
    min-height: 205px;
    padding: 18px 16px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    color: #263b52;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dce9f5;
    border-radius: 15px;
    box-shadow:
        0 5px 16px rgba(15, 49, 79, 0.055),
        0 15px 32px rgba(15, 49, 79, 0.045);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.review-card::before {
    content: "“";
    position: absolute;
    z-index: -1;
    top: 2px;
    right: 13px;
    color: rgba(8, 120, 209, 0.075);
    font-family: Georgia, serif;
    font-size: 76px;
    line-height: 1;
    pointer-events: none;
}

.review-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #20a9dc, transparent);
    border-radius: 0 0 8px 8px;
    opacity: 0.9;
}

.review-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: #9ed5ee;
    box-shadow:
        0 10px 24px rgba(8, 75, 125, 0.09),
        0 20px 38px rgba(8, 75, 125, 0.075);
}

/* Customer photo */
.review-card img {
    width: 62px;
    height: 62px;
    margin: 0 auto 9px;
    padding: 3px;
    object-fit: cover;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #eaf5fc;
    box-shadow:
        0 0 0 2px #8fd6ed,
        0 5px 13px rgba(8, 75, 125, 0.12);
    transition: transform 0.3s ease;
}

.review-card:hover img {
    transform: scale(1.06);
}

/* Customer name */
.review-card h3 {
    margin-bottom: 5px;
    color: #102b49;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

/* Customer comment */
.review-card p {
    margin-bottom: 8px;
    color: #65778b;
    font-size: 10px;
    line-height: 1.65;
}

/* Star rating */
.stars {
    margin-top: auto;
    padding: 4px 11px;
    color: #d99100;
    background: #fff8e7;
    border: 1px solid #f5e4b7;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

/* ===================== 8. VIDEO MODAL ===================== */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 10, 23, 0.9);
    backdrop-filter: blur(8px);
}

.video-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: 10px;
    background: #0d2035;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 13px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.video-content iframe {
    display: block;
    width: 100%;
    height: 390px;
    background: #000000;
    border: 0;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #ffffff;
    background: #e44848;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 23px;
    cursor: pointer;
    transition: 0.2s ease;
}

.close-btn:hover {
    background: #b91c1c;
    transform: rotate(90deg);
}

/* ===================== 9. CEO SECTION ===================== */

.ceo-section {
    padding: 50px 4%;
    background:
        radial-gradient(circle at 90% 20%, rgba(8, 120, 209, 0.06), transparent 28%),
        #f4f7fc;
    text-align: center;
}

.ceo-section h2 {
    margin-bottom: 25px;
}

.ceo-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.ceo-img {
    width: 180px;
    height: 180px;
    flex: 0 0 180px;
    object-fit: cover;
    object-position: center;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow:
        0 0 0 2px #c8e8f8,
        0 10px 25px rgba(7, 35, 64, 0.13);
}

.ceo-text {
    max-width: 600px;
}

.ceo-text > p:first-child {
    position: relative;
    margin-bottom: 15px;
    padding-left: 15px;
    color: #536277;
    border-left: 3px solid var(--cyan);
    font-size: 13px;
    line-height: 1.8;
}

.ceo-text h3 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
}

.ceo-text .ceo-title {
    color: var(--blue);
    font-size: 11px;
    font-weight: 600;
}

.ceo-sign {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #0878d1, #0755a0);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
}

/* ===================== 10. CONTACT ===================== */

.contact {
    padding: 50px 4%;
    background:
        radial-gradient(circle at 5% 90%, rgba(32, 197, 232, 0.07), transparent 25%),
        #eaf1f8;
}

.contact-title {
    margin-bottom: 25px;
    color: var(--navy) !important;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 18px;
}

.contact-card,
.map-container {
    min-width: 0;
    padding: 21px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(12, 38, 68, 0.06);
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info > p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.contact-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    margin: 7px 0;
    padding: 8px 10px;
    color: #35465a;
    background: #f5f8fc;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    overflow-wrap: anywhere;
    font-size: 11px;
}

.contact-info li.left,
.contact-info li.right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-icon {
    flex-shrink: 0;
}

/* CONTACT FORM */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    color: var(--text);
    background: #fbfdff;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    transition: 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8, 120, 209, 0.1);
}

.contact-form textarea {
    min-height: 95px;
    resize: vertical;
}

.contact-form button {
    min-height: 40px;
    padding: 9px 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #0878d1, #0755a0);
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(8, 120, 209, 0.18);
    transition: 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 120, 209, 0.25);
}

/* MAP */

.map-container {
    display: flex;
    flex-direction: column;
}

.map-container h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
}

.map-container iframe {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 330px;
    border: 0;
    border-radius: 10px;
    background: #e7edf5;
}

/* ===================== 11. FOOTER ===================== */

footer {
    padding: 15px;
    color: #bdcce0;
    background: #051224;
    border-top: 1px solid rgba(32, 197, 232, 0.2);
    text-align: center;
    font-size: 11px;
}

footer a {
    color: #55d5f3;
    font-weight: 600;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #ffffff;
}

/* ===================== 12. ANIMATIONS ===================== */

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 18px));
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== 13. TABLET ===================== */

@media (max-width: 1100px) {

    .main-header {
        padding: 8px 3%;
        gap: 10px;
    }

    .logo-area {
        gap: 8px;
    }

    .logo-area img {
        width: 40px;
        height: 40px;
    }

    .logo-area h1 {
        font-size: 15px;
    }

    .nav-menu {
        gap: 2px;
    }

    .nav-menu > a,
    .drop-btn {
        padding: 8px;
        font-size: 10px;
    }

    .product-card {
        flex-basis: 210px;
        width: 210px;
    }

    .ceo-container {
        gap: 20px;
    }

    .ceo-img {
        width: 160px;
        height: 160px;
        flex-basis: 160px;
    }
}

/* ===================== 14. MOBILE NAVIGATION ===================== */

@media (max-width: 900px) {

    .main-header {
        min-height: 65px;
        padding: 8px 4%;
        gap: 10px;
    }

    .logo-area {
        flex: 1;
        min-width: 0;
    }

    .logo-area img {
        width: 40px;
        height: 40px;
    }

    .logo-area h1 {
        font-size: clamp(13px, 2.6vw, 17px);
        letter-spacing: 0;
        line-height: 1.4;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 7px;
        max-height: calc(100vh - 65px);
        padding: 12px 4% 18px;
        overflow-y: auto;
        background: linear-gradient(180deg, #071629, #0b2038);
        border-top: 1px solid rgba(32, 197, 232, 0.2);
        box-shadow: 0 14px 25px rgba(0, 0, 0, 0.25);
    }

    .nav-menu.active {
        display: flex;
        animation: fadeIn 0.22s ease;
    }

    .nav-menu > a,
    .drop-btn {
        display: flex;
        width: 100%;
        min-height: 42px;
        align-items: center;
        justify-content: space-between;
        padding: 10px 13px;
        color: #eaf4ff;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        font-size: 12px;
        text-align: left;
        white-space: normal;
    }

    .nav-menu > a:hover,
    .drop-btn:hover {
        background: rgba(32, 197, 232, 0.12);
        transform: none;
    }

    .dropdown {
        width: 100%;
    }

    .drop-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin-top: 5px;
        padding: 5px;
        background: rgba(0, 0, 0, 0.16);
        border: 0;
        border-radius: 8px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .dropdown:hover .drop-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown.active .drop-menu {
        display: block;
    }

    .drop-menu a {
        padding: 9px 12px;
        color: #cfe3f8;
        font-size: 11px;
    }

    .drop-menu a:hover {
        background: rgba(8, 120, 209, 0.25);
    }

    .products,
    .reviews,
    .ceo-section,
    .contact {
        padding-top: 42px;
        padding-bottom: 45px;
    }

    .product-track {
        gap: 15px;
        animation-duration: 19s;
    }

    .product-card {
        flex-basis: 205px;
        width: 205px;
    }

    .product-card img {
        height: 145px;
    }

    /* TABLET REVIEWS */

    .reviews {
        padding: 35px 3%;
    }

    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 750px;
        gap: 15px;
    }

    .review-card {
        height: 185px;
        min-height: 185px;
    }

    .ceo-container {
        padding: 22px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        min-height: 300px;
    }
}

/* ===================== 15. SMALL MOBILE ===================== */

@media (max-width: 600px) {

    .main-header {
        padding: 8px 12px;
    }

    .logo-area {
        gap: 8px;
    }

    .logo-area img {
        width: 38px;
        height: 38px;
    }

    .logo-area h1 {
        font-size: clamp(12px, 3.5vw, 15px);
    }

    .hamburger {
        width: 38px;
        height: 37px;
    }

    .products,
    .reviews,
    .ceo-section,
    .contact {
        padding: 35px 14px;
    }

    .products h2,
    .reviews h2,
    .ceo-section h2 {
        margin-bottom: 22px;
        font-size: 23px;
    }

    /* PRODUCTS */

    .product-slider {
        width: 100%;
    }

    .product-track {
        gap: 13px;
        padding-top: 8px;
        padding-bottom: 15px;
        animation-duration: 16s;
    }

    .product-card {
        flex-basis: 185px;
        width: 185px;
        border-radius: 11px;
    }

    .product-card img {
        height: 130px;
        padding: 8px;
    }

    .product-card h3 {
        min-height: 45px;
        padding: 9px 7px;
        font-size: 12px;
    }

    /* MOBILE REVIEWS */

    .review-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 360px;
        gap: 13px;
    }

    .review-grid > a {
        width: 100%;
    }

    .review-card {
        width: 100%;
        height: 175px;
        min-height: 175px;
        padding: 14px;
        border-radius: 13px;
    }

    .review-card img {
        width: 55px;
        height: 55px;
    }

    .review-card h3 {
        font-size: 13px;
    }

    .review-card p {
        font-size: 10px;
    }

    /* CEO */

    .ceo-container {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
        border-radius: 14px;
        text-align: center;
    }

    .ceo-img {
        width: 140px;
        height: 140px;
        flex: 0 0 140px;
    }

    .ceo-text {
        width: 100%;
        text-align: center;
    }

    .ceo-text > p:first-child {
        padding: 0;
        border-left: 0;
        font-size: 12px;
    }

    .ceo-text h3 {
        font-size: 18px;
    }

    .ceo-text .ceo-title {
        font-size: 10px;
    }

    /* CONTACT */

    .contact-title {
        margin-bottom: 20px;
        font-size: 24px;
    }

    .contact-wrapper {
        gap: 14px;
    }

    .contact-card,
    .map-container {
        padding: 15px;
        border-radius: 12px;
    }

    .contact-info > p {
        font-size: 11px;
    }

    .contact-info li {
        padding: 8px;
        font-size: 10px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 11px;
    }

    .map-container h3 {
        font-size: 14px;
    }

    .map-container iframe {
        min-height: 260px;
    }

    /* VIDEO MODAL */

    .video-modal {
        padding: 15px;
    }

    .video-content {
        padding: 7px;
        border-radius: 10px;
    }

    .video-content iframe {
        height: min(55vh, 280px);
    }

    .close-btn {
        top: -12px;
        right: -7px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    footer {
        padding: 13px 10px;
        font-size: 10px;
    }
}

/* ===================== 16. EXTRA SMALL SCREENS ===================== */

@media (max-width: 360px) {

    .logo-area h1 {
        font-size: 11px;
    }

    .logo-area img {
        width: 35px;
        height: 35px;
    }

    .hero-text h1 {
        font-size: 23px;
    }

    .hero-text p h3 {
        font-size: 12px;
    }

    .product-card {
        flex-basis: 170px;
        width: 170px;
    }

    .product-card img {
        height: 120px;
    }

    .ceo-img {
        width: 125px;
        height: 125px;
        flex-basis: 125px;
    }

    .review-grid {
        max-width: 100%;
    }

    .review-card {
        height: 170px;
        min-height: 170px;
        padding: 12px;
    }
}

/* ===================== 17. ACCESSIBILITY ===================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.dot-nav:focus-visible {
    outline: 3px solid #39c9ee;
    outline-offset: 3px;
}

/* ===================== 18. REDUCED MOTION ===================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .product-track {
        animation: none;
    }
}

/* ===================== END OF CSS ===================== */


/* =========================================================
   19. DESKTOP COLOR HARMONY + SLOWER SLIDERS
   Mobile layout and colors are intentionally left unchanged.
========================================================= */

@media (min-width: 901px) {

    :root {
        --navy: #08243b;
        --navy-light: #123e5a;
        --blue: #087fa5;
        --blue-dark: #075b78;
        --cyan: #36bfc4;
        --white: #ffffff;
        --text: #263d4d;
        --muted: #647b89;
        --background: #f3f7f6;
        --border: #dce9e7;
        --shadow: 0 12px 30px rgba(8, 36, 59, 0.09);
    }

    body {
        background: #f3f7f6;
        color: #263d4d;
    }

    /* Header: deep ocean blue */
    .main-header {
        background: linear-gradient(110deg, #061b2c 0%, #0b3048 58%, #105064 100%);
        border-bottom: 2px solid rgba(54, 191, 196, 0.7);
        box-shadow: 0 7px 24px rgba(4, 24, 39, 0.2);
    }

    .nav-menu > a:hover,
    .drop-btn:hover {
        background: rgba(54, 191, 196, 0.15);
        border-color: rgba(54, 191, 196, 0.28);
    }

    .drop-menu {
        background: #0a2a40;
        border-color: rgba(54, 191, 196, 0.25);
    }

    .drop-menu a:hover {
        background: linear-gradient(120deg, #087fa5, #075b78);
    }

    /* Hero: slightly slower, smoother slide movement */
    .slides {
        transition: transform 1.65s cubic-bezier(0.55, 0.08, 0.25, 1);
    }

    .slider {
        background: #061b2c;
    }

    .slider::after {
        background:
            linear-gradient(90deg, rgba(3, 19, 31, 0.78) 0%, rgba(5, 34, 49, 0.48) 54%, rgba(3, 19, 31, 0.2) 100%),
            linear-gradient(0deg, rgba(3, 19, 31, 0.38), transparent 58%);
    }

    .dot-nav.active {
        background: #48d0cb;
        border-color: #48d0cb;
    }

    .hero-text p:last-child h3 {
        color: #8ce9df;
    }

    /* Products: clean cool-white background */
    .products {
        background:
            radial-gradient(circle at 12% 10%, rgba(54, 191, 196, 0.13), transparent 29%),
            linear-gradient(180deg, #f7fbfa 0%, #eaf3f2 100%);
    }

    .products h2,
    .ceo-section h2,
    .contact-title {
        color: #082f46 !important;
    }

    .products h2::after,
    .reviews h2::after,
    .ceo-section h2::after {
        background: linear-gradient(90deg, #087fa5, #48c9bd);
    }

    .product-card {
        background: #ffffff;
        border-color: #d8e8e5;
        box-shadow: 0 8px 22px rgba(8, 48, 66, 0.075);
    }

    .product-card:hover {
        border-color: #8bcfc9;
        box-shadow: 0 15px 30px rgba(8, 73, 88, 0.13);
    }

    .product-card img {
        background: linear-gradient(145deg, #f8fcfb, #eaf4f2);
        border-bottom-color: #e0ece9;
    }

    .product-card h3 { color: #0b344b; }
    .product-card:hover h3 { color: #087fa5; }

    /* Customer reviews: soft aqua-tinted section */
    .reviews {
        background:
            radial-gradient(circle at 8% 18%, rgba(8, 127, 165, 0.1), transparent 29%),
            radial-gradient(circle at 92% 85%, rgba(72, 201, 189, 0.15), transparent 31%),
            linear-gradient(135deg, #eaf5f4 0%, #f3f9f7 52%, #e8f3f2 100%);
    }

    .reviews::before,
    .reviews::after {
        border-color: rgba(8, 127, 165, 0.1);
    }

    .reviews h2 { color: #0a344b; }

    .review-card {
        color: #294455;
        background: linear-gradient(145deg, #ffffff 0%, #f4fbfa 100%);
        border-color: #d5e8e4;
        box-shadow: 0 8px 22px rgba(8, 48, 66, 0.07);
    }

    .review-card::before { color: rgba(8, 127, 165, 0.08); }

    .review-card::after {
        background: linear-gradient(90deg, transparent, #48c9bd, #087fa5, transparent);
    }

    .review-card:hover {
        border-color: #8bcfc9;
        box-shadow: 0 15px 32px rgba(8, 73, 88, 0.12);
    }

    .review-card img {
        box-shadow: 0 0 0 2px #8bd8d0, 0 5px 13px rgba(8, 75, 90, 0.12);
    }

    .review-card h3 { color: #0b344b; }
    .review-card p { color: #667e88; }

    .stars {
        color: #a96d08;
        background: #fff8e9;
        border-color: #f0e1bd;
    }

    /* CEO: calm pale blue-green background, white content panel */
    .ceo-section {
        background:
            radial-gradient(circle at 90% 15%, rgba(8, 127, 165, 0.1), transparent 30%),
            linear-gradient(180deg, #f4f8fb 0%, #e9f1f5 100%);
    }

    .ceo-container {
        background: linear-gradient(145deg, #ffffff, #f8fcfd);
        border-color: #d9e7eb;
        box-shadow: 0 13px 32px rgba(8, 36, 59, 0.09);
    }

    .ceo-img {
        box-shadow: 0 0 0 2px #8bd8d0, 0 10px 25px rgba(7, 35, 64, 0.13);
    }

    .ceo-text > p:first-child { border-left-color: #36bfc4; }
    .ceo-text h3 { color: #082f46; }
    .ceo-text .ceo-title { color: #087fa5; }

    .ceo-sign {
        background: linear-gradient(120deg, #087fa5, #075b78);
    }

    /* Contact: light blue-grey section with clear white panels */
    .contact {
        background:
            radial-gradient(circle at 5% 90%, rgba(54, 191, 196, 0.12), transparent 28%),
            linear-gradient(135deg, #e9f1f6 0%, #f3f7f9 52%, #e5eff3 100%);
    }

    .contact-card,
    .map-container {
        background: #ffffff;
        border-color: #d8e5e9;
        box-shadow: 0 10px 26px rgba(8, 36, 59, 0.075);
    }

    .contact-info li {
        color: #304b5b;
        background: #f2f8f8;
        border-color: #e0ecea;
    }

    .contact-form input,
    .contact-form textarea {
        background: #fbfdfd;
        border-color: #d8e6e5;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #087fa5;
        box-shadow: 0 0 0 3px rgba(8, 127, 165, 0.1);
    }

    .contact-form button {
        background: linear-gradient(120deg, #087fa5, #075b78);
        box-shadow: 0 5px 15px rgba(8, 127, 165, 0.18);
    }

    .map-container iframe { background: #e5eff1; }

    /* Footer returns to the same deep ocean tone as the header */
    footer {
        color: #c7dce2;
        background: linear-gradient(100deg, #061b2c, #0b3048 65%, #105064);
        border-top: 2px solid rgba(54, 191, 196, 0.55);
    }

    footer a { color: #83e4dc; }

    /* Make the product ticker glide more slowly */
    .product-track {
        animation-duration: 30s;
    }
}
