@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&family=Poppins:wght@500;700&display=swap');

:root {
    /* Colors */
    --primary-color: #8FBC8F; /* Dark Sea Green */
    --secondary-color: #ADD8E6; /* Light Blue */
    --background-color: #F5F5DC; /* Ecru White */
    --footer-bg-color: #98A98F; /* Sage Green */
    --button-color: #8FBC8F; /* Dark Sea Green */
    --text-color: #333;
    --muted-text-color: #666;
    --accent-color: #B0E0E6; /* Powder Blue - a slightly stronger secondary for accents */

    /* Section Backgrounds */
    --section-bg-1: #FFFDD0; /* Cream */
    --section-bg-2: #F5F5DC; /* Ecru White */
    --section-bg-3: #E0E0D7; /* Light Grayish Yellow */
    --section-bg-4: #F8F8F0; /* Off-White */
    --section-bg-5: #F0F5F0; /* Pale Mint */

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;

    /* Shadows (Claymorphism-lite) */
    --shadow-soft-in: inset 3px 3px 6px rgba(0, 0, 0, 0.1), inset -3px -3px 6px rgba(255, 255, 255, 0.7);
    --shadow-soft-out: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.7);
    --shadow-card: 8px 8px 16px rgba(0, 0, 0, 0.08), -8px -8px 16px rgba(255, 255, 255, 0.6);
    --shadow-hover: 10px 10px 20px rgba(0, 0, 0, 0.12), -10px -10px 20px rgba(255, 255, 255, 0.8);

    /* Transitions */
    --transition-ease: all 0.3s ease;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7; /* Increased line-height for readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
    letter-spacing: -0.02em; /* Slightly tighter for headings */
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    font-size: 1.1rem;
    color: var(--muted-text-color);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-ease);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Bootstrap Overrides & Enhancements */
.container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}
@media (min-width: 992px) {
    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

/* Header Styles */
.navbar {
    background-color: transparent;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color var(--transition-ease), backdrop-filter var(--transition-ease);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
    box-shadow: none;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

.navbar-brand {
    padding: 0;
    margin-right: auto;
}

.navbar-nav {
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    margin: 0 var(--spacing-xs);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: width var(--transition-ease);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.navbar-nav .nav-item:last-child {
    margin-left: auto;
}

/* Buttons */
.btn {
    font-family: var(--font-heading);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-ease);
    box-shadow: var(--shadow-soft-out);
    position: relative; /* For gradient on hover */
    overflow: hidden; /* For gradient on hover */
}

.btn-primary {
    background-color: var(--button-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity var(--transition-ease);
    z-index: 1;
}

.btn:hover::before {
    opacity: 1;
}

/* Section Backgrounds */
.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);
}

.section-bg-5 {
    background-color: var(--section-bg-5);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    background-color: var(--section-bg-1); /* Default card background */
    box-shadow: var(--shadow-card);
    transition: var(--transition-ease);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.card-img-top {
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.card-body {
    padding: var(--spacing-md);
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: #fff;
    padding: var(--spacing-xl) 0;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft-in); /* Subtle embossed effect for the footer container */
}

.footer h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: var(--spacing-xs);
    color: #fff;
    box-shadow: var(--shadow-soft-out); /* Embossed effect */
    transition: var(--transition-ease);
}

.footer .social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-in); /* Inset effect on hover */
}

/* Utility classes for spacing */
.py-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.my-section {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

/* Custom Image Styling (as per guidelines) */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        margin-top: var(--spacing-sm);
    }
    .navbar-nav .nav-item:last-child {
        margin-left: unset;
    }
    .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1);
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    p { font-size: 1rem; }
    .footer {
        text-align: center;
    }
    .footer .col-md-4 {
        margin-bottom: var(--spacing-lg);
    }
    .footer .social-icons {
        margin-top: var(--spacing-md);
        justify-content: center;
    }
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}