:root {
    --pz-blue: #0859c5;
    --pz-blue-light: #0b72ff;
    --pz-blue-soft: #e8f1ff;
    --pz-green: #196f40;
    --pz-yellow: #f7c92b;
    --pz-dark: #333333;
    --pz-muted: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #f5f7fb;
    color: var(--pz-dark);
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--pz-blue) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: #3a3a3a !important;
    font-weight: 500;
    /* margin: 0 10px;*/
    padding: 6px 8px;
    margin: 0 6px;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--pz-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--pz-blue) !important;
}

.btn-mcq {
    background: linear-gradient(135deg, var(--pz-blue), var(--pz-blue-light));
    color: white !important; /* force white text */
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.btn-mcq:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 89, 197, 0.3);
    color: var(--pz-yellow) !important; /* yellow on hover */
}



.navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--pz-blue) 0%, var(--pz-blue-light) 35%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    background: rgba(11, 114, 255, 0.12);
    border-radius: 50%;
    top: -220px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    background: rgba(8, 89, 197, 0.1);
    border-radius: 50%;
    bottom: -160px;
    left: -140px;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero .tagline {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 40px;
    opacity: 0.97;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary-custom {
    background: var(--pz-yellow);
    color: #333;
    padding: 14px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247, 201, 43, 0.4);
    background: #ffdc5e;
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--pz-dark);
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--pz-blue), var(--pz-blue-light));
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Promotions Section */
.promo-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.promo-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.promo-content {
    padding: 22px;
}

.promo-badge {
    background: #cd085a;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.promo-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--pz-dark);
}

.promo-desc {
    color: var(--pz-muted);
    margin-bottom: 18px;
    font-size: 0.92rem;
}

.btn-promo {
    background: var(--pz-green);
    color: white;
    padding: 8px 22px;
    border-radius: 22px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.btn-promo:hover {
    background: #145232;
    transform: translateX(4px);
    color: white;
}

/* Courses Section */
.course-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.course-img {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, var(--pz-blue), var(--pz-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.7rem;
}

.course-body {
    padding: 20px;
}

.course-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--pz-dark);
}

.course-desc {
    color: var(--pz-muted);
    margin-bottom: 15px;
    font-size: 0.93rem;
}

.btn-course {
    background: var(--pz-blue);
    color: white;
    padding: 8px 18px;
    border-radius: 18px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-course:hover {
    background: #064a9e;
    color: white;
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    cursor: pointer;
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 89, 197, 0.92), rgba(11, 114, 255, 0.92));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin: 20px;
    text-align: center;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--pz-blue), var(--pz-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.testimonial-text {
    font-style: italic;
    color: var(--pz-muted);
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--pz-dark);
    margin-bottom: 4px;
}

.testimonial-course {
    color: var(--pz-blue);
    font-size: 0.9rem;
}

.stars {
    color: var(--pz-yellow);
    margin-bottom: 12px;
}

/* Team Section */
.team-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.team-img {
    width: 100%;
    height: 230px;
    background: linear-gradient(135deg, var(--pz-blue), var(--pz-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
}

.team-body {
    padding: 22px;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pz-dark);
    margin-bottom: 4px;
}

.team-role {
    color: var(--pz-blue);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.team-bio {
    color: var(--pz-muted);
    font-size: 0.93rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--pz-blue), var(--pz-blue-light));
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 34px;
}

.form-control {
    background: rgba(255, 255, 255, 0.94);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.15rem rgba(8, 89, 197, 0.25);
}

.btn-submit {
    background: var(--pz-yellow);
    color: #333;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.98rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 201, 43, 0.4);
}

.contact-info {
    padding: 34px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    font-size: 1.25rem;
}

/* MCQ Highlight strip */
.mcq-strip {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(8, 89, 197, 0.05), rgba(11, 114, 255, 0.11));
}

/* Footer */
footer {
    background: #111827;
    color: white;
    padding: 45px 0 18px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--pz-yellow);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(31, 41, 55, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-icon:hover {
    background: var(--pz-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 24px;
    margin-top: 26px;
    border-top: 1px solid rgba(55, 65, 81, 0.7);
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 90px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero .tagline {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.9rem;
    }
}
