html,
body {
    background: #F4F4F4;
    color: #0A0A0A
}

.dark html,
.dark body {
    background: #0A0A0A;
    color: #F4F4F4
}

.glass {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(10px)
}

.dark .glass {
    background: rgba(0, 0, 0, .35)
}

.btn {
    @apply inline-flex items-center justify-center rounded-2xl px-5 py-3 font-semibold transition;
}

.btn-primary {
    @apply bg-[#0066FF] text-white hover:opacity-90;
}

.btn-dark {
    @apply bg-black text-white hover:bg-neutral-800 dark:bg-white dark:text-black dark:hover:bg-neutral-200;
}

.btn-outline {
    @apply border border-black text-black hover:bg-black hover:text-white dark:border-white dark:text-white dark:hover:bg-white dark:hover:text-black;
}

.badge {
    @apply rounded-full border px-2 py-1 text-xs;
}

.service-card {
    transition: all .3s ease;
    background: #fff;
}

.dark .service-card {
    background: rgba(0, 0, 0, .4);
}

.service-card:hover {
    transform: translateY(-6px);
    background: #0066FF;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover li {
    color: #fff !important;
}

.service-card:hover li::marker {
    color: #fff;
}

.top-logo img {
    height: 50px;
    width: auto;
}

/* Subtle Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@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);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Initial states for animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-on-scroll.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-on-scroll.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-on-scroll.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced hover effects */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.glass {
    transition: all 0.3s ease;
}

.glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Banner animations */
.banner-content {
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.banner-badge {
    animation: fadeIn 0.8s ease-out 0.1s both;
}

.banner-stats {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.banner-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Banner background with extended coverage */
.banner-bg {
    z-index: -1 !important;
    transition: transform 0.1s linear;
}

/* Ensure banner content stays above background */
#home {
    position: relative;
    z-index: 1;
}

.banner-content,
.banner-badge,
.banner-stats,
.banner-buttons {
    position: relative;
    z-index: 2;
}

/* Gentle breathing effect for key elements */
.breathe {
    animation: gentlePulse 4s ease-in-out infinite;
}

/* About Section Styles */
.about-section {
    background: linear-gradient(135deg,
            rgba(248, 248, 248, 0.8) 0%,
            rgba(244, 244, 244, 0.9) 50%,
            rgba(248, 248, 248, 0.8) 100%);
    backdrop-filter: blur(10px);
}

.dark .about-section {
    background: linear-gradient(135deg,
            rgba(13, 13, 13, 0.8) 0%,
            rgba(10, 10, 10, 0.9) 50%,
            rgba(13, 13, 13, 0.8) 100%);
}

.about-stat {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transition: left 0.5s;
}

.about-stat:hover::before {
    left: 100%;
}

.about-stat:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.15);
}

/* Contact cards hover effects */
.about-section .bg-white:hover,
.about-section .dark .bg-gray-800:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.1);
}

/* Floating icons animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(2deg);
    }

    66% {
        transform: translateY(-4px) rotate(-2deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Services Section Styles */
.services-section {
    background: linear-gradient(135deg,
            rgba(248, 250, 252, 1) 0%,
            rgba(241, 245, 249, 1) 50%,
            rgba(248, 250, 252, 1) 100%);
}

.dark .services-section {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 1) 0%,
            rgba(30, 41, 59, 1) 50%,
            rgba(15, 23, 42, 1) 100%);
}

.service-card-enhanced {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    height: 100%;
    display: flex;
}

/* Ensure service cards stretch to equal height */
#services .service-card-enhanced>div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Fixed height for service card titles */
#services .service-card-enhanced h3 {
    min-height: 40px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    line-height: 1.3;
    gap: 0.5rem;
}

/* Ensure coming soon badge stays inline and small */
#services .service-card-enhanced h3 span {
    flex-shrink: 0;
    align-self: center;
}

/* Fixed height for service card descriptions */
#services .service-card-enhanced .flex-grow>p {
    min-height: 80px;
    margin-bottom: 1.5rem;
}

/* Fixed height for service card feature lists */
#services .service-card-enhanced .space-y-3 {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Fixed height for each feature item to ensure alignment */
#services .service-card-enhanced .space-y-3>div {
    min-height: 24px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Ensure feature icons stay aligned */
#services .service-card-enhanced .space-y-3>div>i {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    text-align: center;
}

/* Ensure feature text spans can wrap but maintain alignment */
#services .service-card-enhanced .space-y-3>div>span {
    flex: 1;
    line-height: 1.5;
    min-height: 20px;
}


/* CTA Card Styles */
.cta-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover {
    transform: translateY(-4px);
}

/* Service icons with glow effect */


/* Coming soon badge styling */
.services-section .bg-gray-100 {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.dark .services-section .dark\:bg-gray-700 {
    background: linear-gradient(135deg, #374151, #4b5563);
}

/* Enhanced shadows for service cards */
.service-card-enhanced .shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card-enhanced:hover .shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 102, 255, 0.25);
}

/* Any Questions Section Styles */
.any-questions-section {}

.dark .any-questions-section {
    background: linear-gradient(135deg,
            rgba(17, 24, 39, 0.5) 0%,
            rgba(31, 41, 55, 0.8) 50%,
            rgba(17, 24, 39, 0.5) 100%);
}

/* Form styling enhancements */
.any-questions-section input:focus,
.any-questions-section textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.any-questions-section input::placeholder,
.any-questions-section textarea::placeholder {
    transition: opacity 0.2s ease;
}

.any-questions-section input:focus::placeholder,
.any-questions-section textarea:focus::placeholder {
    opacity: 0.6;
}

/* Button hover effects */
.any-questions-section button:hover i.fa-arrow-right {
    transform: translateX(4px);
}

/* Alternative contact links */
.any-questions-section a:hover {
    color: #0052cc !important;
}

/* Quote Page Styles */
.quote-hero {
    position: relative;
    overflow: hidden;
}

.quote-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced form styling for quote page */
.quote-hero input:focus,
.quote-hero textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    transform: translateY(-1px);
}

.quote-hero input::placeholder,
.quote-hero textarea::placeholder {
    transition: opacity 0.2s ease;
}

.quote-hero input:focus::placeholder,
.quote-hero textarea:focus::placeholder {
    opacity: 0.6;
}

/* Button hover effects */
.quote-hero button:hover i.fa-arrow-right {
    transform: translateX(4px);
}

/* Form field icons animation */
.quote-hero .relative:hover i {
    color: #0066FF;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .about-section h2 {
        font-size: 2.5rem !important;
    }

    .about-section .space-y-4>*+* {
        margin-top: 0.75rem;
    }

    .services-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .services-section h2 {
        font-size: 2.5rem !important;
    }

    .any-questions-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .any-questions-section h2 {
        font-size: 2rem !important;
    }

    .any-questions-section .max-w-xl {
        max-width: 100% !important;
    }

    .service-card-enhanced {
        padding: 1.5rem !important;
    }

    .service-card-enhanced h3 {
        font-size: 1.5rem !important;
        min-height: 60px !important;
    }

    /* Make coming soon badge even smaller on mobile to fit on one line */
    #services .service-card-enhanced h3 span {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }

    /* Adjust fixed heights for mobile */
    #services .service-card-enhanced .flex-grow>p {
        min-height: 30px !important;
    }

    #services .service-card-enhanced .space-y-3 {
        min-height: 90px !important;
    }

    /* Adjust feature item alignment for mobile */
    #services .service-card-enhanced .space-y-3>div {
        min-height: 22px !important;
    }

    #services .service-card-enhanced .space-y-3>div>span {
        min-height: 18px !important;
        font-size: 0.875rem !important;
    }

    /* Quote form responsive adjustments */
    .quote-hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .quote-hero h1 {
        font-size: 2.5rem !important;
    }

    .quote-hero h2 {
        font-size: 1.75rem !important;
    }
}

/* Glide.js Partners Slider Styles */
#partnersGlide {
    padding: 2rem 0rem;
    position: relative;
}

.partner-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background-color: #fff;
    padding: 0.5rem;
    overflow: hidden;
    border-radius: 0.8rem;
}

.partner-logo {
    max-width: 160px;
    max-height: 110px;
    object-fit: contain;
    opacity: 0.8;
}

/* Glide.js Bullets */
.glide__bullets {
    display: flex;
    justify-content: center;
    gap: 8px;
    bottom: 0 !important;
}

.glide__bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glide__bullet:hover {
    background: rgba(0, 102, 255, 0.6);
    transform: scale(1.2);
}

.glide__bullet:focus {
    outline: none;
}

.glide__bullet--active {
    background: #0066FF;
    transform: scale(1.3);
}

/* Responsive adjustments for partners slider */
@media (max-width: 768px) {
    #partnersGlide {
        padding: 1.5rem 0.5rem;
    }

    .partner-logo-container {
        height: 50px;
        padding: 0.25rem;
    }

    .partner-logo {
        max-width: 70px;
        max-height: 35px;
    }
}

/* Glide.js Testimonials Slider Styles */
#testimonialsGlide {
    padding: 2rem 1rem;
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.dark .testimonial-card {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}


.testimonial-top {
    margin-bottom: 1.5rem;
}

.testimonial-reviewer {
    font-weight: 600;
    color: #0066FF;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.testimonial-rating-container {
    display: flex;
    gap: 2px;
}

.testimonial-date {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.dark .testimonial-date {
    color: #9ca3af;
}

.testimonial-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.dark .testimonial-title {
    color: #f9fafb;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.dark .testimonial-content p {
    color: #d1d5db;
}

.testimonial-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: auto;
}

.dark .testimonial-bottom {
    border-top-color: #374151;
}

.testimonial-bottom p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.dark .testimonial-bottom p {
    color: #9ca3af;
}

/* Glide.js Testimonials Navigation */
#testimonialsGlide .glide__arrows {
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#testimonialsGlide .glide__arrow {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    color: #0066FF;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.dark #testimonialsGlide .glide__arrow {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 102, 255, 0.3);
}

#testimonialsGlide .glide__arrow:hover {
    background: #0066FF;
    color: white;
}

#testimonialsGlide .glide__arrows .glide__arrow--left {
    margin-left: 0;
}

#testimonialsGlide .glide__arrows .glide__arrow--right {
    margin-right: 0;
}

/* Glide.js Testimonials Bullets */
#testimonialsGlide .glide__bullets {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

#testimonialsGlide .glide__bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#testimonialsGlide .glide__bullet:hover {
    background: rgba(0, 102, 255, 0.6);
    transform: scale(1.2);
}

#testimonialsGlide .glide__bullet:focus {
    outline: none;
}

#testimonialsGlide .glide__bullet--active {
    background: #0066FF;
    transform: scale(1.4);
}

#successModal {
    transition-property: opacity, transform, filter;
}

#successModal div {
    transition-property: opacity, transform, filter;
    box-shadow: 0 10px 30px rgba(0, 128, 0, 0.3);
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    #testimonialsGlide {
        padding: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-title {
        font-size: 1.1rem;
    }

    #testimonialsGlide .glide__arrows {
        left: -15px;
        right: -15px;
    }

    #testimonialsGlide .glide__arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    #testimonialsGlide .glide__arrows {
        display: none;
    }

    .testimonial-card {
        padding: 1.25rem;
    }
}