/* ===================================
   MAK Cleaning Services - Stylesheet
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary-color: #c084fc;
    --secondary-dark: #9333ea;
    --accent-color: #f59e0b;
    --dark-color: #1e293b;
    --dark-light: #334155;
    --text-color: #475569;
    --text-light: #64748b;
    --light-color: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

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

.btn-white:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

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

.section-header p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 45px;
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--dark-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--white) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: var(--dark-color);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--dark-color) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature i {
    color: var(--secondary-color);
}

/* Decorative Broom */
.hero-broom {
    position: absolute;
    top: 100px;
    right: 40px;
    z-index: 2;
    animation: broom-float 3s ease-in-out infinite;
}

.hero-broom i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.25);
    transform: rotate(-30deg);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes broom-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@media (max-width: 768px) {
    .hero-broom {
        top: 80px;
        right: 20px;
    }

    .hero-broom i {
        font-size: 2.5rem;
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.service-list li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* ===================================
   About Section
   =================================== */
.about {
    background-color: var(--light-color);
}

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

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-2xl);
    z-index: 1;
}

.about-img-placeholder {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-2xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 3;
    background-color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.experience-badge .text {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.about-content .section-tag {
    margin-bottom: 0.75rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-us {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    background-color: var(--light-color);
    transition: var(--transition);
}

.feature-card:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-card:hover * {
    color: var(--white);
}

.feature-card:hover .feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-card:hover .feature-icon i {
    background: none;
    -webkit-text-fill-color: var(--white);
    color: var(--white);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
    transition: var(--transition);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--accent-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--white);
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background-color: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--light-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-info-card:hover {
    background-color: var(--primary-color);
}

.contact-info-card:hover .contact-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-info-card:hover .contact-icon i,
.contact-info-card:hover h4,
.contact-info-card:hover p,
.contact-info-card:hover a {
    color: var(--white);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.contact-details p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.contact-details a {
    color: var(--text-light);
    transition: var(--transition);
}

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

/* On phones, the form fields (long service names) and the email address
   made the page about 416px wide, pushing fixed buttons off-screen. */
@media (max-width: 768px) {
    .contact-grid > *,
    .form-row > *,
    .contact-details {
        min-width: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-width: 0;
        max-width: 100%;
    }

    .contact-details a {
        overflow-wrap: anywhere;
    }
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--light-color);
    border-radius: var(--radius);
    color: var(--text-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 1.25rem;
}

.footer-brand .logo-img {
    height: 60px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    /* Stacked above the floating "Text us" button */
    bottom: 6.5rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===================================
   Floating "Text us" Button
   =================================== */
.sms-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.sms-float i {
    font-size: 1.375rem;
}

.sms-float:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.sms-float:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    /* Icon only on small screens */
    .sms-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
    }

    .sms-float span {
        display: none;
    }

    .back-to-top {
        bottom: 5.25rem;
        right: 1.5rem;
    }
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero h1 {
        font-size: 3rem;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

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

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .nav-links.active a {
        color: var(--dark-color);
        padding: 0.75rem 0;
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 6rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .experience-badge {
        right: 1rem;
        bottom: -20px;
        padding: 1rem 1.5rem;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        padding: 0.875rem 1.75rem;
    }

    .service-card,
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

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

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

/* ===================================
   Floating Bubbles Background
   =================================== */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.9),
        rgba(139, 92, 246, 0.25) 40%,
        rgba(192, 132, 252, 0.15) 60%,
        transparent 70%);
    box-shadow:
        inset 0 -5px 20px rgba(255, 255, 255, 0.4),
        inset 5px 0 20px rgba(139, 92, 246, 0.25),
        inset -5px 0 20px rgba(192, 132, 252, 0.2),
        0 0 20px rgba(255, 255, 255, 0.3);
    animation: float-up linear infinite;
    opacity: 0;
}

.bubble::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
}

.bubble::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 15%;
    height: 15%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 50%;
}

/* Different bubble sizes and positions */
.bubble:nth-child(1) { width: 40px; height: 40px; left: 5%; animation-duration: 12s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 25px; height: 25px; left: 15%; animation-duration: 10s; animation-delay: 1s; }
.bubble:nth-child(3) { width: 50px; height: 50px; left: 25%; animation-duration: 14s; animation-delay: 2s; }
.bubble:nth-child(4) { width: 30px; height: 30px; left: 35%; animation-duration: 11s; animation-delay: 0.5s; }
.bubble:nth-child(5) { width: 45px; height: 45px; left: 45%; animation-duration: 13s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 35px; height: 35px; left: 55%; animation-duration: 15s; animation-delay: 1.5s; }
.bubble:nth-child(7) { width: 20px; height: 20px; left: 65%; animation-duration: 9s; animation-delay: 4s; }
.bubble:nth-child(8) { width: 55px; height: 55px; left: 75%; animation-duration: 16s; animation-delay: 2.5s; }
.bubble:nth-child(9) { width: 28px; height: 28px; left: 85%; animation-duration: 11s; animation-delay: 0s; }
.bubble:nth-child(10) { width: 38px; height: 38px; left: 95%; animation-duration: 13s; animation-delay: 3.5s; }
.bubble:nth-child(11) { width: 32px; height: 32px; left: 10%; animation-duration: 14s; animation-delay: 5s; }
.bubble:nth-child(12) { width: 22px; height: 22px; left: 30%; animation-duration: 10s; animation-delay: 6s; }
.bubble:nth-child(13) { width: 48px; height: 48px; left: 50%; animation-duration: 15s; animation-delay: 4.5s; }
.bubble:nth-child(14) { width: 26px; height: 26px; left: 70%; animation-duration: 12s; animation-delay: 7s; }
.bubble:nth-child(15) { width: 42px; height: 42px; left: 90%; animation-duration: 14s; animation-delay: 5.5s; }

@keyframes float-up {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-120vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .bubble {
        animation: none;
        opacity: 0.2;
        bottom: auto;
        top: 20%;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-white { color: var(--white); }
.bg-primary { background-color: var(--primary-color); }
.bg-light { background-color: var(--light-color); }
