/* Base & Reset */
:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #ff6b00; /* Vibrant Orange for Call Actions */
    --secondary-dark: #e65c00;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --shadow-md: 0 .5rem 1rem rgba(0,0,0,.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 100%; /* Base size for mobile */
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
    width: 100%; /* Mobile full width by default */
}

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

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

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

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

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

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

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

.btn-white:hover {
    background-color: #f0f0f0;
}

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

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

.section {
    padding: 4rem 0; /* Smaller padding for mobile */
}

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

.sub-title {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.section-header h2 {
    font-size: 2rem; /* Mobile first font size */
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.25;
}

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

/* Header - Mobile First */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary);
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo img {
    height: 60px;
    width: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Mobile Nav Drawer */
.navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Hidden */
    transition: var(--transition);
}

.navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    display: block;
    padding: 0.5rem 0;
}

.nav-links a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Hide desktop buttons on mobile */
.header-actions .btn {
    display: none; 
}

.mobile-toggle {
    display: block;
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.2rem;
}

/* Hero Section - Mobile First */
.hero {
    position: relative;
    padding-top: 7rem;
    padding-bottom: 3rem;
    background-image: url('image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center; /* Center alignment for mobile */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: #4dabf7; /* Lighter primary for dark background */
}

.hero-sub {
    font-size: 1rem;
    color: #e9ecef; /* Light gray */
    margin-bottom: 1.5rem;
}

.hero-features {
    display: inline-block; /* Helps in centering li but keeping them aligned nicely */
    text-align: left;
    margin-bottom: 2rem;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: var(--white);
    font-size: 0.95rem;
}

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

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

.hero-image {
    width: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
    text-align: center;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

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

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.visual-card {
    background-color: var(--bg-light);
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.visual-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
}

.f-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* CTA Section */
.cta-section {
    padding: 3rem 0;
    text-align: center;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

.cta-buttons .btn {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #1a1e21;
    color: #adb5bd;
    padding: 3rem 0 1rem;
}

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

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

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

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

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

.stars {
    color: #ffc107; /* Gold color for stars */
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

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

/* Contact Form */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
}

/* --- Responsive Breakpoints (Enhancing UPWARDS) --- */

/* Tablet (Small screens) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

/* Tablet (Medium screens) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .section {
        padding: 5rem 0;
    }

    .btn {
        width: auto; /* Buttons return to natural width */
    }

    .header-actions .mobile-hide {
        display: inline-block;
    }
    
    .hero-container {
        /* Still keep single column stacked but aligned properly, maybe flex? */
        /* Actually, let's keep it stacked until later or make it nicer */
        text-align: center;
    }

    .hero-btns {
        flex-direction: row;
        justify-content: center;
        width: auto;
    }
    
    .hero-image-placeholder {
        height: 400px;
        font-size: 8rem;
    }

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

    .cta-container {
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: row;
        width: auto;
    }
    
    .cta-buttons .btn {
        width: auto;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (Large screens) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    .header-container {
        padding: 0;
    }

    /* Reset navbar to horizontal */
    .mobile-toggle {
        display: none;
    }

    .navbar {
        position: static;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        clip-path: none;
    }

    .nav-links {
        flex-direction: row;
        gap: 2rem;
        background: transparent;
    }

    .nav-links a {
        padding: 0;
        position: relative;
    }

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

    /* Show all buttons */
    .header-actions .btn {
        display: inline-block;
    }

    /* Horizontal layouts */
    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        align-items: center; /* Ensure vertical alignment */
    }
    
    .hero-features {
        text-align: left;
    }

    .hero-btns {
        justify-content: flex-start;
    }

    .hero-bg {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        /* Reset any specific shapes/gradients if previously defined */
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 cols on desktop */
    }
    
    .about-container {
        grid-template-columns: 1fr 1fr;
    }

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

    .cta-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra Large */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Floating Contact Widget */
.floating-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.float-btn.whatsapp {
    background-color: #25d366;
}

.float-btn.call {
    background-color: #0d6efd;
    animation: pulse 2s infinite;
}

.float-btn i {
    z-index: 2;
}

/* Pulse Animation for Call Button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Adjust for mobile specific constraints if needed */
@media (max-width: 576px) {
    .floating-widget {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
