/* =========================================
   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;
}

/* =========================================
   2. GENERAL RESET (SCROLL FIX INCLUDED)
   ========================================= */
@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 !important;
    /* 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 {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    /* Fix for Glow overflow */
}

/* 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);
}

/* =========================================
   6. PORTFOLIO & WHY US
   ========================================= */
.portfolio-filters li {
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-body);
    border: 1px solid var(--card-border);
    transition: all 0.3s;
    background: var(--card-bg);
}

.portfolio-filters li:hover,
.portfolio-filters li.filter-active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.portfolio-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-img-wrap {
    height: 240px;
    position: relative;
}

.portfolio-img-wrap img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.portfolio-card:hover .portfolio-img-wrap img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 12, 24, 0.6);
    opacity: 0;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.tag-badge {
    font-size: 0.75rem;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.link-arrow {
    color: #0d6efd;
    transition: 0.3s;
}

.link-arrow:hover {
    color: #fff;
}

[data-theme="light"] .link-arrow:hover {
    color: #0b5ed7;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-cta {
    background: #0d6efd;
    box-shadow: 0 0 40px rgba(13, 110, 253, 0.3);
}

.cta-glow {
    position: absolute;
    bottom: -50%;
    left: 20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

/* Why Us Features */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
}

.capability-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: 0.3s;
}

.capability-card:hover {
    background: rgba(13, 110, 253, 0.05);
    border-color: rgba(13, 110, 253, 0.4);
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.fa-circle-check {
    color: #0d6efd;
    filter: drop-shadow(0 0 5px rgba(13, 110, 253, 0.4));
}
/* =========================================
   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;
    }
}