/* Color Variables & Custom Styles */
:root {
    --primary-color: #0a192f;
    --accent-color: #fbbf24;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    background-color: #f8fafc;
    padding-top: 100px; 
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.fw-black {
    font-weight: 900;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.top-bar {
    background-color: #0b1329; 
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1070 !important;
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.72rem; 
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
    
    .top-bar .container {
        gap: 4px !important;
    }
    
    .top-contact-info {
        flex-direction: column;
        gap: 2px !important;
    }
    
    body {
        padding-top: 80px;
    }
    
    .navbar {
        top: 31px !important; 
    }

    .navbar-logo {
        margin-top: 12px;
        height: 35px !important;      
    }
}

/* Bento Grid Layout Styles */
.cursor-pointer { 
    cursor: pointer; 
}

.bento-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15) !important;
}

.bento-card .card-img {
    transition: transform 0.6s ease;
}

.bento-card:hover .card-img {
    transform: scale(1.06);
}

.card-gradient {
    background: linear-gradient(180deg, rgba(15,23,42,0.1) 20%, rgba(15,23,42,0.9) 90%);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    position: fixed !important;
    top: 30px; 
    left: 0;
    width: 100%;
    z-index: 1050 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
}

.navbar .nav-link {
    color: #334155;
    font-weight: 600;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-logo {
    height: 50px;         
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

.dropdown-menu {
    z-index: 1060 !important;
}

@keyframes bounce-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.1);
    }
}

.icon-active-anim {
    animation: bounce-pulse 2s ease-in-out infinite;
    display: inline-block;
}
/* Hero Section */
.hero-video-section {
    min-height: 78vh !important; 
}

.hero-video-section video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.75);  
}

@media (min-width: 768px) {
    .hero-video-section {
        min-height: 70vh;
    }
}

/* Desktops ke liye */
@media (min-width: 992px) {
    .hero-video-section {
        min-height: 78vh !important;
    }
}

.light-watercolor-section {
    background: 
        radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    background-size: cover;
    background-position: center;
}


.about-hero {
    width: 100%;
    min-height: 40vh; 
    background: linear-gradient(135deg, rgba(62, 128, 228, 0.5), rgba(7, 19, 37, 0.3)), url('/images/aboutbanner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (min-width: 768px) {
    .about-hero {
        min-height: 45vh;
    }
}

/* Desktops ke liye */
@media (min-width: 992px) {
    .about-hero {
        min-height: 50vh;
    }
}

.team-img {
    transition: transform 0.4s ease;
}

.card:hover .team-img {
    transform: scale(1.05);
}

/* contactus*/
/* High-End Rich Contact Banner Styling - Fully Responsive */
.contact-hero-banner {
    background: linear-gradient(135deg, rgba(29, 74, 141, 0.8), rgba(15, 23, 42, 0.7)), url('/images/contactbanner.avif');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 350px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .contact-hero-banner {
        min-height: 450px;
    }
}

/*service*/
  .service-img-wrapper img {
        transition: transform 0.5s ease;
    }
    .service-img-wrapper:hover img {
        transform: scale(1.05);
    }
    .btn-outline-dark:hover {
        background-color: #ffc107 !important;
        border-color: #ffc107 !important;
        color: #000 !important;
        transform: translateY(-2px);
    }
    .custom-accordion .accordion-button:not(.collapsed) {
        background-color: #fffaf0;
        color: #000 !important;
        box-shadow: none;
    }
    .custom-accordion .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(0,0,0,.125);
    }

/*product*/
 .service-img-wrapper img {
        transition: transform 0.5s ease;
    }
    .service-img-wrapper:hover img {
        transform: scale(1.05);
    }
    .btn-outline-dark:hover {
        background-color: #ffc107 !important;
        border-color: #ffc107 !important;
        color: #000 !important;
        transform: translateY(-2px);
    }
    .custom-accordion .accordion-button:not(.collapsed) {
        background-color: #fffaf0;
        color: #000 !important;
        box-shadow: none;
    }
    .custom-accordion .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(0,0,0,.125);
    }

    /* --- Slide-in Scroll Animations Setup --- */
.reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-up {
    transform: translateY(40px);
}

/* Active class jab element viewport mein aayega (Intersection Observer ya scroll ke zariye) */
.reveal-left.active, .reveal-right.active, .reveal-up.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Premium Image & Card Hover Effects --- */
.service-img-wrapper {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-img-wrapper:hover .product-img {
    transform: scale(1.05); /* Image smooth zoom on hover */
}

/* --- Custom Button Hover Style --- */
.custom-hover-btn {
    transition: all 0.3s ease;
}

.custom-hover-btn:hover {
    background-color: #111;
    color: #fff;
    border-color: #111;
    transform: translateX(4px);
}

/*whatsapp*/
/* --- Responsive Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Hover Effect (Desktop) */
.whatsapp-btn:hover {
    background-color: #22bf5b;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Pulsing Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn {
    animation: whatsapp-pulse 2s infinite;
}

/* Tooltip Text */
.whatsapp-tooltip {
    position: absolute;
    right: 65px;
    background-color: #ffffff;
    color: #333333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 26px; 
    }
    
    .whatsapp-tooltip {
        display: none !important;
    }
}