/* --- Global Styles & Variables (Replicating the Video's Look) --- */
:root {
    --color-black: #000000;
    --color-dark-grey: #121212;
    --color-text-light: #f5f5f5;
    --color-accent: #ccff00; /* Bright Lime/Yellow for CTAs and highlights */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    background-color: var(--color-black);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: var(--color-text-light);
    transition: color 0.3s;
}

section {
    padding: 60px 5%;
    min-height: auto;
    text-align: left;
}

/* --- Section Separator (Replicating Visible Content Separation) --- */
.section-divider {
    height: 10px; /* Thickness */
    background-color: var(--color-dark-grey);
    border-top: 1px solid var(--color-accent); /* Highlight line */
    border-bottom: 1px solid var(--color-accent); /* Highlight line */
}

/* --- Highlight Styles --- */
.highlight-line {
    font-style: normal;
    color: var(--color-accent);
}

.highlight-text {
    color: var(--color-accent);
}

/* --- CTA Button Style --- */
.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--color-accent);
    color: var(--color-black) !important;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1rem;
    text-align: center;
}

.cta-button:hover {
    background-color: #e6ff66;
    transform: translateY(-2px);
}

/* --- Header & Navigation (REFACTORED) --- */
header {
    background-color: var(--color-black);
    display: flex;
    justify-content: space-between; /* Push logo left, button right */
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.1rem; 
    font-weight: 600;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Services button is now the only header CTA and uses primary style */
.services-cta {
    padding: 15px 25px;
    font-size: 0.9rem;
    background-color: var(--color-accent); 
    color: var(--color-black) !important;
    font-weight: 700;
    flex-grow: 0; 
    flex-shrink: 0;
}
.services-cta:hover {
    background-color: #e6ff66;
    transform: translateY(-2px);
}


/* --- Hero Section --- */
.hero-section {
    min-height: 80vh;
    padding-top: 100px;
    background-color: var(--color-black);
}

.hero-text-container {
    max-width: 90%;
    margin: 0 auto;
}

/* BIG TYPING TITLE STYLE */
.big-hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--color-text-light);
    min-height: 100px; /* Ensure space for the typing text */
}

/* Typing Effect Styling (Cursor) */
#typed-hero-title {
    border-right: 4px solid var(--color-accent);
    animation: blink-caret 0.75s step-end infinite;
}

/* Keyframes for the blinking cursor */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--color-accent); }
}

.main-tagline {
    font-family: var(--font-body); /* Using Poppins for better Marathi readability */
    font-size: 1.3rem;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 10px;
}
/* Ensure the span inside the tagline is just colored, no underline */
.main-tagline .highlight-line {
    color: var(--color-accent);
    background: none; /* Explicitly remove any background effects */
}

.hero-text-container p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

/* Image Slider */
.image-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 8px;
    background-color: #222;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* --- Value Section (Experience/Marathi Text) --- */
.value-section {
    background-color: var(--color-accent);
    color: var(--color-black);
    text-align: center;
    padding: 40px 5%;
}

.value-title {
    color: var(--color-black);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.experience-years {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 20px;
}

.experience-years strong {
    /* Ensures the fixed text remains black on lime background */
    color: var(--color-black);
}

/* --- Service Icon Grid Styles (Now uses Images) --- */
.service-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 40px auto;
    max-width: 900px;
}

.service-icon-item {
    background-color: var(--color-black); /* Dark background for contrast */
    padding: 20px 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.service-icon-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.3);
}

/* UPDATED: Styling for the service images - now square/rounded square */
.service-icon-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px; /* Makes the image square with rounded corners (was 50%) */
    border: none; /* Removed the circular border */
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.4); /* Adding a subtle glow for impact */
    display: block;
    margin: 0 auto 10px;
}

.service-icon-item h3 {
    font-family: var(--font-body);
    color: var(--color-accent); /* Lime text for impact */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.service-icon-item p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.2;
}
/* --- END Service Icon Grid Styles --- */


.marathi-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.detail-text {
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Why Us Section (Flowchart replication) --- */
.why-us-section {
    background-color: var(--color-dark-grey);
    text-align: center;
}

.why-us-section h2 {
    margin-bottom: 30px;
    color: var(--color-accent);
}

.flow-chart {
    border: 1px solid var(--color-accent);
    padding: 20px;
    margin-bottom: 30px;
    display: inline-block;
    color: var(--color-accent);
}

.value-statement {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}


/* --- UPDATED OWNER SECTION STYLES (Supports two columns) --- */
.owner-section {
    background-color: var(--color-dark-grey);
    text-align: center;
    padding: 80px 5%;
}

.owner-section h2 {
    color: var(--color-accent);
    margin-bottom: 40px;
}

.owner-cards-container {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.owner-card {
    padding: 30px;
    background-color: var(--color-black);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.owner-photo {
    width: 120px; /* Slightly smaller for mobile side-by-side or stacked look */
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-accent);
    margin-bottom: 20px;
}

.owner-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--color-text-light);
}

.owner-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.owner-statement {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 30px;
}
/* --- END OWNER SECTION STYLES --- */


/* --- More Stories Section --- */
.more-stories-section {
    background-color: var(--color-black); /* Changed to black for contrast with owner section */
    text-align: center;
}

.story-carousel {
    max-width: 600px;
    margin: 0 auto 20px;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.story {
    padding: 20px 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.story.active {
    opacity: 1;
    position: relative;
}

.story-author {
    font-weight: 600;
    color: var(--color-accent);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--color-accent);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--color-dark-grey); /* Changed to dark grey for contrast */
    text-align: center;
    padding: 60px 5%;
}

.contact-section h2 {
    color: var(--color-accent);
    margin-bottom: 10px;
}

.contact-tagline {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-item {
    background-color: var(--color-black);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: border-color 0.3s;
}
/* Highlight WhatsApp item slightly */
.contact-item:first-child { 
    border-color: #25D366; /* WhatsApp green */
}


.contact-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    color: var(--color-accent); /* Default icon color */
}

/* Specific styling for WhatsApp icon */
.contact-item:first-child .icon {
    color: #25D366; 
}


.contact-item h3 {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--color-text-light);
    font-weight: 600;
}

.instagram-cta {
    background-color: var(--color-accent);
    color: var(--color-black) !important;
    border: 2px solid var(--color-accent);
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px 5%;
    background-color: #000;
    font-size: 0.8rem;
    color: #444;
    border-top: 1px solid #1a1a1a;
}

/* --- Desktop Adjustments --- */
@media (min-width: 769px) {
    
    /* REFACTORED HEADER FOR DESKTOP */
    header {
        justify-content: space-between; /* Push logo left, button right */
    }
    .logo {
        font-size: 1.2rem;
    }
    .services-cta {
        font-size: 1rem;
        padding: 15px 35px;
    }

    .big-hero-title {
        font-size: 6rem;
        min-height: 150px;
    }
    .main-tagline {
        font-size: 2rem;
    }
    .hero-text-container {
        max-width: 80%;
    }
    .image-slider {
        height: 500px;
        max-width: 1000px;
        margin: 40px auto;
    }
    
    /* Desktop layout for the service grid */
    .service-icon-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    }
    
    /* Desktop Owner Card Layout */
    .owner-cards-container {
        flex-direction: row; /* Two columns on desktop */
        justify-content: center;
    }
    .owner-card {
        flex-grow: 1;
        max-width: 450px;
        flex-direction: row;
        text-align: left;
        gap: 30px;
    }
    .owner-photo {
        flex-shrink: 0;
        width: 150px;
        height: 150px;
    }
    .owner-details {
        flex-grow: 1;
    }

    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}