/* --- Variables & Reset --- */
:root {
    --primary-blue: #0284c7;
    /* Deep Blue */
    --ice-blue: #e0f2fe;
    /* Very Light Blue */
    --medium-blue: #38bdf8;
    /* Bright Blue */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -5px rgba(2, 132, 199, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Prevent fixed navbar from covering anchor targets */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
}

.subtitle {
    display: block;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.line {
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin: 1rem auto;
    border-radius: 2px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo i {
    color: var(--medium-blue);
}

.highlight {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    background: var(--medium-blue);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 90vh;
    /* Full screen impact */
    display: flex;
    align-items: center;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/High_ice_blue_iceberg_%28Unsplash%29.jpg/1920px-High_ice_blue_iceberg_%28Unsplash%29.jpg');
    /* Wikimedia Commons - Verified Blue Iceberg */
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 132, 199, 0.8), rgba(2, 132, 199, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* --- Audience Cards --- */
.audience-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    text-align: center;
    border: 1px solid var(--ice-blue);
}

.audience-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--medium-blue);
}

.card-img {
    width: 80px;
    height: 80px;
    background: var(--ice-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-blue);
}

/* --- Services --- */
.bg-ice {
    background: linear-gradient(180deg, var(--ice-blue) 0%, white 100%);
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-visual {
    flex: 1;
    height: 400px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--medium-blue);
    position: relative;
    overflow: hidden;
}

/* Placeholder for actual images later */
/* Actual Cold Bath Image - Clean Icon Style */
.visual-bath {
    background: var(--ice-blue);
    /* Simple color background */
    border: 2px solid var(--primary-blue);
}

.visual-bath i,
.visual-legs i {
    display: block;
    /* Show icons */
    font-size: 6rem;
    opacity: 0.8;
}

/* Hide icon if image loads */

.visual-legs {
    background: var(--ice-blue);
    /* Simple color background */
    border: 2px solid var(--primary-blue);
}

.benefits-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.benefits-list i {
    color: var(--primary-blue);
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.contact-info {
    background: var(--primary-blue);
    color: white;
    padding: 3rem;
}

.contact-info h2 {
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.info-block .icon {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    padding: 3rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--text-dark);
    /* Contrast dark button */
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--primary-blue);
}

/* --- Footer --- */
footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .service-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .service-row.reverse {
        flex-direction: column;
    }

    .benefits-list {
        display: inline-block;
        text-align: left;
        margin-top: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    /* Mobile Menu */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    /* Hero Mobile Fix */
    /* Hero Mobile Fix */
    .hero {
        padding-top: 140px;
        /* Increased space for fixed navbar */
        padding-bottom: 4rem;
        /* Add bottom padding */
        height: auto;
        min-height: 100vh;
        /* Ensure full height coverage */
        align-items: flex-start;
        /* Force content to start from the top padding */
        justify-content: center;
        text-align: center;
        background-position: center top;
    }

    .hero-content {
        margin-top: 0;
        /* Remove extra margin as we have padding */
        width: 100%;
        /* Ensure full width */
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    /* Contact Mobile Fix - PROPERLY NESTED IN MEDIA QUERY */
    .contact-wrapper {
        display: flex;
        /* Use flex instead of grid for better control */
        flex-direction: column;
        width: 100%;
        max-width: 100vw;
        /* Hard limit */
        overflow: hidden;
        /* Cut off any potential overflow */
        border-radius: 20px;
        /* Slightly smaller radius */
    }

    .contact-info,
    .form-container {
        padding: 1.5rem !important;
        /* Force reduce padding */
        width: 100%;
        box-sizing: border-box;
        /* Ensure padding is inside width */
    }

    .contact-info p,
    .contact-info a {
        word-break: break-word;
        /* Force long emails to wrap */
        overflow-wrap: break-word;
    }

    .container {
        padding: 0 1rem;
        /* Reduce side padding for more width */
        width: 100%;
        overflow-x: hidden;
        /* Prevent container scroll */
    }
}

/* --- Animations --- */
.fade-in {
    animation: fadeInUp 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Utilities --- */
.hidden {
    display: none !important;
}