/* ===== GLOBAL STYLING ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

body {
    line-height: 1.6;
    background: #f5f8ff;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
    height: 60px;
    width: 100%;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.9);
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #4d7aff;
}

.logo img {
    max-height: 140px;
    width: auto;
    padding-top: 10px;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #4d7aff, #6600ff);
    color: white;
    padding: 60px;
    /* flex-wrap: wrap; */
    gap: 40px;
    padding-top: 80px;
    position: relative;
    overflow: hidden; /* keep bubbles inside section */
}

/* Two layers of soft moving sparkles/bubbles */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: 0;
    background-repeat: repeat;
    pointer-events: none;
}

/* Layer 1: Small bright sparkles */
.hero::before {
    background-image: radial-gradient(rgba(255,255,255,0.35) 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    animation: floatBubbles1 30s ease-in-out infinite;
}

/* Layer 2: Larger faint bubbles */
.hero::after {
    background-image: radial-gradient(rgba(255,255,255,0.07) 3px, transparent 3px);
    background-size: 120px 120px;
    animation: floatBubbles2 45s ease-in-out infinite reverse;
}
/* Floating motion */
/* Subtle floating keyframes with slight multi-direction movement */
@keyframes floatBubbles1 {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(15px, -10px); }
    50%  { transform: translate(0, -20px); }
    75%  { transform: translate(-15px, -10px); }
    100% { transform: translate(0, 0); }
}

@keyframes floatBubbles2 {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-20px, 15px); }
    50%  { transform: translate(0, 25px); }
    75%  { transform: translate(20px, 15px); }
    100% { transform: translate(0, 0); }
}

@keyframes smoothPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 15px 0;
}



.hero-buttons .btn {
    padding: 14px 35px;
    background: white;
    color: #4d7aff;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn:hover {
    background: #ffa154;
    color: white;
}

.hero-image img {
    max-width: 420px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
    position: relative;
    animation: smoothPulse 8s ease-in-out infinite;
}

@keyframes smoothPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* ===== WHY EDUORA ===== */
.why {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 15px;
    width: 260px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.card i {
    font-size: 2.2rem;
    color: #4d7aff;
    margin-bottom: 12px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* ===== STEPS ===== */
.steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin: 60px auto;
    max-width: 900px;
}

.steps::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 40px;
    right: 70px;
    height: 4px;
    background: linear-gradient(to right, #4d7aff, #6600ff);
    z-index: 0;
    border-radius: 10px;
}

.step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.circle {
    margin-left: 40px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4d7aff, #6600ff);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.label {
    margin-top: 10px;
    max-width: 120px;
}

/* ===== UNIVERSITIES ===== */
.universities {
    text-align: center;
    padding: 50px 20px;
}

.partners img {
    padding-top: 20px;
    height: 100px;
    transition: transform 0.3s ease;
    gap: 10px;
}

.partners img:hover {
    transform: scale(1.1);
}

/* ===== CTA ===== */
.cta {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #4d7aff, #6600ff);
    color: white;
    border-radius: 15px;
    margin: 40px 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: fadeSlideUp 1s ease-out forwards;
    overflow: hidden; /* Keep bubbles inside */
}

/* Gradient Animation Effect */
.cta::before {
    /* Keep original CTA glow background */
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 20%, transparent 70%);
    animation: rotateGlow 8s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.cta::after {
    /* Layer multiple backgrounds: gradient flow + bubbles */
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        /* Small bright bubbles */
        radial-gradient(rgba(255,255,255,0.35) 1.5px, transparent 1.5px),
        /* Large faint bubbles */
        radial-gradient(rgba(255,255,255,0.07) 3px, transparent 3px),
        /* Original moving gradient overlay */
        linear-gradient(-45deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    background-size: 
        50px 50px,      /* Small bubbles */
        120px 120px,    /* Large bubbles */
        400% 400%;      /* Gradient overlay */
    background-repeat: repeat, repeat, no-repeat;
    pointer-events: none;
}

/* Text & Buttons Above Animation */
.cta h2, .cta p, .cta-buttons {
    position: relative;
    z-index: 2;
}

/* Button Glow on Hover */
.cta-buttons .btn {
    background-color: white;
    color: #4d7aff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease, box-shadow 0.5s ease;
    font-size: 1rem;
}
.cta-buttons .btn:hover {
    background: #ffa154;
    color: white;
    box-shadow: 0 0 20px rgba(255, 161, 84, 0.8);
}

/* Entrance Animation */
@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Rotating Glow Effect */
@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Moving Gradient Overlay */
@keyframes bgFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ===== ABOUT US ===== */
.aboutus {
    background: #eaf2ff;
    padding: 40px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 30px;
    /* flex-wrap: wrap; */
}

.about-container img {
    max-width: 300px;
    border-radius: 12px;
}

.our-vision h2 {
    text-align: center;
    margin-top: 20px;
}

/* ===== MBA JOB ===== */
.mbajob {
    padding: 40px 20px;
}

.mbajob h2 {
    text-align: center;
    margin-bottom: 20px;
}

.mbajobcontent {
    display: flex;
    gap: 20px;
    /* flex-wrap: wrap; */
    align-items: center;
}

.mbajobcontent img {
    max-width: 300px;
    border-radius: 10px;
}

/* ===== FOOTER ===== */
.footer {
    position: relative; /* Needed for pseudo-elements to attach here */
    overflow: hidden;   /* Keeps bubbles inside footer */
    background: linear-gradient(135deg, #4d7aff, #6600ff);
    color: white;
    padding-top: 40px;
    width: 100%;
}

.footer-top{
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    display: flex;
    justify-content:space-around;
    position: relative;
    z-index: 1;
}

.footer::before,
.footer::after {
    position: absolute;
    content: "";
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    pointer-events: none;
}

.footer::before {
    background-image: radial-gradient(rgba(255,255,255,0.35) 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    animation: floatBubbles1 30s ease-in-out infinite;
    z-index: 0;
}

.footer::after {
    background-image: radial-gradient(rgba(255,255,255,0.07) 3px, transparent 3px);
    background-size: 120px 120px;
    animation: floatBubbles2 45s ease-in-out infinite reverse;
    z-index: 0;
}

/* Ensure footer text stays on top */
/* .footer-top, .footer-bottom {
    position: relative;
    z-index: 1;
} */


.footer-col.map-col iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}


.menu-toggle {
    display: none;
    gap: 15px;
}


/* yaha se hero section ka animation start hai */
.animated-text {
    font-size: 3.5rem;
    display: inline-block;
    animation: pulseColorScale 2s infinite ease-in-out;
}

.animated-t {
    font-size: large;
    
    color: #4d7aff;
    display: inline-block;
    /* animation: pulseColorScale1 2s infinite ease-in-out; */
}

@keyframes pulseColorScale1 {
    0% {
        transform: scale(1);
        color: white;
        text-shadow: none;
    }
    50% {
        transform: scale(1.05);
        color: #4d7aff;
        text-shadow: 0 0 15px rgba(255, 166, 0, 0.308);
    }
    100% {
        transform: scale(1);
        color: white;
        text-shadow: none;
    }
}

@keyframes pulseColorScale {
    0% {
        transform: scale(1);
        color: white;
        text-shadow: none;
    }
    50% {
        transform: scale(1.05);
        color: orange;
        text-shadow: 0 0 15px rgba(255, 166, 0, 0.308);
    }
    100% {
        transform: scale(1);
        color: white;
        text-shadow: none;
    }
}




/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Navbar container */
    .navbar {
        padding: 10px 0px;
        height: 50px;
        position: fixed;
        align-items: center;
    }

    /* Logo bigger on mobile */
    .logo img {
        max-height: 150px;
        width: auto;
        margin-right: 320px;
    }

    /* Menu toggle (hamburger) */
    .menu-toggle {
        display: block;
        font-size: 20px;
        /* smaller than before */
        cursor: pointer;
        color: #041341;
        margin-left: auto;
        z-index: 1100;
        /* padding-left: 190px; */
    }

    /* Hide desktop nav, show mobile dropdown */
    .navbar nav {
        width: 100%;
    }
    .navbar ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.98);
        padding: 0; /* pehle padding 0 rakho, open hote time add hoga */
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        text-align: center;
    
        /* Animation ke liye */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s ease;
    }

    .navbar ul.show {
        max-height: 300px; /* jitna dropdown ka height approx hai */
        opacity: 1;
        padding: 15px 0;
    }

    /* Menu links */
    .navbar a {
        font-size: 1rem;
        color: #333;
        padding: 10px 0;
        width: 100%;
    }

    /* Hero Section Mobile Fix */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-text ul {
        font-size: 0.95rem;
        padding-left: 0;
        list-style-position: inside;
    }

    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .hero-image img {
        margin-top:20px;
        max-width: 80%;
        height: auto;
        border-radius: 12px;
    }

    /* About & MBA job sections mobile */
    .about-container {
        flex-direction: column;
    }

    .mbajobcontent {
        flex-direction: column;
    }

    /* Steps section mobile */
    .steps {
        flex-direction: column;
        gap: 30px;
    }

    .steps::before {
        display: none;
    }
    .footer-col.map-col iframe {
       margin-top: 30px;
    }
}



