/* about.css - Specific styles for the About Us Page */

:root {
    --vintage-gold: #ff6600;
    --vintage-gold-dim: rgba(255, 102, 0, 0.25);
}

/* Page Header with History Background */
.about-header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: url('assets/history_bg.jfif') center center / 100% 100% no-repeat;
    z-index: 1;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 250, 0.75));
    z-index: -1;
}

.about-header .title-underline {
    background: linear-gradient(90deg, transparent, var(--vintage-gold), transparent);
}

.gold-text {
    color: var(--vintage-gold);
    text-shadow: 0 0 10px var(--vintage-gold-dim);
}

/* Introduction Section */
.intro-section {
    position: relative;
    padding: 6rem 0;
    background: var(--bg-dark);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 300;
}

.intro-content .highlight {
    color: var(--vintage-gold);
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    padding: 8rem 0;
    background: radial-gradient(circle at 50% 30%, rgba(46, 125, 50, 0.06) 0%, rgba(27, 67, 50, 0.03) 40%, var(--bg-dark) 80%);
    position: relative;
    overflow: hidden;
}

/* Road Timeline Container */
.road-timeline {
    position: relative;
    max-width: 1100px;
    margin: 6rem auto 0;
    padding: 2rem 0;
}

/* SVG Winding Mountain Highway */
.road-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Mobile Fallback Road */
.road-highway-mobile {
    display: none;
}

/* Interactive Scroll-Driven Car */
.road-scroll-car {
    position: absolute;
    width: 54px;
    height: 54px;
    background: radial-gradient(circle at 35% 35%, #2d6a4f 0%, #1b4332 100%);
    border: 3px solid #ffcc00;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.3),
        0 0 25px rgba(255, 204, 0, 0.8);
    z-index: 25;
    pointer-events: none;
    left: 30%;
    top: 0;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out, transform 0.15s ease-out;
}

.road-scroll-car i {
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    animation: carEngineShake 0.15s infinite alternate;
}

/* Headlights Beam Effect on scroll-car */
.road-scroll-car::before {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 204, 0, 0.45) 0%, rgba(255, 204, 0, 0) 100%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.8;
}

/* Highway Nodes / Milestones placed at alternating bends */
.road-node {
    position: absolute;
    width: 68px;
    height: 68px;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #cbd5e1 100%);
    border: 4px solid #40916c; /* Moss Green border */
    border-radius: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 0 0 6px rgba(64, 145, 108, 0.15);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.road-node i {
    font-size: 1.6rem;
    color: #1b4332;
    transition: all 0.4s ease;
}

/* Leaf/Moss ring around nodes */
.road-node::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed #2d6a4f;
    opacity: 0.4;
    animation: leafRingRotate 25s infinite linear;
}

/* Road Timeline Items */
.road-item {
    position: relative;
    width: 100%;
    padding: 30px 0;
    min-height: 260px;
    z-index: 2;
    display: flex;
    box-sizing: border-box;
}

/* Left-Road items: Node at 30%, Card on the right */
.road-item.left-road {
    justify-content: flex-end;
    padding-left: 38%;
    padding-right: 4%;
}

.road-item.left-road .road-node {
    left: 30%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Right-Road items: Node at 70%, Card on the left */
.road-item.right-road {
    justify-content: flex-start;
    padding-right: 38%;
    padding-left: 4%;
}

.road-item.right-road .road-node {
    left: 70%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Connecting pointer lines */
.road-connector {
    position: absolute;
    top: 50%;
    height: 4px;
    background: linear-gradient(90deg, #40916c, rgba(64, 145, 108, 0.2));
    z-index: 1;
    transition: all 0.4s ease;
    opacity: 0.6;
    transform: translateY(-50%);
}

.road-item.left-road .road-connector {
    left: 30%;
    right: auto;
    width: 8%;
    background: linear-gradient(90deg, #40916c, rgba(64, 145, 108, 0.2));
}

.road-item.right-road .road-connector {
    right: 30%;
    left: auto;
    width: 8%;
    background: linear-gradient(270deg, #40916c, rgba(64, 145, 108, 0.2));
}

/* Himalayan Rock Quartz Slab Cards */
.road-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 60%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    border-radius: 24px 6px 24px 6px; /* Rugged asymmetrical carved stone slab */
    padding: 2.5rem;
    width: 100%;
    max-width: 560px;
    position: relative;
    box-shadow: 
        5px 5px 0px 0px #64748b, /* Hand-carved solid rock depth */
        0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Rugged granite stone texture overlay */
.road-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 8px 8px, 20px 20px;
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

/* Woodland Leaf ivy icon watermark in the bottom-right corner */
.road-card::after {
    content: '\f4e6'; /* leaf icon from FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 2.8rem;
    color: rgba(46, 125, 50, 0.06);
    pointer-events: none;
    transition: all 0.6s ease;
    z-index: 0;
}

/* Tree background watermarks */
.road-card-bg-trees {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' fill='%232d6a4f' opacity='0.04'%3E%3Cpath d='M10,20 L15,10 L12,10 L17,2 L14,2 L19,0 L24,2 L21,2 L26,10 L23,10 L28,20 Z M40,20 L43,12 L41,12 L45,4 L43,4 L47,0 L51,4 L49,4 L53,12 L51,12 L54,20 Z M70,20 L75,10 L72,10 L77,2 L74,2 L79,0 L84,2 L81,2 L86,10 L83,10 L88,20 Z' /%3E%3C/svg%3E") repeat-x;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s;
    opacity: 0.6;
}

/* Rustic dashboard/wood-themed header */
.road-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.road-year {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    color: #1b4332; /* Deep forest green */
    letter-spacing: 1px;
    position: relative;
    transition: all 0.4s ease;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
}

.road-year::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 4px;
    background: #40916c; /* Moss green plank */
    border-radius: 2px;
}

.road-badge {
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    border: none;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-head);
    box-shadow: 0 3px 10px rgba(45, 106, 79, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.road-badge i {
    font-size: 0.85rem;
    color: #ffcc00; /* gold star/sparkle decoration */
}

.road-title {
    font-size: 1.4rem;
    color: #1b4332;
    margin-bottom: 0.8rem;
    font-family: var(--font-head);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.road-desc {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ==========================================
   INTERACTIVE HOVER & WOW EFFECTS
   ========================================== */

/* Timeline Card Hover (Rock Slab Lift & Moss Glow) */
.road-item:hover .road-card {
    transform: translateY(-8px) scale(1.02);
    border-color: #40916c;
    box-shadow: 
        8px 8px 0px 0px #2d6a4f,
        0 20px 40px rgba(46, 125, 50, 0.15),
        inset 0 0 10px rgba(64, 145, 108, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f4fbf7 100%);
}

.road-item:hover .road-card::after {
    color: rgba(64, 145, 108, 0.22);
    transform: scale(1.2) rotate(15deg);
}

.road-item:hover .road-card-bg-trees {
    opacity: 1;
}

/* Hover Connector Line Glow */
.road-item:hover .road-connector {
    height: 4px;
    background: linear-gradient(90deg, #40916c 0%, #2d6a4f 100%);
    opacity: 1;
    box-shadow: 0 0 12px rgba(64, 145, 108, 0.6);
}

/* Hover Node Reaction (Moss ring spins faster, node turns forest-green) */
.road-item:hover .road-node {
    background: radial-gradient(circle at 35% 35%, #40916c 0%, #1b4332 100%);
    border-color: #ffcc00;
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow: 
        0 10px 25px rgba(27, 67, 50, 0.4),
        0 0 30px rgba(64, 145, 108, 0.6);
}

.road-item:hover .road-node i {
    color: #ffffff;
    animation: carWiggle 0.4s infinite alternate;
}

.road-item:hover .road-year {
    color: #2d6a4f;
    transform: scale(1.03);
}

/* Keyframe Animations */
@keyframes leafRingRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes carEngineShake {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(1px, 1px) scale(1.02); }
}

@keyframes carWiggle {
    0% { transform: translateY(0) rotate(-4deg); }
    100% { transform: translateY(-3px) rotate(4deg); }
}

/* ==========================================
   RESPONSIVE DESIGN FOR SCENIC HIGHWAY
   ========================================== */

@media screen and (max-width: 992px) {
    .road-timeline {
        padding: 2rem 1rem;
    }
    .road-item {
        min-height: 230px;
    }
    .road-card {
        padding: 2rem;
    }
    .road-year {
        font-size: 1.8rem;
    }
    .road-scroll-car {
        width: 48px;
        height: 48px;
    }
}

@media screen and (max-width: 768px) {
    /* Hide the complex winding SVG road on mobile/tablet */
    .road-svg {
        display: none !important;
    }
    
    /* Draw straight responsive mobile lane */
    .road-highway-mobile {
        display: block;
        position: absolute;
        width: 34px;
        background: linear-gradient(90deg, #1f1f22 0%, #2e2e33 50%, #1f1f22 100%);
        top: 0;
        bottom: 0;
        left: 40px;
        transform: translateX(-50%);
        border-radius: 17px;
        box-shadow: 
            0 0 0 3px rgba(64, 145, 108, 0.2), 
            0 5px 15px rgba(0,0,0,0.3);
        border-left: 2px dashed #ffcc00;
        border-right: 2px dashed #ffcc00;
        z-index: 1;
    }

    .road-item {
        width: 100%;
        left: 0 !important;
        padding-left: 80px !important;
        padding-right: 15px !important;
        justify-content: flex-start !important;
        min-height: auto;
        margin-bottom: 2rem;
    }

    .road-item .road-node {
        left: 40px !important;
        top: 50px !important;
        transform: translate(-50%, -50%) !important;
        width: 52px;
        height: 52px;
    }

    .road-item:hover .road-node {
        transform: translate(-50%, -50%) scale(1.14) !important;
    }

    .road-scroll-car {
        left: 40px !important;
        width: 44px;
        height: 44px;
    }

    .road-connector {
        left: 40px !important;
        right: auto !important;
        width: 40px !important;
        top: 50px !important;
    }
}

@media screen and (max-width: 480px) {
    .road-highway-mobile {
        left: 25px;
        width: 28px;
    }
    .road-item {
        padding-left: 55px !important;
        padding-right: 5px !important;
    }
    .road-item .road-node {
        left: 25px !important;
        width: 44px;
        height: 44px;
    }
    .road-item .road-node i {
        font-size: 1.1rem;
    }
    .road-scroll-car {
        left: 25px !important;
        width: 36px;
        height: 36px;
    }
    .road-scroll-car i {
        font-size: 1rem;
    }
    .road-connector {
        left: 25px !important;
        width: 30px !important;
    }
    .road-card {
        padding: 1.5rem;
        border-radius: 16px 4px 16px 4px;
    }
    .road-year {
        font-size: 1.5rem;
    }
    .road-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Leadership Section */
.leadership-section {
    padding: 6rem 0;
    background: url('assets/history_bg.jfif') center center / 100% 100% no-repeat;
    position: relative;
}

.leadership-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
}

.leadership-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.leader-card {
    width: 100%;
    max-width: 350px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: var(--glass-shadow);
}

.leader-card:hover {
    transform: translateY(-15px);
    border-color: var(--vintage-gold);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.15);
}

.leader-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 3px solid var(--vintage-gold);
    padding: 5px;
    background: transparent;
    transition: all 0.4s ease;
    object-fit: cover;
}

.leader-card:hover .leader-img {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}

.leader-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.leader-title {
    color: var(--vintage-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Vision & Mission */
.vision-mission {
    padding: 6rem 0;
    background: var(--bg-navy);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vm-card {
    padding: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--glass-shadow);
}

.vm-card:hover {
    background: #ffffff;
    border-color: var(--neon-blue);
    transform: translateY(-5px);
}

.vm-icon {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
}

.vm-card h4 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.vm-card p {
    color: var(--text-silver);
    font-size: 0.95rem;
}

/* Why Customers Trust Us */
.trust-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.trust-card {
    width: calc(20% - 2rem);
    min-width: 200px;
    padding: 2rem 1.5rem;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.trust-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--vintage-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.trust-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.trust-card:hover::before {
    transform: scaleX(1);
}

.trust-icon {
    font-size: 2.5rem;
    background: -webkit-linear-gradient(var(--vintage-gold), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.trust-card h4 {
    color: var(--text-main);
    font-size: 1.1rem;
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .right { left: 0%; }
    
    .intro-content { font-size: 1.2rem; }
    
    .trust-card { width: calc(50% - 1rem); }
}

@media screen and (max-width: 480px) {
    .timeline::after { left: 15px; }
    .timeline-item { padding-left: 45px; padding-right: 10px; }
    .timeline-item::after { left: 5px; }
    .timeline-content { padding: 1.2rem; }
    .timeline-year { font-size: 1.6rem; }
    .timeline-title { font-size: 1.1rem; }
    .trust-card { width: 100%; }
}
