:root {
    /* Color Theme from Brand Image */
    --color-bg-light-blue: #57cfff;
    --color-bg-dark-navy: #0b1a2d;
    --color-text-white: #ffffff;
    --color-accent-yellow: #ffcc00;
    --color-dark-outline: #0b1a2d;

    /* Typography */
    --font-display: 'Luckiest Guy', cursive;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
}

.font-display {
    font-family: var(--font-display);
    /* Matched outline effect from the logo */
    text-shadow:
        -3px -3px 0 var(--color-dark-outline),  
         3px -3px 0 var(--color-dark-outline),
        -3px  3px 0 var(--color-dark-outline),
         3px  3px 0 var(--color-dark-outline),
         4px 4px 5px rgba(0,0,0,0.4);
}

.font-display-sub {
     font-family: var(--font-display);
     color: var(--color-bg-light-blue);
     -webkit-text-stroke: 1.5px var(--color-dark-outline);
     text-stroke: 1.5px var(--color-dark-outline);
     paint-order: stroke fill;
}

/* Star sparkle elements inspired by the brand image */
.sparkle-bg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0L61.2 38.8L100 50L61.2 61.2L50 100L38.8 61.2L0 50L38.8 38.8z' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 25px;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    animation: pulse 5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

/* Speech bubble style for testimonials */
.speech-bubble {
    position: relative;
    background: white;
    border-radius: .4em;
    border: 3px solid #333;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: #333;
    border-bottom: 0;
    margin-left: -20px;
    margin-bottom: -20px;
}

@keyframes sparkle {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.process-step {
    position: relative;
    padding-left: 4rem;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== UNIVERSAL DESIGN SYSTEM ===== */
/* 
   These classes ensure consistent styling across all pages following the homepage pattern:
   
   USAGE PATTERN:
   1. Hero Section: .hero-section (blue tiled background with sparkle-bg)
   2. Content Sections: Alternate between .section-white and .section-blue
   3. Section Titles: Use .section-title for consistent heading styling
   4. Content Cards: Use .content-card for consistent card styling
   5. Containers: Use .section-container (wide) or .section-container-narrow
   
   EXAMPLE PAGE STRUCTURE:
   <section class="hero-section">
     <div class="sparkle-bg"></div>
     <div class="relative z-10 section-container">
       <h1 class="section-title">Page Title</h1>
     </div>
   </section>
   
   <section class="section-white">
     <div class="section-container text-center">
       <h2 class="section-title-dark">Section Title</h2>
       <p class="section-subtitle">Optional subtitle text</p>
       <div class="grid md:grid-cols-3 gap-8">
         <div class="content-card">
           <h3 class="card-title">Card Title</h3>
           <p class="card-text">Card content</p>
         </div>
       </div>
     </div>
   </section>
   
   <section class="section-blue">
     <div class="section-container text-center">
       <h2 class="section-title">Section Title</h2>
       <div class="content-card">Content here</div>
     </div>
   </section>
*/

/* Hero Section - Blue tiled background */
.hero-section {
    background-color: var(--color-bg-light-blue);
    position: relative;
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
    overflow: hidden;
}

/* Standard White Section */
.section-white {
    background-color: white;
    padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
    .section-white {
        padding: 4rem 3rem;
    }
}

/* Standard Blue Tiled Section */
.section-blue {
    background-color: var(--color-bg-light-blue);
    background-color: rgba(87, 207, 255, 0.3); /* bg-opacity-30 equivalent */
    padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
    .section-blue {
        padding: 4rem 3rem;
    }
}

/* Section Title Styling - Matches Homepage Standard */
.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
    /* Matched outline effect from the logo */
    text-shadow:
        -3px -3px 0 var(--color-dark-outline),  
         3px -3px 0 var(--color-dark-outline),
        -3px  3px 0 var(--color-dark-outline),
         3px  3px 0 var(--color-dark-outline),
         4px 4px 5px rgba(0,0,0,0.4);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 4rem;
    }
}

/* Section Title for White Backgrounds */
.section-title-dark {
    font-family: var(--font-display);
    font-size: 3rem;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
    /* Matched outline effect from the logo */
    text-shadow:
        -3px -3px 0 var(--color-dark-outline),  
         3px -3px 0 var(--color-dark-outline),
        -3px  3px 0 var(--color-dark-outline),
         3px  3px 0 var(--color-dark-outline),
         4px 4px 5px rgba(0,0,0,0.4);
}

@media (min-width: 768px) {
    .section-title-dark {
        font-size: 4rem;
    }
}

/* Section Subtitle - Homepage Style */
.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151; /* gray-700 */
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.875rem; /* text-3xl */
    }
}

/* Content Cards - Homepage Standard */
.content-card {
    background: #f9fafb; /* gray-50 - matches homepage exactly */
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 4px solid black;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-8px);
}

/* Content Card Title - Homepage Standard */
.card-title {
    font-weight: bold;
    font-size: 1.875rem; /* text-3xl */
    color: #1f2937; /* gray-800 */
    margin-bottom: 1rem;
}

/* Content Card Text - Homepage Standard */
.card-text {
    font-size: 1.125rem; /* text-lg */
    color: #374151; /* gray-700 */
}

/* Container for consistent max-width and centering */
.section-container {
    max-width: 80rem;
    margin: 0 auto;
}

.section-container-narrow {
    max-width: 64rem;
    margin: 0 auto;
}