
        :root {
            --primary-blue: #0052cc;
            --primary-orange: #FF6200;
            --ash: #e9ecef;
            --white: #fff;
        }

        * {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: var(--ash);
            color: #333;
            overflow-x: hidden;
            position: relative;
            font-size: clamp(16px, 2.5vw, 18px);
        }

        /* Watermark */
        body::before {
            content: 'RibbonCare';
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-45deg);
            font-size: clamp(5rem, 15vw, 8rem);
            color: rgba(0, 123, 255, 0.1);
            z-index: -1;
            pointer-events: none;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--ash);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--primary-orange);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-blue);
        }

        /* Preloader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--white);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        /* Navigation */
        .navbar {
            background-color: var(--white);
            transition: background-color 0.3s, backdrop-filter 0.3s;
            padding: 0.5rem 1rem; /* Reduced padding for smaller height */
        }
        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
        }
        .navbar-brand img {
            width: 120px; /* Reduced logo size */
            height: auto;
            max-width: 100%;
            display: block;
            margin: 0 auto;
            transition: transform 0.3s;
        }
        .navbar-brand:hover img {
            transform: scale(1.1);
        }
        .nav-link {
            color: #333;
            font-size: clamp(0.85rem, 2.2vw, 0.95rem); /* Slightly smaller font */
            position: relative;
            transition: color 0.3s;
            padding: 0.5rem 0.75rem; /* Reduced padding */
        }
        .nav-link:hover, .nav-link.active {
            color: var(--primary-orange);
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background: var(--primary-orange);
            transition: width 0.3s;
        }
        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }

        /* Enhanced Hamburger Menu */
        .navbar-toggler {
            border: none;
            padding: 8px; /* Reduced padding */
            z-index: 1000;
            position: relative;
            width: 32px; /* Smaller hamburger */
            height: 32px;
            background: transparent;
            transition: all 0.3s ease;
        }
        .navbar-toggler:focus {
            outline: none;
        }
        .navbar-toggler .icon-bar {
            display: block;
            width: 20px; /* Smaller icon bars */
            height: 2px; /* Thinner bars */
            background-color: var(--primary-blue);
            margin: 4px auto;
            transition: all 0.3s ease-in-out;
            border-radius: 2px;
        }
        .navbar-toggler.active .icon-bar:nth-child(1) {
            transform: translateY(6px) rotate(45deg);
            background-color: var(--primary-orange);
        }
        .navbar-toggler.active .icon-bar:nth-child(2) {
            opacity: 0;
            transform: translateX(-20px);
        }
        .navbar-toggler.active .icon-bar:nth-child(3) {
            transform: translateY(-6px) rotate(-45deg);
            background-color: var(--primary-orange);
        }
        .navbar-toggler:hover .icon-bar {
            background-color: var(--primary-orange);
            transform: scale(1.1);
        }
        .navbar-toggler.active:hover .icon-bar {
            background-color: var(--primary-blue);
        }
        .navbar-collapse {
            transition: transform 0.3s ease-in-out;
        }
        @media (max-width: 991px) {
            .navbar-collapse {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100%;
                background: var(--white);
                padding: 15px;
                box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
                transform: translateX(0);
            }
            .navbar-collapse.show {
                transform: translateX(-100%);
            }
            .navbar-nav {
                flex-direction: column;
                align-items: flex-start;
            }
            .nav-link {
                padding: 8px 0;
                font-size: clamp(0.95rem, 2.8vw, 1.1rem);
            }
            .navbar-brand img {
                width: 80px; /* Smaller logo for mobile */
            }
        }

        /* Hero Section */
        .hero {
            position: relative;
            color: var(--white);
            padding: clamp(100px, 18vh, 150px) 0; /* Adjusted padding */
            text-align: center;
            overflow: hidden;
            min-height: 100vh;
        }
        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            opacity: 0.8;
            display: none;
        }
        .hero-video.loaded {
            display: block;
        }
       .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.85), rgba(204, 85, 0, 0.85)); /* Blue + Dark Orange */
    z-index: 1;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, rgba(0, 82, 204, 0.85), rgba(204, 85, 0, 0.85)); /* Blue → Dark Orange */
    }
    50% {
        background: linear-gradient(135deg, rgba(192, 192, 192, 0.85), rgba(0, 82, 204, 0.85)); /* Ash → Blue */
    }
    100% {
        background: linear-gradient(135deg, rgba(0, 82, 204, 0.85), rgba(204, 85, 0, 0.85)); /* Back to Blue → Dark Orange */
    }
}

        .hero svg {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            z-index: 2;
        }
        .hero-content {
            position: relative;
            z-index: 3;
        }
        .hero h1 {
            font-size: clamp(2.2rem, 5.5vw, 3.5rem); /* Slightly smaller */
            font-weight: 700;
            margin-bottom: 18px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        .hero .typed-text {
            font-size: clamp(1.1rem, 2.8vw, 1.4rem);
            font-weight: 400;
            min-height: 2em;
        }
        .hero .btn {
            margin: 8px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .hero .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* About Section */
        .about-section {
            background: var(--white);
            position: relative;
            overflow: hidden;
            padding: 50px 0; /* Reduced padding */
        }
        .about-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ff6200" stroke-width="2"><animate attributeName="r" values="40;45;40" dur="3s" repeatCount="indefinite"/></circle></svg>');
            background-size: 100px;
            opacity: 0.05;
        }
        .about-section h2 {
            text-align: center;
            margin-bottom: 35px;
            font-size: clamp(1.8rem, 4.5vw, 2.2rem);
            font-weight: 600;
        }
        .about-card {
            background: rgba(255, 255, 255, 0.95);
            padding: 18px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border: 2px solid transparent;
            transition: transform 0.3s, border-color 0.3s;
            text-align: center;
            min-height: 180px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .about-card:hover {
            transform: scale(1.05);
            border-color: var(--primary-orange);
        }
        .about-card h3 {
            font-size: clamp(1.1rem, 2.8vw, 1.4rem);
            margin-bottom: 12px;
            color: var(--primary-blue);
        }
        .about-card p {
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
            margin: 0;
        }
        .about-card:nth-child(1) { animation-delay: 0.1s; }
        .about-card:nth-child(2) { animation-delay: 0.2s; }
        .about-card:nth-child(3) { animation-delay: 0.3s; }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @media (max-width: 767px) {
            .about-card {
                margin-bottom: 18px;
            }
        }

        /* Gallery Section */
        .gallery-section {
            background: linear-gradient(to bottom, var(--ash), var(--white));
        }
        .carousel-item {
            transition: transform 0.5s ease;
        }
        .carousel-item img {
            height: clamp(280px, 48vw, 380px); /* Adjusted for smaller screens */
            object-fit: cover;
            border-radius: 10px;
            transition: transform 0.3s;
        }
        .carousel-item img:hover {
            transform: scale(1.05);
        }
        .carousel-caption {
            background: rgba(0, 0, 0, 0.6);
            border-radius: 5px;
            padding: 8px;
            transform: translateY(10px);
            transition: transform 0.3s;
        }
        .carousel-item.active .carousel-caption {
            transform: translateY(0);
        }
        .carousel-caption h5 {
            font-size: clamp(0.95rem, 2.3vw, 1.1rem);
        }
        .carousel-caption p {
            font-size: clamp(0.75rem, 1.8vw, 0.85rem);
        }
        .carousel-control-prev-icon, .carousel-control-next-icon {
            background-color: var(--primary-blue);
            border-radius: 50%;
            padding: 18px;
            transition: background-color 0.3s;
        }
        .carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
            background-color: var(--primary-orange);
        }

        /* Testimonials Section */
        .testimonials-section {
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q50,10 90,50 T50,90 Q10,50 50,10" fill="none" stroke="%230052cc" stroke-width="2"><animate attributeName="d" values="M10,50 Q50,10 90,50 T50,90 Q10,50 50,10;M10,50 Q50,90 90,50 T50,10 Q10,50 50,90;M10,50 Q50,10 90,50 T50,90 Q10,50 50,10" dur="5s" repeatCount="indefinite"/></path></svg>');
            background-size: 150px;
            background-repeat: repeat;
        }
        .testimonial-card {
            background: var(--white);
            padding: 18px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s;
            opacity: 0;
            animation: slideIn 0.5s ease forwards;
        }
        .testimonial-card:nth-child(1) { animation-delay: 0.1s; }
        .testimonial-card:nth-child(2) { animation-delay: 0.2s; }
        .testimonial-card:nth-child(3) { animation-delay: 0.3s; }
        .testimonial-card:nth-child(4) { animation-delay: 0.4s; }
        .testimonial-card:nth-child(5) { animation-delay: 0.5s; }
        .testimonial-card:nth-child(6) { animation-delay: 0.6s; }
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        .testimonial-card:hover {
            transform: translateY(-10px);
        }
        .testimonial-card p {
            font-style: italic;
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
        }
        .testimonial-card h5 {
            color: var(--primary-orange);
            font-size: clamp(0.95rem, 2.3vw, 1.05rem);
        }
        .testimonial-avatar {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background: var(--primary-blue);
            margin: 0 auto 8px;
            transition: box-shadow 0.3s;
        }
        .testimonial-avatar:hover {
            box-shadow: 0 0 10px var(--primary-orange);
        }

        /* Contact Section */
        .contact-section {
            background: var(--primary-blue);
            color: var(--white);
            position: relative;
        }
        .contact-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="5" fill="%23ff6200"><animate attributeName="cy" values="50;40;50" dur="2s" repeatCount="indefinite"/></circle></svg>');
            background-size: 50px;
            opacity: 0.1;
        }
        .contact-section h2 {
            color: var(--white);
        }
        .contact-card {
            background: rgba(255, 255, 255, 0.1);
            padding: 18px;
            border-radius: 10px;
            transition: transform 0.3s, background 0.3s;
        }
        .contact-card:hover {
            transform: scale(1.03);
            background: rgba(255, 255, 255, 0.2);
        }
        .contact-card p {
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
        }
        .btn-pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        /* Footer */
        .footer {
            background: #333 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="45" y="45" width="10" height="10" fill="%23ff6200"><animate attributeName="opacity" values="1;0.5;1" dur="2s" repeatCount="indefinite"/></rect></svg>');
            background-size: 50px;
            color: var(--white);
            padding: 50px 0; /* Reduced padding */
        }
        .footer a {
            color: var(--primary-orange);
            text-decoration: none;
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
            transition: color 0.3s, transform 0.3s;
        }
        .footer a:hover {
            color: var(--primary-blue);
            transform: translateX(5px);
        }
        .footer h5 {
            font-size: clamp(0.95rem, 2.3vw, 1.1rem);
            margin-bottom: 18px;
        }
        .social-icon {
            font-size: 1.4rem;
            margin: 0 8px;
            transition: transform 0.3s;
        }
        .social-icon:hover {
            transform: scale(1.2);
        }

        /* Buttons */
        .btn-primary {
            background-color: var(--primary-orange);
            border: none;
            padding: 8px 18px; /* Smaller buttons */
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .btn-primary:hover {
            background-color: var(--primary-blue);
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        .btn-outline-light {
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
        }

        /* Action Buttons */
        .action-button {
            display: block;
            margin: 18px auto;
            text-align: center;
        }
        .action-button .btn {
            padding: 10px 28px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }
        .action-button .btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        /* Mobile Video Optimization */
        @media (max-width: 767px) {
            .hero-video {
                display: none;
            }
            .hero-overlay {
                background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
            }
        }
    
    
     .hero {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            background: url('https://via.placeholder.com/1920x1080?text=Hero+Background') no-repeat center/cover;
        }
        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            display: none; /* Hidden until JS loads it */
        }
        .hero-video.loaded {
            display: block;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2;
        }
        .hero-content {
            position: relative;
            z-index: 3;
            text-align: center;
            color: #fff;
            top: 50%;
            transform: translateY(-50%);
        }
        .hero-content h1 {
            font-size: clamp(2.5rem, 5vw, 3rem);
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        .hero-content p {
            font-size: clamp(1.2rem, 2.5vw, 1.5rem);
        }
        .hero svg {
            z-index: 2;
        }
        .video-anchor {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            cursor: pointer;
            transition: background 0.3s;
            margin-left: 10px;
        }
        .video-anchor:hover {
            background: #fff;
        }
        .video-anchor::before {
            content: "▶";
            font-size: 20px;
            color: #000;
        }
        .video-anchor.play::before {
            content: "❚❚";
        }
        .video-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .video-overlay.show {
            display: flex;
        }
        .video-overlay video {
            max-width: 95%;
            max-height: 95%;
            border-radius: 10px;
        }
        .close-overlay {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
        }
        /* Teams Section Styles */
        .teams-section {
            background: var(--white);
            position: relative;
            overflow: hidden;
            padding: 50px 0;
        }
        .teams-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ff6200" stroke-width="2"><animate attributeName="r" values="40;45;40" dur="3s" repeatCount="indefinite"/></circle></svg>');
            background-size: 100px;
            opacity: 0.05;
        }
        .teams-section h2 {
            text-align: center;
            margin-bottom: 35px;
            font-size: clamp(1.8rem, 4.5vw, 2.2rem);
            font-weight: 600;
        }
        .team-card {
            background: rgba(255, 255, 255, 0.95);
            padding: 18px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border: 2px solid transparent;
            transition: transform 0.3s, border-color 0.3s;
            text-align: center;
            min-height: 180px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .team-card:hover {
            transform: scale(1.05);
            border-color: var(--primary-orange);
        }
        .team-card h3 {
            font-size: clamp(1.1rem, 2.8vw, 1.4rem);
            margin-bottom: 12px;
            color: var(--primary-blue);
        }
        .team-card p {
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
            margin: 0;
        }
        .team-card:nth-child(1) { animation-delay: 0.1s; }
        .team-card:nth-child(2) { animation-delay: 0.2s; }
        .team-card:nth-child(3) { animation-delay: 0.3s; }
        @media (max-width: 767px) {
            .team-card {
                margin-bottom: 18px;
            }
        }
        
        
           .hero {
            position: relative;
            width: 100%;
            height: 70vh; /* Reduced height for Impact page */
            overflow: hidden;
            background: url('https://via.placeholder.com/1920x1080?text=Our+Impact+Background') no-repeat center/cover;
        }
        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            display: none;
        }
        .hero-video.loaded {
            display: block;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2;
        }
        .hero-content {
            position: relative;
            z-index: 3;
            text-align: center;
            color: #fff;
            top: 50%;
            transform: translateY(-50%);
        }
        .hero-content h1 {
            font-size: clamp(2rem, 4.5vw, 2.5rem);
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        .hero-content p {
            font-size: clamp(1rem, 2.2vw, 1.2rem);
            max-width: 600px;
            margin: 0 auto;
        }
        .hero svg {
            z-index: 2;
        }
        .video-anchor {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            cursor: pointer;
            transition: background 0.3s;
            margin-left: 10px;
        }
        .video-anchor:hover {
            background: #fff;
        }
        .video-anchor::before {
            content: "▶";
            font-size: 20px;
            color: #000;
        }
        .video-anchor.play::before {
            content: "❚❚";
        }
        .video-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .video-overlay.show {
            display: flex;
        }
        .video-overlay video {
            max-width: 95%;
            max-height: 95%;
            border-radius: 10px;
        }
        .close-overlay {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
        }
        .section {
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
        .section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ff6200" stroke-width="2"><animate attributeName="r" values="40;45;40" dur="3s" repeatCount="indefinite"/></circle></svg>');
            background-size: 100px;
            opacity: 0.05;
        }
        .impact-card, .gallery-card {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s, border-color 0.3s;
            border: 2px solid transparent;
        }
        .impact-card:hover, .gallery-card:hover {
            transform: scale(1.05);
            border-color: var(--primary-orange);
        }
        .impact-card h3, .gallery-card h3 {
            font-size: clamp(1.2rem, 2.8vw, 1.5rem);
            margin-bottom: 15px;
            color: var(--primary-blue);
        }
        .impact-card p, .gallery-card p {
            font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        }
        .action-button {
            text-align: center;
            margin-top: 30px;
        }
        .btn-pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        .carousel-caption {
            background: rgba(0, 0, 0, 0.5);
            border-radius: 5px;
            padding: 10px;
            transform: translateY(10px);
            transition: transform 0.3s;
        }
        .carousel-item.active .carousel-caption {
            transform: translateY(0);
        }
        .carousel-item img {
            height: clamp(250px, 45vw, 350px);
            object-fit: cover;
            border-radius: 10px;
        }
        .carousel-control-prev-icon, .carousel-control-next-icon {
            background-color: var(--primary-blue);
            border-radius: 50%;
            padding: 18px;
        }
        .carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
            background-color: var(--primary-orange);
        }
        .testimonial-card {
            background: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            transition: transform 0.3s;
        }
        .testimonial-card:hover {
            transform: translateY(-10px);
        }
        .testimonial-avatar {
            width: 50px;
            height: 50px;
            background: var(--primary-blue);
            border-radius: 50%;
            margin: 0 auto 15px;
        }
        .gallery-grid img {
            width: 100%;
            height: clamp(200px, 30vw, 250px);
            object-fit: cover;
            border-radius: 10px;
            transition: transform 0.3s;
        }
        .gallery-grid img:hover {
            transform: scale(1.05);
        }
        @media (max-width: 767px) {
            .hero {
                height: 50vh;
            }
            .hero-content h1 {
                font-size: clamp(1.8rem, 4vw, 2rem);
            }
            .hero-content p {
                font-size: clamp(0.9rem, 2vw, 1rem);
            }
            .carousel-item img {
                height: clamp(200px, 40vw, 250px);
            }
            .gallery-grid img {
                height: clamp(150px, 25vw, 200px);
            }
        }
        
          .hero {
            position: relative;
            width: 100%;
            height: 70vh;
            overflow: hidden;
            background: url('https://via.placeholder.com/1920x1080?text=Our+Team+Background') no-repeat center/cover;
        }
        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            display: none;
        }
        .hero-video.loaded {
            display: block;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2;
        }
        .hero-content {
            position: relative;
            z-index: 3;
            text-align: center;
            color: #fff;
            top: 50%;
            transform: translateY(-50%);
        }
        .hero-content h1 {
            font-size: 2.5rem;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        .hero-content p {
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
        }
        .hero svg {
            z-index: 2;
        }
        .video-anchor {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            cursor: pointer;
            transition: background 0.3s;
            margin-left: 10px;
        }
        .video-anchor:hover {
            background: #fff;
        }
        .video-anchor::before {
            content: "▶";
            font-size: 20px;
            color: #000;
        }
        .video-anchor.play::before {
            content: "❚❚";
        }
        .video-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .video-overlay.show {
            display: flex;
        }
        .video-overlay video {
            max-width: 95%;
            max-height: 95%;
            border-radius: 10px;
        }
        .close-overlay {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
        }
        .section {
            padding: 60px 0;
        }
        .team-card {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .team-card img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
        }
        .team-card h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }
        .team-card p.role {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 10px;
        }
        .action-button {
            text-align: center;
            margin-top: 30px;
        }
        .btn-pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        
        .hero {
            position: relative;
            width: 100%;
            height: 50vh; /* Reduced height for About page */
            overflow: hidden;
            background: url('https://via.placeholder.com/1920x1080?text=About+Us+Background') no-repeat center/cover;
        }
        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            display: none;
        }
        .hero-video.loaded {
            display: block;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2;
        }
        .hero-content {
            position: relative;
            z-index: 3;
            text-align: center;
            color: #fff;
            top: 50%;
            transform: translateY(-50%);
        }
        .hero-content h1 {
            font-size: 2.5rem;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        .hero-content p {
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
        }
        .hero svg {
            z-index: 2;
        }
        .video-anchor {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            cursor: pointer;
            transition: background 0.3s;
            margin-left: 10px;
        }
        .video-anchor:hover {
            background: #fff;
        }
        .video-anchor::before {
            content: "▶";
            font-size: 20px;
            color: #000;
        }
        .video-anchor.play::before {
            content: "❚❚";
        }
        .video-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .video-overlay.show {
            display: flex;
        }
        .video-overlay video {
            max-width: 95%;
            max-height: 95%;
            border-radius: 10px;
        }
        .close-overlay {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
        }
        .section {
            padding: 60px 0;
        }
        .about-card {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .about-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        .action-button {
            text-align: center;
            margin-top: 30px;
        }
        .btn-pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .contact-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
}
.contact-icon svg {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 50%;
}
    .testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f0f0;
}
.testimonial-card {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
    .about-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.about-card:hover {
    transform: translateY(-5px);
}
.about-icon svg {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 50%;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures images fill the frame */
    display: block;
}
.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}


