/* WATERPOD GLOBAL FLOATING CONTACT */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");
@import url("floating-contact.css");

/* WATERPOD GLOBAL PRELOADER */
@import url("preloader.css");
/* =========================================================
   WATERPOD — GLOBAL DESIGN SYSTEM
   Theme: AquaTech | White + Blue + Orange
   Font: Poppins
========================================================= */

/* 1. ROOT VARIABLES */
:root {
    --wp-primary: #0879c9;
    --wp-primary-dark: #07569a;
    --wp-primary-light: #eaf6ff;
    --wp-secondary: #f28b24;
    --wp-secondary-dark: #df7410;
    --wp-navy: #102e4d;
    --wp-text: #425466;
    --wp-muted: #7b8b9b;
    --wp-white: #ffffff;
    --wp-light: #f6faff;
    --wp-border: #e4edf5;

    --wp-gradient: linear-gradient(
        120deg,
        #0879c9 0%,
        #16a7df 55%,
        #f28b24 100%
    );

    --wp-gradient-blue: linear-gradient(
        135deg,
        #0879c9,
        #07569a
    );

    --wp-shadow: 0 12px 35px rgba(20, 75, 120, 0.09);
    --wp-shadow-hover: 0 20px 45px rgba(20, 75, 120, 0.15);
    --wp-radius: 16px;
    --wp-transition: all 0.35s ease;
}

/* 2. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--wp-text);
    background: var(--wp-white);
    font-size: 17px;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
    border: none;
}

.container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

/* 3. GLOBAL TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wp-navy);
    font-weight: 600;
}

h1 {
    font-size: clamp(46px, 5.4vw, 72px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.18;
    letter-spacing: -0.8px;
}

h3 {
    font-size: 26px;
    line-height: 1.3;
}

h4 {
    font-size: 21px;
    line-height: 1.35;
}

p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.text-primary {
    color: var(--wp-primary);
}

.text-orange {
    color: var(--wp-secondary);
}

.text-gradient {
    background: var(--wp-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 4. TOP CONTACT BAR */
.topbar {
    width: 100%;
    background: var(--wp-primary-dark);
    color: var(--wp-white);
    font-size: 13px;
    position: relative;
    z-index: 1002;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-message,
.topbar-links,
.topbar-links a {
    display: flex;
    align-items: center;
}

.topbar-message {
    gap: 10px;
    letter-spacing: 0.2px;
}

.topbar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wp-secondary);
    box-shadow: 0 0 10px rgba(242, 139, 36, 0.8);
    animation: wpPulse 2s infinite;
}

.topbar-links {
    gap: 24px;
}

.topbar-links a {
    gap: 8px;
    transition: var(--wp-transition);
}

.topbar-links a:hover {
    color: #ffd09a;
}

/* 5. MAIN HEADER */
.site-header {
    width: 100%;
    height: 86px;
    background: rgba(255, 255, 255, 0.97);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(228, 237, 245, 0.85);
    transition: var(--wp-transition);
}

.site-header.scrolled {
    height: 72px;
    box-shadow: 0 6px 25px rgba(15, 65, 105, 0.08);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* 6. BRAND / LOGO */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px 14px 14px 4px;
    background: var(--wp-gradient-blue);
    color: var(--wp-white);
    font-size: 23px;
    box-shadow: 0 6px 15px rgba(8, 121, 201, 0.22);
    transition: var(--wp-transition);
}

.brand:hover .brand-icon {
    transform: translateY(-3px) rotate(-7deg);
    box-shadow: 0 10px 22px rgba(8, 121, 201, 0.3);
}

.brand-content {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    color: var(--wp-navy);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-name span {
    color: var(--wp-primary);
}

.brand-tagline {
    margin-top: 5px;
    color: var(--wp-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.05px;
}

/* 7. DESKTOP NAVIGATION */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 86px;
    color: #30445a;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: var(--wp-transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--wp-gradient);
    left: 0;
    bottom: 22px;
    border-radius: 5px;
    transition: var(--wp-transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--wp-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* 8. DROPDOWN MENU */
.dropdown-menu {
    position: absolute;
    top: calc(100% - 5px);
    left: -18px;
    width: 245px;
    padding: 12px;
    background: var(--wp-white);
    border: 1px solid var(--wp-border);
    border-radius: 13px;
    box-shadow: var(--wp-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--wp-transition);
    z-index: 1005;
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--wp-text);
    font-size: 14px;
    line-height: 1.55;
    transition: var(--wp-transition);
}

.dropdown-menu a:hover {
    background: var(--wp-primary-light);
    color: var(--wp-primary);
    padding-left: 17px;
}

/* 9. HEADER CTA BUTTON */
.header-cta {
    min-height: 48px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: 8px;
    background: var(--wp-gradient);
    color: var(--wp-white);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 7px 18px rgba(8, 121, 201, 0.2);
    transition: var(--wp-transition);
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(8, 121, 201, 0.28);
}

.header-cta i {
    transition: transform 0.3s ease;
}

.header-cta:hover i {
    transform: translateX(4px);
}

/* 10. MOBILE MENU BUTTON */
.mobile-menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    border-radius: 9px;
    background: var(--wp-primary-light);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 3px;
    background: var(--wp-primary-dark);
    transition: var(--wp-transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 11. COMMON BUTTONS */
.wp-btn {
    min-height: 54px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--wp-transition);
}

.wp-btn-primary {
    background: var(--wp-gradient-blue);
    color: var(--wp-white);
    box-shadow: 0 8px 20px rgba(8, 121, 201, 0.18);
}

.wp-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(8, 121, 201, 0.25);
}

.wp-btn-orange {
    background: var(--wp-secondary);
    color: var(--wp-white);
}

.wp-btn-orange:hover {
    background: var(--wp-secondary-dark);
    transform: translateY(-4px);
}

.wp-btn-outline {
    border: 1px solid var(--wp-primary);
    color: var(--wp-primary);
    background: transparent;
}

.wp-btn-outline:hover {
    background: var(--wp-primary);
    color: var(--wp-white);
}

/* 12. SECTION UTILITIES */
.wp-section {
    padding: 95px 0;
}

.wp-section-light {
    background: var(--wp-light);
}

.wp-section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.wp-section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--wp-secondary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.wp-section-heading h2 {
    margin-bottom: 17px;
}

.wp-section-heading p {
    color: var(--wp-muted);
    font-size: 17px;
    line-height: 1.8;
}

/* General list readability */
li {
    line-height: 1.75;
}

/* 13. ANIMATION UTILITIES */
@keyframes wpPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.6;
    }
}

@keyframes wpFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes wpWaterDrop {
    0% {
        transform: translateY(-15px) scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(15px) scale(1.1);
        opacity: 0;
    }
}

.wp-float {
    animation: wpFloat 5s ease-in-out infinite;
}

/* 14. ACCESSIBILITY */
:focus-visible {
    outline: 3px solid rgba(8, 121, 201, 0.5);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 15. TABLET RESPONSIVE */
@media (max-width: 1100px) {
    .nav-list {
        gap: 15px;
    }

    .main-navigation {
        gap: 15px;
    }

    .nav-link {
        font-size: 13px;
    }

    .brand-name {
        font-size: 23px;
    }

    .header-cta {
        padding: 0 14px;
        font-size: 13px;
    }
}

/* 16. MOBILE RESPONSIVE */
@media (max-width: 900px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: clamp(38px, 7vw, 54px);
        letter-spacing: -0.8px;
    }

    h2 {
        font-size: clamp(32px, 5.5vw, 42px);
        letter-spacing: -0.5px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
        line-height: 1.75;
    }

    .site-header {
        height: 75px;
    }

    .site-header.scrolled {
        height: 68px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 24px 25px;
        background: var(--wp-white);
        border-top: 1px solid var(--wp-border);
        box-shadow: var(--wp-shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .main-navigation.open {
        display: flex;
        animation: wpMenuOpen 0.3s ease forwards;
    }

    .nav-list {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--wp-border);
    }

    .nav-link {
        min-height: 48px;
        width: 100%;
        justify-content: space-between;
        font-size: 15px;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        padding: 5px 0 12px 12px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: var(--wp-light);
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-menu a {
        font-size: 14px;
    }

    .has-dropdown.open > .dropdown-menu {
        display: block;
    }

    .has-dropdown:hover .dropdown-icon {
        transform: none;
    }

    .has-dropdown.open .dropdown-icon {
        transform: rotate(180deg);
    }

    .header-cta {
        width: 100%;
        font-size: 15px;
    }

    .wp-section {
        padding: 70px 0;
    }

    .wp-section-heading p {
        font-size: 16px;
    }
}

@keyframes wpMenuOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 17. SMALL MOBILE */
@media (max-width: 600px) {
    body {
        font-size: 16px;
        line-height: 1.75;
    }

    h1 {
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1.16;
    }

    h2 {
        font-size: clamp(29px, 7.5vw, 36px);
        line-height: 1.2;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 19px;
    }

    p {
        font-size: 16px;
        line-height: 1.75;
    }

    .container {
        width: calc(100% - 32px);
    }

    .topbar-inner {
        min-height: 34px;
        justify-content: center;
    }

    .topbar-message {
        font-size: 11px;
        text-align: center;
    }

    .topbar-links {
        display: none;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .brand-name {
        font-size: 22px;
    }

    .brand-tagline {
        font-size: 8px;
        letter-spacing: 0.7px;
    }

    .wp-section {
        padding: 58px 0;
    }

    .wp-section-heading {
        margin-bottom: 35px;
    }

    .wp-section-heading .eyebrow {
        font-size: 12px;
    }

    .wp-section-heading p {
        font-size: 16px;
    }

    .wp-btn {
        width: 100%;
        min-height: 50px;
        font-size: 15px;
    }
}

/* 18. PREVENT BACKGROUND SCROLLING ON MOBILE MENU */
body.menu-open {
    overflow: hidden;
}
/* WATERPOD HEADER LOGO SIZE */
.waterpod-header-logo {
    width: 220px !important;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .waterpod-header-logo {
        width: 175px !important;
    }
}

/* =========================================
   ACTIVE DROPDOWN SUBMENU HIGHLIGHT
========================================= */

.dropdown-menu a.active {
    color: #0879c9 !important;
    background: #e8f4ff !important;
    font-weight: 700 !important;
    border-left: 3px solid #0879c9;
    padding-left: 17px !important;
    border-radius: 8px;
}

.dropdown-menu a.active::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 9px;
    vertical-align: middle;
    background: #f28b24;
    border-radius: 50%;
}

.dropdown-menu a.active:hover {
    background: #dceeff !important;
}


/* =========================================================
   19. TABLET NAVIGATION
   Show the complete navigation on tablets.
   Hamburger navigation remains for screens below 768px.
========================================================= */

/* Compact single-row header for larger tablets */
@media (min-width: 901px) and (max-width: 1100px) {
    .header-inner {
        gap: 12px;
    }

    .waterpod-header-logo {
        width: 150px !important;
    }

    .main-navigation {
        gap: 10px;
    }

    .nav-list {
        gap: 10px;
    }

    .nav-link {
        font-size: 11px;
        gap: 4px;
    }

    .header-cta {
        min-height: 40px;
        padding: 0 10px;
        gap: 7px;
        font-size: 11px;
    }

    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Two-row navigation for portrait / smaller tablets */
@media (min-width: 768px) and (max-width: 900px) {
    .site-header,
    .site-header.scrolled {
        height: auto;
        min-height: 75px;
    }

    .header-inner {
        height: auto;
        min-height: 75px;
        padding-top: 10px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0 16px;
    }

    .waterpod-header-logo {
        width: 165px !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .main-navigation {
        position: static;
        display: flex !important;
        width: 100%;
        max-height: none;
        margin-top: 5px;
        padding: 0 0 10px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
        animation: none;
    }

    .nav-list {
        width: auto;
        display: flex;
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0 13px;
    }

    .nav-item {
        width: auto;
        border: 0;
    }

    .nav-link {
        width: auto;
        min-height: 40px;
        justify-content: flex-start;
        gap: 5px;
        font-size: 11px;
    }

    .nav-link::after {
        display: block;
        bottom: 3px;
        height: 2px;
    }

    .dropdown-menu {
        position: absolute;
        top: calc(100% - 2px);
        left: 0;
        display: block;
        width: 230px;
        padding: 10px;
        background: var(--wp-white);
        border: 1px solid var(--wp-border);
        border-radius: 12px;
        box-shadow: var(--wp-shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        z-index: 1005;
    }

    .has-dropdown:hover > .dropdown-menu,
    .has-dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu a {
        font-size: 12px;
        padding: 8px 10px;
    }

    .header-cta {
        width: auto;
        min-height: 38px;
        flex: 0 0 auto;
        padding: 0 11px;
        gap: 7px;
        font-size: 11px;
    }

    .has-dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }
}
