:root {
    --bg-color: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f1f5f9;
    --primary: #00b4d8;
    --secondary: #1e3a8a;
    --accent: #2d2d2d;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-border: rgba(0, 0, 0, 0.05);
    --gradient-primary: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --gradient-text: linear-gradient(135deg, #1e3a8a 0%, #00b4d8 100%);

    --container-width: 1200px;
    --nav-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--accent);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.highlight {
    color: var(--primary);
}

.highlight-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background effects */
.blob-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(80px);
    animation: float 20s infinite alternate;
}

.blob-2 {
    top: 40%;
    left: 60%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    animation-duration: 25s;
    animation-delay: -5s;
}

.blob-3 {
    top: 80%;
    left: -20%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    width: 60vw;
    animation-duration: 30s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 5%) scale(1.1);
    }

    100% {
        transform: translate(-5%, 10%) scale(0.9);
    }
}

/* Buttons */
.btn-primary,
.btn-primary-small,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 180, 216, 0.3);
}

.btn-primary-small {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    color: #ffffff;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.2);
    color: white;
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: var(--bg-surface-hover);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.w-100 {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary-small) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn-primary-small):hover {
    color: var(--primary);
}

.nav-links a:not(.btn-primary-small)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn-primary-small):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Glass Card Global */
.glass-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-247 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 180, 216, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Chat Card in Hero */
.main-glass-card {
    padding: 0;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: transform 0.5s ease;
}

.main-glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    background: rgba(240, 244, 250, 0.8);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.status-indicator {
    font-size: 0.8rem;
    color: #27c93f;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.status-indicator::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #27c93f;
    border-radius: 50%;
}

.card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message {
    display: flex;
    gap: 1rem;
    max-width: 85%;
}

.chat-message.received {
    align-self: flex-start;
}

.chat-message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.avatar {
    width: 35px;
    height: 35px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.chat-message p {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.chat-message.received p {
    background: #f1f5f9;
    border-top-left-radius: 0;
    color: var(--text-main);
}

.chat-message.sent p {
    background: var(--gradient-primary);
    color: #ffffff;
    border-top-right-radius: 0;
    font-weight: 500;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
}

.input-placeholder {
    flex: 1;
    background: #f1f5f9;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Services */
.services {
    padding: 6rem 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 180, 216, 0.3);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 24/7 Section */
.always-on {
    padding: 6rem 0;
    position: relative;
    background: #f8fafc;
}

.config-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.always-on-text {
    flex: 1;
}

.always-on-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.always-on-text>p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.features-list li {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.always-on-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.time-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 180, 216, 0.15), inset 0 0 30px rgba(0, 180, 216, 0.05);
    z-index: 2;
}

.time-content {
    text-align: center;
}

.time-big {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-small {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--secondary);
}

.orbiting-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    z-index: 1;
}

.orbit-1 {
    animation: orbit1 10s linear infinite;
}

.orbit-2 {
    animation: orbit2 15s linear infinite;
}

.orbit-3 {
    animation: orbit3 12s linear infinite;
}

@keyframes orbit1 {
    0% {
        transform: rotate(0deg) translateX(180px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(180px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: rotate(120deg) translateX(220px) rotate(-120deg);
    }

    100% {
        transform: rotate(480deg) translateX(220px) rotate(-480deg);
    }
}

@keyframes orbit3 {
    0% {
        transform: rotate(240deg) translateX(160px) rotate(-240deg);
    }

    100% {
        transform: rotate(600deg) translateX(160px) rotate(-600deg);
    }
}


/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    position: relative;
    padding: 3rem 2.5rem 2.5rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: -25px;
    left: 2.5rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}

.author-avatar {
    font-size: 2.5rem;
    color: var(--primary);
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--accent);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #ffffff;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 138, 0.05);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-item h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p,
.contact-item a {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    color: var(--text-main);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 0 2rem;
    background: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-logo {
    display: block;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .main-glass-card {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }

    .config-container {
        flex-direction: column;
    }

    .always-on-text {
        text-align: center;
    }

    .features-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-cta a {
        width: 100%;
    }

    .always-on-visual {
        transform: scale(0.6);
        height: 250px;
    }

    .section-header h2,
    .always-on-text h2,
    .contact-info h2 {
        font-size: 2.2rem;
    }

    .card-body {
        padding: 1.5rem 1rem;
    }

    .chat-message {
        max-width: 95%;
    }

    .association-badge {
        flex-direction: column;
        text-align: center;
        padding: 15px !important;
        border-radius: 20px !important;
        line-height: 1.5;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .always-on-visual {
        transform: scale(0.5);
        height: 200px;
    }

    .contact-card {
        padding: 1.5rem;
    }
    
    .blob-bg {
        filter: blur(50px);
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cookie-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.cookie-link:hover {
    color: var(--secondary);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 1.5rem;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions button {
        width: 100%;
    }
}

/* ================================================
   SCROLL REVEAL ANIMATIONS (mobile + desktop)
   ================================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for service cards */
.service-card.reveal-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.service-card.reveal-on-scroll:nth-child(2) { transition-delay: 0.10s; }
.service-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.service-card.reveal-on-scroll:nth-child(4) { transition-delay: 0.20s; }
.service-card.reveal-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.service-card.reveal-on-scroll:nth-child(6) { transition-delay: 0.30s; }

/* ================================================
   STARS RATING
   ================================================ */
.stars {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

/* ================================================
   MOBILE CAROUSEL (only on screens <= 768px)
   ================================================ */
@media (max-width: 768px) {

    /* --- Carousel wrapper --- */
    .carousel-wrapper {
        position: relative;
    }

    /* --- Services carousel --- */
    #services-carousel .services-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 1rem 1rem 1.5rem;
        /* Hide scrollbar visually */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #services-carousel .services-grid::-webkit-scrollbar {
        display: none;
    }

    #services-carousel .service-card {
        flex: 0 0 80vw;
        max-width: 320px;
        scroll-snap-align: center;
        /* Remove stagger delay in carousel so all cards are visible */
        transition-delay: 0s !important;
    }

    /* --- Testimonials carousel --- */
    #testimonials-carousel .testimonials-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 1rem 1rem 1.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-top: 0;
    }

    #testimonials-carousel .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    #testimonials-carousel .testimonial-card {
        flex: 0 0 85vw;
        max-width: 340px;
        scroll-snap-align: center;
        transition-delay: 0s !important;
    }

    /* --- Carousel dots --- */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0, 180, 216, 0.25);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .carousel-dot.active {
        background: var(--primary);
        width: 22px;
        border-radius: 4px;
    }

    /* --- Contact form optimization --- */
    .contact-form {
        margin-top: 2rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 1.2rem;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .contact-form .btn-primary {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
}

/* Hide dots on desktop if they exist */
@media (min-width: 769px) {
    .carousel-dots {
        display: none;
    }
}
