﻿
/* ================================
   MAIN LAYOUT
   ================================ */

.home-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

/* Image section */
.home-image-wrapper {
    width: 100%;
}

.home-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* HERO SECTION */
.hero-section {
    height: 60vh; /* 50% of viewport height */
    overflow: hidden;
}

    .hero-section .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover; /* scales image to cover section */
        display: block;
    }

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .hero-section {
        height: 40vh; /* slightly smaller on tablets */
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 30vh; /* smaller on mobiles */
    }
}
/*Hero image section ending*/

/*How it started*/
/* ===== TIMELINE SECTION ===== */
.timeline-section {
    padding: 120px 20px;
    background: #f5f4f5;
}

.timeline-container {
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 90px;
    font-weight: 600;
}

/* Wrapper */
.timeline-wrapper {
    position: relative;
}

/* SVG line */
.timeline-svg {
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 4px;
}

    .timeline-svg line {
        stroke: #d8d2cb;
        stroke-width: 2;
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
        transition: stroke-dashoffset 1.5s ease;
    }

/* Timeline */
.timeline {
    padding-left: 60px;
}

/* Item */
.timeline-item {
    position: relative;
    margin-bottom: 90px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

    .timeline-item.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Dot */
.timeline-dot {
    position: absolute;
    left: -38px;
    top: 18px;
    width: 14px;
    height: 14px;
    background: #b45f3d;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(180,95,61,0);
    transition: box-shadow 0.6s ease, transform 0.4s ease;
}

.timeline-item.show .timeline-dot {
    box-shadow:
        0 0 0 6px rgba(180,95,61,0.08),
        0 0 0 12px rgba(180,95,61,0.04),
        0 0 12px rgba(180,95,61,0.35);
    transform: scale(1.05);
}

@keyframes softPulse {
    0% {
        box-shadow: 0 0 0 rgba(180,95,61,0);
    }

    60% {
        box-shadow: 0 0 0 6px rgba(180,95,61,0.10), 0 0 14px rgba(180,95,61,0.4);
    }

    100% {
        box-shadow: 0 0 0 6px rgba(180,95,61,0.08), 0 0 12px rgba(180,95,61,0.35);
    }
}


/* Layout */
.timeline-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
}

/* Alternate */
.timeline-item:nth-child(even) .timeline-content {
    grid-template-columns: 320px 1fr;
}

.timeline-item:nth-child(even) .timeline-text {
    order: 2;
}

/* Text */
.timeline-text h4 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 400;
}

.timeline-text p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 420px;
}

/* Image */
.timeline-content img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Mobile */
@media (max-width: 768px) {
    .timeline-svg {
        left: 12px;
    }

    .timeline {
        padding-left: 35px;
    }

    .timeline-content {
        grid-template-columns: 1fr;
    }

        .timeline-content img {
            height: 200px;
        }
}


/*How it started ending*/

/*Our Founder*/
/* FOUNDER SECTION */
.founder-section {
    padding: 100px 20px;
    text-align: center;
    background: #fdfcf8;
}

/* TITLE */
.founder-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

/* CONTAINER */
.founder-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0; /* hidden for scroll reveal */
    transform: translateY(50px);
    transition: all 1s ease-out;
}

    /* ACTIVE STATE ON SCROLL */
    .founder-container.active {
        opacity: 1;
        transform: translateY(0);
    }

/* IMAGE WRAPPER */
.founder-image-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    position: relative;
}

/* IMAGE */
.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* HOVER EFFECT */
.founder-image-wrapper:hover .founder-image {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* TEXT BELOW IMAGE */
.founder-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .founder-container {
        max-width: 300px;
    }

    .founder-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .founder-title {
        font-size: 1.5rem;
    }
}
/*Our founder ending*/

/*Our team */
.team-section {
    padding: 100px 20px;
    background: #fff;
    text-align: center;
}

.team-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}
.team-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px; /* space below subtitle */
    line-height: 1.6;
}

/* TEAM GRID */
.team-container {
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0; /* scroll reveal */
    transform: translateY(50px);
    transition: all 1s ease-out;
}

    .team-container.active {
        opacity: 1;
        transform: translateY(0);
    }

.team-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.team-member {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

    .team-member img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

    /* Hover effect */
    .team-member:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    }

        .team-member:hover img {
            transform: scale(1.05);
        }

/* Responsive */
@media (max-width: 768px) {
    .team-member {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .team-member {
        width: 120px;
        height: 120px;
    }
}

/*Across India*/
.building-dreams-section {
    background-color: #f5f4f5;
    padding: 60px 0;
    text-align: center;
}

/* Title */
.building-dreams-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

/* Image */
.building-dreams-image {
    width: 100%;
    max-width: 1000px; /* controls size */
    max-height: 60vh; /* fits in one screen */
    height: auto;
    display: block;
    margin: 0 auto; /* center align */
    object-fit: contain;
    /* IMPORTANT: remove all effects */
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* Responsive */
@media (max-width: 992px) {
    .building-dreams-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .building-dreams-title {
        font-size: 1.5rem;
    }

    .building-dreams-image {
        max-height: 50vh;
    }
}

/*Journey start*/
/* CTA IMAGE SECTION */
.cta-image-section {
    position: relative;
    width: 100%;
    height: 40vh; /* 40% of screen height */
    overflow: hidden;
}

    /* Background Image */
    .cta-image-section img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* fills section cleanly */
        display: block;
    }

/* Overlay Content */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    /* subtle dark overlay for readability */
    background: rgba(0, 0, 0, 0.35);
}

    /* Text */
    .cta-overlay h2 {
        font-size: 2.2rem;
        font-weight: 600;
        margin-bottom: 20px;
    }

/* Button */
.cta-button {
    padding: 12px 34px;
    background: #202942;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

    .cta-button:hover {
        background: #202942;
        color: #fff;
    }

/* Responsive */
@media (max-width: 768px) {
    .cta-overlay h2 {
        font-size: 1.6rem;
        padding: 0 20px;
    }
}
.navbar-toggler {
    display: block !important;
    border: 2px solid red !important; /* TEMP - makes visible */
}

@media (min-width: 768px) {
    .navbar-toggler {
        display: none !important;
    }
}
