/* 1. Global Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f6ff7;
    --primary-dark: #3a56d4;
    --dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 2. Main Header & Navigation */
.main-header {
    background: #ffffff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
}

.text-primary {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Header CTA Button (Get Started) */
.nav-cta {
    background: var(--primary);
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 3. Hero Section */
.hero {
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    color: var(--primary);
    background: rgba(79, 111, 247, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 600px;
    opacity: 0.9;
}

/* Hero Button (Contact Us Today) */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 111, 247, 0.4);
}

/* 4. About Section (Clean Grid) */
.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.col-1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.col-2 {
    display: flex;
    align-items: center;
}

.img-frame img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: block;
}

.badge {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* 5. Services Slideshow Styles */
/* 5. Services Slideshow Styles - UPDATED TO PREVENT CROPPING */
.animated-services {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.service-slider {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-image-container {
    position: relative;
    /* Height is removed to allow the container to match the image aspect ratio */
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000; /* Adds a background in case images have different sizes */
}

/* This creates a consistent aspect ratio container (adjust 75% as needed) */
.service-image-container::before {
    content: "";
    display: block;
    padding-top: 75%; 
}

.srv-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Changed from 'cover' to 'contain' to show the FULL image */
    object-fit: contain; 
    opacity: 0;
    transition: opacity 0.8s ease;
    background-color: #041021; /* Matches the dark theme of your images */
}

.srv-img.active {
    opacity: 1;
    z-index: 2;
}
.info-item {
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 5px solid transparent;
}

.info-item.active {
    background: var(--white);
    box-shadow: var(--shadow);
    border-left-color: var(--primary);
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* 6. Pricing Section Styles */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.amount span {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

.price-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
}

.btn-price {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-price:hover {
    background: var(--primary);
    color: #ffffff;
}

/* 7. Footer & Contact Form */
.contact-section {
    background: var(--dark);
    color: #ffffff;
    padding: 100px 0 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 20px;
    color: #94a3b8;
}

.contact-info strong {
    color: #ffffff;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 18px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #ffffff;
    margin-bottom: 20px;
    outline: none;
    font-family: inherit;
}

.contact-form-wrapper textarea {
    height: 150px;
    resize: none;
}

/* --- SEND MESSAGE BUTTON --- */
.contact-form-wrapper button[type="submit"] {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form-wrapper button[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid #334155;
    margin-top: 50px;
    color: #64748b;
}

/* 8. MOBILE RESPONSIVE QUERIES */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

@media (max-width: 991px) {
    /* Hamburger Menu Logic */
    .nav-toggle-label {
        display: block;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--dark);
        height: 3px;
        width: 25px;
        position: relative;
        transition: 0.3s;
    }

    .nav-toggle-label span::before {
        content: '';
        position: absolute;
        top: -8px;
        width: 25px;
        height: 3px;
        background: var(--dark);
    }

    .nav-toggle-label span::after {
        content: '';
        position: absolute;
        top: 8px;
        width: 25px;
        height: 3px;
        background: var(--dark);
    }

    .nav-content {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-toggle:checked ~ .nav-content {
        max-height: 500px;
    }

    .nav-links {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        text-align: center;
    }

    /* Section Adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-wrapper,
    .service-slider,
    .pricing-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images-grid {
        order: 2;
    }

    .about-content {
        order: 1;
        text-align: center;
    }

    /* Mobile Service Slideshow */
    .service-image-container {
        height: 300px;
    }

    .info-item {
        display: none;
        text-align: center;
    }

    .info-item.active {
        display: block;
        background: transparent;
        box-shadow: none;
        border: none;
    }
}