/* Core Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Particles Background */
#particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Immersive Intro Section */
.immersive-intro {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.9), rgba(52, 152, 219, 0.8));
    overflow: hidden;
    position: relative;
}

.moisture-reveal {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 40px;
}

.moisture-droplets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.droplet {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    animation: dropletFall 8s infinite ease-out;
}

.d1 { top: -10%; left: 10%; width: 30px; height: 30px; animation-delay: 0s; }
.d2 { top: -5%; left: 30%; width: 15px; height: 15px; animation-delay: 1s; }
.d3 { top: -8%; left: 50%; width: 25px; height: 25px; animation-delay: 2s; }
.d4 { top: -12%; left: 65%; width: 20px; height: 20px; animation-delay: 3s; }
.d5 { top: -6%; left: 80%; width: 22px; height: 22px; animation-delay: 4s; }
.d6 { top: -9%; left: 20%; width: 18px; height: 18px; animation-delay: 5s; }
.d7 { top: -7%; left: 70%; width: 28px; height: 28px; animation-delay: 6s; }

@keyframes dropletFall {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    10% { transform: translateY(20vh) scale(1); opacity: 0.8; }
    80% { transform: translateY(80vh) scale(1); opacity: 0.8; }
    100% { transform: translateY(120vh) scale(0.5); opacity: 0; }
}

.reveal-content {
    max-width: 800px;
    margin: 0 auto;
}

.reveal-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    animation: fadeInUp 1s forwards 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline-container {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.animated-tagline {
    font-size: 1.8rem;
    color: white;
    opacity: 0.9;
    min-height: 80px;
}

/* Introduction Cards Section */
.intro-cards-section {
    background-color: #f7f9fc;
    padding: 100px 0 70px;
}

.intro-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 40px;
    flex: 1;
}

.service-tag {
    display: inline-block;
    background-color: #e0f2fe;
    color: #3498db;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.intro-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.feature-checklist {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.feature-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #555;
}

.feature-checklist li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #3498db;
}

.card-image {
    height: 200px;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    text-align: center;
}

.image-placeholder i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 15px;
}

.placeholder-text {
    color: #7f8c8d;
    font-size: 1.1rem;
    font-weight: 500;
}

.custom-image {
    background: linear-gradient(120deg, #e0f2fe, #f5f7fa);
}

.private-label-image {
    background: linear-gradient(120deg, #f5f7fa, #e0f2fe);
}

/* Blueprint Section */
.blueprint-section {
    background-color: #f7f9fc;
    padding: 80px 0;
}

.section-description {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 50px;
    text-align: center;
}

.customization-grid {
    margin-top: 40px;
}

.custom-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.custom-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f7ff;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.custom-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.custom-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 0.95rem;
}


/* Dimension Options */
.dimension-options {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.dimension-btn {
    flex: 1;
    padding: 10px;
    background-color: #f0f7ff;
    color: #3498db;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dimension-btn:hover {
    background-color: #d0e6ff;
}

.dimension-btn.active {
    background-color: #3498db;
    color: white;
}

.dimension-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
    min-height: 120px;
}

.dimension-box {
    width: 100px;
    height: 80px;
    background-color: #f0f7ff;
    border: 2px solid #3498db;
    border-radius: 5px;
    transition: all 0.5s ease;
}

.dimension-box.compact {
    width: 60px;
    height: 50px;
}

.dimension-box.standard {
    width: 100px;
    height: 80px;
}

.dimension-box.custom {
    width: 140px;
    height: 70px;
}

.dimension-label {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Control Types */
.control-types {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.control-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.control-option:hover {
    background-color: #f0f7ff;
}

.control-option.active {
    background-color: #3498db;
}

.control-option.active i,
.control-option.active span {
    color: white;
}

.control-option i {
    font-size: 24px;
    color: #3498db;
    transition: all 0.3s ease;
}

.control-option span {
    font-size: 0.9rem;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.control-demo {
    margin-top: 30px;
    height: 120px;
    position: relative;
}

.control-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.control-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Manual, Digital & Remote Controls */
.manual-dial {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#3498db 0%, #f0f7ff 40%);
    position: relative;
    margin-bottom: 15px;
    cursor: pointer;
}

.manual-dial:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
}

.digital-screen {
    width: 120px;
    height: 80px;
    background-color: #2c3e50;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 15px;
}

.digital-display {
    color: #2ecc71;
    font-family: 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.digital-buttons {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.digital-buttons span {
    color: white;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
}

.remote-screen {
    width: 120px;
    height: 80px;
    background-color: white;
    border: 2px solid #3498db;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.remote-screen i {
    color: #3498db;
    font-size: 24px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.remote-display {
    color: #2c3e50;
    font-size: 14px;
}

.manual-label, .digital-label, .remote-label {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Airflow Demo */
.airflow-demo {
    margin-top: 20px;
    height: 150px;
    position: relative;
}

.airflow-unit {
    width: 150px;
    height: 150px;
    background-color: #f0f7ff;
    border: 2px solid #3498db;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: border-color 0.3s ease;
}

.airflow-button {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #3498db;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.airflow-button:hover {
    background-color: #3498db;
    color: white; 
}

.airflow-button.active {
    background-color: #3498db;
    color: white;
}

.left-flow {
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.right-flow {
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.top-flow {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-flow {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.airflow-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

 

@keyframes flowLeft {
    0% { opacity: 0; left: 50%; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; left: 0%; }
}

@keyframes flowRight {
    0% { opacity: 0; left: 50%; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; left: 100%; }
}

@keyframes flowTop {
    0% { opacity: 0; top: 50%; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; top: 0%; }
}

@keyframes flowBottom {
    0% { opacity: 0; top: 50%; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; top: 100%; }
}

 

.p1 { top: 20%; left: 50%; animation-delay: 0.1s; }
.p2 { top: 30%; left: 50%; animation-delay: 0.3s; }
.p3 { top: 40%; left: 50%; animation-delay: 0.5s; }
.p4 { top: 50%; left: 50%; animation-delay: 0.7s; }
.p5 { top: 60%; left: 50%; animation-delay: 0.9s; }
.p6 { top: 70%; left: 50%; animation-delay: 1.1s; }
.p7 { top: 50%; left: 40%; animation-delay: 0.4s; }
.p8 { top: 50%; left: 60%; animation-delay: 0.8s; }

/* Branding Options */
.branding-options {
    display: flex;
    margin-top: 30px;
}

.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-right: 40px;
}

.color-sample {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.color-sample:hover {
    transform: scale(1.2);
}

.color-sample.active {
    border-color: #2c3e50;
    transform: scale(1.2);
}

.logo-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    height: 80px;
    min-width: 200px;
    background-color: white;
    border: 2px solid #3498db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    transition: all 0.3s ease;
}

.logo-label {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Improved blow effects for airflow */
@keyframes blow-left {
    0% { transform: translateX(0) rotate(0deg); opacity: 1; }
    20% { transform: translateX(-40px) rotate(-5deg); opacity: 0.9; }
    60% { transform: translateX(-800px) rotate(-25deg) scale(0.7); opacity: 0.3; }
    75% { transform: translateX(-1000px) rotate(-45deg) scale(0.5); opacity: 0; }
    76% { transform: translateX(600px) rotate(15deg) scale(0.8); opacity: 0; }
    90% { transform: translateX(100px) rotate(5deg) scale(0.9); opacity: 0.8; }
    100% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
}

@keyframes blow-right {
    0% { transform: translateX(0) rotate(0deg); opacity: 1; }
    20% { transform: translateX(40px) rotate(5deg); opacity: 0.9; }
    60% { transform: translateX(800px) rotate(25deg) scale(0.7); opacity: 0.3; }
    75% { transform: translateX(1000px) rotate(45deg) scale(0.5); opacity: 0; }
    76% { transform: translateX(-600px) rotate(-15deg) scale(0.8); opacity: 0; }
    90% { transform: translateX(-100px) rotate(-5deg) scale(0.9); opacity: 0.8; }
    100% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
}

@keyframes blow-top {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    20% { transform: translateY(-40px) rotate(-5deg); opacity: 0.9; }
    60% { transform: translateY(-800px) rotate(-15deg) scale(0.7); opacity: 0.3; }
    75% { transform: translateY(-1000px) rotate(-25deg) scale(0.5); opacity: 0; }
    76% { transform: translateY(600px) rotate(10deg) scale(0.8); opacity: 0; }
    90% { transform: translateY(100px) rotate(3deg) scale(0.9); opacity: 0.8; }
    100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
}

@keyframes blow-bottom {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    20% { transform: translateY(40px) rotate(5deg); opacity: 0.9; }
    60% { transform: translateY(800px) rotate(15deg) scale(0.7); opacity: 0.3; }
    75% { transform: translateY(1000px) rotate(25deg) scale(0.5); opacity: 0; }
    76% { transform: translateY(-600px) rotate(-10deg) scale(0.8); opacity: 0; }
    90% { transform: translateY(-100px) rotate(-3deg) scale(0.9); opacity: 0.8; }
    100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
}

.custom-card.blow-left { animation: blow-left 2s forwards; }
.custom-card.blow-right { animation: blow-right 2s forwards; }
.custom-card.blow-top { animation: blow-top 2s forwards; }
.custom-card.blow-bottom { animation: blow-bottom 2s forwards; }

/* Wave, Process and CTA Sections */
.liquid-process-section {
    background-color: #3498db;
    color: white;
    padding: 0;
    overflow: hidden;
}

.liquid-container {
    position: relative;
}

.wave-header {
    position: relative;
    height: 100px;
}

.waves {
    position: absolute;
    width: 100%;
    height: 100px;
    min-height: 100px;
    max-height: 150px;
}

.parallax > use {
    animation: moveForever 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 moveForever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

.process-content {
    background-color: white;
    color: #333;
    padding: 80px 0;
}

.process-content h2 {
    color: #3498db;
}

.liquid-flow {
    position: relative;
    margin-top: 60px;
}

.flow-path {
    height: 200px;
    margin-bottom: 30px;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
}

.step-trigger {
    width: 20%;
    padding: 0 10px;
    text-align: center;
    cursor: pointer;
}

.step-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.step-trigger:hover .step-bubble {
    background-color: #3498db;
    color: white;
}

.step-trigger.active .step-bubble {
    background-color: #3498db;
    color: white;
    transform: scale(1.2);
}

.step-content {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.step-trigger:hover .step-content, .step-trigger.active .step-content {
    opacity: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #3498db;
}

.animated-cta-section {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 150px 0;
}

.water-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: rippleEffect 7s infinite;
}

@keyframes rippleEffect {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 500%; height: 500%; opacity: 0; }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.animated-cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.animated-cta-section p {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn-cta {
    background-color: white;
    color: #3498db;
    font-size: 1.1rem;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Flying paper effect */
.flying-paper {
    position: absolute;
    width: 20px;
    height: 25px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transform-origin: center;
    z-index: 2000;
    animation: paper-fly 3s linear forwards;
    opacity: 0;
}

@keyframes paper-fly {
    0% { opacity: 0; transform: scale(0) rotate(0deg); }
    10% { opacity: 0.9; transform: scale(1) rotate(10deg); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(10deg); }
    60% { transform: rotate(-5deg); }
    80% { opacity: 0.8; transform: rotate(10deg); }
    100% { opacity: 0; transform: translateY(100vh) rotate(45deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .custom-card {
        padding: 20px;
    }
    
    .control-types {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .dimension-options {
        flex-direction: column;
    }
    
    .branding-options {
        flex-direction: column;
    }
    
    .color-picker {
        margin-bottom: 30px;
        justify-content: center;
    }
    
    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .step-trigger {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .immersive-intro {
        height: 500px;
    }
    
    .reveal-title {
        font-size: 2.5rem;
    }
    
    .intro-card {
        flex-direction: column-reverse;
    }
    
    .card-image {
        height: 150px;
    }
}

.customization-grid {
    margin-top: 40px;
    position: relative;
}
/* Condensation Chamber Styles */
.condensation-chamber {
    margin-top: 30px;
    text-align: center;
}

.chamber-glass {
    position: relative;
    width: 180px;
    height: 240px;
    margin: 0 auto 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #3498db;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
}

.chamber-label {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: #3498db;
    font-weight: 500;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 3;
}

.condensation-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                  rgba(255, 255, 255, 0.4) 0%, 
                  rgba(52, 152, 219, 0.3) 50%, 
                  rgba(255, 255, 255, 0.4) 100%);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.droplets-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.droplet {
    position: absolute;
    background-color: rgba(52, 152, 219, 0.7);
    border-radius: 50% 50% 50% 0;
    transform: rotate(45deg);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    animation: dropletFlow linear forwards;
    pointer-events: none;
}

@keyframes dropletFlow {
    0% {
        transform: rotate(45deg) translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
        transform: rotate(45deg) translateY(10px) scale(1);
    }
    100% {
        transform: rotate(45deg) translateY(200px) scale(0.5);
        opacity: 0;
    }
}
 /* Water Droplet Collector Styles */
.water-collector-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
    position: relative;
}

.collector-glass {
    width: 160px;
    height: 300px;
    background-color: rgba(240, 248, 255, 0.3);
    border: 4px solid #3498db;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                inset 0 0 15px rgba(255, 255, 255, 0.5);
    margin: 0 auto 20px;
}

.water-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* Starting water level - will be controlled by JS */
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.9));
    transition: height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.water-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(52, 152, 219, 0.5);
    z-index: 2;
    opacity: 0.7;
    overflow: visible; /* Allow ripples to overflow */
}

@keyframes rippleAnimation {
    0% { 
        transform: translate(-50%, -50%) scale(0); 
        opacity: 0.8; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(3); 
        opacity: 0; 
    }
}

.water-ripple {
    position: absolute;
    top: 0;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 3;
    animation: rippleAnimation 1s forwards;
    pointer-events: none;
}
.measurement-lines {
    position: absolute;
    top: 0;
    right: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
}

.measurement {
    position: absolute;
    color: #3498db;
    font-size: 12px; 
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
    right: 0;
    transform: translateY(-50%);
}

/* Position each measurement at the correct height */
.measurement[data-value="300"] { top: 0%; }
.measurement[data-value="250"] { top: 17%; }
.measurement[data-value="200"] { top: 35%; }
.measurement[data-value="150"] { top: 53%; }
.measurement[data-value="100"] { top: 72%; }
.measurement[data-value="50"] { top: 90%; }
.measurement[data-value="20"] { top: 100%; }

.measurement::before {
    content: "";
    position: absolute;
    right: 30px;
    top: 50%;
    height: 2px;
    width: 20px;
    background-color: #3498db;
}

.water-droplet-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}
 
.collector-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.ppd-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    padding: 5px 15px;
    border-radius: 5px;
    background-color: rgba(240, 248, 255, 0.5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.collector-buttons {
    display: flex;
    gap: 10px;
}

.collector-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.collector-btn:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

.collector-btn:active {
    transform: scale(0.95);
}

.droplet-rate-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 10px;
    text-align: center;
}

.water-droplet {
    position: absolute;
    color: #3498db;
    font-size: 16px;
    z-index: 10;
    opacity: 0;
}

@keyframes dropFall {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    10% {
        transform: translateY(0);
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
        transform: translateY(var(--fall-distance));
    }
    100% {
        transform: translateY(var(--fall-distance));
        opacity: 0;
    }
}
@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    40% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Glass edge highlight effect */
.collector-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 3;
    pointer-events: none;
}

/* Collector glass click area */
.collector-glass-click-area {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    cursor: pointer;
}

/* Add this to your existing CSS styles */
#wind-gusts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1500;
}

.wind-gust {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0);
    z-index: 1500;
}

@keyframes gustLeft {
    0% { transform: scale(0.2) translateX(0) rotate(0deg); opacity: 0; }
    20% { transform: scale(1) translateX(-100px) rotate(-5deg); opacity: 0.7; }
    70% { transform: scale(1.2) translateX(-300px) rotate(-15deg); opacity: 0.5; }
    100% { transform: scale(0.5) translateX(-600px) rotate(-30deg); opacity: 0; }
}

@keyframes gustRight {
    0% { transform: scale(0.2) translateX(0) rotate(0deg); opacity: 0; }
    20% { transform: scale(1) translateX(100px) rotate(5deg); opacity: 0.7; }
    70% { transform: scale(1.2) translateX(300px) rotate(15deg); opacity: 0.5; }
    100% { transform: scale(0.5) translateX(600px) rotate(30deg); opacity: 0; }
}

@keyframes gustTop {
    0% { transform: scale(0.2) translateY(0) rotate(0deg); opacity: 0; }
    20% { transform: scale(1) translateY(-100px) rotate(-5deg); opacity: 0.7; }
    70% { transform: scale(1.2) translateY(-300px) rotate(-10deg); opacity: 0.5; }
    100% { transform: scale(0.5) translateY(-600px) rotate(-20deg); opacity: 0; }
}

@keyframes gustBottom {
    0% { transform: scale(0.2) translateY(0) rotate(0deg); opacity: 0; }
    20% { transform: scale(1) translateY(100px) rotate(5deg); opacity: 0.7; }
    70% { transform: scale(1.2) translateY(300px) rotate(10deg); opacity: 0.5; }
    100% { transform: scale(0.5) translateY(600px) rotate(20deg); opacity: 0; }
}

.gust-left { animation: gustLeft forwards; }
.gust-right { animation: gustRight forwards; }
.gust-top { animation: gustTop forwards; }
.gust-bottom { animation: gustBottom forwards; }

/* Additional CSS to ensure the logo overlay is properly visible and positioned on each product */
/* Enhanced styling for the product carousel and logo positioning */

 

/* Logo Image */
.overlay-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center;
    opacity: 0.85;
    transition: all 0.3s ease;
}

/* Logo hover effect */
.logo-perspective-wrapper:hover .overlay-logo {
    transform: scale(1.05);
    opacity: 1;
}
 
 
.product-image.fade-out {
    opacity: 0;
}

.product-image.fade-in {
    opacity: 1;
    animation: fadeInScale 0.4s forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ensure logo visibility during transitions */
.product-image.fade-out + .logo-perspective-wrapper {
    opacity: 0.3;
    transition: opacity 0.2s ease-out;
}

.product-image.fade-in + .logo-perspective-wrapper {
    opacity: 0.85;
    transition: opacity 0.4s ease-in 0.1s;
}

/* Improved carousel navigation buttons */
.carousel-nav-btn {
    opacity: 0.7;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
}

.carousel-nav-btn:hover {
    opacity: 1;
    background: #3498db;
    color: white; 
}
 

/* Carousel indicator dots */
.carousel-indicators {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.carousel-dot i {
    font-size: 10px;
    color: #ccc;
}

.carousel-dot.active {
    transform: scale(1.2);
    opacity: 1;
}

.carousel-dot.active i {
    color: #3498db;
}

/* Product name styling */
.product-name {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    text-align: center;
    margin: 10px 0;
    min-height: 24px;
}

/* Make upload process more visually appealing */
.upload-status {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.upload-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}
 /* Product Image Sizing Fixes */
.product-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin: 0 auto;
  height: 0;
  padding-bottom: 55%; /* Maintain a consistent aspect ratio */
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* This ensures the image maintains its aspect ratio */
  background-color: #f8f9fa;
}

/* Ensure the logo positioning works with the adjusted container */
.logo-perspective-wrapper {
  position: absolute;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-out;
  z-index: 10;
}

/* Product-specific logo positions */
.product-carousel-wrapper[data-product-index="0"] .logo-perspective-wrapper {
  top: 35%;
  left: 30%;
  width: 25%;
  max-width: 200px; 
}

.product-carousel-wrapper[data-product-index="1"] .logo-perspective-wrapper {
    top: 40%;
    left: 30%;
  width: 25%;
  max-width: 150px; 
}

.product-carousel-wrapper[data-product-index="2"] .logo-perspective-wrapper {
    top: 35%;
    left: 40%;
  width: 25%;
  max-width: 175px; 
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .product-image-wrapper {
    padding-bottom: 85%; /* Slightly taller aspect ratio on mobile */
  }
  
  .product-carousel-wrapper[data-product-index="0"] .logo-perspective-wrapper,
  .product-carousel-wrapper[data-product-index="1"] .logo-perspective-wrapper,
  .product-carousel-wrapper[data-product-index="2"] .logo-perspective-wrapper {
    width: 20%;
    max-width: 100px;
  }
}
/* Product Carousel Navigation Button Repositioning */
.carousel-navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.prev-btn {
    left: -15px;
}

.next-btn {
    right: -15px;
}

.carousel-nav-btn:hover {
    background: #3498db;
    color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Improved Logo Controls */
.logo-controls {
    margin-top: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-upload-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.upload-btn, .reset-logo-btn {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.upload-btn {
    background-color: #3498db;
    color: white;
}

.upload-btn:hover {
    background-color: #2980b9;
}

.reset-logo-btn {
    background-color: #f0f0f0;
    color: #555;
}

.reset-logo-btn:hover {
    background-color: #e0e0e0;
}

.logo-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.logo-tip, .logo-dimensions {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
}

.logo-tip {
    margin-bottom: 8px;
}

.upload-status {
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Product Image Improvements */
.product-image-wrapper {
    width: 100%;
    max-width: 600px;
    height: 250px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

/* Carousel indicators improvement */
.carousel-indicators {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #3498db;
    transform: scale(1.2);
}