/* =========================================
   1. THEME VARIABLES & FONTS
   ========================================= */
:root {
    /* COLORS */
    --bg-body: #050C18;
    --bg-nav: rgba(5, 12, 24, 0.95);
    --text-heading: #ffffff;
    --text-body: #a0a0a0;
    --card-bg: rgba(23, 31, 50, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --btn-outline-border: rgba(255, 255, 255, 0.2);
    --btn-outline-text: #ffffff;
    --glow-opacity: 0.4;
    --img-border: #050C18;
    /* FONTS */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* LIGHT THEME OVERRIDES */
[data-theme="light"] {
    --bg-body: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.95);
    --text-heading: #111827;
    --text-body: #4B5563;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.08);
    --btn-outline-border: #111827;
    --btn-outline-text: #111827;
    --glow-opacity: 0.15;
    --img-border: #ffffff;
}


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

html,
body {
    width: 100%;
    /* max-width: 100%; */
    overflow-x: hidden ;
    /* Horizontal Scroll Fix */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-body);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.theme-heading,
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.theme-heading {
    color: var(--text-heading) !important;
    transition: color 0.3s;
}

.theme-body {
    color: var(--text-body) !important;
    transition: color 0.3s;
}

.theme-body-small {
    color: var(--text-body) !important;
    opacity: 0.8;
}

.theme-text {
    color: var(--text-heading);
}

/* Logo Toggle */
.logo-color {
    display: none;
}

.logo-white {
    display: block;
}

[data-theme="light"] .logo-color {
    display: block;
}

[data-theme="light"] .logo-white {
    display: none;
}

/* =========================================
   FIX: MOBILE MENU BACKGROUND
   ========================================= */
/* जब मोबाइल मेनू खुलेगा तो यह क्लास JS द्वारा लगाई जाएगी */
.navbar-mobile-open {
    background-color: var(--bg-nav) !important;
    /* थीम के हिसाब से बैकग्राउंड */
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* =========================================
   3. NAVBAR & HEADER
   ========================================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    padding: 20px 0;
    transition: all 0.4s ease;
}

/* Sticky State */
.navbar-scrolled {
    position: fixed;
    top: 0;
    background-color: var(--bg-nav);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Links Styling */
.navbar-nav .nav-link {
    color: var(--text-body) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0 12px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--text-heading) !important;
}

/* Active Blue Line */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: #0d6efd;
    transition: width 0.3s ease-in-out;
    border-radius: 2px;
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

[data-theme="light"] .navbar-nav .nav-link.active {
    color: #0d6efd !important;
}

/* Theme Button */
.theme-icon-btn {
    color: var(--text-heading);
    transition: transform 0.3s;
    border: none;
    background: none;
}

.theme-icon-btn:hover {
    transform: rotate(20deg);
    color: #0d6efd;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    padding-top: 100px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* Buttons */
.btn-primary {
    background-color: #0d6efd;
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline-theme {
    border: 1px solid var(--btn-outline-border);
    color: var(--btn-outline-text);
    background: transparent;
}

.btn-outline-theme:hover {
    background: var(--btn-outline-border);
    color: var(--bg-body);
}

/* Badge */
.badge-pill {
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-1 {
    top: 15%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Glow Effects */
.bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: var(--glow-opacity);
    pointer-events: none;
}

.glow-left {
    background: #0d6efd;
    top: -100px;
    left: -100px;
}

.glow-right {
    background: #6f42c1;
    bottom: -50px;
    right: -100px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding-bottom: 50px;
    }

    .hero-image-container {
        margin-top: 60px;
        position: relative;
        display: inline-block;
    }

    .card-1 {
        left: -10px;
        top: -20px;
    }

    .card-2 {
        left: -10px;
        bottom: -20px;
    }

    .bg-glow {
        width: 250px;
        height: 250px;
        filter: blur(80px);
    }
}

/* =========================================
   5. ABOUT & SERVICES
   ========================================= */
.stats-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: background 0.3s;
}

.icon-square {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
}

/* Collage */
.collage-container {
    min-height: 600px;
    width: 100%;
    position: relative;
}

.img-wrapper-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    z-index: 1;
}

.img-wrapper-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    z-index: 2;
}

.bottom-img {
    border: 8px solid var(--img-border);
    transition: border-color 0.3s;
}

.award-badge {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    border: 1px solid var(--card-border);
    background: var(--card-bg) !important;
    backdrop-filter: blur(10px);
}

/* Service Cards */
.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(13, 110, 253, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.3s;
}

.service-card:hover .service-icon {
    background: #0d6efd;
    color: #fff;
}

.service-link {
    color: #0d6efd;
    transition: 0.3s;
}

.service-link:hover {
    color: #0b5ed7;
    padding-left: 5px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.3);
}

.cta-shape {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- PORTFOLIO STYLING --- */
.portfolio-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

/* Custom Button Styling */
.custom-tab-btn {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 10px;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.custom-tab-btn i {
    width: 25px;
    color: var(--primary-blue);
}

.custom-tab-btn:hover {
    background: #f8faff;
    border-color: var(--primary-blue);
}

/* Active State for Button */
.custom-tab-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 105, 217, 0.3);
}

.custom-tab-btn.active i {
    color: white;
}

/* --- BUTTON FIX --- */

/* Normal Button Style */
.custom-tab-btn {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 10px;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

/* Hover Effect */
.custom-tab-btn:hover {
    background: #f0f8ff;
    border-color: #0069D9;
    color: #0069D9;
}

/* ✅ IMPORTANT FIX: Active State (Jo button select hai) */
.custom-tab-btn.active {
    background-color: #0069D9 !important;
    /* Blue Background Force karein */
    color: #ffffff !important;
    /* White Text Force karein */
    border-color: #0069D9 !important;
    box-shadow: 0 5px 15px rgba(0, 105, 217, 0.3);
}

/* Icon color fix inside active button */
.custom-tab-btn.active i {
    color: #ffffff !important;
}

/* Content Styling */
.custom-tab-content {
    animation: fadeIn 0.5s ease;
    /* Smooth Fade In Effect */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-heading {
    color: var(--deep-navy);
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 400px;
    border: 1px solid #f0f0f0;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 105, 217, 0.15);
}

.portfolio-img {
    /* height: 220px; */
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}


/* --- MOBILE: HORIZONTAL SCROLL --- */
@media (max-width: 991px) {
    .custom-tab-menu {
        flex-direction: row !important;
        /* Horizontal Line */
        overflow-x: auto;
        /* Allow scroll */
        padding-bottom: 10px;
        margin-bottom: 20px;
        white-space: nowrap;
    }

    .custom-tab-menu::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar */

    .custom-tab-btn {
        width: auto;
        /* Button chota ho jaye content ke hisab se */
        flex-shrink: 0;
        margin-right: 10px;
        margin-bottom: 0;
        border-radius: 50px;
        /* Pill shape */
    }
}

/* =========================================
   7. PREMIUM TEAM SECTION (FIXED)
   ========================================= */

/* Background Glow */
.team-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Slider Container */
.team-slider-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.team-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.team-track::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome */
}

/* --- CARD DESIGN --- */
.team-card {
    min-width: 300px;
    max-width: 300px;
    perspective: 1000px;
}

.card-inner {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    /* Ensure content stays inside */
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Hover Effect: Lift */
.card-inner:hover {
    transform: translateY(-10px);
    border-color: rgba(13, 110, 253, 0.4);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.15);
}

/* Image Area */
.img-box {
    position: relative;
    height: 350px;
    /* Fixed height for uniformity */
    width: 100%;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image covers area properly */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Image Zoom on Hover */
.card-inner:hover .img-box img {
    transform: scale(1.1);
}

/* --- SOCIAL OVERLAY FIX --- */
.social-overlay {
    position: absolute;
    bottom: -100%;
    /* Fully hidden initially */
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(5, 12, 24, 0.85);
    /* Darker background for contrast */
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

/* Show Overlay on Hover */
.card-inner:hover .social-overlay {
    bottom: 0;
    /* Slide Up */
}

/* Social Icons Flex Fix */
.social-icons {
    display: flex;
    flex-direction: row;
    /* Force horizontal row */
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-3px) rotate(360deg);
}

/* Info Box */
.info-box {
    position: relative;
    z-index: 2;
    background: var(--card-bg);
    padding: 20px;
    text-align: center;
}

.name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.role {
    letter-spacing: 1px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

/* Navigation Buttons */
.team-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--text-body);
    color: var(--text-body);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.team-nav-btn:hover {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    transform: scale(1.1);
}

/* =========================================
   8. CONTACT & FOOTER
   ========================================= */
.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: 0.3s;
}

.contact-card:hover {
    border-color: #0d6efd;
    transform: translateX(5px);
}

.contact-stats {
    background: #000;
    border: 1px solid var(--card-border);
}

[data-theme="light"] .contact-stats {
    background: #f1f3f5;
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.custom-input {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-heading);
    padding: 12px 15px;
    border-radius: 8px;
    transition: 0.3s;
}

.custom-input:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #0d6efd;
    color: var(--text-heading);
    box-shadow: none;
}

[data-theme="light"] .custom-input {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    color: #000;
}

/* =========================================
   8. PREMIUM FOOTER (Zig-Zag & Gradient)
   ========================================= */

.footer {
    /* Hero Section जैसा Gradient */
    background: linear-gradient(135deg, #050C18 0%, #02050a 100%);
    color: #a0a0a0;
    padding-top: 80px;
    /* ऊपर जगह ZigZag के लिए */
    margin-top: 50px;

    /* Zig-Zag Shape using Clip Path (Pure CSS) */
    /* यह नीचे की तरफ काट रहा है, इसे 'top' पर लगाने के लिए हम pseudo element use करेंगे */
    position: relative;
}

/* Zig-Zag Shape Divider Logic */
.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    /* Shape को ऊपर की तरफ घुमाया */
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(137% + 1.3px);
    height: 60px;
    /* Zig Zag की ऊंचाई */
}

.custom-shape-divider-top .shape-fill {
    fill: var(--bg-body);
    /* यह वेबसाइट के बैकग्राउंड कलर से मैच करेगा */
}

/* Glow Effects (Hero Style) */
.footer-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.glow-1 {
    background: #0d6efd;
    top: -100px;
    left: -50px;
}

.glow-2 {
    background: #6f42c1;
    bottom: 0;
    right: 0;
}

/* --- FIXED COLORS FOR LIGHT & DARK MODE --- */
/* नोट: हम यहाँ Variables यूज़ नहीं कर रहे ताकि Light Mode में भी Footer Dark रहे */

.footer h5,
.footer .navbar-brand {
    color: #ffffff !important;
}

.footer-text,
.footer-contact li {
    color: #b0b0b0 !important;
    /* Light Grey */
}

/* Links Styling */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0 !important;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #0d6efd !important;
    /* Blue on Hover */
    transform: translateX(5px);
}

/* Social Buttons */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* --- LIGHT MODE FIX (Zig-Zag Color Match) --- */
/* जब Light Mode हो, तो Zig-Zag का ऊपर वाला हिस्सा White होना चाहिए */
[data-theme="light"] .custom-shape-divider-top .shape-fill {
    fill: #ffffff;
    /* Light mode body color */
}

/* =========================================
   9. MODAL & EXTRAS
   ========================================= */
/* Scroll to Top */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    background: #0d6efd;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    transition: all 0.4s;
    text-decoration: none;
}

.scroll-top i {
    font-size: 1.2rem;
    color: #fff;
    line-height: 0;
}

.scroll-top:hover {
    background: #0a58ca;
    color: #fff;
    transform: translateY(-3px);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/* Button Pulse */
.btn-pulse {
    animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px 10px rgba(13, 110, 253, 0);
    }
}

/* Modal */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.custom-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.5) translateY(50px);
    opacity: 0;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-modal-overlay.show .custom-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-body);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close-btn:hover {
    color: #dc3545;
    transform: rotate(90deg);
}

.input-group-text {
    border-right: none;
}

.custom-input {
    border-left: none;
}

/* =========================================
   FIX: PLACEHOLDER VISIBILITY
   ========================================= */

/* 1. Dark Mode Placeholder (हल्का सफ़ेद) */
.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    /* 60% White */
    opacity: 1;
    /* Firefox fix */
}

/* 2. Light Mode Placeholder (ग्रे कलर) */
[data-theme="light"] .custom-input::placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
    /* 50% Black */
}

/* Focus होने पर थोड़ा और साफ़ दिखे */
.custom-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="light"] .custom-input:focus::placeholder {
    color: rgba(0, 0, 0, 0.3) !important;
}

/* =========================================
   1. NEW THEME TOGGLE SWITCH (Pill Shape)
   ========================================= */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 30px;
    /* Height of the switch */
    position: relative;
    width: 60px;
    /* Width of the switch */
    margin-bottom: 0;
}

.theme-switch input {
    display: none;
    /* Hide default checkbox */
}

.slider {
    background-color: #0d6efd;
    /* Blue in Dark Mode */
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* The Circle (Thumb) */
.slider:before {
    background-color: #fff;
    bottom: 3px;
    content: "";
    height: 20px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 20px;
    border-radius: 50%;
    z-index: 2;
}

/* Icons Positioning */
.sun-icon,
.moon-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: 0.4s;
}

.sun-icon {
    left: 8px;
    color: #f39c12;
    /* Orange Sun */
    opacity: 0;
    /* Hidden by default in Dark Mode */
}

.moon-icon {
    right: 8px;
    color: #f1c40f;
    /* Yellow Moon */
    opacity: 1;
}

/* --- CHECKED STATE (LIGHT MODE) --- */
input:checked+.slider {
    background-color: #ccc;
    /* Light Grey background */
}

input:checked+.slider:before {
    transform: translateX(30px);
    /* Move circle to right */
}

input:checked+.slider .sun-icon {
    opacity: 1;
    /* Show Sun */
}

input:checked+.slider .moon-icon {
    opacity: 0;
    /* Hide Moon */
}

/* =========================================
   2. FLOATING WHATSAPP BUTTON (ZOOM ANIMATION)
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* The Zoom Animation */
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1da851;
    color: #fff;
}

/* Zoom In/Out Animation Keyframes */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        transform: scale(1.1);
        /* Zoom In */
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        /* Zoom Out */
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}


/* =========================================
   7. TESTIMONIALS SECTION (FIXED & ALIGNED)
   ========================================= */

.testimonials-section {
    position: relative;
    overflow: hidden;
    /* फालतू स्क्रॉल रोकने के लिए */
}

/* 1. Main Card Styling */
.testimonial-card {
    background-color: #0b1629;
    /* Dark Mode BG */
    border: 1px solid var(--card-border);
    border-radius: 24px;
    /* Smooth rounded corners */
    padding: 3rem;
    /* अंदर स्पेसिंग */
    margin: 10px;
    /* शैडो के लिए जगह */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

/* Light Mode Override */
[data-theme="light"] .testimonial-card {
    background-color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Text Colors in Light Mode */
[data-theme="light"] .testimonial-card h3,
[data-theme="light"] .testimonial-card h5 {
    color: #111827 !important;
}

/* 2. Image Wrapper (Fixes Size Issue) */
.testimonial-img-wrapper {
    width: 100%;
    height: 400px;
    /* डेस्कटॉप पर फिक्स हाइट */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.testimonial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* इमेज को बिना पिचके फिट करे */
    transition: transform 0.5s ease;
}

/* Hover Effect */
.testimonial-card:hover .testimonial-img-wrapper img {
    transform: scale(1.05);
    /* हल्का ज़ूम */
}

/* 3. Text Typography */
.testimonial-card h3 {
    font-family: var(--font-heading);
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.testimonial-card .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* 4. Navigation Buttons (Arrows) */
.carousel-control-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    /* Glass effect */
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.carousel-control-btn:hover {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

/* =========================================
   RESPONSIVE FIXES (MOBILE & TABLET)
   ========================================= */
@media (max-width: 991px) {

    /* कार्ड पैडिंग कम करें */
    .testimonial-card {
        padding: 30px !important;
        text-align: center;
        /* टेक्स्ट बीच में लाएं */
    }

    /* इमेज की हाइट मोबाइल पर छोटी करें */
    .testimonial-img-wrapper {
        height: 300px;
        margin-bottom: 25px;
    }

    /* अवतार और नाम को सेंटर करें */
    .testimonial-card .d-flex {
        justify-content: center;
    }

    /* हेडिंग साइज एडजस्ट */
    .testimonial-card h3 {
        font-size: 1.5rem;
    }
}


/* =========================================
   PAGE HEADER (INNER PAGES)
   ========================================= */

.page-header {
    background-color: var(--bg-body);
    /* Theme Background */
    padding-top: 120px;
    /* Navbar की वजह से ऊपर जगह */
    min-height: 400px;
    /* सेक्शन की ऊंचाई */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #0d6efd;
    /* Blue Color for Links */
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--text-heading);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-body);
    /* Current Page Color (Grey) */
}

/* Divider (/) Color fix */
.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-body);
}

/* Responsive Fix */
@media (max-width: 768px) {
    .page-header {
        padding-top: 100px;
        text-align: center;
    }

    .breadcrumb {
        justify-content: center;
        /* मोबाइल पर सेंटर में लाएं */
    }
}

/* =========================================
   MODERN TABS STYLING (FIXED)
   ========================================= */

/* 1. Tab Navigation Container (The Bar) */
.custom-tab-nav {
    background-color: rgba(255, 255, 255, 0.05);
    /* हल्का ट्रांसपेरेंट */
    border: 1px solid var(--card-border);
    display: flex;
    gap: 10px;
    /* मोबाइल पर एक के नीचे एक आने के लिए flex-wrap */
    flex-wrap: wrap;
}

/* Light Theme Bar */
[data-theme="light"].custom-tab-nav {
    background-color: #f1f3f5;
    border-color: #dee2e6;
}

/* 2. Tab Buttons Styling */
.custom-tab-nav.nav-link {
    color: var(--text-body);
    font-weight: 600;
    padding: 12px 25px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover State */
.custom-tab-nav.nav-link:hover {
    color: var(--text-heading);
    background-color: rgba(255, 255, 255, 0.05);
}

/* 3. ACTIVE STATE (Selected Tab) */
.custom-tab-nav.nav-link.active {
    background-color: #0d6efd;
    /* Blue */
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    /* Glow Effect */
    transform: translateY(-1px);
}

/* 4. Tab Content Box */
.custom-tab-content {
    /* background: var(--card-bg); */
    /* border: 1px solid var(--card-border); */
    min-height: 400px;
    /* फिक्स हाइट ताकि कंटेंट बदलने पर पेज जंप न करे */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 5. Result Cards (In Results Tab) */
.result-card {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    transition: 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    background-color: rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
}

/* Light Theme Result Cards */
[data-theme="light"].result-card {
    background-color: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.1);
}

/* 6. Image Hover Zoom */
.hover-zoom {
    transition: transform 0.5s ease;
}

.img-wrapper:hover.hover-zoom {
    transform: scale(1.05);
}

/* 7. RESPONSIVE FIX (Mobile) */
@media (max-width: 768px) {
    .custom-tab-nav {
        flex-direction: column;
        /* मोबाइल पर वर्टिकल स्टैक */
        padding: 15px;
        border-radius: 20px !important;
    }

    .custom-tab-nav.nav-item {
        width: 100%;
        /* फुल चौड़ाई */
    }

    .custom-tab-content {
        padding: 20px !important;
        /* पैडिंग कम करें */
        min-height: auto;
        /* मोबाइल पर हाइट ऑटो */
    }
}

/* =========================================
   SERVICE DETAILS PAGE
   ========================================= */

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: 0.3s;
}

/* Icons in Sidebar */
.icon-square {
    width: 45px;
    height: 45px;
}

/* Nav Pills (Tabs) Customization */
.nav-pills.nav-link {
    background: transparent;
    color: var(--text-body);
    border: 1px solid transparent;
    transition: 0.3s;
}

.nav-pills.nav-link:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.05);
}

.nav-pills.nav-link.active {
    background-color: #0d6efd;
    color: white !important;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

/* Light Mode Tabs */
[data-theme="light"].nav-pills.nav-link {
    color: #555;
}

[data-theme="light"].nav-pills.nav-link.active {
    color: white !important;
}

/* Timeline Vertical Line */
.timeline-wrapper {
    position: relative;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .service-sidebar {
        position: static !important;
        /* मोबाइल पर स्टिकी न रहे */
        margin-bottom: 40px;
    }

    .timeline-line {
        left: 39px !important;
        /* लाइन को सेंटर करें */
    }
}

/* =========================================
   CATEGORY TABS (TOP HORIZONTAL)
   ========================================= */
.category-tabs-wrapper {
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 15px;
}

/* The Pills */
.category-pills.nav-link {
    color: var(--text-body);
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* Hover State */
.category-pills.nav-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-2px);
}

/* Active State */
.category-pills.nav-link.active {
    background-color: #0d6efd;
    color: white !important;
    border-color: #0d6efd;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Light Mode Adjustments */
[data-theme="light"].category-pills.nav-link {
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

[data-theme="light"].category-pills.nav-link.active {
    background-color: #0d6efd;
    color: white !important;
}

/* Mobile Scrollbar Hiding */
.category-pills::-webkit-scrollbar {
    height: 4px;
}

.category-pills::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 10px;
}
/* =========================================
   FOOTER STYLES (Responsive & Theme Aware)
   ========================================= */

/* 1. Wrapper (Background Area) */
.graphy-footer-wrapper {
    background-color: transparent; /* Dark mode mein transparent */
    padding: 60px 0;
    position: relative;
    font-family: var(--font-body);
}

/* 2. Footer Card (The Box) */
.footer-card {
    background-color: var(--card-bg); /* Dark Mode: Glassy Dark */
    border: 1px solid var(--card-border);
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* 3. Links Styling */
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: var(--text-body) !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #0d6efd !important; /* Blue on hover */
    transform: translateX(5px);
    display: inline-block;
}

.underline-hover:hover {
    text-decoration: underline !important;
    color: #0d6efd !important;
}

/* 4. Social Icons */
.footer-social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-heading);
    text-decoration: none;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.footer-social-icon:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
}

/* 5. Border Fix */
.footer-border {
    border-color: var(--card-border) !important;
}

/* =========================================
   LIGHT THEME OVERRIDES (Jab Theme White Ho)
   ========================================= */
[data-theme="light"] .graphy-footer-wrapper {
    background-color: #f3f4f6; /* Light Grey Background for page area */
}

[data-theme="light"] .footer-card {
    background-color: #ffffff; /* Pure White Card */
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

[data-theme="light"] .footer-social-icon {
    color: #4b5563; /* Dark Grey Icon */
    border-color: rgba(0,0,0,0.1);
    background: transparent;
}

[data-theme="light"] .footer-social-icon:hover {
    color: #fff;
    background: #0d6efd;
}
/* --- IFRAME DESKTOP VIEW SCALING --- */

.portfolio-iframe-wrapper {
    width: 100%;
    height: 400px; /* Card ki height fix karein */
    overflow: hidden; /* Scrollbar bahar na nikle */
    position: relative;
    border-bottom: 1px solid var(--card-border);
    background-color: #fff; /* Loading time pe white dikhe */
    border-radius: 15px 15px 0 0; /* Card ke upar ke corners round */
}

.portfolio-iframe-wrapper iframe {
    /* Step 1: Iframe ko bahut bada banao taaki Desktop site load ho */
    width: 400%;  
    height: 400%; 
    border: none;
    
    /* Step 2: Ab usse Zoom Out (Shrink) karke chota kar do */
    transform: scale(0.25); 
    transform-origin: top left; /* Top-Left corner se shrink karega */
    
    /* Optional: Agar scroll band karna hai to ye uncomment karein */
    /* pointer-events: none; */ 
}
/* --- FAKE INSTAGRAM UI STYLING --- */

/* 1. Mobile Container (The Phone Screen) */
.insta-mobile-view {
    width: 100%;
    height: 450px; /* Mobile screen height simulation */
    background-color: #fff;
    border-bottom: 1px solid var(--card-border);
    overflow-y: auto; /* IMPORTANT: Yahan se scroll hoga */
    overflow-x: hidden;
    position: relative;
    border-radius: 15px 15px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Instagram Font */
}

/* Hide Scrollbar for cleaner look */
.insta-mobile-view::-webkit-scrollbar {
    width: 4px;
}
.insta-mobile-view::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

/* 2. Top Bar (Time/Battery) */
.insta-top-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    z-index: 10;
}

/* 3. Post Styling */
.insta-post {
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Header (Avatar + Name) */
.insta-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
}

.insta-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 1px solid #dbdbdb;
}

.insta-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.insta-header i {
    color: #262626;
    cursor: pointer;
}

/* Image Wrapper */
.insta-img-wrapper {
    width: 100%;
    background: #f0f0f0;
}
.insta-img-wrapper img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Actions (Like, Comment Icons) */
.insta-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
}

.insta-actions i {
    font-size: 24px;
    color: #262626;
    margin-right: 15px;
    cursor: pointer;
    transition: 0.2s;
}
.insta-actions i:hover {
    color: #8e8e8e;
}
.right-action i { margin-right: 0; }

/* Content (Likes & Caption) */
.insta-content {
    padding: 0 15px;
}

.likes-text {
    font-size: 14px;
    color: #262626;
    margin-bottom: 6px;
}

.caption-text {
    font-size: 14px;
    color: #262626;
    margin-bottom: 6px;
    line-height: 1.4;
}

.time-text {
    font-size: 10px;
    color: #8e8e8e;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

/* Dark Mode Fix for Insta UI */
[data-theme="dark"] .insta-mobile-view {
    background-color: #000;
    border-color: #333;
}
[data-theme="dark"] .insta-top-bar {
    background: rgba(0,0,0,0.95);
    color: #fff;
}
[data-theme="dark"] .insta-username, 
[data-theme="dark"] .likes-text, 
[data-theme="dark"] .caption-text,
[data-theme="dark"] .insta-header i,
[data-theme="dark"] .insta-actions i {
    color: #fff;
}
[data-theme="dark"] .insta-post {
    border-color: #262626;
}
/* --- 1. PORTFOLIO CARD HOVER EFFECT --- */
.hover-effect-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.portfolio-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    background: #fff;
    overflow: hidden;
}

/* Thumbnail Iframe Styling */
.portfolio-iframe-wrapper iframe {
    width: 400%;
    height: 400%;
    transform: scale(0.25);
    transform-origin: 0 0;
    border: none;
    pointer-events: none; /* Mouse events disable taaki button click ho sake */
}

/* The Overlay (Hidden by default) */
.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark Dim Background */
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

/* Show Overlay on Hover */
.portfolio-card:hover .card-overlay {
    opacity: 1;
}
/* --- 2. THE MODAL (BLUR BACKGROUND) --- */
.device-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Dark Background */
    backdrop-filter: blur(15px); /* Strong Blur */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.device-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* --- 2. THE MODAL (BLUR BACKGROUND) --- */
.device-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.device-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button */
.close-modal-btn {
    position: absolute;
    top: 30px; right: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
    display: flex; align-items: center; justify-content: center;
}
.close-modal-btn:hover {
    background: #ff4757;
    transform: rotate(90deg);
}

/* --- 3. DEVICE FRAMES --- */
.device-frame {
    position: relative;
    background: #111;
    border: 2px solid #333;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.8);
}

.device-modal-overlay.active .device-frame {
    opacity: 1;
    transform: scale(1);
}

/* --- SCREEN AREA & SCROLLBAR HIDING --- */
.screen-content {
    background: #fff;
    overflow: hidden;
    width: 100%; height: 100%;
    position: relative;
}

.screen-content iframe {
    width: 100%; height: 100%;
    border: none;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
}

.screen-content iframe::-webkit-scrollbar { 
    display: none !important; /* Chrome/Safari */
}

/* === STYLE A: MOBILE MODE (iPhone 13 Pro Max) === */
.device-frame.mobile-mode {
    width: 428px;
    height: 850px;
    max-height: 90vh;
    border-radius: 50px;
    border: 10px solid #1a1a1a;
    padding: 0;
}

.device-frame.mobile-mode .screen-content {
    border-radius: 40px; 
}

.device-frame.mobile-mode .camera-dot {
    position: absolute;
    top: 20px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
}

.device-frame.mobile-mode .device-base { display: none; }


/* === STYLE B: DESKTOP MODE (MacBook/iPhone 16 Style Notch) === */
.device-frame.desktop-mode {
    width: 90%;
    max-width: 1200px;
    height: 650px;
    border-radius: 12px 12px 0 0;
    border: 12px solid #1a1a1a;
    border-bottom: none;
    padding: 0;
}

/* --- NEW DIAMOND CUT NOTCH CAMERA --- */
.device-frame.desktop-mode .camera-dot {
    position: absolute;
    top: 0; /* Screen se chipka hua */
    left: 50%;
    transform: translateX(-50%);
    width: 160px; /* Notch Width */
    height: 24px; /* Notch Height */
    background: #000;
    border-radius: 0 0 14px 14px; /* Bottom rounded (Pill shape) */
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 20;
}

/* The Diamond Lens Reflection */
.device-frame.desktop-mode .camera-dot::after {
    content: '';
    position: absolute;
    top: 50%; 
    left: 85%; /* Right side placement inside notch */
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: #0d1221; /* Dark Glassy Blue */
    border-radius: 50%;
    border: 1px solid #222;
    /* Shiny Reflection Effect */
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.2), 
                0 0 4px rgba(25, 25, 25, 0.8);
}

/* Optional Green Privacy Light (Active Status) */
.device-frame.desktop-mode .camera-dot::before {
    content: '';
    position: absolute;
    top: 50%; left: 78%;
    transform: translateY(-50%);
    width: 3px; height: 3px;
    background: #1aff00;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 4px #1aff00;
}

/* Laptop Base (Keyboard Area) */
.device-frame.desktop-mode .device-base {
    display: block;
    position: absolute;
    bottom: -35px; left: -2.5%;
    width: 105%;
    height: 35px;
    background: #252525;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Responsive Fixes */
@media(max-width: 1300px) {
    .device-frame.desktop-mode {
        width: 95%; height: 500px;
    }
}

@media(max-width: 768px) {
    .device-frame.desktop-mode {
        width: 98%; height: 300px; 
    }
    
    /* Mobile notch fix */
    .device-frame.desktop-mode .camera-dot {
        width: 100px; height: 18px; border-radius: 0 0 10px 10px;
    }
    .device-frame.desktop-mode .camera-dot::after { left: 50%; width: 6px; height: 6px; }
    .device-frame.desktop-mode .camera-dot::before { display: none; }

    .device-frame.mobile-mode {
        width: 320px; height: 600px; border-width: 8px;
    }
}

/* --- 2. THE MODAL (BLUR BACKGROUND) --- */
.device-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.device-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button */
.close-modal-btn {
    position: absolute;
    top: 30px; right: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
    display: flex; align-items: center; justify-content: center;
}
.close-modal-btn:hover {
    background: #ff4757;
    transform: rotate(90deg);
}

/* --- 3. DEVICE FRAMES --- */
.device-frame {
    position: relative;
    background: #111;
    border: 2px solid #333;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.8);
}

.device-modal-overlay.active .device-frame {
    opacity: 1;
    transform: scale(1);
}

/* --- SCREEN AREA & SCROLLBAR HIDING --- */
.screen-content {
    background: #fff;
    overflow: hidden;
    width: 100%; height: 100%;
    position: relative;
}

.screen-content iframe {
    width: 100%; height: 100%;
    border: none;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
}

.screen-content iframe::-webkit-scrollbar { 
    display: none !important; /* Chrome/Safari */
}

/* === STYLE A: MOBILE MODE (iPhone 13 Pro Max) === */
.device-frame.mobile-mode {
    width: 428px;
    height: 850px;
    max-height: 90vh;
    border-radius: 50px;
    border: 10px solid #1a1a1a;
    padding: 0;
}

.device-frame.mobile-mode .screen-content {
    border-radius: 40px; 
}

.device-frame.mobile-mode .camera-dot {
    position: absolute;
    top: 20px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
}

.device-frame.mobile-mode .device-base { display: none; }


/* === STYLE B: DESKTOP MODE (MacBook/iPhone 16 Style Notch) === */
.device-frame.desktop-mode {
    width: 90%;
    max-width: 1200px;
    height: 650px;
    border-radius: 12px 12px 0 0;
    border: 12px solid #1a1a1a;
    border-bottom: none;
    padding: 0;
}

/* --- NEW DIAMOND CUT NOTCH CAMERA --- */
.device-frame.desktop-mode .camera-dot {
    position: absolute;
    top: 0; /* Screen se chipka hua */
    left: 50%;
    transform: translateX(-50%);
    width: 160px; /* Notch Width */
    height: 24px; /* Notch Height */
    background: #000;
    border-radius: 0 0 14px 14px; /* Bottom rounded (Pill shape) */
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 20;
}

/* The Diamond Lens Reflection */
.device-frame.desktop-mode .camera-dot::after {
    content: '';
    position: absolute;
    top: 50%; 
    left: 85%; /* Right side placement inside notch */
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: #0d1221; /* Dark Glassy Blue */
    border-radius: 50%;
    border: 1px solid #222;
    /* Shiny Reflection Effect */
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.2), 
                0 0 4px rgba(25, 25, 25, 0.8);
}

/* Optional Green Privacy Light (Active Status) */
.device-frame.desktop-mode .camera-dot::before {
    content: '';
    position: absolute;
    top: 50%; left: 78%;
    transform: translateY(-50%);
    width: 3px; height: 3px;
    background: #1aff00;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 4px #1aff00;
}

/* Laptop Base (Keyboard Area) */
.device-frame.desktop-mode .device-base {
    display: block;
    position: absolute;
    bottom: -35px; left: -2.5%;
    width: 105%;
    height: 35px;
    background: #252525;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Responsive Fixes */
@media(max-width: 1300px) {
    .device-frame.desktop-mode {
        width: 95%; height: 500px;
    }
}

@media(max-width: 768px) {
    .device-frame.desktop-mode {
        width: 98%; height: 300px; 
    }
    
    /* Mobile notch fix */
    .device-frame.desktop-mode .camera-dot {
        width: 100px; height: 18px; border-radius: 0 0 10px 10px;
    }
    .device-frame.desktop-mode .camera-dot::after { left: 50%; width: 6px; height: 6px; }
    .device-frame.desktop-mode .camera-dot::before { display: none; }

    .device-frame.mobile-mode {
        width: 320px; height: 600px; border-width: 8px;
    }
}

/* Container styling */
.logo-slider {
  /* background: #050a10;  */
  height: 150px; /* Container ki height thodi badhayi taaki bade logos fit ho sakein */
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* The track that moves */
.logo-slide-track {
  display: flex;
  align-items: center;
  /* Width calculation: Logo width (180px) * Total logos (30) */
  width: calc(180px * 30); 
  animation: scroll 30s linear infinite; /* Speed thodi fast ki hai kyunki size bada hai */
}

/* Individual slide */
.slide {
  height: 120px;
  width: 180px; /* Spacing kam karne ke liye width 250px se ghata kar 180px kar di */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px; /* Logos ke beech ka side gap kam kar diya */
  box-sizing: border-box;
}

/* ⭐ LOGO SIZE BOOST ⭐ */
.slide img {
  width: auto;
  height: auto;
  max-width: 100%;   
  max-height: 100px; /* Size bada kar diya (pehle 70px tha) */
  object-fit: contain; 
  border-radius: 10px;
  
  /* White Filter */
  transition: transform 0.3s ease;
}

/* Hover effect: Thoda zoom (Optional) */
.slide:hover img {
  transform: scale(1.1);
}

/* Animation Logic */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-180px * 15)); } 
}

/* Mobile Responsive: Dikhega bada aur sirf 2 logos */
@media (max-width: 768px) {
  .logo-slider {
    height: 120px;
  }
  .slide {
    width: 50vw; /* Mobile par screen ka aadha = 2 logos */
    padding: 0 5px;
  }
  .logo-slide-track {
    width: calc(50vw * 30);
    animation: scroll-mobile 15s linear infinite;
  }
  .slide img {
    max-height: 80px; /* Mobile ke hisaab se bada size */
  }
  
  @keyframes scroll-mobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50vw * 15)); }
  }
}