:root {
    --color-primary: #007BFF;
    --color-secondary: #28A745;
    --color-background: #F8F9FA;
    --color-footer-bg: #343A40;
    --color-text-dark: #343A40;
    --color-text-light: #F8F9FA;
    --color-neutral-light: #E9ECEF;
    --color-neutral-medium: #DEE2E6;
    --color-white: #FFFFFF;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    --border-radius-sm: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    --transition-speed: 0.3s ease-in-out;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    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-text-dark);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

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);
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 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-bg-1 { background-color: #F0F8FF; } /* Lightest blue */
.section-bg-2 { background-color: var(--color-white); }
.section-bg-3 { background-color: #F5F5F5; } /* Slightly darker light grey */
.section-bg-4 { background-color: var(--color-neutral-light); }
.section-bg-5 { background-color: var(--color-neutral-medium); }
.section-bg-6 { background-color: #DEE2E6; } /* Even darker light grey */


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(0);
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker primary */
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(0);
}

.btn-secondary:hover {
    background-color: #218838; /* Darker secondary */
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: 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-white);
    box-shadow: var(--shadow-sm);
}

/* Cards */
.card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text-dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-neutral-medium);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Header & Navigation (Example for a sleek header) */
.header {
    background-color: var(--color-white);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-menu li {
    margin-left: var(--spacing-lg);
}

.nav-menu a {
    color: var(--color-text-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: var(--spacing-xs) 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-primary);
}

/* Utility Classes for Alpine.js dynamic components */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity var(--transition-speed);
}
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all var(--transition-speed);
}
.slide-up-enter, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }
    .nav-menu li {
        margin: var(--spacing-sm) 0;
    }
    .header-content {
        flex-direction: column;
    }
    .logo {
        margin-bottom: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 var(--spacing-sm);
    }
    section {
        padding: var(--spacing-lg) 0;
    }
    .btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .card {
        padding: var(--spacing-md);
    }
}

/* Sleekness and Trust-building specific elements */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.95) 0%, rgba(40, 167, 69, 0.9) 100%),
                url('https://source.unsplash.com/random/1600x900/?technology,abstract') no-repeat center center/cover;
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(30px);
    animation: float1 10s infinite ease-in-out;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    filter: blur(40px);
    animation: float2 12s infinite ease-in-out;
}

@keyframes float1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes float2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
    100% { transform: translate(0, 0); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-size: 4.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    font-weight: 300;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    transition: transform var(--transition-speed);
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px;
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
    font-size: 1.1rem;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: auto; /* Pushes author to the bottom of the card */
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Subtle background patterns for sections */
.section-bg-pattern-1 {
    background-image: radial-gradient(circle at 100% 150%, var(--color-neutral-light) 24%, var(--color-white) 25%, var(--color-white) 28%, var(--color-neutral-light) 29%, var(--color-neutral-light) 36%, var(--color-white) 36%, var(--color-white) 40%, transparent 40%, transparent),
                      radial-gradient(circle at 0% 150%, var(--color-neutral-light) 24%, var(--color-white) 25%, var(--color-white) 28%, var(--color-neutral-light) 29%, var(--color-neutral-light) 36%, var(--color-white) 36%, var(--color-white) 40%, transparent 40%, transparent),
                      radial-gradient(circle at 50% 100%, var(--color-white) 10%, var(--color-neutral-light) 11%, var(--color-white) 23%, var(--color-neutral-light) 24%, var(--color-neutral-light) 30%, var(--color-white) 31%, var(--color-white) 43%, var(--color-neutral-light) 44%, var(--color-neutral-light) 50%, var(--color-neutral-light) 50%, transparent 51%, transparent);
    background-size: 100px 100px;
    background-color: var(--color-white);
}

.section-bg-pattern-2 {
    background-image: linear-gradient(90deg, var(--color-neutral-light) 1px, transparent 1px),
                      linear-gradient(var(--color-neutral-light) 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: var(--color-background);
}

/* Alpine.js specific styles for transitions */
.x-transition-fade {
    transition-property: opacity;
    transition-duration: var(--transition-speed);
}
.x-transition-fade-enter, .x-transition-fade-leave-to {
    opacity: 0;
}

.x-transition-slide-down {
    transition-property: height, opacity, transform;
    transition-duration: var(--transition-speed);
    overflow: hidden;
}
.x-transition-slide-down-enter, .x-transition-slide-down-leave-to {
    opacity: 0;
    transform: translateY(-10px);
    height: 0 !important;
}

/* Custom styling for a modern, sleek aesthetic */
.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-sm);
}

.badge {
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.badge-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.badge-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.progress-bar-container {
    background-color: var(--color-neutral-light);
    border-radius: var(--border-radius-sm);
    height: 8px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-bar {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-sm);
    transition: width 0.6s ease-in-out;
}

/* Focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
    border-radius: var(--border-radius-sm);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-neutral-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3; /* Darker primary */
}

/* Specific styles for the "trust-building" aspect */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.feature-item .icon {
    font-size: 2rem;
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-item h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

/* Call to action section */
.cta-section {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-xl) 0;
    border-radius: var(--border-radius-lg);
    margin: var(--spacing-xl) auto;
    max-width: 1000px;
    box-shadow: var(--shadow-lg);
    background-size: 200% 200%;
    animation: gradient-shift 10s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-section .btn {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-section .btn:hover {
    background-color: var(--color-neutral-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Responsive adjustments for CTA */
@media (max-width: 768px) {
    .cta-section {
        margin: var(--spacing-lg) var(--spacing-md);
        padding: var(--spacing-lg);
    }
}
@media (max-width: 480px) {
    .cta-section h2 {
        font-size: 1.8rem;
    }
}


/* 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;
    }
}