* {
    box-sizing: border-box !important;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif !important;
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    color: white !important;
	overflow-x: hidden; /* 🔥 prevents horizontal scroll */
}

/* HEADER */
header {
    text-align: center;
    padding: 30px;
}

header h1 {
    font-size: 32px;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* reduced */
    z-index: 1000;
    flex-wrap: wrap; /* 🔥 prevents overflow */
}

/* LOGO */
.logo {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.navbar-brand img{
	width: 14%;
}


@media (max-width: 768px) {
    .navbar-brand img {
        width: 80px;
    }
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #ff4b2b;
}

/* CTA BUTTON */
.cta-btn {
    padding: 10px 18px;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}


/* CONTAINER */
.container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* TABLE */
/* 🔥 PREMIUM TABLE RESTORE */
.premium-table {
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
    color: white;
	width: 100% !important;
    min-width: 900px; /* 🔥 prevents compression */
}

.premium-table th {
    background: rgba(0,0,0,0.7) !important;
    color: white !important;
	white-space: nowrap;
}

.premium-table td {
    background: transparent !important;
}

.premium-table th,
.premium-table td {
    padding: 18px 12px !important; /* 🔥 bigger cells */
    font-size: 16px;
	color: white !important;
	font-weight: bold;
}

/* ROW HOVER */
.premium-table tr {
    transition: 0.3s ease;
}

.premium-table tr:hover {
    background: rgba(255,255,255,0.12) !important;
}

/* 🔥 PREMIUM BUTTON */
.premium-btn {
    background: linear-gradient(45deg, #ff416c, #ff4b2b) !important;
    border: none !important;
    color: white !important;
    transition: 0.3s ease;
	 padding: 10px 0;
    font-size: 14px;
    white-space: nowrap;
}


.premium-btn:hover {
    box-shadow: 0 5px 15px rgba(255,75,43,0.5);
}

/* BUTTON */
button {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}




/* POPUP BACKGROUND */
.popup {
    display: none;
    position: fixed;   /* 🔥 IMPORTANT */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    
    display: flex;              /* 🔥 CENTERING MAGIC */
    justify-content: center;
    align-items: center;
    
    z-index: 9999;              /* 🔥 always on top */
}

/* FORM BOX */
.form-box {
    background: white;
    color: black;
    width: 320px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;

    position: relative; /* for close button */
    animation: popupFade 0.3s ease;
}

/* ANIMATION */
@keyframes popupFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}



/* POPUP */
/* POPUP OVERLAY */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: none;              /* hidden by default */
    justify-content: center;    /* horizontal center */
    align-items: center;        /* vertical center */

    background: rgba(0,0,0,0.7);
    z-index: 9999;
}

/* SHOW POPUP */
.popup.active {
    display: flex !important;   /* 🔥 force center */
}

/* FORM BOX */
.form-box {
    background: white;
    color: black;
    width: 90%;
    max-width: 350px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;

    position: relative;
    animation: popupFade 0.3s ease;
}


@media (max-width: 576px) {
    h1 {
        font-size: 22px;
    }

    .form-box input {
        font-size: 14px;
    }
}

/* Coming soon special styling */
#comingSoonPopup .form-box {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
    color: white;
}

#comingSoonPopup button {
    background: white;
    color: #ff5e62;
    font-weight: bold;
}

.form-box input {
    width: 90%;
    margin: 8px;
    padding: 10px;
}

.close {
    float: right;
    cursor: pointer;
}

/* SEO Section Premium */
.seo-content {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    display:block;
}

/* Headings */
.seo-content h2 {
    margin-bottom: 15px;
     font-weight: 700;
    color: chartreuse;
    text-align: center;
    text-transform: uppercase;
}


.seo-content h3 {
    margin-top: 20px;
    color: #fff700;
    font-weight: 700;
}

/* Lists */
.seo-content ul {
    padding-left: 18px;
}

.seo-content li {
    margin-bottom: 8px;
}

/* FAQ Premium */

.faq{
    display:block;
}

.section-title {
    font-weight: 700;
    color: chartreuse;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .section-title {
        text-align: left;
    }
}


.faq-box {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.faq-box:hover {
    transform: translateY(-3px);
}

.faq-box h5{
    font-weight:800;
}

/* Course Cards */
.course-card{
    border:none;
	height: -webkit-fill-available;
    border-radius:20px;
    transition:0.3s;
    box-shadow:0 15px 35px rgba(0,0,0,0.1);
}
.course-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,0.2);
}

@media (max-width: 576px) {
.course-card{
    height: auto;
}
}

.course-card img{
	border-radius:30px;
	margin-bottom:5%;
}

.course{
    display:block !important;
}




/* FOOTER */
.footer {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-img img {
    width: 30%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-img p {
    text-align: justify;
    margin: 7%;
}

footer li {
    margin: 7% 0;
}

/* HEADINGS */
.footer h4, 
.footer h5 {
    margin-bottom: 15px;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff4b2b;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 15px;
    font-size: 14px;
    color: #aaa;
}