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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #10b981;
}

/* Hero Section - UPDATED */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Push content to the right */
    overflow: hidden;
    background-image: url('img/hero.png'); /* Your hero image */
    background-size: cover;
    background-position: center;
    padding-top: 70px; /* Adjust if navbar overlaps, otherwise can be 0 */
}

/* Removed .hero-background as the image is now directly on .hero */

.hero-content {
    z-index: 2;
    width: 45%; /* Adjust width for the right half */
    max-width: 700px; /* Max width for content on larger screens */
    padding: 2rem 3rem; /* Padding for the content block */
    margin-right: 5%; /* Margin from the right edge */
    background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white background for readability */
    border-radius: 12px; /* Optional: rounded corners for the content box */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
    text-align: left; /* Align text to the left within the content block */
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Adjusted size for the new layout */
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #10b981 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2; /* Adjusted line height */
}

.hero-subtitle {
    font-size: 1.1rem; /* Adjusted size */
    color: #4b5563; /* Darker color for better contrast on light bg */
    margin-bottom: 2rem; /* Adjusted margin */
    font-weight: 400;
    /* max-width: 600px; Removed, as width is controlled by .hero-content */
    /* margin-left: auto; Removed */
    /* margin-right: auto; Removed */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start; /* Align buttons to the start of the content block */
    flex-wrap: wrap;
}

.btn-primary a {
    color: #fff;
    text-decoration: none;
}

.btn-secondary a {
    color: #000;
    text-decoration: none;
}

.btn-primary, .btn-secondary {
    padding: 0.9rem 1.8rem; /* Slightly adjusted padding */
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem; /* Slightly adjusted font size */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25); /* Adjusted shadow */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35); /* Adjusted shadow */
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2); /* Adjusted for light background of content box */
    color: #3b82f6; /* Make it stand out more */
    border: 2px solid #3b82f6; /* Clearer border */
    /* backdrop-filter: blur(10px); Removed as it might conflict with content box background */
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: 1.2rem 2.5rem; /* Adjusted padding */
    font-size: 1.05rem; /* Adjusted font size */
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%; /* This will still be centered on the viewport */
    transform: translateX(-50%);
    z-index: 3; /* Ensure it's above the hero content if they overlap at bottom */
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #10b981);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f9fafb;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card img {
    width:160px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.about-text p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0fdf4, #eff6ff);
    text-align: center;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) { /* Adjusted breakpoint for hero content */
    .hero-content {
        width: 60%; /* Allow more width on tablets */
        margin-right: 3%;
        padding: 2rem;
    }
    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Consider a hamburger menu for mobile */
    }
    
    .hero {
        justify-content: center; /* Center content on smaller screens */
        text-align: center; /* Center text for stacked layout */
    }

    .hero-content {
        width: 90%; /* Take more width on mobile */
        max-width: 500px; /* Limit max width */
        margin-left: auto;
        margin-right: auto;
        padding: 2rem 1.5rem;
        text-align: center; /* Center text within the box */
    }
    
    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem); /* Adjust title size for mobile */
    }

    .hero-buttons {
        justify-content: center; /* Center buttons on mobile */
        flex-direction: column; /* Stack buttons */
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem; /* Adjusted from 2rem for better hierarchy */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .services, .about, .contact {
        padding: 4rem 0; /* Adjusted padding */
    }
    
    .service-card {
        padding: 2rem 1.5rem; /* Adjusted padding */
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

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

    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}