:root {
    /* Colors */
    --primary-color: #0a4a6e;
    --secondary-color: #50b8c4;
    --background-color: #e0f2f7;
    --footer-bg-color: #07304f;
    --button-color: #0f768a;
    --text-color: #333;
    --light-text-color: #f2faff;
    --heading-color: #012b3d;
    --accent-color: var(--secondary-color); /* Using secondary as accent for harmony */

    /* Section Backgrounds */
    --section-bg-1: #f2faff;
    --section-bg-2: #e6f7fc;
    --section-bg-3: #d9eff5;
    --section-bg-4: #ccdee8;

    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --base-font-size: 1.125rem; /* 18px */
    --line-height: 1.7;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem; /* For a fluid, underwater feel */

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(10, 74, 110, 0.1), 0 5px 15px rgba(10, 74, 110, 0.05);
    --shadow-card: 0 15px 40px rgba(10, 74, 110, 0.08), 0 8px 20px rgba(10, 74, 110, 0.04);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem units */
}

body {
    font-family: var(--body-font);
    font-size: var(--base-font-size);
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    line-height: 1.2;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em; /* Slightly tighter for modern feel */
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.8rem;
    font-weight: 500;
}

h5 {
    font-size: 1.4rem;
    font-weight: 500;
}

h6 {
    font-size: 1.2rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* Utility Classes for Spacing and Backgrounds */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
}

.section-bg-4 {
    background-color: var(--section-bg-4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-lg); /* More rounded for fluid feel */
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); /* Smoother transition */
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, var(--button-color) 0%, rgba(80, 184, 196, 0.8) 100%);
    color: var(--light-text-color);
    letter-spacing: 0.02em;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(10, 74, 110, 0.2), 0 7px 15px rgba(10, 74, 110, 0.1);
    background-image: linear-gradient(135deg, darken(var(--button-color), 10%) 0%, rgba(80, 184, 196, 0.9) 100%);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(10, 74, 110, 0.1);
}

.btn-secondary {
    background-image: linear-gradient(135deg, var(--secondary-color) 0%, #7edce6 100%);
    color: var(--heading-color);
}

.btn-secondary:hover {
    background-image: linear-gradient(135deg, darken(var(--secondary-color), 10%) 0%, #7edce6 100%);
}

/* Cards - Glassmorphism meets organic */
.card {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white for glassmorphism */
    backdrop-filter: blur(10px); /* Glassmorphism blur */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Soft border */
    border-radius: var(--border-radius-lg); /* Rounded corners */
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-card); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(10, 74, 110, 0.12), 0 10px 25px rgba(10, 74, 110, 0.06);
}

.card img {
    border-radius: var(--border-radius-md); /* Slightly rounded images */
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: var(--spacing-md);
    object-fit: cover;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(10, 74, 110, 0.2);
    border-radius: var(--border-radius-sm);
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(80, 184, 196, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer Styling */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: var(--secondary-color);
}

.footer a:hover {
    color: var(--light-text-color);
    text-decoration: underline;
}

/* GLightbox overrides for consistency */
.glightbox-container .glightbox-nav button {
    background-color: rgba(var(--secondary-color), 0.7) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.glightbox-container .glightbox-nav button:hover {
    background-color: var(--secondary-color) !important;
}

.glightbox-container .glightbox-close {
    color: var(--light-text-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.4rem;
    }
    h3 {
        font-size: 2rem;
    }
    .container {
        padding: 0 var(--spacing-sm);
    }
    .section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
    body {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    .section {
        padding: var(--spacing-md) 0;
    }
    .btn {
        width: 100%;
        display: block;
    }
}

/* Subtle background animations for 'fluid, underwater feel' */
@keyframes underwaterMovement {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

body {
    background: radial-gradient(circle at 10% 20%, var(--background-color) 0%, var(--section-bg-1) 50%, var(--section-bg-2) 100%);
    background-size: 200% 200%;
    animation: underwaterMovement 60s ease infinite alternate;
}

/* Additional styling for images (no text constraint) - subtle lift */
img:not(.no-shadow) {
    box-shadow: 0 8px 20px rgba(10, 74, 110, 0.08); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:not(.no-shadow):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 74, 110, 0.12);
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}