/* Global Styles */
:root {
    --primary: #CCE2F1;        /* Your exact Baby Blue */
    --primary-dark: #a8c7e5;   /* 20% darker baby blue */
    --primary-light: #e6f2fb;  /* 10% lighter baby blue */
    --secondary: #2c3e50;      /* Dark blue-gray for contrast */
    --accent: #ff6b8b;         /* Soft coral for CTAs */
    --dark: #000000;           /* Your exact Black */
    --dark-light: #333333;     /* Dark gray */
    --light: #ffffff;          /* Pure white */
    --gray: #6c757d;           /* Medium gray */
    --light-gray: #f8f9fa;     /* Light background */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
	text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Button Styles */
.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(145, 178, 235, 0.4);
    border: 2px solid transparent;
    animation: pulse-glow 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(145, 178, 235, 0.6);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    animation: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(145, 178, 235, 0.3);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(145, 178, 235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(145, 178, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(145, 178, 235, 0); }
}

/* Navigation */
.navbar {
    background: rgba(145, 178, 235, 0.95); /* Exact light blue */
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(145, 178, 235, 0.98); /* Exact light blue */
}

.navbar-brand .brand-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
}
.navbar-logo {
    height: 35px; /* Control logo size */
    width: auto;
}

.brand-highlight {
    color: var(--accent);
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--accent);
}

/* ===== ENHANCED 3D PARALLAX HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
	justify-content: center; /* Add this to center vertically */
    color: white;
    overflow: hidden;
    padding: 80px 15px 40px;
    width: 100%;
    background: linear-gradient(-45deg, #91b2eb, #7a9de0, #a8c7f5, #91b2eb); /* Exact light blue gradient */
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
	text-align: center; /* Center text for mobile */
}

/* Center content in the row */
.hero .row {
    justify-content: center;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        background: linear-gradient(-45deg, #91b2eb, #7a9de0, #a8c7f5, #91b2eb);
    }
    25% {
        background: linear-gradient(-45deg, #7a9de0, #a8c7f5, #91b2eb, #7a9de0);
    }
    50% {
        background-position: 100% 50%;
        background: linear-gradient(-45deg, #a8c7f5, #91b2eb, #7a9de0, #a8c7f5);
    }
    75% {
        background: linear-gradient(-45deg, #91b2eb, #7a9de0, #a8c7f5, #91b2eb);
    }
    100% {
        background-position: 0% 50%;
        background: linear-gradient(-45deg, #91b2eb, #7a9de0, #a8c7f5, #91b2eb);
    }
}

/* Replace the existing logo float animation */
.logo-float-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 40px auto 20px;
    z-index: 10;
	display: none;
}

.floating-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: natural-float 4s ease-in-out infinite;
}

@keyframes natural-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    50% { 
        transform: translateY(-15px) rotate(2deg);
    }
}




.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(145, 178, 235, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 101, 132, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.4) 0%, transparent 50%);
    animation: floatBackground 20s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes floatBackground {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.4;
    mix-blend-mode: overlay;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}
/* For desktop, left-align the text but keep container centered */
@media (min-width: 992px) {
    .hero .col-lg-6:first-child {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* ===== MOBILE RESPONSIVE FIXES ===== */

/* For mobile, keep everything centered */
@media (max-width: 991px) {
    .hero {
        text-align: center;
        padding-top: 80px; /* Added this line */
        min-height: calc(100vh - 60px); /* Added this line */
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    /* Ensure navbar doesn't cover content */
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* For desktop, left-align the text but keep container centered */
@media (min-width: 992px) {
    .hero .col-lg-6:first-child {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
}
/* ===== SCROLL MARGIN FOR SECTION ANCHORS ===== */
/* Prevent navbar from covering sections when scrolling to anchors */
section {
    scroll-margin-top: 80px; /* Slightly more than navbar height for comfort */
}

/* Adjust for mobile */
@media (max-width: 768px) {
    section {
        scroll-margin-top: 70px; /* Slightly less on mobile */
    }
}
/* Add to your existing scroll-margin section */
#founders {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    #founders {
        scroll-margin-top: 70px;
    }
}
/* Optional: Specific sections if needed */
#home {
    scroll-margin-top: 0; /* Home doesn't need offset */
}

#services, #about, #portfolio, #showcase, #contact {
    scroll-margin-top: 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white; /* Solid white for better readability */
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.6),
        0 4px 20px rgba(0, 0, 0, 0.4); /* Stronger shadow for contrast */
    background: none; /* Remove gradient background */
    -webkit-text-fill-color: initial; /* Remove webkit fill */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95); /* Brighter white */
    text-shadow: 
        0 1px 5px rgba(0, 0, 0, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    font-weight: 500;
    line-height: 1.6;
}

/* Remove conflicting animations */
@keyframes textShine {
    /* Remove this animation as it reduces readability */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons .btn {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    text-align: center;
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}

/* Floating Cards */
.floating-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    padding: 12px 15px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    animation: float-enhanced 4s ease-in-out infinite;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    max-width: 160px;
    font-size: 0.9rem;
    margin: 10px auto;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: absolute;
}

@keyframes float-enhanced {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-card i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 8px;
}

.floating-card p {
    margin: 0;
    font-weight: 600;
    font-size: 0.85rem;
}

.card-1 { 
    animation-delay: 0s; 
    top: 10%; 
    left: 5%; 
}
.card-2 { 
    animation-delay: 1s; 
    top: 50%; 
    right: 5%; 
    transform: translateY(-50%); 
}
.card-3 { 
    animation-delay: 2s; 
    bottom: 10%; 
    left: 20%; 
}

.logo-3d-container {
    perspective: 1000px;
    width: 150px;
    height: 150px;
    margin: 20px auto;
}

.logo-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: logo-rotate 20s infinite linear;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes logo-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-shapes 15s infinite linear;
}

.shape-1 { width: 60px; height: 60px; top: 10%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 90px; height: 90px; top: 60%; left: 80%; animation-delay: 5s; }
.shape-3 { width: 50px; height: 50px; top: 80%; left: 20%; animation-delay: 10s; }
.shape-4 { width: 70px; height: 70px; top: 30%; left: 70%; animation-delay: 7s; }

@keyframes float-shapes {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* ===== ENHANCED PARALLAX SECTIONS ===== */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: translateZ(0);
    z-index: 1;
    will-change: transform;
}

.services.parallax-section .parallax-bg {
    background-image: 
        linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    filter: brightness(1.1) contrast(1.2);
}

.portfolio.parallax-section .parallax-bg {
    background-image: 
        linear-gradient(rgba(248, 249, 250, 0.85), rgba(248, 249, 250, 0.85)),
        url('https://images.unsplash.com/photo-1563986768609-322da13575f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    opacity: 0.6;
}

/*.contact.parallax-section .parallax-bg {
    background-image: 
        linear-gradient(rgba(145, 178, 235, 0.4), rgba(145, 178, 235, 0.4)),
        url('https://images.unsplash.com/photo-1521737852567-6949f3f9f2b5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    filter: brightness(0.8);
}*/

.parallax-content {
    position: relative;
    z-index: 2;
}

.parallax-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: white;
    font-size: 1rem;
    background: rgba(145, 178, 235, 0.8);
    padding: 12px 24px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    animation: bounce 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ENHANCED MAGNETIC CURSOR EFFECT ===== */
.btn, .nav-link, .service-card-3d, .floating-card, .brand-logo-3d {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn:hover, .nav-link:hover, .service-card-3d:hover, .floating-card:hover {
    transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--scale, 1));
}

.btn:hover { --scale: 1.05; }
.nav-link:hover { --scale: 1.02; }
.service-card-3d:hover { --scale: 1.03; }
.floating-card:hover { --scale: 1.1; }

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.05s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(145, 178, 235, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.08s ease-out;
}

@media (max-width: 768px) {
    body { cursor: default; }
    .custom-cursor, .cursor-follower { display: none; }
    .floating-card {
        position: relative !important;
        margin: 10px auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}

/* Stats Section */
.stats {
    padding: 60px 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    perspective: 1000px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-text {
    opacity: 1;
    transform: translateY(2px);
}

/* Services Section */

/* About Section */
.about {
    padding: 80px 15px;
    background: white;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

.about-points .point {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.about-points .point i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.about-points .point h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}
/* Conrol about image container size bellow 2 points */
.about-image-3d .image-container {
    max-width: 525px; /* Control container size */
    margin: 0 auto;
}

.about-image-3d .image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-3d {
    perspective: 1000px;
    margin-top: 30px;
}

.image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.about-image-3d:hover .image-container {
    transform: rotateY(5deg) rotateX(5deg);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(145, 178, 235, 0.1), rgba(255, 101, 132, 0.1));
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-3d:hover .image-container img {
    transform: scale(1.05);
}

/* Portfolio Section */
.portfolio {
    padding: 80px 15px;
    background: var(--light);
}

.portfolio-item-3d {
    margin-bottom: 30px;
    perspective: 1000px;
}

.portfolio-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.portfolio-item-3d:hover .portfolio-image {
    transform: translateZ(25px) rotateY(5deg);
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(45, 43, 85, 0.9));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateZ(30px);
}

.portfolio-item-3d:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item-3d:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Video Gallery Section - Fixed */
.video-showcase {
    padding: 80px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 100%;
}

.video-card-3d {
    perspective: 1000px;
    margin-bottom: 30px;
}

.video-card-3d .video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
    cursor: pointer;
}

.video-card-3d:hover .video-container {
    transform: translateY(-5px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Video element */
.gallery-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: all 0.2s ease;
    z-index: 1;
    position: relative;
    background: #f0f0f0; /* Show placeholder while loading */
}

/* Play button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(145, 178, 235, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.05);
}

.play-button i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

.play-button.playing {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Video overlay */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transition: all 0.2s ease;
    z-index: 2;
}

/* Video info */
.video-info {
    padding: 20px 0;
    text-align: center;
}

.video-info h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.video-info p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== VIDEO ENHANCEMENTS ===== */
/* Loading spinner */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
    display: none;
}

.video-container.loading .video-loading {
    display: block;
}

.video-container.loading .play-button {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Error state */
.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    z-index: 2;
    display: none;
    font-size: 0.9rem;
}

.video-container.error .video-error {
    display: block;
}

.video-container.error .play-button {
    display: none;
}

/* Progress bar */
.video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 2;
    display: none;
}

.video-progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.1s linear;
}

.video-container.playing .video-progress {
    display: block;
}
/* ===== TESTIMONIAL GRID STYLES ===== */
.testimonial-single-box {
    background: white;
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border: 1px solid rgba(145, 178, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transform-style: preserve-3d; /* Add this for 3D effect */
    perspective: 1000px; /* Add this for 3D effect */
}

.testimonial-single-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 15px 15px 0 0;
}

/* UPDATED HOVER ANIMATION - Same as service cards */
.testimonial-single-box:hover {
    transform: translateY(-10px) rotateY(3deg) rotateX(3deg); /* Add 3D rotation */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.star-rating {
    margin-bottom: 20px;
}

.star-rating i {
    color: #FFD700;
    font-size: 1rem;
    margin: 0 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    transform-style: preserve-3d; /* Add this */
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
    position: relative;
    transform: translateZ(0); /* Prevent text shaking */
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -15px;
    left: -10px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
    transition: color 0.3s ease;
    transform: translateZ(0); /* Prevent text shaking */
}

.testimonial-author p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    transition: color 0.3s ease;
    transform: translateZ(0); /* Prevent text shaking */
}

.testimonial-single-box:hover .testimonial-author h4 {
    color: var(--primary);
}

/* Service card hover effect for testimonials */
.service-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(145, 178, 235, 0.1), transparent);
    transition: left 0.6s;
    border-radius: 15px;
}

.testimonial-single-box:hover .service-hover-effect {
    left: 100%;
}

/* Mobile adjustments */
/* Mobile adjustments - More controlled version */
@media (max-width: 768px) {
    .founder-image-wrapper {
        height: 280px;
        max-height: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
    }
    
    .founder-img {
        max-height: 260px; /* Slightly less than container */
        max-width: 90%; /* Don't let it stretch too wide */
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .founder-image-wrapper {
        height: 220px;
        max-height: 220px;
    }
    
    .founder-img {
        max-height: 200px;
        max-width: 85%;
    }
}


@media (max-width: 768px) {
    .testimonial-single-box {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-text::before {
        font-size: 2.5rem;
        top: -12px;
        left: -8px;
    }
    
    .star-rating i {
        font-size: 0.9rem;
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
    }
    
    /* Reduce 3D effect on mobile for better performance */
    .testimonial-single-box:hover {
        transform: translateY(-8px) rotateY(1deg) rotateX(1deg);
    }
}

/* For the 5th testimonial to center on larger screens */
@media (min-width: 992px) {
    .col-lg-6.mx-auto {
        margin-left: auto;
        margin-right: auto;
        flex: 0 0 48%;
        max-width: 48%;
    }
}

/* Contact Section */
.contact {
    padding: 80px 15px;
    background: var(--dark-light); /* Uses your existing light-gray variable */
    color: var(--dark);
    position: relative;
}

/* Remove any parallax background from contact section */
.contact.parallax-section .parallax-bg {
    display: none;
}

/* Update contact form for light background */
.contact .form-control {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    border: 1px solid var(--light-gray);
}

.contact .form-control::placeholder {
    color: var(--gray);
}

.contact .form-control:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(145, 178, 235, 0.25);
    color: var(--dark);
}

.contact .section-header h2 {
    color: var(--dark);
}

.contact .section-header p {
    color: var(--gray);
}

.contact .btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
}

.contact .btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    color: white;
}

.contact .section-header h2 {
    color: white;
}

.contact .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-3d {
    perspective: 1000px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    width: 100%;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 0.2rem rgba(145, 178, 235, 0.25);
    border-color: var(--primary);
    transform: translateZ(10px);
}

.btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 15px 20px;
}

.footer-brand .brand-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    display: block;
    margin-bottom: 15px;
}

.footer p {
    opacity: 0.8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--accent);
    width: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.powered-by {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.powered-by a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.powered-by a:hover {
    color: var(--accent);
}

.qtekConsultants-logo {
    height: 20px;
    width: auto;
    transition: filter 0.3s ease;
}

.powered-by a:hover .qtek-logo {
    filter: brightness(0) invert(0.7);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Quick Contact Floating Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.contact-bubble {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(145, 178, 235, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.contact-bubble:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(145, 178, 235, 0.6);
}

.contact-bubble i {
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.contact-bubble:hover i {
    transform: scale(1.2);
}

.notification-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #ff6584;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.contact-options {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-contact.active .contact-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-options::before {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
}

.option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 5px 0;
}

.option:hover {
    background: linear-gradient(135deg, rgba(145, 178, 235, 0.1), rgba(255, 101, 132, 0.1));
    transform: translateX(-5px);
    color: var(--primary);
}

.option i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Enhanced Trusted Brands Section - Logos Fill Entire Area */
.trusted-by {
    padding: 60px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.trusted-by .section-header {
    margin-bottom: 40px;
}

.trusted-by .section-header h4 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.trusted-by .section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.brands-marquee-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.brands-track-top,
.brands-track-bottom {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.brands-track-top {
    animation: marquee-scroll 25s linear infinite;
}

.brands-track-bottom {
    animation: marquee-scroll 30s linear infinite reverse;
}

.brand-logo-3d {
    perspective: 1000px;
    flex-shrink: 0;
}

/* LOGOS FILL ENTIRE CONTAINER - ALL DEVICES */
.brand-logo-inner {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border: 1px solid rgba(204, 226, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;  /* Fixed width */
    height: 100px; /* Fixed height */
    padding: 15px; /* Internal padding */
    overflow: hidden; /* Ensure logo stays within bounds */
}

.brand-logo-img {
    width: 100% !important;    /* Force full width of container */
    height: 100% !important;   /* Force full height of container */
    object-fit: contain;       /* Fill container while maintaining aspect ratio */
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s ease;
    display: block;
}

.brand-logo-3d:hover .brand-logo-inner {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(204, 226, 241, 0.4);
    background: linear-gradient(135deg, white, #f8f9fa);
}

.brand-logo-3d:hover .brand-logo-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* Remove text elements */
.brand-text,
.brand-subtext {
    display: none;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 30px)); }
}

.brands-marquee-container:hover .brands-track-top,
.brands-marquee-container:hover .brands-track-bottom {
    animation-play-state: paused;
}

/* MOBILE - SAME FILLING BEHAVIOR, SMALLER CONTAINERS */
@media (max-width: 768px) {
    .brand-logo-inner {
        width: 140px;  /* Smaller container but logo still fills it */
        height: 80px;
        padding: 12px;
    }
    
    .brands-track-top,
    .brands-track-bottom {
        gap: 20px;
        margin-bottom: 20px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .brand-logo-inner {
        width: 120px;  /* Even smaller container but logo still fills it */
        height: 70px;
        padding: 10px;
    }
    
    .brands-track-top,
    .brands-track-bottom {
        gap: 15px;
    }
    
    .brands-track-top {
        animation-duration: 20s;
    }
    
    .brands-track-bottom {
        animation-duration: 25s;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .brands-track-top,
    .brands-track-bottom {
        gap: 25px;
        margin-bottom: 20px;
    }
    
    .brand-logo-inner {
        padding: 20px 25px;
        min-width: 160px;
        min-height: 100px;
    }
    
    .brand-logo-img {
        width: 120px;
        height: 60px;
    }
    
    .brands-track-top {
        animation-duration: 20s;
    }
    
    .brands-track-bottom {
        animation-duration: 25s;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .brand-logo-inner {
        padding: 15px 20px;
        min-width: 140px;
        min-height: 90px;
    }
    
    .brand-logo-img {
        width: 100px;
        height: 50px;
    }
    
    .brands-track-top,
    .brands-track-bottom {
        gap: 20px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 15px;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
    
    .parallax-scroll-indicator {
        display: none;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 120px;
    }
    
    .services, .about, .portfolio, .testimonials, .contact {
        padding: 60px 15px;
    }

    .brand-logo-inner {
        padding: 10px 15px;
        min-height: 70px;
    }

    .brand-logo-img {
        width: 30px;
        height: 30px;
    }

    .brand-text {
        font-size: 0.8rem;
    }

    .brand-subtext {
        font-size: 0.6rem;
    }

    .brand-track {
        gap: 25px;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        text-align: left;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        text-align: left;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .hero-buttons .btn {
        width: auto;
        margin-right: 15px;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* Animation for fade-in elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 { 
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.delay-2 { 
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary));
}

/* Enhanced smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Active section highlighting */
section {
    scroll-margin-top: 80px;
}

/* Loading animation for sections */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}


/* ... all your existing CSS ... */

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== FIX FOR TEXT SHAKING IN SERVICE CARDS ===== */
.service-card-inner h3,
.service-card-inner p {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.service-card-inner {
    transform-style: preserve-3d;
}

/* Optional: Reduce the transform intensity for smoother hover */
.service-card-3d:hover .service-card-inner {
    transform: rotateY(3deg) rotateX(3deg) translateY(-5px); /* Reduced from 5deg */
}

/* Additional fix for any child elements */
.service-icon,
.service-card-inner h3,
.service-card-inner p,
.service-hover-effect {
    transform-style: preserve-3d;
}

/* ===== FIXED SERVICE CARDS - NO SHAKING ===== */
.services {
    padding: 80px 15px;
    background: var(--light);
}

.service-card-3d {
    margin-bottom: 30px;
    height: 100%;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(145, 178, 235, 0.1);
    overflow: hidden;
}

.service-card-3d:hover .service-card-inner {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 15px 15px 0 0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(145, 178, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card-3d:hover .service-icon {
    transform: scale(1.1);
    background: rgba(145, 178, 235, 0.2);
}

.service-icon i {
    font-size: 2.2rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.service-card-3d:hover .service-icon i {
    color: var(--secondary);
}

.service-card-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card-inner p {
    color: var(--gray);
    transition: color 0.3s ease;
}

.service-card-3d:hover .service-card-inner h3 {
    color: var(--primary);
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(145, 178, 235, 0.1), transparent);
    transition: left 0.6s;
    border-radius: 15px;
}

.service-card-3d:hover .service-hover-effect {
    left: 100%;
}
/* ===== RESTORE PARALLAX EFFECT ===== */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax movement */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This creates the parallax effect */
    transform: translateZ(0);
    z-index: 1;
    will-change: transform;
}

/* Ensure parallax content stays above background */
.parallax-content {
    position: relative;
    z-index: 2;
}

/* Services parallax background */
.services.parallax-section .parallax-bg {
    background-image: 
        linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    filter: brightness(1.1) contrast(1.2);
}

/* Portfolio parallax background */
.portfolio.parallax-section .parallax-bg {
    background-image: 
        linear-gradient(rgba(248, 249, 250, 0.85), rgba(248, 249, 250, 0.85)),
        url('https://images.unsplash.com/photo-1563986768609-322da13575f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    opacity: 0.6;
}

/* Contact parallax background 
.contact.parallax-section .parallax-bg {
    background-image: 
        linear-gradient(rgba(145, 178, 235, 0.4), rgba(145, 178, 235, 0.4)),
        url('https://images.unsplash.com/photo-1521737852567-6949f3f9f2b5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    filter: brightness(0.8);
}*/

/* Mobile fix - disable parallax on touch devices */
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
        height: 100%;
    }
}


/* ===== LOADING STATES FOR PERFORMANCE ===== */
/* Better loading states for videos and images */
.gallery-video, .brand-logo-img, .portfolio-image img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Remove background when loaded */
.gallery-video[data-loaded="true"],
.brand-logo-img[data-loaded="true"],
.portfolio-image img[data-loaded="true"] {
    background: none;
    animation: none;
}

/* ===== BRAND CONSISTENCY IMPROVEMENTS ===== */
/* Point A: Standardize all brand logos */
.brand-logo-img {
    filter: grayscale(100%) brightness(0.7) contrast(1.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.8;
}

.brand-logo-3d:hover .brand-logo-img {
    filter: grayscale(0%) brightness(1) contrast(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Ensure consistent container sizing */
.brand-logo-inner {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(204, 226, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 100px;
    padding: 20px;
    overflow: hidden;
}

/* Specific adjustments for problematic logos */
.brand-logo-3d:nth-child(1) .brand-logo-img, /* Amazon */
.brand-logo-3d:nth-child(2) .brand-logo-img, /* Samsung */
.brand-logo-3d:nth-child(3) .brand-logo-img { /* NVIDIA */
    filter: grayscale(100%) brightness(0.6) contrast(1.3);
}

/* Fix for logos with colored backgrounds */
.brand-logo-inner[style*="background"] {
    background: white !important;
}

/* Ensure all logos maintain aspect ratio */
.brand-logo-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Point B: Add loading states for brand logos */
.brand-logo-img:not([data-loaded="true"]) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Point C: Subtle brand marquee enhancements */
.brands-track-top,
.brands-track-bottom {
    animation-timing-function: linear;
}

.brands-marquee-container:hover .brands-track-top,
.brands-marquee-container:hover .brands-track-bottom {
    animation-play-state: paused;
}

/* Smooth hover transitions */
.brand-logo-3d {
    transition: transform 0.3s ease;
}

.brand-logo-3d:hover {
    transform: translateY(-2px);
}
/* ===== CALL-TO-ACTION OPTIMIZATION ===== */
/* Sticky CTA Button - Left Side */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    transform: translateX(-100px);
    background: linear-gradient(45deg, var(--accent), #ff8e53);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 107, 139, 0.4);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.sticky-cta.visible {
    transform: translateX(0);
}

.sticky-cta:hover {
    transform: translateX(0) scale(1.05);
    color: white;
    box-shadow: 0 15px 40px rgba(255, 107, 139, 0.6);
}

.sticky-cta i {
    font-size: 1.1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .sticky-cta {
        left: 15px;
        bottom: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
        gap: 6px;
        transform: translateX(-80px);
    }
    
    .sticky-cta i {
        font-size: 1rem;
    }
    
    .sticky-cta.visible {
        transform: translateX(0);
    }
    
    .sticky-cta:hover {
        transform: translateX(0) scale(1.02);
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .sticky-cta {
        left: 10px;
        bottom: 15px;
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 5px;
        transform: translateX(-70px);
    }
    
    .sticky-cta i {
        font-size: 0.9rem;
    }
}

/* CTA Sections Enhancement */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced existing buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

/* ===== CONTACT FORM ENHANCEMENTS ===== */
/* Form states */
.form-group {
    position: relative;
}

.form-control:focus {
    transform: translateZ(10px);
    box-shadow: 0 0 0 0.2rem rgba(145, 178, 235, 0.25);
}

/* Form validation states */
.form-control.valid {
    border-color: #28a745;
}

.form-control.invalid {
    border-color: #dc3545;
}

/* Form messages */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #155724;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #721c24;
}

/* Loading state */
.btn-loading .fa-spinner {
    margin-right: 8px;
}

/* Success animation */
@keyframes formSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.form-success {
    animation: formSuccess 0.6s ease;
}
/* Completely hide play button when video is playing */
.play-button.playing {
    display: none !important;
}

/* Fix video clickability without breaking functionality */
.play-button.playing {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ensure video container handles clicks properly */
.video-container {
    cursor: pointer;
}

.video-container.playing {
    cursor: pointer;
}

/* ===== DUAL FORM TOGGLE STYLES ===== */
.form-type-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.form-toggle-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    display: inline-flex;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: auto;
}

.toggle-buttons {
    display: flex;
    position: relative;
    z-index: 2;
    width: 100%;
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 8px 25px; /* Increased horizontal padding */
    border-radius: 50px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 150px; /* Increased min-width to prevent wrapping */
    text-align: center;
    line-height: 1.2;
    height: auto;
    white-space: nowrap; /* Prevent text wrapping */
}

.toggle-btn.active {
    color: white;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(145, 178, 235, 0.4);
}

/* Slider position for influencer form */
.form-toggle-container.influencer-active .toggle-slider {
    transform: translateX(100%);
}

.contact-form-container {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.contact-form-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .toggle-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
        min-width: 130px; /* Wider on mobile too */
        white-space: nowrap; /* Keep text on one line */
    }
    
    .form-toggle-container {
        width: 100%;
        max-width: 280px; /* Wider container */
        padding: 4px;
    }
    
    .toggle-slider {
        top: 4px;
        height: calc(100% - 8px);
        width: calc(50% - 4px);
    }
    
    /* MOBILE FIX */
    .contact-form-container {
        display: none !important;
    }
    
    .contact-form-container.active {
        display: block !important;
    }
}

/* ===== TESTIMONIAL GRID STYLES ===== */
.testimonial-single-box {
    background: white;
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border: 1px solid rgba(145, 178, 235, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.testimonial-single-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 15px 15px 0 0;
}

/* SIMPLE HOVER - This will definitely work */
.testimonial-single-box:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.star-rating {
    margin-bottom: 20px;
}

.star-rating i {
    color: #FFD700;
    font-size: 1rem;
    margin: 0 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -15px;
    left: -10px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.testimonial-author p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonial-single-box {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-text::before {
        font-size: 2.5rem;
        top: -12px;
        left: -8px;
    }
    
    .star-rating i {
        font-size: 0.9rem;
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
    }
}

/* For the 5th testimonial to center on larger screens */
@media (min-width: 992px) {
    .col-lg-6.mx-auto {
        margin-left: auto;
        margin-right: auto;
        flex: 0 0 48%;
        max-width: 48%;
    }
}
/* ===== FOUNDERS SECTION STYLES ===== */
.founders {
    padding: 80px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.founder-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(145, 178, 235, 0.1);
    margin-bottom: 40px;
    position: relative;
    height: auto;
}

/* HOVER EFFECTS - Add these back */
.founder-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.founder-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
    width: 100%;
    background: #f8f9fa;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.5s ease;
    filter: grayscale(30%);
    display: block;
}

.founder-card:hover .founder-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.founder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.2));
    z-index: 1;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-overlay {
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3));
}

.founder-content {
    padding: 40px 35px;
    position: relative;
}

.founder-content h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-content h3 {
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-role {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-role {
    color: var(--primary-dark);
}

.founder-role::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-role::after {
    width: 60px;
    background: var(--primary-dark);
}

.founder-bio {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-bio {
    color: var(--dark-light);
}

.founder-quote {
    background: linear-gradient(135deg, rgba(145, 178, 235, 0.1), rgba(255, 107, 139, 0.05));
    border-left: 4px solid var(--primary);
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-quote {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(145, 178, 235, 0.15), rgba(255, 107, 139, 0.1));
    border-left-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(145, 178, 235, 0.2);
}

.founder-quote i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-quote i {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.founder-quote p {
    font-style: italic;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-quote p {
    color: var(--dark);
}

/* Founder-specific animations */
.founder-left:hover {
    transform: translateY(-15px) scale(1.02) rotate(-1deg);
}

.founder-right:hover {
    transform: translateY(-15px) scale(1.02) rotate(1deg);
}

/* Add magnetic cursor effect if you have it */
.founder-card {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.founder-card:hover {
    transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--scale, 1.02));
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .founders {
        padding: 60px 15px;
    }
    
    .founder-image-wrapper {
        height: 300px;
    }
    
    .founder-content {
        padding: 30px 25px;
    }
    
    .founder-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .founder-left:hover,
    .founder-right:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* Ensure equal height for both cards */
@media (min-width: 992px) {
    .founder-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .founder-image-wrapper {
        flex-shrink: 0;
    }
    
    .founder-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
}
}
/* END OF CSS FILE */