:root {
    --ep-bg: radial-gradient(1200px 600px at 10% -10%, #e8f3ff 0%, transparent 60%),
        radial-gradient(1000px 600px at 110% 10%, #fff1f3 0%, transparent 55%),
        #0b1020;
    --ep-card-bg: rgba(255, 255, 255, 0.08);
    --ep-card-border: rgba(255, 255, 255, 0.15);
    --ep-text: #f3f6ff;
    --ep-accent: #5dd6ff;
    --ep-accent-2: #9b5cff;
}

body {
    font-family: 'Poppins', sans-serif;
    /* or 'Open Sans', sans-serif */
    padding-top: 58px;
    background: linear-gradient(135deg, #e3f2fd, #f1f8ff);
    /* font-family: 'Segoe UI', sans-serif; */
}

a {
    text-decoration: none;
}

/* header */
header .navbar {
    background: #2548b2;
    /* height: 5px; */
}

.navbar-nav .nav-link {
    position: relative;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 15px;
}

/* Active menu item */
.navbar-nav .nav-link.active {
    color: #eb6d70;
    /* Blue active color */
    font-weight: 600;
}

/* Hover effect underline animation */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #eb6d70;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: #eb6d70;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at center, #5dd6ff40, transparent 70%);
    top: -80px;
    right: -80px;
    z-index: 0;
}

.hero .content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.3;
}

.hero h1 span {
    color: #007bff;
}

.hero p {
    font-size: 1.1rem;
    color: #333;
}

.steps span {
    font-weight: 600;
    margin: 0 8px;
    color: #007bff;
}

.card-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: fadeUp 1s ease forwards;
    transform: translateY(30px);
    opacity: 0;
}

/* modal css */
.modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: none;
}

.modal-title {
    font-size: 1.5rem;
    color: #0d6efd;
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    transition: 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #198754, #28a745);
    border: none;
    font-weight: 600;
}

.btn-success:hover {
    background: linear-gradient(135deg, #157347, #218838);
}

.modal {
    z-index: 1055 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

.modal-backdrop.show {
    display: none;
}

.modal.show .modal-dialog {
    margin-top: 61px;
}

/* modal end */

.card-box h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

.btn-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    padding: .7rem 1rem;
    border-radius: .7rem;
    font-size: 1rem;
    transition: transform .3s ease, box-shadow .3s ease;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.btn-green {
    background: #0f9d58;
    color: #fff;
    transition: all ease-in-out 0.5s;
}

.btn-blue {
    background: #1967d2;
    color: #fff;
    transition: all ease-in-out 0.5s;
}

@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero img {
    max-width: 100%;
    border-radius: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* header end */
/* CTA Button Custom Styling */
/* .navbar .btn-primary {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border: none;
    transition: all 0.3s ease-in-out;
}

.navbar .btn-primary:hover {
    background: linear-gradient(90deg, #00c6ff, #007bff);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
} */

/* cta button end */

.exam-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 15px;
    height: 300px;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.highlight-badge {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    color: white;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
}

.glow-badge {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #ff7b00, #00c6ff);
    background-size: 300% 300%;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    animation: shine 3s linear infinite, glow 1.5s ease-in-out infinite alternate;
    box-shadow: 0 0 6px rgba(255, 0, 87, 0.6);
}

/* Background gradient animation */
@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glowing pulse effect */
/* @keyframes glow {
  from { box-shadow: 0 0 6px rgba(255, 0, 87, 0.6); }
  to   { box-shadow: 0 0 18px rgba(255, 123, 0, 0.9); }
} */

.search-box {
    max-width: 500px;
    margin: 20px auto;
}

.exam-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
}

.color {
    background: #1c85b5e8;
    color: #fff;
}

.color:hover {
    border: 1px solid #1c85b5e8;
    background: #fff;
}

.outline {
    border: 1px solid #1c85b5e8;
    background: #fff;
    color: #000;
}

.outline:hover {
    background: #1c85b5e8;
    color: #fff;
}

section.firstsec {
    padding: 40px 0;
    position: relative;
    background: aliceblue;
    /* z-index: -1; */
    /* animation: slideLeft 8s linear infinite; */
}

section.firstsec h2 {
    line-height: 48px;
    font-size: 28px;
}

section.firstsec:before {
    content: '';
    position: absolute;
    background: url('../images/bg.png');
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    top: 0;
}

section.firstsec ul li {
    list-style: none;
    display: inline-block;
    padding: 0 0 0 33px;
}

.arrow {
    position: relative;
}

.arrow:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 10px solid #1c85b5e8;
    border-bottom: 5px solid transparent;
    left: 18px;
    top: 8px;
}

section.examList {
    padding: 60px 0;
}

.gmail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* background: linear-gradient(45deg, #ea4335, #fbbc05, #34a853, #4285f4); */
    color: #000;
    background: #fff;
    border: 1px solid #000 !important;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.gmail-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.gmail-icon {
    width: 28px;
    height: 28px;
}

.g-card {
    width: fit-content;
}

.key-highlights {
    background: #f9fbfd;
}

.key-highlights i {
    color: green;
}

.key-highlights h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.key-highlights h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 8px auto 0;
    border-radius: 2px;
}

.highlight-card {
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
}

.highlight-card .icon {
    font-size: 2.5rem;
    color: #007bff;
}

.impact-banner {
    background: #1c85b5e8;
    border-radius: 0 0 30px 30px;
    padding: 60px 0;
}

.impact-banner h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.impact-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* How It Works */
.how-it-works h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.how-it-works h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 8px auto 0;
    border-radius: 2px;
}

.how-it-works i {
    color: green;
}

.step-card {
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
    /* height: 248px; */
    height: fit-content;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
}

.step-card .icon {
    font-size: 2.5rem;
    color: #007bff;
}

.exams-we-cover {
    background: #f9fbfd;
}

.exams-we-cover i {
    color: green;
}

/* Section Title */
.exams-we-cover h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.exams-we-cover h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Exam Cards */
.exam-card {
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.exam-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
}

.exam-card .icon {
    font-size: 2.5rem;
    color: #007bff;
}

.features-section {
    background: #fff;
    padding: 60px 0;
}

.features-section h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.features-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    background: #f9fbfd;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: #007bff;
}

/* Disabled CTA */
.btn.disabled,
.btn:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.impact-section {
    background: #f9fbfd;
    padding: 60px 0;
}

.impact-section h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.impact-section h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #007bff;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Stat Cards */
.stat-card {
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 1.8rem;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-left: 5px solid #007bff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.1);
}

.testimonial-card .quote {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
}

.resources-section {
    background: #ffffff;
    padding: 60px 0;
}

.resources-section h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.resources-section h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #28a745;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-section {
    padding: 60px 0;
}

.contact-section {
    padding: 60px 0;
}

/* Resource Cards */
.resource-card {
    background: #f9fbfd;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.resource-card h5 {
    margin-top: 10px;
}

.resource-card p {
    font-size: 0.95rem;
}

.about-card {
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #28a745;
    box-shadow: 0 0 6px rgba(40, 167, 69, 0.2);
}

.footer {
    background: url('../images/photo-1529070538774-1843cb3265df.jpg') no-repeat center center/cover;
    position: relative;
}

.footer-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px 0;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.social-icon {
    color: #ddd;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #fff;
    transform: scale(1.2);
}

/*  */
.ep-section {
    position: relative;
    overflow: clip;
    padding: clamp(3rem, 6vw, 6rem) 0;
    isolation: isolate;
    background: var(--ep-bg);
    color: var(--ep-text);
}

.ep-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(40rem 20rem at 20% 10%, rgba(93, 214, 255, 0.2), transparent 60%),
        radial-gradient(35rem 18rem at 80% 0%, rgba(155, 92, 255, 0.18), transparent 65%);
    filter: blur(20px);
}

.ep-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(90deg, rgba(93, 214, 255, .15), rgba(155, 92, 255, .15));
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(6px);
    padding: .375rem .75rem;
    border-radius: 999px;
    font-weight: 600;
    color: #e8f1ff;
}

.ep-title {
    font-weight: 800;
    letter-spacing: .2px;
    background: linear-gradient(180deg, #ffffff, #cfe6ff 65%, #b3bff7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ep-subtitle {
    color: #cfe0ff;
}

.ep-card {
    background: var(--ep-card-bg);
    border: 1px solid var(--ep-card-border);
    border-radius: 1.25rem;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    transform: translateY(18px) scale(.98);
    opacity: 0;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .8s ease, box-shadow .3s ease, border-color .3s ease;
}

.ep-card.reveal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ep-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
    border-color: rgba(93, 214, 255, .45);
}

.ep-icon {
    font-size: 1.9rem;
    line-height: 1;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: .9rem;
    background: linear-gradient(145deg, rgba(93, 214, 255, .18), rgba(155, 92, 255, .18));
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 0 20px rgba(93, 214, 255, .15);
}

.ep-card h3 {
    font-size: 1.05rem;
    margin: .9rem 0 .35rem;
    color: #fff;
}

.ep-card p {
    color: #dbe6ff;
    margin: 0;
    font-size: .98rem;
}

/* Fancy underline on title */
.ep-underline {
    position: relative;
    display: inline-block;
    color: #1c85b5e8;
}

.ep-underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.25rem;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--ep-accent), var(--ep-accent-2));
    opacity: .35;
    filter: blur(2px);
}

/* Stagger setup */
[data-delay] {
    transition-delay: var(--d, 0ms);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .ep-card,
    .ep-card.reveal {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* journey */

.student-journey {
    padding-bottom: 4rem;
    padding-top: 2rem;
    padding-top: 6rem;
}

.sj-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sj-header h2 {
    font-weight: 700;
    font-size: 2rem;
    color: #333;
}


.step-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}


.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}


.step-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.icon-top {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.4rem;
    background: green;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.card-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #6a5cff, #ff6a6a);
    border-radius: 3px;
    margin-top: auto;
}

.custom-btn {
    display: inline-block;
    /* display: none; */
    align-items: center;
    gap: 8px;
    background: #2548b2;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 92, 255, 0.3);
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 92, 255, 0.4);
    text-decoration: none;
}

.custom-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(106, 92, 255, 0.25);
}


/* live */
.live-date {
    font-size: 2rem;
    font-weight: bold;
    color: #ff4b5c;
    text-align: center;
    animation: fadeScale 1s ease-out, pulse 1.5s infinite ease-in-out 1s;
}

@keyframes fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 8px rgba(255, 75, 92, 0.5);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 15px rgba(255, 75, 92, 0.7);
    }
}

/* responsive */
@media (max-width: 470px) {
    .mob-view {
        display: none;
    }

    .disc-list {
        margin-left: 38px !important;
    }

    section.firstsec:before {
        display: none;
    }

    section.firstsec ul li {
        padding: 0 0 0 26px;
    }

    .arrow:before {
        left: 12px;
    }

    .g-card {
        width: 100%;
    }

    .mar-top {
        margin-top: 10px;
    }

    section.firstsec ul li {
        font-size: 12px;
    }

    .arrow:before {
        top: 5px;
    }
}

@media (max-width: 1060px) {
    section.firstsec:before {
        display: none;
    }

    section.firstsec ul li {
        padding: 0 0 0 26px;
    }

    .arrow:before {
        left: 12px;
    }

    .g-card {
        width: 100%;
    }

    .mar-top {
        margin-top: 10px;
    }

    section.firstsec ul li {
        font-size: 12px;
    }

    .arrow:before {
        top: 5px;
    }
}