@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* Colors */
    --color-primary: #007BFF;
    --color-secondary: #28A745;
    --color-accent: #17A2B8;
    --color-background: #F0F8FF;
    --color-footer-bg: #002b5c;
    --color-text-dark: #2c3e50;
    --color-text-light: #ecf0f1;
    --color-border: rgba(0, 123, 255, 0.2);
    --color-glass-light: rgba(255, 255, 255, 0.4);
    --color-glass-dark: rgba(255, 255, 255, 0.1);

    /* Section Backgrounds */
    --section-bg-1: #E0F7FA;
    --section-bg-2: #F8FBFD;
    --section-bg-3: #DDF2F4;
    --section-bg-4: #F0F8FC;
    --section-bg-5: #CCEEFF;
    --section-bg-6: #EFF8FF;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-main: 'Roboto', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;

    /* 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: 0.75rem;
    --border-radius-lg: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.18);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* Layout & Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(odd) {
    background-color: var(--section-bg-1);
}

section:nth-of-type(even) {
    background-color: var(--section-bg-2);
}

/* Specific section backgrounds */
.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); }
.section-bg-6 { background-color: var(--section-bg-6); }

/* Header */
.header {
    background-color: var(--color-background);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
}

.logo {
    display: block;
    height: 40px; /* Adjust as needed */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 var(--spacing-sm);
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-dark);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed) var(--transition-ease);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: left var(--transition-speed) var(--transition-ease);
    opacity: 0.1;
    z-index: -1;
}

.nav-menu a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    left: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.8em;
    border-radius: var(--border-radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed) var(--transition-ease);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-primary), #0056b3);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, var(--color-primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.3);
}

.btn-accent {
    background: linear-gradient(45deg, var(--color-accent), #138496);
    color: var(--color-text-light);
}

.btn-accent:hover {
    background: linear-gradient(45deg, #138496, var(--color-accent));
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(23, 162, 184, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

/* Cards & Interactive Elements with Glassmorphism */
.card {
    background-color: var(--color-glass-light);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.interactive-element {
    background-color: var(--color-glass-dark);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) var(--transition-ease);
}

.interactive-element:hover {
    background-color: var(--color-glass-light);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8em 1em;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    background-color: rgba(255, 255, 255, 0.7);
    transition: border-color var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23FFFFFF" fill-opacity="0.05" fill-rule="evenodd"%3E%3Cpath d="M0 59.904V60h1V0h-1v59.904zM6.007 0h-.012L6 0A6.006 6.006 0 000 6.006v47.988A6.006 6.006 0 006.006 60h47.988A6.006 6.006 0 0060 53.994V6.006A6.006 6.006 0 0053.994 0H6.006zm-.012 1h.012L6 1a5.006 5.006 0 015.006 5.006v47.988A5.006 5.006 0 0153.994 59H6.006A5.006 5.006 0 011 53.994V6.006A5.006 5.006 0 016.006 1z"/%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.1;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    z-index: 1;
    position: relative;
    padding: 0 var(--spacing-md);
}

.footer h4 {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer ul li {
    margin-bottom: var(--spacing-xs);
}

.footer ul li a {
    color: var(--color-text-light);
    opacity: 0.8;
}

.footer ul li a:hover {
    color: var(--color-accent);
    opacity: 1;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-text-light);
    margin-right: var(--spacing-sm);
    transition: background-color var(--transition-speed) var(--transition-ease), transform var(--transition-speed) var(--transition-ease);
}

.social-icons a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px) scale(1.05);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Utility Classes for Alpine.js */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity var(--transition-speed) var(--transition-ease);
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all var(--transition-speed) var(--transition-ease);
}
.slide-up-enter, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Animations & Effects */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.animate-pulse-primary:hover {
    animation: pulse 1.5s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .nav-menu li {
        margin: var(--spacing-xs) 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        display: flex;
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.6em 1.2em;
        font-size: 0.9rem;
    }

    .logo {
        height: 35px;
    }
}

/* Fluid Gradients for background elements - example */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.15), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(40, 167, 69, 0.15), transparent 50%);
    animation: gradientShift 15s ease infinite alternate;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-20%, -20%);
    }
}

/* Example of geometric shapes */
.shape-circle {
    position: absolute;
    background-color: rgba(0, 123, 255, 0.05);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    z-index: 0;
    filter: blur(20px);
}

.shape-square {
    position: absolute;
    background-color: rgba(40, 167, 69, 0.05);
    width: 120px;
    height: 120px;
    transform: rotate(45deg);
    z-index: 0;
    filter: blur(20px);
}

.shape-1 {
    top: 10%;
    left: 5%;
}
.shape-2 {
    bottom: 15%;
    right: 10%;
    width: 180px;
    height: 180px;
}
.shape-3 {
    top: 30%;
    right: 0;
    width: 80px;
    height: 80px;
    transform: rotate(15deg);
}
.shape-4 {
    bottom: 5%;
    left: 20%;
    width: 100px;
    height: 100px;
}


/* 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;
    }
}