
@charset "utf-8";
/* CSS Document */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #004AAD 0%, #A9C0EB 50%, #A1C6ED 100%);
            color: var(--text-light);
            padding: 3rem 0 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
            opacity: 0.4;
        }

        .footer::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            position: relative;
            z-index: 2;
        }

        .footer-left p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            margin: 0;
        }

        .footer-right {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-right a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .footer-right a:hover {
            color: var(--text-light);
            transform: translateY(-1px);
        }

        .footer-right a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: -3px;
            left: 0;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .footer-right a:hover::after {
            width: 100%;
        }

        /*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
    margin: 0;
    padding: 0;
  }
  
  .social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
  }
  
  .social-icon-link {
    border-radius: 100px;
    color: white;
    display: block;
    margin-right: 5px;
    text-align: center;
    width: 35px;
    height: 35px;
    line-height: 38px;
  }
  
  .social-icon-link:hover {
    background: var(--primary-color);
    color: white;
  }

        /* Footer Mobile Responsiveness */
        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
            }

            .footer-right {
                justify-content: center;
                gap: 1.5rem;
            }

            .footer-right a {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .footer-right {
                flex-direction: column;
                gap: 1rem;
            }
        }

        :root {
            --primary-color: #004AAD;
            --secondary-color: #A1C6ED;
            --accent-color: #A1C6ED;
            --accent-pink: #004AAD;
            --accent-cyan: #06b6d4;
            --text-primary: #0f172a;
            --text-secondary: #64748b;
            --text-light: #ffffff;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-dark: #0f172a;
            --bg-card: rgba(255, 255, 255, 0.95);
            --gradient-primary: linear-gradient(135deg, #004AAD 0%, #A9C0EB 50%, #A1C6ED 100%);
            --gradient-secondary: linear-gradient(135deg, #A9C0EB 0%, #004AAD 100%);
            --gradient-tertiary: linear-gradient(135deg, #A9C0EB 0%, #A1C6ED 100%);
            --gradient-elegant: linear-gradient(135deg, #004AAD, #A1C6ED 100%);
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --glass: rgba(255, 255, 255, 0.15);
            --glass-border: rgba(255, 255, 255, 0.2);
        }

        body {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            line-height: 1.7;
            color: var(--text-primary);
            scroll-behavior: smooth;
            overflow-x: hidden;
            background: var(--bg-primary);
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1%;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        nav.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-lg);
            padding: 0.75rem 0;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo a {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1.75rem;
            font-weight: 700;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;   /* ✅ vertically center image + text */
            gap: 0.5rem;           /* ✅ spacing between image and text */
        }
        .logo a img {
            width: 60px;  /* ✅ fixed size for consistent alignment */
            height: auto;
        }
        

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a:hover {
            color: var(--primary-color);
            transform: translateY(-1px);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background: var(--gradient-primary);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateX(-50%);
            border-radius: 1px;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 1rem;
            z-index: 1001;
        }

        .hamburger {
            width: 25px;
            height: 3px;
            background: var(--text-primary);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 1px;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .mobile-menu-toggle.active .hamburger:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 99%;
            height: 100vh;
            background: rgba(15, 23, 42, 0.98);
            backdrop-filter: blur(20px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 999;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-nav-links {
            list-style: none;
            text-align: center;
        }

        .mobile-nav-links li {
            margin: 2rem 0;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mobile-menu.active .mobile-nav-links li {
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }

        .mobile-nav-links a {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 2.5rem;
            font-weight: 500;
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s ease;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .mobile-nav-links a:hover {
            transform: scale(1.05);
        }

        /* Hero Section */
        .hero {
            height: 50vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-elegant);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            animation: float 25s ease-in-out infinite;
            opacity: 0.7;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            animation: pulse 4s ease-in-out infinite alternate;
        }

        /* Floating Shapes */
        .floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .shape-1 {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation: floatShape1 20s ease-in-out infinite;
        }

        .shape-2 {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            background: rgba(255, 255, 255, 0.08);
            animation: floatShape2 25s ease-in-out infinite reverse;
        }

        .shape-3 {
            width: 60px;
            height: 60px;
            top: 30%;
            right: 25%;
            background: rgba(255, 255, 255, 0.12);
            animation: floatShape3 18s ease-in-out infinite;
        }

        .shape-4 {
            width: 100px;
            height: 100px;
            bottom: 25%;
            left: 20%;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            animation: floatShape4 22s ease-in-out infinite;
        }

        .shape-5 {
            width: 40px;
            height: 40px;
            top: 15%;
            right: 40%;
            background: rgba(255, 255, 255, 0.15);
            animation: floatShape5 16s ease-in-out infinite reverse;
        }

        .shape-6 {
            width: 140px;
            height: 140px;
            bottom: 15%;
            right: 10%;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 30px;
            animation: floatShape6 28s ease-in-out infinite;
        }

        @keyframes floatShape1 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(-30px) translateX(20px) rotate(90deg); }
            50% { transform: translateY(-15px) translateX(-10px) rotate(180deg); }
            75% { transform: translateY(-40px) translateX(15px) rotate(270deg); }
        }

        @keyframes floatShape2 {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
            33% { transform: translateY(25px) translateX(-20px) scale(1.1); }
            66% { transform: translateY(-20px) translateX(25px) scale(0.9); }
        }

        @keyframes floatShape3 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            50% { transform: translateY(-25px) translateX(-30px) rotate(180deg); }
        }

        @keyframes floatShape4 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(20px) translateX(-15px) rotate(45deg); }
            50% { transform: translateY(-10px) translateX(30px) rotate(90deg); }
            75% { transform: translateY(15px) translateX(-20px) rotate(135deg); }
        }

        @keyframes floatShape5 {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
            50% { transform: translateY(-35px) translateX(20px) scale(1.2); }
        }

        @keyframes floatShape6 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            33% { transform: translateY(-15px) translateX(10px) rotate(60deg); }
            66% { transform: translateY(10px) translateX(-25px) rotate(120deg); }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(1deg); }
        }

        @keyframes pulse {
            0% { opacity: 0.5; }
            100% { opacity: 0.8; }
        }

        .hero-content {
            text-align: center;
            color: var(--text-light);
            z-index: 2;
            position: relative;
            max-width: 900px;
            padding: 2rem 2rem;
        }

        .hero .img1 {
            position: absolute; /* ✅ take it out of normal flow */
            margin-left: 2%;  
            bottom: 0;            /* ✅ stick to bottom */
            left: 0;
            max-height: 350px;     /* ✅ prevent overflow */
            object-fit: cover;
            z-index: 1;
        }
        .hero .img2 {
            position: absolute;   /* ✅ take it out of normal flow */
            bottom: 0;            /* ✅ stick to bottom */
            right: 0;
            max-height: 350px;     /* ✅ prevent overflow */
            object-fit: cover;
            z-index: 1;
            margin-top: 2%;
        }

        .hero-subtitle {
            font-size: 1rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.2s forwards;
            margin-bottom: 1rem;
            margin-top: 1.5rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .hero h1 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.4s forwards;
            line-height: 1.1;
            letter-spacing: -1px;
        }

        .hero .subtitle {
            font-size: 1rem;
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            padding: 1.2rem 3rem;
            background: rgba(255, 255, 255, 0.2);
            color: var(--text-light);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transform: translateY(30px);
            opacity: 0;
            animation: fadeInUp 1s ease 0.8s forwards;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            letter-spacing: 0.5px;
            margin-top: 1rem;
            text-align: center;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ✅ Mobile & Tablet Fixes */
@media (max-width: 1024px) {
    .hero {
        height: auto; /* Let content dictate height */
        padding: 3rem 0;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-content {
        text-align: center;
        padding: 1rem 0;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem; /* smaller heading */
    }

    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    /* Images: stack or hide one if needed */
    .hero .img2,
    .hero .img1 {
        position: static; /* take them out of absolute positioning */
        width: 50%;
        max-width: 280px;
        height: auto;
        margin-top: 3rem;
        margin-bottom: 0;
        display: block;
    }

    /* If you want to hide right image on mobile */
    .hero .img1 {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem; /* further reduce heading size */
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
        margin-top: 0;
        padding-top: 0;
    }

    .hero .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Testimonial section */
    .contact .testimonial {
    padding: 50px 0;
    }

.contact .testimonial h2 {
    color: aliceblue;
    text-align: center;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
}

/* Carousel arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #004bad9e;
    border-radius: 50%;
    padding: 15px;
}

/* Testimonial item wrapper */
.contact .testimonial-item {
    height: auto; /* allow flexibility */
    max-width: 270px; /* limit max size */
    border-radius: 25px;
    padding: 5px;
    background-color: var(--gradient-elegant);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center; /* centers content horizontally */
    justify-content: flex-start;
    margin: 10px auto; /* centers on mobile */
}

/* Images inside testimonial */
.contact .testimonial-item img {
    height: 260px;
    width: 260px;
    object-fit: cover;
    border-radius: 25px;
    transition: transform 0.3s ease;
    display: block;
}

/* Hover effect */
.contact .testimonial-item img:hover {
    transform: scale(1.05);
}




        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.6);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-indicator:hover {
            border-color: rgba(255, 255, 255, 0.9);
        }

        .scroll-indicator::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            transform: translateX(-50%);
            animation: scroll 2s infinite;
        }

        @keyframes scroll {
            0% { transform: translateX(-50%) translateY(0); opacity: 1; }
            100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
        }

        /* Section Styles */
        section {
            padding: 8rem 0;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 3.5rem;
            font-weight: 600;
            margin-bottom: 4rem;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 4px;
            background: var(--gradient-primary);
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* About Section */
        .about {
            background: var(--bg-secondary);
            position: relative;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 6rem;
            align-items: center;
            position: relative;
        }

        .about-image {
            width: 100%;
            height: 500px;
            background: url('images/Dr.\ Rajesh\ Sinha-3.webp') center bottom / cover no-repeat;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
        }

        .about-image:hover {
            transform: rotate(0deg) scale(1.5);
        }

        .about-image::before {
            content: '';
            position: absolute;
            transition: opacity 0.3s ease;
        }

        .about-image:hover::before {
            opacity: 0.7;
        }

        .about-text h3 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: var(--text-primary);
            font-weight: 500;
            line-height: 1.3;
        }

        .about-text p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        
.outreach {
    background: var(--gradient-elegant);
    position: relative;
    padding: 3rem;
    margin: 0;
}
.outreach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 25s ease-in-out infinite;
    opacity: 0.7;
}

.outreach::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}


/* Card container */
.outreach-thumb {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    font-size: 20px;
    text-align: center;
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 5px;
    height: 270px;
  }
  
  .outreach-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  
  /* Inner item box */
  .outreach-thumb .item {
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(128, 128, 128, 0.45);
    overflow: hidden;
    height: 260px;
  }
  /* === GRID CONTAINER === */
  
  /* === VIDEO CARD === */
  .outreach-thumb-video {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    font-size: 20px;
    text-align: center;
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
    max-width: 560px; /* keeps videos uniform but allows responsiveness */
  }
  
  .outreach-thumb-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  
  /* === VIDEO WRAPPER === */
  .outreach-thumb-video .item-video {
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(128, 128, 128, 0.45);
    overflow: hidden;
    aspect-ratio: 16 / 9; /* keeps video responsive */
    position: relative;
  }
  
  /* === IFRAME / VIDEO STYLING === */
  .outreach-thumb-video .item-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 25px;
  }
  
  

  /* Image styling */
  .outreach-thumb .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    padding: 5px;
  }
  

.outreach-thumb p {
    margin-top: 0.5rem;
}

.outreach h3 {
    text-align: center;
}

        .skills {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 3rem;
        }

        .skill-tag {
            padding: 0.75rem 1.5rem;
            background: var(--bg-card);
            color: var(--primary-color);
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(99, 102, 241, 0.2);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .skill-tag:hover {
            background: var(--primary-color);
            color: var(--text-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Portfolio Section */
        .portfolio {
            background: var(--bg-primary);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
            margin-top: 2rem;
        }

        .portfolio-item {
            background: var(--bg-card);
            border-radius: 25px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateY(20px);
            opacity: 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .portfolio-item.animate {
            transform: translateY(0);
            opacity: 1;
        }

        .portfolio-item:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-2xl);
        }

        .portfolio-image {
            width: 100%;
            height: 180px;
            background: var(--gradient-primary);
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }

        .portfolio-image1 {
            background-image: url('images/Expert-Service/1.webp');
        }

        .portfolio-image2 {
            background-image: url('images/Expert-Service/2.webp');
        }

        .portfolio-image3 {
            background-image: url('images/Expert-Service/3.webp');
        }

        .portfolio-image4 {
            background-image: url('images/Expert-Service/4.webp');
        }

        .portfolio-image5 {
            background-image: url('images/Expert-Service/3.webp');
        }

        .portfolio-image6 {
            background-image: url('images/Expert-Service/2.webp');
        }

        .portfolio-image7 {
            background-image: url('images/Expert-Service/5.webp');
        }

        .portfolio-image8 {
            background-image: url('images/Expert-Service/6.webp');
        }

        .portfolio-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
            transition: all 0.3s ease;
        }

        .portfolio-item:hover .portfolio-image::before {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(139, 92, 246, 0.3) 100%);
        }

        .portfolio-content {
            padding: 2rem;
        }

        .portfolio-content h4 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .portfolio-content p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .portfolio-tech {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .tech-tag {
            padding: 1rem;
            background: var(--gradient-elegant);
            color: white;
            border-radius: 25px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
            text-transform: uppercase;
        }

        .tech-tag:hover {
            background: var(--primary-color);
            color: var(--text-light);
        }

        /* blog*/
        /* reset box-sizing so padding affects width/height predictably */
       
        * { box-sizing: border-box; }

        .search-box {
            display: flex;         /* keep input & button on same line and aligned */
            justify-content: center;
            align-items: center;          /* vertically center content */
            border-radius: 28px;          /* smooth rounded container */
            overflow: hidden;             /* preserves rounded corners when children have backgrounds */
            border: 1px solid #ccc;       /* single border for the whole control */
            max-width: 40%;             /* optional */
            margin-left: 30%;
            margin-right: 30%
        }

        .search-box input {
            flex: 1;                      /* take remaining width */
            border: 0;                    /* container provides border */
            padding: 10px 14px;
            font-size: 16px;
            height: 44px;                 /* keep fixed height for perfect alignment */
            outline: none;
        }

        .search-box button {
            border: 0;
            background: var(--secondary-color);
            color: #fff;
            padding: 0 16px;
            height: 44px;                 /* same height as input */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            margin-top: 0;
        }

        .search-box button:hover {
            background-color: var(--primary-color);
        }

        span {
            color: gray;
            font-size: 14px;
        }          
        /* Contact Section */
        .contact {
            background: linear-gradient(135deg, #3b4cb8 0%, #4a2c65 50%, #9c35a8 100%);
            color: var(--text-light);
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
            animation: contactFloat 30s ease-in-out infinite;
            opacity: 0.6;
        }

        .contact::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
                        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
            animation: contactPulse 6s ease-in-out infinite alternate;
        }

        /* Contact Floating Shapes */
        .contact-floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none !important;
            z-index: 1;
        }

        .contact-shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            pointer-events: none !important;
        }

        .contact-shape-1 {
            width: 70px;
            height: 70px;
            top: 15%;
            left: 8%;
            animation: contactFloatShape1 24s ease-in-out infinite;
            pointer-events: none !important;
        }

        .contact-shape-2 {
            width: 110px;
            height: 110px;
            top: 65%;
            right: 12%;
            background: rgba(255, 255, 255, 0.06);
            animation: contactFloatShape2 28s ease-in-out infinite reverse;
            pointer-events: none !important;
        }

        .contact-shape-3 {
            width: 55px;
            height: 55px;
            top: 25%;
            right: 30%;
            background: rgba(255, 255, 255, 0.1);
            animation: contactFloatShape3 20s ease-in-out infinite;
            pointer-events: none !important;
        }

        .contact-shape-4 {
            width: 90px;
            height: 90px;
            bottom: 20%;
            left: 18%;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 25px;
            animation: contactFloatShape4 26s ease-in-out infinite;
            pointer-events: none !important;
        }

        .contact-shape-5 {
            width: 35px;
            height: 35px;
            top: 12%;
            right: 45%;
            background: rgba(255, 255, 255, 0.12);
            animation: contactFloatShape5 18s ease-in-out infinite reverse;
            pointer-events: none !important;
        }

        .contact-shape-6 {
            width: 130px;
            height: 130px;
            bottom: 12%;
            right: 8%;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 35px;
            animation: contactFloatShape6 32s ease-in-out infinite;
            pointer-events: none !important;
        }

        @keyframes contactFloatShape1 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(-25px) translateX(15px) rotate(90deg); }
            50% { transform: translateY(-10px) translateX(-8px) rotate(180deg); }
            75% { transform: translateY(-35px) translateX(12px) rotate(270deg); }
        }

        @keyframes contactFloatShape2 {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
            33% { transform: translateY(20px) translateX(-15px) scale(1.05); }
            66% { transform: translateY(-15px) translateX(20px) scale(0.95); }
        }

        @keyframes contactFloatShape3 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            50% { transform: translateY(-20px) translateX(-25px) rotate(180deg); }
        }

        @keyframes contactFloatShape4 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(15px) translateX(-12px) rotate(30deg); }
            50% { transform: translateY(-8px) translateX(25px) rotate(60deg); }
            75% { transform: translateY(12px) translateX(-18px) rotate(90deg); }
        }

        @keyframes contactFloatShape5 {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
            50% { transform: translateY(-30px) translateX(15px) scale(1.15); }
        }

        @keyframes contactFloatShape6 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            33% { transform: translateY(-12px) translateX(8px) rotate(45deg); }
            66% { transform: translateY(8px) translateX(-20px) rotate(90deg); }
        }

        @keyframes contactFloat {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-15px) rotate(0.5deg); }
            66% { transform: translateY(-10px) rotate(-0.5deg); }
        }

        @keyframes contactPulse {
            0% { opacity: 0.4; }
            100% { opacity: 0.7; }
        }

        .contact-content {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .contact .section-title {
            color: var(--text-light);
            background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .contact iframe {
            border-radius: 5%;
            margin-top: 5%;
        }

        .contact a {
            display: block;
            width: 200px;
            margin: 20px auto; /* centers block elements */
            text-align: center;
            padding: 8px 12px;
        }

        

        /* Animation Classes */
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-in.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-left.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-right.animate {
            opacity: 1;
            transform: translateX(0);
        }

        /*BMI Calculator*/
        .bmi .container {
            max-width: 600px;
            margin: auto;
            background-color: #ffffff67;
            padding: 20px;
            box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            text-align: center
        }
        .bmi h1 {
            text-align: center;
            color: var(--primary-color);
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.4s forwards;
            line-height: 1.1;
            letter-spacing: -1px;
        }
        .bmi form {
            display: flex;
            flex-direction: column;
            margin-bottom: 2%;
        }
        .bmi label {
            font-weight: bold;
            margin-top: 10px;
        }
        .bmi input {
            padding: 10px;
            margin-top: 5px;
            margin-left: 5px;
            font-size: 1rem;
            border-radius: 25px;
            background-color: white;
            color: #004AAD;
            border: 0;
            margin-bottom: 2%;
        }

        .bmi .form-group .option {
            padding: 10px;
            margin-top: 5px;
            margin-left: 5px;
            font-size: 1rem;
            border-radius: 25px;
            background-color: white;
            color: #004AAD;
            border: 0;
            margin-bottom: 2%;
        }

        .bmi select, button {
            padding: 10px;
            margin-top: 10px;
            font-size: 1rem;
            cursor: pointer;
            }

        .bmi button {
            display: block;          /* 👈 important */
            margin: 5% auto; 
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            z-index: 1;
            box-shadow: var(--shadow-md);
            width: 350px;
            transition: all 0.3s ease;
        }

        .bmi button:hover {
            background-color: var(--primary-color);
            color: white;
            font-weight: bold;
            box-shadow: var(--shadow-xl);
             transform: scale(0.96);      
        }
        .bmi .result {
            margin-top: 20px;
        }
        .bmi .bmi-chart {
            margin-top: 20px;
            background-color: var(--gradient-primary);
            border-radius: 5px;
            margin-left: 20px;
        }
        .bmi .bmi-chart h3 {
            margin: 0;
            font-size: 1.2rem;
        }
        .bmi .bmi-category {
            font-weight: bold;
            margin-top: 10px;
        }
        .bmi .error {
            color: red;
            font-size: 0.9rem;
        }
        .bmi .feature-image {
            display: block;
            margin-left: auto;
            margin-right: auto;
            max-width: 100%;
            height: auto;
            margin-bottom: 20px;
            border-radius: 15px;
        }
          
        /*Self-Assessment Test*/
        .Assessment_Test .container {
            max-width: 900px;
            margin: auto;
            background-color: #ffffff67;
            padding: 20px;
            box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
            border-radius: 50px;
            text-align: center;
            z-index: 1;
            margin-bottom: 2%;
        }

        .Assessment_Test h1 {
            text-align: center;
            color: var(--primary-color);
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.4s forwards;
            line-height: 1.1;
            letter-spacing: -1px;
            z-index: 1;
        }

        .Assessment_Test form {
            display: flex;
            flex-direction: column;
            margin-bottom: 2%;
            z-index: 1;
        }

        .Assessment_Test .form-group {
            display: flex;
            flex-direction: column;
            align-items: center;   /* centers each option block */
        }

        .Assessment_Test label {
            margin-top: 10px;
            margin-bottom: 10px;
            font-weight: bolder;
            font-size: 1.2rem;
            z-index: 1;
        }
        .Assessment_Test input {
            padding: 10px;
            margin-top: 5px;
            margin-left: 5px;
            font-size: 1rem;
            border-radius: 25px;
            background-color: white;
            color: #004AAD;
            border: 0;
            z-index: 1;
        }

        .Assessment_Test span {
            padding: 10px;
            margin-top: 5px;
            margin-left: 5px;
            font-size: 0.8rem;
            color: white;
            margin-bottom: 2%;
            z-index: 1;
            font-style: italic
        }

        .Assessment_Test_button select{
            padding: 10px;
            margin-top: 10px;
            font-size: 1rem;
            cursor: pointer;
            z-index: 1;
            }

        .Assessment_Test_button {
            display: block;          /* 👈 important */
            margin: 5% auto; 
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            z-index: 1;
            box-shadow: var(--shadow-md);
            width: 350px;
            transition: all 0.3s ease;
        }

        .Assessment_Test_button:hover {
            background-color: rgba(13, 13, 195, 0.655);
            color: white;
            font-weight: bold;
            box-shadow: var(--shadow-xl);
             transform: scale(0.96);    
        }

        .Assessment_Test .result {
            margin-top: 20px;
        }
        .Assessment_Test .bmi-chart {
            margin-top: 20px;
            background-color: var(--gradient-primary);
            border-radius: 5px;
            margin-left: 20px;
        }
        .Assessment_Test .bmi-chart h3 {
            margin: 0;
            font-size: 1.2rem;
        }
        .Assessment_Test .bmi-category {
            font-weight: bold;
            margin-top: 10px;
        }
        .Assessment_Test .error {
            color: red;
            font-size: 0.9rem;
        }
        .Assessment_Test .feature-image {
            display: block;
            margin-left: auto;
            margin-right: auto;
            max-width: 100%;
            height: auto;
            margin-bottom: 20px;
            border-radius: 30px;
        }
        
        .field-error {
            border: 2px solid #e74c3c !important;
            background-color: #fff5f549;

        }

        .group-error {
            padding: 10px;
            border-radius: 6px;
            background-color: #fff5f549;
            outline: 2px solid #e74c3c;
        }


/* ===== Custom Checkbox (Bariatric surgery) ===== */

input.custom-checkbox {

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    width: 20px;
    height: 20px;
    
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    
    cursor: pointer;
    position: relative;
    
    margin-right: 8px;
    vertical-align: middle;
    
    background-color: white;
    
    transition: all 0.2s ease;
    
    }
    
    
    /* Hover effect */
    
    input.custom-checkbox:hover {
    
    box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.15);
    
    }
    
    
    /* Checked state */
    
    input.custom-checkbox:checked {
    
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    
    }
    
    
    /* Tick mark */
    
    input.custom-checkbox:checked::after {
    
    content: "";
    
    position: absolute;
    
    left: 6px;
    top: 2px;
    
    width: 5px;
    height: 10px;
    
    border: solid white;
    border-width: 0 2px 2px 0;
    
    transform: rotate(45deg);
    
    }
    
    
    /* Radio button version */
    
    input[type="radio"].custom-checkbox {
    
    border-radius: 50%;
    
    }
    
    
    /* Radio inner dot */
    
    input[type="radio"].custom-checkbox:checked::after {
    
    width: 8px;
    height: 8px;
    
    border-radius: 50%;
    
    background: white;
    
    border: none;
    
    left: 4px;
    top: 4px;
    
    transform: none;
    
    }

.form-group {
    transition: box-shadow 0.3s ease;
}

.form-group.highlight {
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.4);
    border-radius: 12px;
}


 @media (max-width: 768px) {
        .Assessment_Test h1 {
        font-size: 3rem;
        }
        .Assessment_Test .container {
        margin-top: 5%;}

        .Assessment_Test label {
            margin-top: 0;
        }
        .Assessment_Test input {
            margin-top: 0;
        }
 }
        /* Mobile Responsiveness */
        @media (max-width: 1024px) {
            .portfolio-grid {
                grid-template-columns: repeat(1, 1fr);
                gap: 2rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 4rem;
            }

            .hero h1 {
                font-size: 4rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .nav-container {
                padding: 0.5rem;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .hero .subtitle {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .container {
                padding: 0 1.5rem;
            }

            section {
                padding: 5rem 0;
            }

            .contact {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                font-size: 12px;
            }

            .contact iframe {
                width: 80%;
                margin-left: 10%;
                margin-right: 10%;
            }

            .contact a {
                width: 96%;
                text-align: center;
                margin-left: 2%;
                margin-right: 2%;
            }

            .about-text h3 {
                font-size: 2rem;
            }

            .about {
                margin-top: 2rem;
            }

            .skills {
                margin-top: 2rem;
            }
            .search-box {
                max-width: 300%;
            }
            .search-box input {
                font-size: 8px;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .nav-container {
                padding: 1rem;
            }

            .container {
                padding: 0 1rem;
            }

            .search-box {
                max-width: 300%;
            }
            .search-box input {
                font-size: 8px;
            }
        }