/* ===============================
   RESET & BASE TYPOGRAPHY
================================*/
*{ box-sizing:border-box; }
body{
    margin:0;
    font-family:"Inter", Arial, Helvetica, sans-serif;
    background:#f5f7fb;
    color:#1e293b;
    line-height:1.65;
}
.container{
    max-width:1150px;
    margin:auto;
    padding:20px;
}

/* ======================================
   SUPER STYLISH – INNOVATIVE TOPBAR
======================================*/
.topbar{
  background:linear-gradient(90deg,#0a1638,#1465ff,#7b8dff);





    color:white;
    padding:8px 0;
    font-size:15px;
    position:relative;
    overflow:hidden;
}

/* Animated shine line */
.topbar::after{
    content:"";
    position:absolute;
    top:0;
    left:-200px;
    width:200px;
    height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,0.4),transparent);
    animation:shine 3s infinite;
}
@keyframes shine{
    0%{ left:-200px; }
    100%{ left:120%; }
}

.topbar-inner{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:32px;
    position:relative;
    z-index:2;
}

/* Stylish Bubbled Icon */
.top-icon{
    background:rgba(255,255,255,0.25);
    padding:5px 9px;
    border-radius:50%;
    backdrop-filter:blur(4px);
    box-shadow:0 0 10px rgba(255,255,255,0.4);
    font-size:14px;
}

/* Stylish item */
.top-item{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    letter-spacing:0.3px;
    transition:0.3s;
    opacity:0.9;
}
.top-item:hover{
    opacity:1;
    transform:translateY(-2px);
}

/* Animated glowing divider */
.top-divider{
    width:2px;
    height:18px;
    background:linear-gradient(#fff,#e2e2e2);
    box-shadow:0 0 6px rgba(255,255,255,0.8);
    animation:blink 2s infinite;
}
@keyframes blink{
    0%,100%{ opacity:1; }
    50%{ opacity:0.4; }
}

/* Mobile */
@media(max-width:700px){
    .topbar-inner{
        flex-direction:column;
        gap:10px;
    }
    .top-divider{
        display:none;
    }
}


/* ===============================
   SIDEBAR (Clean & Modern)
================================*/
.sidebar{
    width:230px;
    background:#1e293b;
    color:white;
    height:100vh;
    position:fixed;
    left:0;
    top:0;
    padding:22px;
    border-right:1px solid #0f172a;
}
.sidebar a{
    color:#e2e8f0;
    padding:10px 0;
    display:block;
    font-size:15px;
    text-decoration:none;
    transition:0.2s;
}
.sidebar a:hover{
    color:white;
    background:#334155;
    padding-left:8px;
    border-radius:6px;
}
.content{
    margin-left:250px;
    padding:30px;
}

/* ===============================
   CARDS
================================*/
.card{
    background:white;
    padding:24px;
    border-radius:12px;
    margin-bottom:20px;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
}

/* ===============================
   HERO (Premium)
================================*/
.hero{
    background:linear-gradient(120deg,#0b5cff,#5f9bff);
    padding:80px 0;
    color:white;
}
.hero-inner{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}
.hero-left{
    flex:1;
}
.hero-left h1{
    font-size:44px;
    line-height:1.2;
    margin-bottom:18px;
    font-weight:700;
}
.hero-left p{
    font-size:18px;
    opacity:0.95;
    margin-bottom:28px;
}

/* ---- Search Bar (Professional) ---- */
.search-form{
    display:flex;
    background:white;
    border-radius:10px;
    padding:4px;
    width:500px;
    max-width:100%;
    box-shadow:0 4px 20px rgba(0,0,0,0.12);
}
.search-form input{
    flex:1;
    padding:14px 16px;
    font-size:16px;
    border:0;
    outline:none;
    border-radius:8px;
}
.search-form button{
    padding:10px 18px;
    background:#0634ff;
    border:none;
    color:white;
    border-radius:8px;
    font-size:14px;
    cursor:pointer;
    transition:0.25s;
}
.search-form button:hover{
    background:#0528c4;
}

/* ---- Hero Card ---- */
.hero-card{
    background:white;
    color:#1e293b;
    padding:22px;
    width:270px;
    border-radius:14px;
    box-shadow:0 4px 22px rgba(0,0,0,0.12);
}

/* ===============================
   BUTTONS (Premium)
================================*/
.btn{
    padding:12px 22px;
    border-radius:8px;
    font-weight:600;
    text-decoration:none;
    transition:0.25s;
}
.btn-primary{
    background:white;
    color:#073bff;
}
.btn-primary:hover{
    background:#e6ebff;
}
.btn-outline{
    border:2px solid rgba(255,255,255,0.6);
    color:white;
    background:transparent;
}
.btn-outline:hover{
    background:rgba(255,255,255,0.15);
}

/* ===============================
   COURSE GRID
================================*/
.course-grid{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}
.course-card{
    background:white;
    padding:22px;
    width:260px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.06);
    transition:0.25s;
}
.course-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 26px rgba(0,0,0,0.10);
}
.course-card h3{
    margin-bottom:12px;
    font-size:20px;
}

/* ===============================
   CATEGORIES
================================*/
.cat-grid{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}
.cat{
    background:white;
    padding:14px 18px;
    border-radius:10px;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
    font-weight:600;
}

/* ===============================
   FEEDBACK
================================*/
.feedback-grid{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}
.feedback-form{
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 4px 20px rgba(0,0,0,0.07);
    flex:1 1 300px;
}
.feedback-form textarea{
    width:100%;
    height:120px;
    border-radius:8px;
    border:1px solid #d1d5db;
    padding:14px;
    resize:none;
}

/* ===============================
   FOOTER
================================*/
.footer{
    background:#0f172a;
    color:#dbeafe;
    padding:20px;
    text-align:center;
    margin-top:40px;
}

/* ===============================
   RESPONSIVE
================================*/
@media(max-width:768px){
    .hero-inner{
        flex-direction:column;
        text-align:center;
    }
    .search-form{
        width:100%;
    }
    .content{
        margin-left:0;
    }
    .sidebar{
        width:100%;
        height:auto;
        position:relative;
    }
}
/* ============================
   PROFESSIONAL COURSE CARDS
============================ */
.popular-courses{
    margin:50px 0;
}

.section-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:25px;
    text-align:left;
    color:#0f172a;
}

.course-grid-pro{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
}

/* Course Card */
.course-card-pro{
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 6px 24px rgba(0,0,0,0.08);
    transition:0.3s ease;
    cursor:pointer;
}
.course-card-pro:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* Image */
.course-card-pro img{
    width:100%;
    height:160px;
    object-fit:cover;
}

/* Info */
.course-info{
    padding:18px;
}
.course-info h3{
    margin:0 0 8px;
    font-size:20px;
    font-weight:700;
    color:#0f172a;
}
.course-info p{
    margin:0 0 15px;
    color:#475569;
    font-size:15px;
}

/* Button */
.course-btn{
    display:inline-block;
    padding:10px 16px;
    background:#0b5cff;
    color:white;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:0.3s ease;
}
.course-btn:hover{
    background:#0947cc;
}
/* ===============================
   TOP CATEGORIES – PROFESSIONAL
================================*/
.top-categories{
    margin:50px 0;
}

.cat-grid-pro{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:22px;
}

/* Category Card */
.cat-card-pro{
    background:white;
    padding:22px 18px;
    border-radius:14px;
    text-align:center;
    box-shadow:0 4px 18px rgba(0,0,0,0.07);
    transition:0.25s ease;
    cursor:pointer;
}
.cat-card-pro:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* Icon */
.cat-icon{
    font-size:40px;
    margin-bottom:10px;
}

/* Text */
.cat-card-pro p{
    margin:0;
    font-size:17px;
    font-weight:600;
    color:#0f172a;
}
/* ===============================
   NEW COURSES – PREMIUM UI
================================*/
.new-course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
    gap:22px;
    margin-top:20px;
}

.new-course-card{
    background:white;
    padding:22px;
    border-radius:16px;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
    transition:0.3s ease;
    position:relative;
}

.new-course-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 28px rgba(0,0,0,0.12);
}

/* NEW Badge */
.new-badge{
    position:absolute;
    top:14px;
    right:14px;
    background:linear-gradient(135deg,#ff0066,#ff7b00);
    color:white;
    padding:5px 12px;
    font-size:12px;
    border-radius:20px;
    font-weight:600;
}

.new-course-card h3{
    margin:8px 0 6px;
    font-size:20px;
    color:#0f172a;
    font-weight:700;
}

.new-course-card p{
    margin:0 0 15px;
    color:#475569;
    font-size:15px;
}

/* Button */
.new-btn{
    display:inline-block;
    padding:10px 16px;
    background:#0b5cff;
    color:white;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:0.25s;
}

.new-btn:hover{
    background:#093fcc;
}
/* ===============================
   EXPLORE CERTIFICATES – PREMIUM
================================*/
.certificate-pro-card{
    background:white;
    padding:32px;
    border-radius:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    box-shadow:0 6px 24px rgba(0,0,0,0.08);
    transition:0.3s ease;
    border:1px solid #e2e8f0;
}

.certificate-pro-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* Left side text */
.cert-left h2{
    font-size:28px;
    margin-bottom:10px;
    color:#0f172a;
    font-weight:700;
}
.cert-left p{
    font-size:16px;
    color:#475569;
    margin-bottom:18px;
    max-width:520px;
    line-height:1.6;
}

/* Button */
.cert-btn{
    display:inline-block;
    padding:12px 20px;
    background:#0b5cff;
    color:white;
    font-size:15px;
    font-weight:600;
    border-radius:10px;
    text-decoration:none;
    transition:.25s;
}
.cert-btn:hover{
    background:#093fcc;
}

/* Right Side Icon */
.cert-right{
    display:flex;
    justify-content:center;
    align-items:center;
}
.cert-icon{
    font-size:70px;
    background:linear-gradient(135deg,#0b5cff,#6aa6ff);
    color:white;
    padding:22px;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,0.10);
}
  
/* Responsive */
@media(max-width:768px){
    .certificate-pro-card{
        flex-direction:column;
        text-align:center;
    }
    .cert-icon{
        font-size:60px;
    }
}
/* ===============================
   PREMIUM LIVE STATS
================================*/
.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    gap:24px;
    text-align:center;
}

.stat-pro{
    background:white;
    padding:28px 20px;
    border-radius:16px;
    box-shadow:0 6px 22px rgba(0,0,0,0.08);
    transition:0.3s ease;
}
.stat-pro:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 28px rgba(0,0,0,0.12);
}

/* Icon Circle */
.stat-icon{
    font-size:34px;
    width:70px;
    height:70px;
    margin:auto;
    margin-bottom:14px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#0b5cff,#6aa6ff);
    color:white;
    box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

/* Number */
.stat-num{
    font-size:32px;
    font-weight:800;
    color:#0b5cff;
    margin-bottom:6px;
}

/* Label */
.stat-label{
    color:#475569;
    font-size:15px;
    font-weight:600;
}
/* =======================================
   FEEDBACK — 2 COLUMN PROFESSIONAL STYLE
=======================================*/
.feedback-section{
    margin:50px 0;
}

/* Grid */
.feedback-pro-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

/* LEFT: Form Card */
.feedback-pro-form{
    background:white;
    padding:24px;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,0.06);
}
.feedback-pro-form h3{
    margin-bottom:6px;
    font-size:22px;
    font-weight:700;
}
.feedback-pro-form p{
    color:#475569;
    margin-bottom:20px;
}
.feedback-pro-form input,
.feedback-pro-form textarea{
    width:100%;
    padding:12px 14px;
    margin-bottom:14px;
    border-radius:10px;
    border:1px solid #d1d5db;
    font-size:15px;
}

/* submit button */
.fb-btn{
    width:100%;
    padding:12px 16px;
    background:#0b5cff;
    border:none;
    color:white;
    border-radius:10px;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    transition:0.25s;
}
.fb-btn:hover{
    background:#093fcc;
}

/* RIGHT: Feedback list */
.feedback-pro-list{
    background:white;
    padding:24px;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,0.06);
    max-height:420px;
    overflow-y:auto;
}
.feedback-pro-list h3{
    margin-bottom:15px;
    font-size:22px;
    font-weight:700;
}

/* Individual feedback item */
.feedback-item{
    background:#f8fafc;
    padding:14px;
    border-left:4px solid #0b5cff;
    border-radius:8px;
    margin-bottom:14px;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
}
.feedback-item strong{
    display:block;
    font-size:15px;
    margin-bottom:6px;
    color:#0f172a;
}
.feedback-item p{
    color:#475569;
    margin:0;
    font-size:14px;
}

/* Responsive */
@media(max-width:768px){
    .feedback-pro-grid{
        grid-template-columns:1fr;
    }
}
/* ===============================
   NEWSLETTER – Premium UI
================================*/
.newsletter{
    margin:60px 0;
}

.newsletter-inner{
    background:white;
    padding:28px 32px;
    border-radius:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    box-shadow:0 6px 24px rgba(0,0,0,0.08);
    border:1px solid #e2e8f0;
}

/* Left text */
.newsletter-inner h3{
    margin:0 0 6px;
    font-size:24px;
    color:#0f172a;
    font-weight:700;
}
.newsletter-inner p{
    color:#475569;
    margin:0;
    font-size:15px;
}

/* Right: Form */
.newsletter-form{
    display:flex;
    gap:10px;
    background:#f1f5f9;
    padding:6px;
    border-radius:12px;
    box-shadow:inset 0 2px 6px rgba(0,0,0,0.05);
}

.newsletter-form input{
    padding:12px;
    font-size:15px;
    border:none;
    border-radius:10px;
    width:230px;
    outline:none;
    background:white;
}

.newsletter-form button{
    padding:12px 20px;
    background:linear-gradient(135deg,#0b5cff,#6aa6ff);
    color:white;
    font-size:14px;
    font-weight:600;
    border:none;
    border-radius:10px;
    cursor:pointer;
    transition:0.25s ease;
}

.newsletter-form button:hover{
    background:linear-gradient(135deg,#093fcc,#4b84ff);
}

/* Mobile responsive */
@media(max-width:768px){
    .newsletter-inner{
        flex-direction:column;
        text-align:center;
    }

    .newsletter-form{
        width:100%;
        justify-content:center;
    }

    .newsletter-form input{
        width:100%;
    }
}
/* ======================================
   FULL WEBSITE RESPONSIVE FIXES
======================================*/

/* -------- GLOBAL -------- */
@media(max-width:768px){

    .container{
        width:94%;
        padding:16px;
    }

    body{
        font-size:15px;
        line-height:1.45;
    }
}

/* -------- SIDEBAR FIX -------- */
@media(max-width:900px){
    .sidebar{
        width:100%;
        height:auto;
        position:relative;
        padding:15px;
    }
    .content{
        margin-left:0 !important;
        padding:20px;
    }
}

/* -------- HERO SECTION -------- */
@media(max-width:768px){

    .hero{
        padding:60px 0;
        text-align:center;
    }

    .hero-inner{
        flex-direction:column;
        gap:30px;
    }

    .hero-left h1{
        font-size:32px;
    }

    .search-form{
        width:100% !important;
    }
}

/* -------- COURSE GRID -------- */
@media(max-width:768px){

    .course-grid, .course-grid-pro, .new-course-grid{
        grid-template-columns:1fr !important;
        display:grid !important;
        gap:20px;
    }

    .course-card, .course-card-pro, .new-course-card{
        width:100% !important;
    }
}

/* -------- CATEGORY GRID -------- */
@media(max-width:768px){
    .cat-grid, .cat-grid-pro{
        grid-template-columns:1fr 1fr !important;
        gap:14px;
    }
    .cat-card-pro{
        padding:18px;
    }
}

/* -------- CERTIFICATE SECTION -------- */
@media(max-width:768px){
    .certificate-pro-card{
        flex-direction:column;
        text-align:center;
        gap:20px;
    }
    .cert-icon{
        font-size:55px !important;
        padding:18px !important;
    }
}

/* -------- LIVE STATS -------- */
@media(max-width:768px){
    .stats-grid{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }
    .stat-pro{
        padding:20px;
    }
}

/* -------- TESTIMONIALS -------- */
@media(max-width:768px){
    .testi-slider{
        padding:0 5px;
    }
}

/* -------- FEEDBACK SECTION -------- */
@media(max-width:768px){
    .feedback-pro-grid{
        grid-template-columns:1fr;
        gap:20px;
    }
    .feedback-pro-list{
        max-height:300px;
    }
}

/* -------- NEWSLETTER SECTION -------- */
@media(max-width:768px){
    .newsletter-inner{
        flex-direction:column;
        text-align:center;
        gap:20px;
    }

    .newsletter-form{
        width:100% !important;
        justify-content:center;
        flex-direction:column;
    }

    .newsletter-form input{
        width:100% !important;
    }

    .newsletter-form button{
        width:100%;
    }
}

/* -------- FOOTER -------- */
@media(max-width:768px){
    .footer{
        font-size:14px;
        padding:14px;
    }
}
/* ============================================
   FULL PAGE RESPONSIVE FIX (WORKS 100%)
===============================================*/

/* Global container fix */
@media(max-width:768px){
  .container{
    width:100% !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }
}

/* HERO SECTION FIX */
@media(max-width:768px){
  .hero-inner{
    flex-direction:column !important;
    text-align:center;
    gap:30px !important;
  }
  .hero-left h1{
    font-size:30px !important;
    line-height:1.3;
  }
  .search-form{
    width:100% !important;
  }
  .hero-right{
    width:100%;
    display:flex;
    justify-content:center;
  }
  .hero-card{
    width:100% !important;
    max-width:350px;
  }
}

/* POPULAR COURSES FIX */
@media(max-width:768px){
  .course-grid-pro{
    grid-template-columns:1fr !important;
  }
  .course-card-pro{
    width:100% !important;
  }
}

/* TOP CATEGORIES FIX */
@media(max-width:768px){
  .cat-grid-pro{
    grid-template-columns:repeat(2,1fr) !important;
    gap:12px !important;
  }
}

/* NEW COURSES FIX */
@media(max-width:768px){
  .new-course-grid{
    grid-template-columns:1fr !important;
  }
}

/* CERTIFICATE SECTION FIX */
@media(max-width:768px){
  .certificate-pro-card{
    flex-direction:column !important;
    text-align:center;
    gap:20px !important;
  }
  .cert-icon{
    font-size:60px !important;
    padding:18px !important;
  }
}

/* LIVE STATS FIX */
@media(max-width:768px){
  .stats-grid{
    grid-template-columns:repeat(2,1fr) !important;
    gap:14px !important;
  }
  .stat-pro{
    padding:20px !important;
  }
}

/* FEEDBACK SECTION FIX */
@media(max-width:768px){
  .feedback-pro-grid{
    grid-template-columns:1fr !important;
    gap:20px !important;
  }
}

/* NEWSLETTER FIX */
@media(max-width:768px){
  .newsletter-inner{
    flex-direction:column !important;
    text-align:center !important;
    gap:20px !important;
  }
  .newsletter-form{
    width:100% !important;
    flex-direction:column !important;
  }
  .newsletter-form input,
  .newsletter-form button{
    width:100% !important;
  }
}

/* Remove sidebar influence (because not on this page) */
.content{
  margin-left:0 !important;
}
/* ===========================
   GLOBAL RESET + BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f7f8fc;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 70px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #111;
}

/* Buttons */
.btn,
.course-btn,
.new-btn,
.cert-btn,
.fb-btn {
  background: #005eff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-block;
  transition: 0.3s;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover,
.course-btn:hover,
.new-btn:hover,
.cert-btn:hover,
.fb-btn:hover {
  background: #0041c9;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #005eff;
  padding: 10px 20px;
  border-radius: 8px;
  color: #005eff;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #005eff;
  color: #fff;
}

/* ===========================
     HERO SECTION
=========================== */
.hero {
  background: linear-gradient(135deg, #005eff, #00b7ff);
  padding: 100px 0;
  color: #fff;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-left h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Search Bar */
.search-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.search-form input {
  padding: 12px;
  border-radius: 8px;
  border: none;
  width: 250px;
}

.search-form button {
  padding: 12px 20px;
  border-radius: 8px;
  background: #fff;
  color: #005eff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.search-form button:hover {
  background: #e6e6e6;
}

/* HERO CARD */
.hero-card {
  background: rgba(255,255,255,0.15);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  color: #fff;
  width: 280px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ===========================
     POPULAR COURSES
=========================== */
.course-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.course-card-pro {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.course-card-pro:hover {
  transform: translateY(-6px);
}

.course-card-pro img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.course-info {
  padding: 18px;
}

/* ===========================
     TOP CATEGORIES
=========================== */
.cat-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
}

.cat-card-pro {
  background: #fff;
  padding: 20px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s;
}

.cat-card-pro:hover {
  transform: translateY(-6px);
}

.cat-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

/* ===========================
      NEW COURSES
=========================== */
.new-course-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.new-course-card {
  width: 280px;
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  transition: 0.3s;
}

.new-course-card:hover {
  transform: translateY(-6px);
}

.new-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff0048;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
}

/* ===========================
      CERTIFICATE
=========================== */
.certificate-pro-card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.cert-icon {
  font-size: 70px;
  background: #005eff;
  color: #fff;
  padding: 25px;
  border-radius: 50%;
}

/* ===========================
      STATS
=========================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.stat-pro {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stat-icon {
  font-size: 36px;
}

.stat-num {
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0;
}

/* ===========================
    FEEDBACK SECTION
=========================== */
.feedback-pro-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.feedback-pro-form,
.feedback-pro-list {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 48%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.feedback-pro-form input,
.feedback-pro-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}

#feedback-list div {
  background: #f1f5ff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* ===========================
      NEWSLETTER
=========================== */
.newsletter-inner {
  display: flex;
  justify-content: space-between;
  background: #005eff;
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  flex-wrap: wrap;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px;
  border-radius: 8px;
  border: none;
}

/* ===========================
      ABOUT PAGE
=========================== */
.about-grid {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ===========================
      GALLERY
=========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ===========================
      CONTACT PAGE
=========================== */
.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-details {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 40%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form {
  width: 55%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}
/* ===========================
   ADMISSION FORM
=========================== */

.admission-form {
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: 0.3s;
  background: #f9f9ff;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
  border-color: #005eff;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,94,255,0.2);
  outline: none;
}

.admission-form button {
  background: #005eff;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.admission-form button:hover {
  background: #003fcc;
  transform: translateY(-2px);
}
/* ===========================
   CONTACT PAGE FORM
=========================== */

.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* Left Card */
.contact-details {
  width: 40%;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.contact-details h3 {
  margin-bottom: 15px;
}

.contact-details p {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Form Card */
.contact-form {
  width: 55%;
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 15px;
  background: #f9f9ff;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: #005eff;
  box-shadow: 0 0 6px rgba(0,94,255,0.2);
  outline: none;
}

.contact-form button {
  background: #005eff;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.contact-form button:hover {
  background: #003fcc;
  transform: translateY(-2px);
}
/* ===============================
   MOBILE RESPONSIVE FIXES
   =============================== */
@media (max-width: 768px) {

  /* ---------- GLOBAL ---------- */
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 15px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 22px;
    text-align: center;
  }

  /* ---------- TOPBAR ---------- */
  .topbar-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .top-divider {
    display: none;
  }

  /* ---------- HERO ---------- */
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .hero-left h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .search-form {
    flex-direction: column;
    gap: 10px;
  }

  .search-form input {
    width: 100%;
  }

  .search-form button {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
  }

  .hero-right {
    width: 100%;
  }

  .hero-card {
    width: 100%;
  }

  /* ---------- POPULAR COURSES ---------- */
  .course-grid-pro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .course-card-pro img {
    width: 100%;
    height: auto;
  }

  /* ---------- CATEGORIES ---------- */
  .cat-grid-pro {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .cat-card-pro {
    padding: 15px;
    font-size: 14px;
  }

  /* ---------- NEW COURSES ---------- */
  .new-course-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ---------- CERTIFICATE ---------- */
  .certificate-pro-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cert-right {
    justify-content: center;
  }

  /* ---------- STATS ---------- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-num {
    font-size: 24px;
  }

  /* ---------- FEEDBACK ---------- */
  .feedback-pro-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feedback-pro-form,
  .feedback-pro-list {
    width: 100%;
  }

  /* ---------- NEWSLETTER ---------- */
  .newsletter-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}
button, a {
  min-height: 44px;
}
html, body {
  overflow-x: hidden;
}
/* ================= CONTACT PAGE ================= */

.contact{
    background:#f6f8ff;
}

.contact-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:40px;
    align-items:flex-start;
}

/* LEFT DETAILS */
.contact-details h3{
    margin-top:0;
    font-size:22px;
}

.contact-details p{
    font-size:15px;
    line-height:1.6;
    margin:10px 0;
}

/* FORM */
.contact-form{
    background:#fff;
    padding:30px;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px 14px;
    margin-bottom:15px;
    border-radius:8px;
    border:1px solid #ddd;
    font-size:15px;
    font-family:inherit;
}

.contact-form textarea{
    resize:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:#4364F7;
}

/* BUTTON */
.contact-form button{
    width:100%;
    padding:14px;
    border-radius:30px;
    font-size:16px;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

    .contact-grid{
        grid-template-columns: 1fr;
        gap:25px;
    }

    .section-title{
        font-size:24px;
        text-align:center;
    }

    .contact-details{
        text-align:center;
    }

    .contact-details h3{
        font-size:20px;
    }

    .contact-form{
        padding:22px;
    }
}

/* ===== STATIC BUTTONS (NO HOVER EFFECT) ===== */

/* keep normal button look */
.static-btn{
    transition: none !important;
}

/* freeze hover state */
.static-btn:hover,
.static-btn:focus,
.static-btn:active{
    background: unset !important;
    color: unset !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
}
/* keep normal button look */
.lock-btn{
    transition: none !important;
}

/* ================= HERO CTA BUTTONS (NEW, CLEAN) ================= */

.hero-cta{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

/* REGISTER BUTTON */
.cta-register{
    display:inline-block;
    padding:14px 30px;
    border-radius:30px;
    background:#4364F7;
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    border:none;
    cursor:pointer;
}

/* LOGIN BUTTON */
.cta-login{
    display:inline-block;
    padding:14px 30px;
    border-radius:30px;
    background:transparent;
    color:#4364F7;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    border:2px solid #4364F7;
    cursor:pointer;
}

/* ❌ NO HOVER EFFECTS AT ALL */
.cta-register:hover,
.cta-login:hover{
    background:inherit;
    color:inherit;
    box-shadow:none;
    transform:none;
    opacity:1;
}

/* ================= FINAL CTA RESET (OVERRIDES ALL OLD STYLES) ================= */

/* FULL RESET */
.hero .hero-cta a.cta-register,
.hero .hero-cta a.cta-login{
    all: revert;
    display:inline-block;
    font-family:'Poppins', sans-serif;
    text-decoration:none;
    cursor:pointer;
}

/* REGISTER */
.hero .hero-cta a.cta-register{
    padding:14px 32px;
    border-radius:30px;
    background:#4364F7;
    color:#ffffff;
    font-size:16px;
    font-weight:600;
}

/* LOGIN */
.hero .hero-cta a.cta-login{
    padding:14px 32px;
    border-radius:30px;
    background:transparent;
    color:#4364F7;
    font-size:16px;
    font-weight:600;
    border:2px solid #4364F7;
}

/* FORCE SAME LOOK ON HOVER / ACTIVE */
.hero .hero-cta a.cta-register:hover,
.hero .hero-cta a.cta-login:hover,
.hero .hero-cta a.cta-register:active,
.hero .hero-cta a.cta-login:active{
    background:unset;
    color:unset;
    transform:none;
    box-shadow:none;
}
/* ===============================
   HERO CTA – REGISTER / LOGIN
================================ */

.hero-cta{
    display:flex;
    gap:18px;
    margin-top:25px;
    flex-wrap:wrap;
}

/* COMMON BUTTON BASE */
.hero-cta a{
    text-decoration:none;
    font-weight:600;
    padding:14px 28px;
    border-radius:14px;
    transition:all .25s ease;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:180px;
    letter-spacing:0.3px;
}

/* REGISTER BUTTON (Primary) */
.cta-register{
    background:linear-gradient(135deg,#5b4bff,#7c6cff);
    color:#fff;
    box-shadow:0 10px 25px rgba(91,75,255,.35);
}

.cta-register:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(91,75,255,.45);
}

/* LOGIN BUTTON (Glass / Outline) */
.cta-login{
    background:rgba(255,255,255,0.12);
    color:#5b4bff;
    border:2px solid #5b4bff;
    backdrop-filter:blur(6px);
}

.cta-login:hover{
    background:#5b4bff;
    color:#fff;
    transform:translateY(-3px);
}

/* ===============================
   MOBILE DESIGN (UNIQUE)
================================ */

@media(max-width:768px){

    .hero-cta{
        flex-direction:column;
        gap:14px;
        width:100%;
    }

    .hero-cta a{
        width:100%;
        padding:16px;
        font-size:16px;
        border-radius:12px;
    }

    /* Mobile Register – full bold */
    .cta-register{
        box-shadow:none;
        background:linear-gradient(135deg,#4f46e5,#6366f1);
    }

    /* Mobile Login – soft card */
    .cta-login{
        border:none;
        background:#ffffff;
        color:#4f46e5;
        box-shadow:0 6px 18px rgba(0,0,0,.12);
    }
}
