/* 
    Aqua Express Water Solutions - Ultimate Premium Design 
    Redesigned by Antigravity AI - Phase 3 (Elite Edition)
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    /* Colors */
    --primary: #26B4F3;
    --primary-dark: #1a9dd6;
    --secondary: #002080;
    --secondary-dark: #001555;
    --white: #ffffff;
    --bg-soft: #f4f7fa;
    --text-main: #2c3e50;
    --text-muted: #5d6d7e;
    
    /* Layout */
    --header-h: 110px;
    --header-h-scrolled: 85px;
    --container-w: 1400px;
    
    /* Effects */
    --shadow-soft: 0 10px 40px rgba(0, 32, 128, 0.05);
    --shadow-bold: 0 20px 60px rgba(0, 32, 128, 0.1);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-blur: blur(25px);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none !important;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    line-height: 1.2;
    color: var(--secondary);
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 140px 0;
    scroll-margin-top: 110px;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--secondary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(38, 180, 243, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: var(--header-h-scrolled);
    background: var(--secondary);
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header__logo-img {
    height: 75px;
    transition: var(--transition);
}

.header.scrolled .header__logo-img {
    height: 55px;
}

.header__nav-list {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.header__nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    position: relative;
    padding: 5px 0;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

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

.header__cta {
    padding: 0.8rem 2rem;
    background: var(--secondary);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 32, 128, 0.2);
}

.header__cta:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(38, 180, 243, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #00122e;
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: -50px;
    background: url('../images/hero-bg-v2.png') center/cover no-repeat;
    opacity: 0.5;
    transition: transform 0.2s ease-out;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.hero__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero__content {
    color: white;
}

.hero__title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
    font-weight: 900;
}

.hero__title span {
    color: var(--primary);
    position: relative;
}

.hero__desc {
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 3.5rem;
    max-width: 650px;
}

.hero__actions {
    display: flex;
    gap: 2rem;
}

.hero__img-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__product-img {
    max-width: 100%;
    filter: drop-shadow(0 30px 80px rgba(0,0,0,0.6));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(2deg); }
}

.hero__badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero__badge {
    background: rgba(255,255,255,0.12);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__badge i { color: var(--primary); }

/* Wave Divider & Animations */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 15;
}

.wave-divider svg {
    width: 100%;
    height: 150px;
}

.wave-divider .shape-fill { fill: var(--white); }

/* Animated Waves */
.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

/* Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
}

/* Common UI */
.btn {
    padding: 1.2rem 3rem;
    border-radius: 100px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--secondary); transform: translateY(-5px); box-shadow: var(--shadow-bold); }

.btn-outline { border: 2px solid white; color: white; background: transparent; }
.btn-outline:hover { background: white; color: var(--secondary); transform: translateY(-5px); }

/* About Section */
.about {
    background: var(--bg-soft);
}

.about__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 10rem;
    align-items: center;
}

.about__img-stack {
    position: relative;
}

.about__img-main {
    border-radius: 40px;
    box-shadow: var(--shadow-bold);
    width: 100%;
}

.about__exp-badge {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: 40px;
    text-align: center;
    box-shadow: none;
}

.about__exp-num { font-size: 3.5rem; font-weight: 900; line-height: 1; display: block; }
.about__exp-text { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }

.section-subtitle {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.section-title {
    font-size: 50px;
    margin-bottom: 2.5rem;
}

/* Tech Section */
.tech {
    background: linear-gradient(rgba(0, 32, 128, 0.96), rgba(0, 32, 128, 0.96)), url('../images/tech-bg.png') center/cover no-repeat fixed;
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.tech-card {
    background: rgba(255,255,255,0.05);
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    transition: var(--transition);
}

.tech-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-15px);
    border-color: var(--primary);
}

.tech-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 2.5rem; }

/* Catalog Section */
.catalog {
    background: var(--white);
}

.catalog__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.catalog__mockup {
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.catalog__mockup:hover {
    transform: scale(1.02);
}

/* Products Section */
.products {
    background: var(--bg-soft);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 3rem;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 32, 128, 0.05);
}

.product-card-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a9dd6 100%);
    color: white !important;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 0.5rem;
    text-decoration: none !important;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.product-card-btn:hover::before {
    left: 100%;
}

.product-card-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--secondary);
}

.product-card-img { 
    height: 280px; 
    margin-bottom: 2rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    background: #fff; 
    border-radius: 20px;
    padding: 1rem;
}

.product-card-img img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    transition: var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.08); }

/* FAQ Section */
.faq { background: white; }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: var(--bg-soft);
    margin-bottom: 1.5rem;
    border-radius: 25px;
    padding: 0.5rem;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    color: var(--text-muted);
}

.faq-item.active { background: white; box-shadow: var(--shadow-bold); border: 2px solid var(--primary); }
.faq-item.active .faq-answer { padding-bottom: 2.5rem; max-height: 1000px; }

.faq-question i {
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Contact Section */
.contact {
    background: var(--bg-soft);
    color: var(--secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10rem;
}

.contact-form {
    background: white;
    padding: 5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-bold);
}

.contact-input {
    width: 100%;
    padding: 1.5rem;
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: 20px;
    margin-bottom: 2rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-input:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: #ffffff;
    padding: 150px 0 60px;
    position: relative;
}

.footer-waves {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
}

.footer-waves .shape-fill { fill: var(--secondary); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 6rem;
    position: relative;
    z-index: 10;
}

.footer-title { color: white; margin-bottom: 2rem; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.footer-link { display: block; margin-bottom: 1rem; transition: var(--transition); color: #ffffff; text-decoration: none !important; }
.footer-link:hover { color: var(--primary); transform: translateX(8px); }

.footer-contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none !important;
}

.footer-social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-copyright {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

/* Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(60px);
    transition: 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Nav Drawer */
.mobile-drawer {
    position: fixed;
    inset: 0;
    background: var(--secondary);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem;
    transform: translateX(100%);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active { transform: translateX(0); }
.mobile-drawer__close { position: absolute; top: 1.5rem; right: 2rem; color: white; font-size: 2.5rem; cursor: pointer; }
.mobile-drawer__link {
    color: white;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}
/* Responsive Layout Helpers */
.about-features-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.contact-form-row .contact-input { margin-bottom: 0; }

/* Contact Info Area */
.contact-info-item { display: flex; gap: 2rem; align-items: center; margin-bottom: 2rem; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.5rem; color: var(--primary); flex-shrink: 0; }
.contact-info-text span { display: block; opacity: 0.6; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 0.3rem; }
.contact-info-text strong { font-size: 1.4rem; font-weight: 700; line-height: 1.4; display: block; }

/* Responsive */
.header__hamburger { display: none; cursor: pointer; }

@media (max-width: 1200px) {
    .container { padding: 0 1.5rem; }
    .hero__wrapper, .about__wrapper, .catalog__wrapper, .contact-grid { grid-template-columns: 1fr; text-align: center; gap: 5rem; }
    .hero__image-box, .about__img-stack, .catalog__mockup { order: 2; }
    .hero__content, .about__content, .catalog__content { order: 1; }
    .hero__badges, .hero__actions { justify-content: center; }
    .about-features-list { margin: 0 auto 3rem auto; width: max-content; }
    .tech-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 40px 0; scroll-margin-top: 85px; }
    .hero__wrapper, .about__wrapper, .catalog__wrapper, .contact-grid { gap: 3rem; }
    .header__nav { display: none; }
    .header__cta { display: none; }
    .header__hamburger { display: block; font-size: 2.2rem; color: white; }
    .header.scrolled .header__hamburger { color: white; }
    
    .tech-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 3rem; }
    .footer-contact-item { justify-content: flex-start; text-align: left; flex-direction: row; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
    .footer-contact-item p { font-size: 0.95rem; margin: 0; }
    .footer-socials { justify-content: flex-start; }
    
    .about__exp-badge { right: 0; bottom: 0; padding: 1.5rem; width: 100%; border-radius: 20px; position: relative; margin-top: 2rem; margin-bottom: 2rem; }
    .section-title { font-size: 2.2rem; margin-bottom: 1.5rem; }
    .hero__title { font-size: 2.5rem; }
    
    .contact-form { padding: 3rem 2rem; border-radius: 30px; }
    .contact-grid { gap: 3rem; }
    .about-features-list, .contact-form-row { grid-template-columns: 1fr; }
    
    .contact-info-item { flex-direction: column; text-align: center; gap: 1rem; }
    .contact-info-text strong { font-size: 1.15rem; }
    
    .footer { padding: 40px 0 30px; }
    .footer-waves { display: none; }
    .footer-copyright { margin-top: 40px; padding-top: 30px; }
    
    .hero__product-img { filter: none; animation: none; }
    
    .hero__actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    
    .hero__badges { flex-direction: column; width: 100%; gap: 1rem; }
    .hero__badge { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero__wrapper, .about__wrapper, .catalog__wrapper, .contact-grid { gap: 2rem; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card { padding: 2rem 1.5rem; }
    .section-title { font-size: 1.8rem; margin-bottom: 1rem; }
    .hero__title { font-size: 2.2rem; }
    
    /* Header layout fixes for small screens */
    .header__logo-img { height: 60px; }
    .header.scrolled .header__logo-img { height: 50px; }
}



.products__card-info {
    margin-bottom: 50px;
}

a.btn-card.products__card-btn {
    padding: 1.2rem 3rem;
    border-radius: 100px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    background-color: #002080;
    margin-top: 10px !important;
    color: #ffff;
}

.hero__wrapper {
margin-top: 3%;
    margin-bottom: 9%;
}


.product-price.products__card-price {
    font-size: 18.8px;
    font-weight: 700;
    margin-top: 10px;
    color: rgb(0, 32, 128);
}

h3.products__card-title {
    font-size: 16px;
}
