/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0099ff;
    --dark-bg: #0a0a0a;
    --light-bg: #ffffff;
    --gray-bg: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --border-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}


/* SECTION STYLING */
.journey {
    background: #0b0f1a;
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.journey-text {
    font-size: 28px;
    line-height: 1.6;
    max-width: 900px;
    margin: 20px auto 0 auto;
    color: #aaa;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #ffffff;
        }

        /* ABOUT SECTION */
        .about {
            padding: 80px 20px;
            color: #fff;
            text-align: center;
            position: relative;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 36px;
            margin-bottom: 10px;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .section-subtitle {
            font-size: 18px;
            margin-bottom: 50px;
            color: #8892b0;
        }

        /* Main Slider with Background */
        .main-slider {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }

        /* Background Image Container */
        .slider-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: opacity 0.5s ease;
            z-index: 1;
        }

        .slider-background::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 14, 26, 0.85);
        }

        /* Slider Content */
        .slider-content {
            position: relative;
            z-index: 2;
            padding: 60px 80px;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide-card {
            text-align: center;
            opacity: 0;
            position: absolute;
            transition: opacity 0.5s ease;
            width: 100%;
            padding: 0 20px;
        }

        .slide-card.active {
            opacity: 1;
            position: relative;
        }

        /* Number Badge */
        .slide-number {
            display: inline-block;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #4da3ff, #64ffda);
            border-radius: 50%;
            line-height: 50px;
            color: #0a0e1a;
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 20px;
        }

        .slide-card h3 {
            color: #4da3ff;
            font-size: 32px;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }

        .slide-card p {
            color: #e0e6ed;
            font-size: 18px;
            line-height: 1.8;
            max-width: 600px;
            margin: 0 auto;
            text-shadow: 0 1px 5px rgba(0,0,0,0.5);
        }

        /* Navigation Buttons */
        .slider-prev,
        .slider-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(77, 163, 255, 0.3);
            border: 2px solid #4da3ff;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            color: #fff;
            font-size: 20px;
            transition: all 0.3s;
            z-index: 10;
        }

        .slider-prev:hover,
        .slider-next:hover {
            background: #4da3ff;
            transform: translateY(-50%) scale(1.1);
        }

        .slider-prev { left: 20px; }
        .slider-next { right: 20px; }

        .slider-prev.disabled,
        .slider-next.disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        /* Dots */
        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 30px;
            position: relative;
            z-index: 10;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            cursor: pointer;
            transition: all 0.3s;
            border: 2px solid transparent;
        }

        .dot.active {
            background: #4da3ff;
            transform: scale(1.2);
            border-color: #fff;
        }

        /* Responsive */
        @media(max-width: 768px) {
            .slider-content { padding: 40px 60px; min-height: 350px; }
            .slide-card h3 { font-size: 24px; }
            .slide-card p { font-size: 15px; }
            .slider-prev, .slider-next { width: 40px; height: 40px; font-size: 16px; }
            .slider-prev { left: 10px; }
            .slider-next { right: 10px; }
        }


/* BIO ACCORDION */
.bio-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.bio-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

/* Summary button */
.bio-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #fff;
    text-align: left;
    transition: 0.3s;
}

.bio-summary:hover {
    background: rgba(77,163,255,0.1);
}

/* Arrow rotation on open */
.bio-summary.active .arrow i {
    transform: rotate(90deg);
    transition: 0.3s;
}

/* Details hidden by default */
.bio-details {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: #aaa;
    transition: 0.5s ease;
}

.bio-details p {
    margin: 15px 0;
    line-height: 1.6;
}

/* Show details when active */
.bio-item.active .bio-details {
    max-height: 1000px; /* large enough to fit content */
    padding: 20px 25px 25px 25px;
}

/* Slider Base */
.image-slider {
    position: relative;
    padding: 80px 0;
    background: #0b0f1a;
    color: #fff;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    border-radius: 15px;
}

/* Caption */
.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    max-width: 90%;
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 20px;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.slider-btn:hover {
    background: #4da3ff;
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Dots */
.slider-dots {
    text-align: center;
    margin-top: 20px;
}

.slider-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #aaa;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots .dot.active {
    background: #4da3ff;
}

/* CTA Section */
.cta-section {
    background: var(--dark-bg);
    padding: 60px 0;
}

.cta-text {
    color: var(--text-light);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
}

.cta-text .highlight {
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.services-list {
    list-style: none;
}

.services-list li {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-list .number {
    color: var(--text-dark);
}

.services-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.services-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.services-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--dark-bg);
    padding: 25px;
    border-radius: 8px;
}

.services-overlay h4 {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.services-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--dark-bg);
}

.portfolio-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 50px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 8px;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.portfolio-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: var(--light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 72px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-dark);
    text-stroke: 2px var(--text-dark);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Why Bilsmark Section */
.why-bilsmark {
    padding: 100px 0;
    background: var(--dark-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-image {
    overflow: hidden;
    border-radius: 8px;
}

.why-image img {
    width: 100%;
    height: auto; /* IMPORTANT: full image show hogi */
    object-fit: contain; /* crop nahi karega */
    filter: grayscale(100%);
    transition: transform 0.5s ease;
}

/* Hover Zoom Effect */
.why-image:hover img {
    transform: scale(1.1);
}
.quote-icon {
    color: var(--primary-color);
    font-size: 48px;
    margin-bottom: 20px;
}

.why-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.3;
}

.why-list {
    list-style: none;
    margin-bottom: 30px;
}

.why-list li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.why-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.why-list li strong {
    color: var(--text-light);
}

.website-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.locations {
    color: var(--primary-color);
    font-size: 14px;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--dark-bg);
}

.process-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

.process-item {
    text-align: center;
    position: relative;
}

.process-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.process-number {
    font-size: 48px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    text-stroke: 1px rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 10px;
}

.process-item h4 {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
}

/* --- Blogs Section (Carousel) --- */
.blogs {
    padding: 100px 0;
    background: var(--light-bg);
}

.blogs-intro {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    max-width: 700px;
}

.blogs-category {
    color: var(--text-gray);
    margin-bottom: 50px;
}

.blogs-carousel {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.carousel-wrapper {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease;
    /* Is se JS se aane wali cards line mein rahengi */
    flex-wrap: nowrap; 
}

.blog-card {
    /* Responsive width: 3 cards on desktop */
    min-width: calc(33.333% - 20px); 
    background: #fff; /* Static cards ke liye white background best hai */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-dark);
}

.blog-date {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: block;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    margin-top: auto;
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 4px;
}

.read-more:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Blog List Section (The Scrollable Part) --- */
.blog-list {
    padding: 80px 0;
    background: #0f0f0f; /* Dark background as per your previous style */
    color: #fff;
}

.blog-list-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

.blog-links {
    list-style: none;
    max-width: 800px;
    margin: auto;
    padding: 10px;
    /* YEH PART ZAROORI HAI: Taake saari posts scroll ho saken */
    max-height: 500px; 
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00c896 #1a1a1a;
}

/* Custom Scrollbar for Chrome/Safari */
.blog-links::-webkit-scrollbar {
    width: 6px;
}
.blog-links::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.blog-links::-webkit-scrollbar-thumb {
    background: #00c896;
    border-radius: 10px;
}

.blog-links li {
    margin-bottom: 15px;
}

.blog-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #1a1a1a;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.blog-links a i {
    color: #00c896;
    font-size: 18px;
}

.blog-links a:hover {
    background: linear-gradient(135deg, #1a1a1a, #252525);
    border-color: #00c896;
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .blog-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .blog-card {
        min-width: 100%;
    }
    .blogs-intro {
        font-size: 28px;
    }
}



.footer {
    background: #0f0f0f;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.footer-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 20px;
    color: #aaa;
    margin-bottom: 20px;
}

.footer-text {
    color: #bbb;
    margin-bottom: 25px;
    line-height: 1.6;
}

.phone {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #555;
    transition: 0.3s;
}

.phone:hover {
    color: #00c896;
    border-color: #00c896;
}

/* SOCIAL BUTTONS */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.social-btn i {
    font-size: 16px;
}

/* HOVER EFFECT 🔥 */
.social-btn:hover {
    transform: translateY(-5px) scale(1.02);
    background: #00c896;
    color: #000;
    box-shadow: 0 10px 30px rgba(0,200,150,0.3);
}

/* EMAIL */
.email {
    display: inline-block;
    margin-top: 25px;
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.email:hover {
    color: #00c896;
}

/* FOOTER BOTTOM */
.footer-bottom {
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #777;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title .line1,
    .hero-title .line2 {
        font-size: 60px;
    }
    
    .journey-text {
        font-size: 36px;
    }
    
    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-card {
        min-width: calc(50% - 15px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title .line1,
    .hero-title .line2 {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .journey-text {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        min-width: 100%;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .email {
        font-size: 24px;
    }
    
    .slider-container {
        padding: 0 40px;
    }
    
    .slide img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title .line1,
    .hero-title .line2 {
        font-size: 32px;
    }
    
    .journey-text {
        font-size: 22px;
    }
    
    .services-list li {
        font-size: 18px;
    }
    
    .portfolio-title,
    .why-title,
    .process-title {
        font-size: 28px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .email {
        font-size: 18px;
    }
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10,15,30,0.6);
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: #4da3ff;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background: #4da3ff;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.hero-cta:hover {
    background: #fff;
    color: #4da3ff;
    transform: translateY(-3px);
}

/* Bottom Stats */
.hero-bottom {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.stat-badge {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #4da3ff;
}

.stat-label {
    font-size: 14px;
    color: #ccc;
}

/* Responsive */
@media(max-width:768px){
    .hero-title { font-size: 36px; }
    .hero-description { font-size: 16px; }
    .hero-bottom { flex-direction: column; gap: 20px; }
}

/* Compact Events Section */
.compact-events-section {
    padding: 60px 0;
    background: #0a0a0a;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.section-title .highlight {
    color: #d4af37;
}

/* Compact Slider Wrapper */
.compact-slider-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

/* Slider Container */
.compact-slider {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Individual Slide */
.compact-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
}

.compact-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide Image */
.slide-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.compact-slide.active .slide-image img {
    transform: scale(1);
}

/* Badge */
.slide-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d4af37;
    color: #0a0a0a;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Slide Info */
.slide-info {
    flex: 1;
    padding: 20px;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.slide-info .location {
    font-size: 13px;
    color: #888;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.slide-info .date {
    font-size: 12px;
    color: #d4af37;
    margin: 0;
    font-weight: 500;
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 110px; /* Half of image height */
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    color: #d4af37;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #d4af37;
    color: #0a0a0a;
    border-color: #d4af37;
}

.nav-btn.prev { left: -18px; }
.nav-btn.next { right: -18px; }

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #d4af37;
    width: 24px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 600px) {
    .compact-slider-wrapper {
        max-width: 100%;
    }
    
    .nav-btn.prev { left: 10px; }
    .nav-btn.next { right: 10px; }
    
    .compact-slider {
        height: 320px;
    }
    
    .slide-image {
        height: 190px;
    }
    
    .nav-btn {
        top: 95px;
    }
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

/* Grid Sizes */
.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-item.wide {
    grid-column: span 2;
}

/* Image */
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.4s;
}

.overlay h3 {
    font-size: 18px;
}

.overlay p {
    font-size: 12px;
    color: #ccc;
}

/* Hover Effect */
.grid-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.grid-item:hover .overlay {
    opacity: 1;
}

/* Subtle Color Glow */
.grid-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: 0.4s;
}

.grid-item:hover::after {
    border: 1px solid rgba(77,163,255,0.6);
}

/* Responsive */
@media(max-width:768px){
    .masonry-grid{
        grid-template-columns: repeat(2,1fr);
    }
}


        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            min-height: 100vh;
        }

        /* MAIN SECTION */
        .yt-portfolio-section {
            padding: 60px 20px;
            text-align: center;
        }

        /* TEXT */
        .yt-tagline {
            font-size: 12px;
            letter-spacing: 3px;
            color: #e94560;
            text-transform: uppercase;
            font-weight: 600;
        }

        .yt-main-heading {
            font-size: 42px;
            font-weight: 800;
            margin: 15px 0;
            color: #fff;
            text-shadow: 0 0 30px rgba(233, 69, 96, 0.3);
        }

        .gradient-text {
            background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .yt-description {
            max-width: 520px;
            margin: auto;
            color: #a0a0a0;
            font-size: 16px;
            line-height: 1.6;
        }

        /* BUTTON */
        .yt-btn {
            display: inline-block;
            margin-top: 25px;
            padding: 14px 32px;
            background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
            color: #fff;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
        }

        .yt-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
        }

        /* ========================= */
        /* 🔥 CENTER CAROUSEL */
        /* ========================= */

        .yt-carousel {
            position: relative;
            width: 100%;
            max-width: 1200px;
            overflow: hidden;
            margin: 50px auto;
            padding: 20px 0;
        }

        .yt-track {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 25px;
            transition: transform 0.5s ease;
        }

        /* CARDS */
        .yt-card {
            width: 200px;
            opacity: 0.4;
            transform: scale(0.75);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            flex-shrink: 0;
            position: relative;
        }

        .yt-card::before {
            content: '▶';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 0, 0, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .yt-card:hover::before {
            opacity: 1;
        }

        /* IMAGE */
        .yt-card img {
            width: 100%;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }

        /* ACTIVE CENTER */
        .yt-card.active {
            width: 400px;
            opacity: 1;
            transform: scale(1);
            z-index: 3;
        }

        .yt-card.active::before {
            opacity: 1;
            width: 60px;
            height: 60px;
            font-size: 24px;
        }

        /* SIDE (LEFT + RIGHT) */
        .yt-card.left,
        .yt-card.right {
            opacity: 0.6;
            transform: scale(0.85);
        }

        /* EXTRA SIDE FADE */
        .yt-card:not(.active):not(.left):not(.right) {
            opacity: 0.2;
            transform: scale(0.65);
        }

        /* NAVIGATION */
        .yt-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 24px;
            width: 50px;
            height: 50px;
            cursor: pointer;
            border-radius: 50%;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .yt-nav:hover {
            background: rgba(255, 0, 0, 0.8);
            transform: translateY(-50%) scale(1.1);
        }

        .yt-prev { left: 20px; }
        .yt-next { right: 20px; }

        /* VIDEO CONTAINER */
        .yt-video-container {
            margin-top: 40px;
            position: relative;
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .yt-video-container.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .yt-video-box {
            position: relative;
            width: 80%;
            max-width: 900px;
            margin: 0 auto;
            padding-bottom: 45%;
            height: 0;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }

        .yt-video-box iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .close-video {
            position: absolute;
            top: -40px;
            right: 10%;
            background: rgba(255, 0, 0, 0.8);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            transition: all 0.3s ease;
        }

        .close-video:hover {
            background: #ff0000;
            transform: scale(1.1);
        }

        /* RESPONSIVE */
        @media(max-width: 768px) {
            .yt-main-heading {
                font-size: 28px;
            }

            .yt-card {
                width: 120px;
            }

            .yt-card.active {
                width: 260px;
            }

            .yt-video-box {
                width: 95%;
                padding-bottom: 56.25%;
            }

            .close-video {
                right: 2.5%;
                top: -50px;
            }

            .yt-nav {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }

            .yt-prev { left: 10px; }
            .yt-next { right: 10px; }
        }

.blog-links {
    list-style: none;
    max-width: 700px;
    margin: auto;
    padding: 10px;
    /* Naya Code: Scrolling ke liye */
    max-height: 600px; /* Aap apni marzi se height set kar sakte hain */
    overflow-y: auto;  /* Yeh scrollbar le ayega */
    scrollbar-width: thin;
    scrollbar-color: #00c896 #1a1a1a;
}

/* Scrollbar ko mazeed khubsurat banane ke liye (Chrome/Safari) */
.blog-links::-webkit-scrollbar {
    width: 6px;
}
.blog-links::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.blog-links::-webkit-scrollbar-thumb {
    background: #00c896;
    border-radius: 10px;
}
/* real_estate.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Navbar Container */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Left side (logo or empty) */
.nav-left {
    /* Add logo here if needed */
}

/* Right side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Social Icons */
.nav-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #333;
    font-size: 18px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #0077b5; /* LinkedIn blue as hover example */
}

/* Contact Button */
.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: #ff6b00;
    color: #fff;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-btn:hover {
    background-color: #ff8500;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }

    .nav-right {
        gap: 15px;
    }

    .social-icon {
        font-size: 16px;
    }

    .contact-btn {
        padding: 6px 14px;
        font-size: 14px;
    }
}

/* Navbar logo */
.nav-logo img {
    height: 50px; /* Adjust size */
    margin-left: 20px; /* Spacing from contact button */
    transition: transform 0.3s;
}

.nav-logo img:hover {
    transform: scale(1.1); /* Subtle zoom on hover */
}

/* Make sure nav-right items stay aligned */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between social icons, button, and logo */
}