/* Base styles from globals.css */
:root {
    --background: 0 0% 100%;
    --foreground: 212 74% 10%;
    --card: 0 0% 100%;
    --card-foreground: 212 74% 10%;
    --primary: 180 100% 40%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 64% 95%;
    --secondary-foreground: 240 64% 27%;
    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;
    --border: 0 0% 89.8%;
    --radius: 0.5rem;
}

.dark {
    --background: 212 74% 10%;
    --foreground: 0 0% 100%;
    --card: 212 70% 15%;
    --card-foreground: 0 0% 100%;
    --primary: 180 100% 50%;
    --primary-foreground: 212 74% 10%;
    --secondary: 240 64% 27%;
    --secondary-foreground: 0 0% 100%;
    --muted: 212 70% 20%;
    --muted-foreground: 215 20.2% 65.1%;
    --border: 212 70% 20%;
}

* {
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    scroll-behavior: smooth;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Utility classes based on Tailwind */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-12 { gap: 3rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.min-h-dvh { min-height: 100vh; }
.flex-1 { flex-grow: 1; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.pt-32 { padding-top: 8rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.tracking-tighter { letter-spacing: -0.05em; }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-primary { background-color: hsl(var(--primary)); }
.border-border { border-color: hsl(var(--border)); }
.border-primary { border-color: hsl(var(--primary)); }
.border-t { border-top-width: 1px; border-style: solid; }
.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hidden { display: none; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.shrink-0 { flex-shrink: 0; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.h-16 { height: 4rem; }
a { text-decoration: none; color: inherit; }

/* Responsive styles */
@media (min-width: 640px) {
    .sm\:pt-40 { padding-top: 10rem; }
    .sm\:pb-24 { padding-bottom: 6rem; }
    .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
    .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:text-lg\/relaxed { font-size: 1.125rem; line-height: 1.625; }
    .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; }
    .lg\:text-base { font-size: 1rem; line-height: 1.5rem; }
}

/* Specific component styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease-in-out;
}

/* Make the header opaque by default and when scrolled */
.header,
.header.scrolled {
    background-color: rgba(7, 24, 44, 0.8); /* Use background color #07182C with 80% opacity */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.container {
    width: 100%;
    margin-left: auto;    
    margin-right: auto;    
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}


.card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
}
.badge-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}
.badge-outline {
    border-color: hsl(var(--border));
    color: hsl(var(--foreground));
}
.badge-outline.text-primary {
     color: hsl(var(--primary));
     border-color: hsl(var(--primary));
     font-size: 1.5rem;
     padding: 0.5rem 1rem;
     border-radius: 0.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}
.button-ghost {
    background-color: transparent;
    color: hsl(var(--foreground));
}
.button-ghost:hover {
     background-color: hsl(var(--muted));
}
.button-icon {
    padding: 0.5rem;
    height: 2.5rem;
    width: 2.5rem;
}
.button-lg {
    height: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.125rem;
}
.button-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}
.button-primary:hover {
    opacity: 0.9;
}
.button-outline {
    border-color: hsl(var(--border));
    background-color: transparent;
    color: hsl(var(--foreground));
}
.button-outline:hover {
    background-color: hsl(var(--muted));
}
.mobile-menu.hidden {
    display: none;
}
.mobile-menu {
    display: flex;
    z-index: 60;
    background-color: rgba(7, 24, 44, 0.8); /* Use background color #07182C with 80% opacity */
}

.fixed { position: fixed; }
.bottom-8 { bottom: 2rem; }
.right-8 { right: 2rem; }
.z-50 { z-index: 50; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 0.3s; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 0.3s; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:text-primary:hover { color: hsl(var(--primary)); }
.opacity-0 { opacity: 0; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 2;
    stroke: hsl(var(--foreground));
    fill: none;
}
.text-primary .icon { color: hsl(var(--primary)); }
.x-icon.hidden,
.menu-icon.hidden {
    display: none;
}

/* Testimonials Styles */
.testimonial-item {
    background-color: hsl(var(--card)); /* Added background */
    border: 1px solid hsl(var(--border)); /* Added border for separation */
    border-radius: 0.5rem; /* Added border radius */
    padding: 1.5rem; /* Added padding */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

/* Responsive styles for testimonials */
@media (min-width: 768px) {
    #focus .testimonials-carousel {
        flex-direction: row; /* Arrange in a row */
        flex-wrap: wrap; /* Allow wrapping on larger screens */
        gap: 1.5rem; /* Consistent gap */
        overflow-x: visible;
        padding-bottom: 0;
    }

    .testimonials-carousel .testimonial-item {
        flex: 1 0 calc(50% - 0.75rem); /* Two items per row with gap */
        margin-bottom: 1.5rem; /* Space below each item */
        min-width: unset; /* Remove minimum width */
    }

    /* Adjust margin for the last item in a row to prevent extra space */
    .testimonials-carousel .testimonial-item:nth-child(odd) {
        margin-right: 1.5rem;
    }
    .testimonials-carousel .testimonial-item:nth-child(even) {
        margin-right: 0;
    }
}

@media (min-width: 1024px) {
    #focus .testimonials-carousel {
        gap: 2rem; /* Adjust gap for larger screens */
    }

    .testimonials-carousel .testimonial-item {
        flex: 1 0 calc(33.33% - 1.333rem); /* Three items per row with gap */
        margin-bottom: 2rem; /* Space below each item */
    }
/* Ensure header is opaque by default */
#site-header {
    background-color: hsl(var(--background));
}
