:root {
    /* Colors */
    --color-primary: #5A28A0;
    --color-secondary: #F47C1E;
    --color-background: #F0F4F8;
    --color-footer-bg: #1A202C;
    --color-button: #F47C1E;
    --color-text-dark: #1A202C;
    --color-text-light: #F8FBFC;
    --color-section-bg-1: #F8FBFC;
    --color-section-bg-2: #E8F0F7;
    --color-section-bg-3: #F0F4F8;
    --color-section-bg-4: #E0E7ED;
    --color-section-bg-5: #D0D8E0;

    /* Fonts */
    --font-family-base: 'Inter', sans-serif;

    /* Spacing */
    --spacing-unit: 1rem; /* 16px */
    --padding-section: calc(4 * var(--spacing-unit)) calc(2.5 * var(--spacing-unit));

    /* Border Radius */
    --border-radius-base: 0.5rem; /* Equivalent to Tailwind's rounded-lg */

    /* Shadows */
    --shadow-base: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* Equivalent to Tailwind's shadow-xl */
    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-button-hover: 0 15px 20px -5px rgba(244, 124, 30, 0.4);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text-dark);
    line-height: 1.7;
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-base);
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.8em;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-secondary);
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5em;
    font-size: 1.1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
    transform: translateY(-1px);
}

/* Utility Classes for Layout and Spacing (complementing Tailwind) */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.section-padding {
    padding: var(--padding-section);
}

/* Component Styles */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-base);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-soft);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-secondary), #FF8C00); /* Subtle gradient for vitality */
    color: var(--color-text-light);
    box-shadow: 0 10px 20px -8px rgba(244, 124, 30, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #FF8C00, var(--color-secondary));
    transform: translateY(-3px);
    box-shadow: var(--shadow-button-hover);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: 0 10px 20px -8px rgba(90, 40, 160, 0.3);
}

.btn-secondary:hover {
    background-color: #6C38B0;
    transform: translateY(-3px);
    box-shadow: 0 15px 20px -5px rgba(90, 40, 160, 0.5);
}

/* Cards */
.card {
    background-color: #ffffff;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-base);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensures content stays within rounded corners */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 35px -8px rgba(0, 0, 0, 0.15), 0 12px 12px -6px rgba(0, 0, 0, 0.08);
}

/* Header */
.header {
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    padding: 1.2rem var(--spacing-unit);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0 0 var(--border-radius-base) var(--border-radius-base); /* Slightly rounded bottom corners */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.header-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
}

.nav-menu li a {
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--padding-section);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-column h4 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-secondary);
    transform: translateX(3px);
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-icons a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
    color: var(--color-secondary);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Section Backgrounds */
.section-bg-1 {
    background-color: var(--color-section-bg-1);
}

.section-bg-2 {
    background-color: var(--color-section-bg-2);
}

.section-bg-3 {
    background-color: var(--color-section-bg-3);
}

.section-bg-4 {
    background-color: var(--color-section-bg-4);
}

.section-bg-5 {
    background-color: var(--color-section-bg-5);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #D0D8E0;
    border-radius: var(--border-radius-base);
    font-family: var(--font-family-base);
    font-size: 1rem;
    color: var(--color-text-dark);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); /* Subtle inner shadow */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(244, 124, 30, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Icons - Placeholder for line-based icons (e.g., Font Awesome, custom SVG) */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 50%;
}


/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .nav-menu ul {
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        margin-bottom: 1rem;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .card {
        padding: 2rem;
    }

    .section-padding {
        padding: calc(3 * var(--spacing-unit)) var(--spacing-unit);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
    }

    .card {
        padding: 1.5rem;
    }
}


/* 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;
    }
}