/* Global Font */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;

}

/* Top Bar */
.top-bar {
    background: black;
    color: white;
    padding: 6px;
    font-size: 14px;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #000000, #004aad);
}

.nav-link {
    color: white !important;
    font-weight: 500;
}

/* ================= HERO SECTION (UPDATED) ================= */

.hero {
    min-height: 0vh; /* Full screen */
    background: linear-gradient(135deg, #000000, #0d6efd);
    color: white;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* Big Heading */
.hero h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* Sub text */
.hero p {
    font-size: 20px;
    margin: 25px 0;
    color: #ddd;
    max-width: 500px;
}

/* Hero Buttons Container */
.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Primary Button */
.btn-custom {
    background:#0d6efd;
    color: #ffffff;
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: white;
    box-shadow: 0 8px 20px rgba(255, 60, 60, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

 /*Hover Effect */
.btn-custom:hover {
    background: #0a58ca;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.6);
}

 /*Optional Secondary Button (if needed) */
.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #ff3c3c;
}

/* Hero Image */
.hero-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero .row {
        flex-direction: column-reverse;
    }
}

/* Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ================= SERVICES ================= */

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.badge-off {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0d6efd;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 10;
}

.price {
    color: red;
    font-weight: bold;
}

/* Buttons FIX */
.btn-group-custom {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-group-custom .btn {
    flex: 1;
}

/* ================= HEADING ================= */

.main-heading {
    font-size: 48px;
    font-weight: 800;
}

.main-heading span {
    color: #0d6efd;
}

.sub-heading {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
    color: #555;
}

/* ================= WHATSAPP ================= */

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 15px;
    background: #25D366;
    color: white;
    padding: 12px;
    border-radius: 50%;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media(max-width:992px){
    .hero h1 {
        font-size: 48px;
    }
}

/* Mobile */
@media(max-width:768px){

    .hero {
        text-align: center;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
        margin: 15px auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-img {
        margin-top: 30px;
        max-width: 300px;
    }

 .btn-group-custom {
    flex-direction: row;
}
}

/* Small Mobile */
@media(max-width:480px){
    .hero h1 {
        font-size: 28px;
    }
}

/* ================= FOOTER TOP ================= */
.footer-top {
    background: linear-gradient(90deg, #000, #004aad);
    padding: 15px 0;
    color: white;
}

.footer-top h5 {
    margin: 0;
    font-weight: 600;
}

.footer-top span {
    color: #ffd700;
    font-weight: 700;
}

/* Brochure Button */
.btn-brochure {
    background: #222;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-brochure:hover {
    background: red;
}

/* ================= MAIN FOOTER ================= */
.footer {
    background: #000;
    color: white;
    padding: 60px 0;
}

.footer h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #ccc;
    cursor: pointer;
    transition: 0.3s;
}

.footer ul li i {
    color: red;
    margin-right: 8px;
}

/* Hover Effect */
.footer ul li:hover {
    color: white;
    transform: translateX(5px);
}

/* Contact Text */
.footer p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 12px;
}

/* ================= BOTTOM ================= */
.footer-bottom {
    background: #111;
    color: #aaa;
    padding: 10px 0;
    font-size: 14px;
}



/* ================= SEO SECTION (UPDATED THEME MATCH) ================= */

.seo-section {
    background: #f8f9fa;
}

.seo-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid red;
}

.seo-title {
    font-weight: 800;
    font-size: 32px;
    color: #000;
}

.seo-intro {
    color: #555;
    max-width: 800px;
    margin: auto;
}

/* FEATURES */
.feature-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid #eee;
}

.feature-box i {
    font-size: 28px;
    color: #0d6efd;
    margin-bottom: 10px;
}

.feature-box:hover {
    background: linear-gradient(135deg, #000, #0a58ca);
    color: #fff;
    transform: translateY(-5px);
}

.feature-box:hover i {
    color: #fff;
}

/* COURSE CARDS */
.course-box {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    height: 100%;
    transition: 0.3s;
    border: 1px solid #eee;
}

.course-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
}

.course-box i {
    color: #0d6efd;
    margin-right: 8px;
}

.course-box:hover {
    background: linear-gradient(135deg, #000, #0a58ca);
    color: #fff;
    transform: translateY(-5px);
}

.course-box:hover h3 {
    color: #fff;
}

.course-box:hover i {
    color: #fff;
}

/* ENROLL BUTTON */
.enroll-btn {
    background: linear-gradient(90deg, #0d6efd, #004aad);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.enroll-btn:hover {
    background: #000;
    color: #fff;
}

.card-img {
    position: relative;
    overflow: hidden;
}

.card-img img {
    transition: 0.4s;
}

.service-card:hover .card-img img {
    transform: scale(1.1);
}

/* ================= WHATSAPP PREMIUM ================= */

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 15px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s;
    text-decoration: none;
}

/* Hover Effect */
.whatsapp:hover {
    transform: scale(1.1);
    background: #000;
}

/* Pulse Animation */
.whatsapp::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* ================= MOBILE BUTTON IMPROVEMENT ================= */

@media (max-width: 768px) {

    /* Service card buttons smaller */
    .btn-group-custom .btn {
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 6px;
    }

    /* Keep buttons in a row but compact */
    .btn-group-custom {
        gap: 6px;
    }

    /* Optional: reduce spacing inside cards */
    .card-body {
        padding: 15px;
    }

    /* WhatsApp floating button smaller */
    .whatsapp {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 15px;
        right: 12px;
    }
}

@media (max-width: 480px) {

    .btn-group-custom {
        flex-direction: row;   /* ✅ FIXED */
    }

    .btn-group-custom .btn {
        width: 100%;
        font-size: 13px;
        padding: 8px;
    }
}

/* ================= CLEAN FOOTER MOBILE FIX ================= */

@media (max-width: 768px) {

    /* Stack columns vertically */
    .footer .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer .col-lg-3,
    .footer .col-md-6 {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 25px;
    }

    /* Headings */
    .footer h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    /* UL reset */
    .footer ul {
        padding: 0;
        margin: 0;
    }

    /* PERFECT ALIGNMENT FIX */
    .footer ul li {
        display: flex;
        justify-content: center;   /* center content */
        align-items: center;
        gap: 8px;                 /* space between icon & text */
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* Icon */
    .footer ul li i {
        font-size: 12px;
        margin: 0;
    }

    /* Contact text */
    .footer p {
        text-align: center;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* Footer top fix */
    .footer-top .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}

.hero-video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.footer {
  background: #111;
  color: #fff;
  padding: 40px 0;
  font-family: Arial, sans-serif;
}

.footer h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer p {
  font-size: 14px;
  margin-bottom: 10px;
}
.footer i {
  margin-right: 8px;
}


/* ===== FORCE FOOTER LINK FIX ===== */

.footer a,
.footer a:link,
.footer a:visited,
.footer a:active {
    color: #ccc !important;
    text-decoration: none !important;
}

.footer a:hover {
    color: #0d6efd !important;
}


.logo {
    height: 60px;
    width: auto; /* maintain aspect ratio */
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* FORCE FULL SCREEN OVERLAY */
#popupForm {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.7) !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  z-index: 999999 !important;
}

/* POPUP BOX CENTER */
.popup-box {
  background: #ffffff !important;
  width: 350px !important;
  padding: 30px !important;
  border-radius: 10px !important;
  text-align: center !important;
  position: relative !important;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute !important;
  top: 10px !important;
  right: 15px !important;
  font-size: 22px !important;
  cursor: pointer !important;
}

/* ===== POPUP FIX FINAL ===== */
#popupForm {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.7) !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  z-index: 999999 !important;
}

/* POPUP BOX */
#popupForm .popup-box {
  background: #fff !important;
  width: 350px !important;
  max-width: 90% !important;
  padding: 30px !important;
  border-radius: 10px !important;
  text-align: center !important;
  position: relative !important;
}

/* FORCE FORM VERTICAL */
#popupForm form {
  display: flex !important;
  flex-direction: column !important;
}

/* INPUT FULL WIDTH */
#popupForm input {
  width: 100% !important;
  padding: 12px !important;
  margin: 8px 0 !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
}

/* BUTTON FIX */
#popupForm button {
  width: 100% !important;
  padding: 12px !important;
  background: #0d6efd !important;
  color: #fff !important;
  border: none !important;
  border-radius: 25px !important;
}

/* CLOSE BUTTON */
#popupForm .close-btn {
  position: absolute !important;
  top: 10px !important;
  right: 15px !important;
  font-size: 22px !important;
  cursor: pointer !important;
}