/* Water is Life Brand Colors */
:root {
    --bright-azure: #05B3ED;
    --sky-teal: #08A4D7;
    --steel-blue: #4F83B4;
    --midnight-navy: #044772;
    --champagne-gold: #D4AF37;
    --silver: #C0C0C0;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F8F9FA;
    --dark-gray: #6C757D;
}

/* Typography */
* {
    font-family: 'Montserrat', sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

/* Brand Text */
.brand-text {
    font-weight: 700;
    color: var(--bright-azure);
    font-size: 1.5rem;
}

/* Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--bright-azure), var(--sky-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--bright-azure), var(--sky-teal));
}

/* Utility Classes */
.text-bright-azure { color: var(--bright-azure) !important; }
.text-sky-teal { color: var(--sky-teal) !important; }
.text-steel-blue { color: var(--steel-blue) !important; }
.text-midnight-navy { color: var(--midnight-navy) !important; }
.text-champagne { color: var(--champagne-gold) !important; }

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(5, 179, 237, 0.3));
}

/* Brand Info Styling */
.brand-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-info .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bright-azure);
}

.navbar-brand small {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: -2px;
    color: var(--dark-gray);
}

.nav-link {
    font-weight: 500;
    color: var(--midnight-navy) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--bright-azure) !important;
}

.cta-link {
    background: var(--champagne-gold);
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    font-weight: 600;
}

.cta-link:hover {
    background: var(--bright-azure);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(5, 179, 237, 0.1), rgba(8, 164, 215, 0.1));
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bubbles" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(5,179,237,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23bubbles)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.water-awareness .awareness-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(5, 179, 237, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.water-awareness .awareness-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(5, 179, 237, 0.2);
}

.awareness-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bright-azure), var(--sky-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.awareness-text h5 {
    margin-bottom: 0.5rem;
    color: var(--midnight-navy);
    font-weight: 600;
}

.awareness-text p {
    margin: 0;
    color: var(--dark-gray);
    line-height: 1.5;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bright-azure);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Water Drop Animation */
.water-drop-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-drop {
    width: 200px;
    height: 200px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(5, 179, 237, 0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Wave Background */
.wave-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.waves {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    animation: wave 4s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

/* Calculator Section */
.calculator-section {
    padding: 5rem 0;
}

.calculator-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(5, 179, 237, 0.1);
    border: 1px solid rgba(5, 179, 237, 0.1);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.activity-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.activity-card {
    background: var(--white);
    border: 2px solid #E9ECEF;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.activity-card:hover {
    border-color: var(--bright-azure);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 179, 237, 0.15);
}

.activity-item.selected .activity-card {
    border-color: var(--bright-azure);
    background: linear-gradient(135deg, rgba(5, 179, 237, 0.1), rgba(8, 164, 215, 0.1));
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bright-azure);
    transition: all 0.3s ease;
}

.activity-item.selected .activity-icon {
    background: var(--bright-azure);
    color: var(--white);
}

.activity-details {
    flex: 1;
}

.activity-name {
    font-weight: 600;
    color: var(--bright-azure);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.activity-description {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    font-style: italic;
}

.activity-usage {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.activity-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 120px;
    justify-content: flex-end;
}

.btn-counter {
    width: 32px;
    height: 32px;
    border: 2px solid var(--bright-azure);
    border-radius: 50%;
    background: var(--white);
    color: var(--bright-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
}

.btn-counter:hover {
    background: var(--bright-azure);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(5, 179, 237, 0.3);
}

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

.btn-counter:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 179, 237, 0.2);
}

.counter-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bright-azure);
    min-width: 32px;
    text-align: center;
    background: var(--light-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.counter-value:hover {
    background: rgba(5, 179, 237, 0.1);
    transform: scale(1.05);
}

.activity-item.selected .counter-value {
    background: var(--bright-azure);
    color: var(--white);
    border-color: var(--bright-azure);
}

.activity-item.selected .counter-value:hover {
    background: rgba(5, 179, 237, 0.8);
}

/* Usage Summary */
.usage-summary {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.usage-summary.active {
    border-color: var(--bright-azure);
    background: linear-gradient(135deg, rgba(5, 179, 237, 0.1), rgba(8, 164, 215, 0.1));
}

.total-usage {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.usage-label {
    font-weight: 600;
    color: var(--midnight-navy);
}

.usage-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bright-azure);
}

/* Buttons */
.btn-primary {
    background: var(--bright-azure);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--sky-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 179, 237, 0.3);
}

.btn-primary:disabled {
    background: var(--dark-gray);
    cursor: not-allowed;
    transform: none;
}

.btn-champagne {
    background: var(--champagne-gold);
    border: none;
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-champagne:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Social Buttons */
.btn-social {
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--white);
}

.btn-twitter {
    background: #1DA1F2;
}

.btn-facebook {
    background: #1877F2;
}

.btn-instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Education Section */
.education-section {
    background: var(--light-gray);
}

.facts-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(5, 179, 237, 0.1);
    transition: all 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(5, 179, 237, 0.2);
}

.fact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bright-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.fact-text {
    color: var(--midnight-navy);
    font-weight: 500;
    margin: 0;
}

/* Campaign Section */
.campaign-section {
    background: var(--white);
}

.campaign-stats {
    margin-top: 2rem;
}

.campaign-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.campaign-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(5, 179, 237, 0.15);
}

.campaign-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bright-azure);
    margin-bottom: 0.5rem;
}

.campaign-stat .stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Results Page */
.results-hero {
    background: linear-gradient(135deg, rgba(5, 179, 237, 0.1), rgba(8, 164, 215, 0.1));
    padding: 5rem 0;
}

.results-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(5, 179, 237, 0.1);
    text-align: center;
}

.results-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bright-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 2rem;
}

.average-reveal {
    margin-top: 2rem;
}

.reveal-card {
    background: linear-gradient(135deg, rgba(5, 179, 237, 0.1), rgba(8, 164, 215, 0.1));
    border: 2px solid var(--bright-azure);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: revealPulse 2s ease-in-out;
}

.reveal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bright-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.reveal-content {
    flex: 1;
}

.reveal-stat {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bright-azure);
    margin-bottom: 0.5rem;
}

.reveal-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--midnight-navy);
    margin-bottom: 0.5rem;
}

.reveal-comparison {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

@keyframes revealPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.activities-breakdown {
    text-align: left;
}

.activity-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.activity-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 179, 237, 0.1);
}

.activity-result .activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bright-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.activity-result .activity-name {
    font-weight: 600;
    color: var(--midnight-navy);
    margin-bottom: 0.25rem;
}

.activity-result .activity-usage {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Comparison Cards */
.comparison-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(5, 179, 237, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(5, 179, 237, 0.2);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.comparison-header h5 {
    margin: 0;
    font-weight: 600;
    color: var(--midnight-navy);
}

.comparison-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bright-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.comparison-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.your-usage,
.average-usage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E9ECEF;
}

.your-usage .label,
.average-usage .label {
    font-weight: 500;
    color: var(--dark-gray);
}

.your-usage .value,
.average-usage .value {
    font-weight: 600;
    color: var(--midnight-navy);
}

.percentage {
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.percentage-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bright-azure);
    display: block;
}

.percentage-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Impact Section */
.impact-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.impact-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 179, 237, 0.1);
}

.impact-stat .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bright-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.impact-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bright-azure);
    margin-bottom: 0.5rem;
}

.impact-stat .stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Loading Animation */
.loading-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.water-drop-loader {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bright-azure);
    animation: dropLoader 1.5s ease-in-out infinite;
}

@keyframes dropLoader {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Action Buttons */
.action-buttons {
    margin-top: 2rem;
}

.action-section {
    background: linear-gradient(135deg, var(--bright-azure), var(--sky-teal));
    color: var(--white);
}

/* Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .water-awareness .awareness-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .awareness-text h5 {
        font-size: 1.1rem;
    }
    
    .awareness-text p {
        font-size: 0.9rem;
    }
    
    .calculator-card {
        padding: 2rem 1rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-card {
        padding: 1rem;
    }
    
    .btn-counter {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .counter-value {
        font-size: 1rem;
        min-width: 20px;
        padding: 0.2rem 0.4rem;
    }
    
    .counter-controls {
        gap: 0.3rem;
    }
    
    .usage-summary {
        padding: 1.5rem;
    }
    
    .usage-summary .row {
        text-align: center;
    }
    
    .usage-summary .col-md-6:first-child {
        margin-bottom: 1rem;
    }
    
    .total-usage {
        justify-content: center;
    }
    
    .results-card {
        padding: 2rem 1rem;
    }
    
    .reveal-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .reveal-stat {
        font-size: 2.5rem;
    }
    
    .reveal-label {
        font-size: 1.1rem;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
    
    .action-buttons .row {
        gap: 1rem;
    }
    
    .action-buttons .col-md-3 {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .floating-drop {
        width: 150px;
        height: 150px;
    }
    
    .water-drop-animation {
        height: 300px;
    }
    
    .usage-amount {
        font-size: 1.5rem;
    }
    
    .campaign-stat .stat-number {
        font-size: 2rem;
    }
    
    .percentage-value {
        font-size: 1.5rem;
    }
    
    .impact-stat .stat-number {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .action-section,
    .btn,
    .social-links {
        display: none !important;
    }
    
    .results-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .comparison-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
