/* =========================================
   24x7 Service Center - Custom CSS
   ========================================= */

/* --- Variables & Theme Settings --- */
:root {
    /* Color Palette - Premium Dark Blue Theme */
    --primary: #0A192F;
    /* Deeper Classic Blue */
    --primary-light: #112240;
    --primary-dark: #020C1B;
    --secondary: #FF6B6B;
    /* Vibrant Coral */
    --secondary-hover: #FF5252;
    --accent: #64FFDA;
    /* Neon teal for a tech/premium pop */
    --whatsapp: #25D366;
    /* WhatsApp Green */

    /* Neutrals */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border: #E0E0E0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 25, 47, 0.15);
    --glow: 0 0 20px rgba(100, 255, 218, 0.4);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 12px;
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

/* Typography Helpers */
.subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    position: relative;
}

.highlight {
    color: var(--secondary);
}

.title-separator {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 15px auto 30px;
    border-radius: 2px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Slightly reduced gap */
    padding: 10px 24px;
    /* Reduced vertical padding */
    line-height: 1;
    /* Force perfect vertical centering */
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: capitalize;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 76, 129, 0.4);
    color: var(--white);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Pulse Animation for Phone Button */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 76, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(15, 76, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 76, 129, 0);
    }
}

.pulse-animation {
    animation: pulse-border 2s infinite;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.logo span {
    color: var(--secondary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-family: var(--font-heading);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(100, 255, 218, 0.15);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    backdrop-filter: blur(4px);
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    animation: fadeUp 0.8s ease forwards;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    max-width: 90%;
    animation: fadeUp 0.8s ease forwards 0.2s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Image & Decorations */
.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-dark);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.floating-badge i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.floating-badge.top-right {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.floating-badge.bottom-left {
    bottom: -20px;
    left: -20px;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 3;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    position: absolute;
    bottom: -30px;
    left: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 2;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-content h3 {
    font-size: 1.4rem;
    margin-top: 15px;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.rounded-image {
    border-radius: var(--radius);
    width: 100%;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 4px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
    transition: var(--transition);
}

.about-image:hover::after {
    transform: translate(-10px, -10px);
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 107, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta {
    background-color: var(--primary);
    color: var(--white);
    position: relative;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Local SEO Services --- */
.seo-services {
    border-top: 1px solid var(--border);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.seo-column {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.seo-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.seo-list li {
    margin-bottom: 12px;
}

.seo-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.seo-list a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-dark);
    color: #b0c4de;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-widget h3,
.footer-widget h4 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-widget h3 span {
    color: var(--secondary);
    font-weight: 400;
}

.brand-info p {
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.quick-links ul li {
    margin-bottom: 12px;
}

.quick-links a {
    color: #b0c4de;
}

.quick-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-details i {
    color: var(--secondary);
    margin-top: 5px;
}

.contact-details a {
    color: #b0c4de;
}

.contact-details a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-border 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author h4 {
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Service Areas --- */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.area-chip {
    background: var(--white);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.area-chip:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* --- Review Wall & Ticker --- */
#testimonials {
    padding-top: 60px;
    padding-bottom: 60px;
}

.container.mt-40 {
    margin-top: 40px;
}

.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.main-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-rating .number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.main-rating .stars {
    font-size: 1.5rem;
    color: #FFD700;
}

.review-ticker-wrapper {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to right, transparent, var(--bg-light) 10%, var(--bg-light) 90%, transparent);
}

.review-ticker {
    display: flex;
    gap: 30px;
    width: max-content;
    overflow-x: auto;
    gap: 25px;
    padding: 20px;
    padding-bottom: 30px;
    /* Space for scrollbar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.review-ticker::-webkit-scrollbar {
    height: 6px;
}

.review-ticker::-webkit-scrollbar-track {
    background: transparent;
}

.review-ticker::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

.review-card {
    flex: 0 0 350px;
    /* Fixed width for horizontal scroll */
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.review-user {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.review-user::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent);
    margin-right: 10px;
}

/* --- Review Submission Form --- */
.review-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.form-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.review-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid var(--border);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 15px rgba(10, 25, 47, 0.1);
}

/* Star Rating Input */
/* --- Interactive Star Rating --- */
.star-rating-interactive {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

.star-item {
    font-size: 2.2rem;
    color: #cbd5e0;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.star-item.hover,
.star-item.active {
    color: #FFD700 !important;
    transform: scale(1.1);
}

.rating-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 100px;
}

.glow-button {
    position: relative;
    overflow: hidden;
}

.glow-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.glow-button:hover::after {
    opacity: 1;
    transform: translate(25%, 25%);
}

@media (max-width: 768px) {
    .review-form .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .review-form-container {
        padding: 30px 20px;
    }
}

/* --- Google Maps Section --- */
.map-section {
    background: var(--bg-light);
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* --- Animation Utilities --- */
/* Animations Removed for Maximum Compatibility */

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.success-message.animate-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.loader-dots span {
    font-size: 2rem;
    color: var(--primary);
    animation: blink 1.4s infinite both;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .seo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .header-actions {
        display: none;
    }

    .seo-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Mobile Menu styles when active (toggled via JS) */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .floating-badge {
        display: none;
    }
}

/* --- Sticky Contact Ribbon --- */
.sticky-contact-ribbon {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 10px;
    z-index: 2000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    border-top: 2px solid var(--accent);
    gap: 10px;
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
    text-align: center;
}

.sticky-btn i {
    font-size: 1.2rem;
}

.sticky-btn.whatsapp {
    background-color: var(--whatsapp);
}

.sticky-btn.whatsapp:hover {
    background-color: #1EBE5D;
}

.sticky-btn.call {
    background-color: var(--secondary);
}

.sticky-btn.call:hover {
    background-color: var(--secondary-hover);
}

/* Hide floating WhatsApp button when ribbon is active to avoid clutter on mobile */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 90px;
    }
    
    .sticky-contact-ribbon {
        padding: 15px 10px;
    }
    
    .sticky-btn {
        font-size: 0.9rem;
        padding: 14px 10px;
    }
}

/* Floating Corner on Desktop */
@media (min-width: 1024px) {
    .sticky-contact-ribbon {
        width: 400px;
        left: 20px;
        bottom: 20px;
        border-radius: 12px;
        border: 2px solid var(--accent);
    }
}
