:root {
    /* logo colors */
    --logo-yellow: #FDF251;
    --logo-magenta: #D82E8A;
    --logo-cyan: #57BFEE;

    /* Primary Colors */
    --primary-dark: #333;
    --primary-light: #555;
    --secondary-dark: #222;
    
    /* Accent Colors */
    --accent-yellow: #ffd700;
    --service-icon-bg: #ffd700;
    
    /* Text Colors */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #ccc;
    --text-white: white;
    
    /* Background Colors */
    --bg-white: white;
    --bg-light: #f8f9fa;
    --bg-secondary: #e9ecef;
    --bg-card: #ddd;
    --bg-services: #f8f9fa;
    
    /* Utility Colors */
    --transparent: transparent;
    --shadow-light: rgba(0,0,0,0.1);
    --shadow-medium: rgba(0,0,0,0.2);
}

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

/* global smooth scroll */
html { scroll-behavior: smooth; }

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
}

body {
    font-family: "Lato", 'Arial', sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.email-link {
    color: var(--bg-white) !important;
}

/* Header */
header {
    background: var(--bg-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #bbb;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-logo {
    /* width: 150px;
    height: 150px; */
    margin: 0 auto 16px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.license-badge-button {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
}

.license-badge-button:hover {
    background: var(--text-white);
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-secondary) 100%);
    padding: 44px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    column-gap: 36px;
    row-gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 5px 12px;
    background-color: var(--bg-white);
    border-radius: 15px;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-light);
}

.yellow-badge {
    background: var(--logo-yellow);
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 30px;
}

.about-text p {
    margin-block-end: 16px;
}

.profile-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-card);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    object-fit: cover;
    object-position: right bottom;
    border: 1px solid #bbb;
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.profile-title {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.profile-quote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 14px;
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: var(--logo-yellow);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.services-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 16px;
}

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

.brand-divider {
    border-top: 6px solid var(--logo-cyan)
}
.brand-divider::before {
    display: block;
    content: '';
    width: 100%;
    height: 6px;
    background-color: var(--logo-magenta);
}
.brand-divider::after {
    display: block;
    content: '';
    width: 100%;
    height: 6px;
    background-color: var(--logo-yellow);
}

.service-item {
    background: var(--bg-white);
    padding: 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    font-size: 24px;
}

.service-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonials .container {
    padding: 0;
}

.testimonials .sub-container {
    padding-inline: 24px;
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.testimonials-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.testimonials-container {
    display: flex;
    overflow: auto;
    gap: 24px;
    padding-inline:24px;
    padding-block-end: 12px;

    overscroll-behavior-inline: contain;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 24px;
    scroll-snap-type: inline mandatory; 
    scrollbar-gutter: stable both-edges;
}

.testimonial-card {
    scroll-snap-align: start;
    scroll-snap-stop: normal; /* always */
    width: 280px;
    flex-grow: 0;
    flex-shrink: 0;
    background: var(--bg-light);
    padding: 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    flex-grow: 1;
}

/* .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
} */


.stars {
    color: var(--logo-cyan);
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    /* modern */
    line-clamp: 8;                /* supported in current Chrome/Edge/Safari/Firefox */
    overflow: hidden;

    /* legacy WebKit fallback */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--text-primary);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--primary-dark);
    color: var(--text-white);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    column-gap: 24px;
    row-gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.call-button-container {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    align-items: center;
}

.btn-secondary {
    background: var(--transparent);
    color: var(--text-white);
    border: 2px solid var(--text-white);
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--text-primary);
}

.contact-info {
    color: var(--text-light);
    margin-top: 20px;
}

/* Footer */
footer {
    background: var(--secondary-dark);
    color: var(--text-white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-text {
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        /* width: 90dvw */
    }
    .container {
        padding: 0 16px;
    }

    .header-content {
        /* flex-direction: column; */
        gap: 8px;
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-stats {
        /* flex-direction: column;
        gap: 15px; */
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        /* grid-template-columns: 1fr; */
    }

    .testimonials-grid {
        /* grid-template-columns: 1fr; */
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}