        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }

        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        
/* Main Container */
.overlapping-bg{
    height: 90px;
}

/* Header */
.heading {
    background: #0F1821;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 15px 40px;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100vw;
    gap: 20px; /* Space between elements */
}

/* Logo at left */
#log-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

#log-img img {
    width: 100%;
    height: 100%;
}


/* Title */
.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.title h1 {
    font-size: .8rem;
    font-weight: 600;
    display: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nav Links */
nav {
    display: flex;
    gap: 10px;
}

.nav-link {
    display: flex;
    gap: 30px;
    margin-left: auto; /* Push nav to right */
}

.nav-link a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 8px;
    transition: 0.3s;
}
.nav-link a:hover {
    background: #facc15;
    color: #222;
    border-radius: 4px;
}

/* Menu Button (Hidden on Desktop) */
.menu-btn {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
}
.menu-btn:hover {
    color: #facc15;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -70%;
    width: 70%;
    height: 100vh;
    background: #0F1821;
    padding-top: 45px;
    transition: right 0.3s ease-in-out;
    z-index: 2000;
}

.mobile-menu.open {
    right: 0;
}

/* Vertical Menu Items */
.mobile-menu ul {
    list-style: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.032);
    transition: 0.4s ease;
    display: block;
}

.mobile-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #facc15;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 25px;
    left: 20px;
    font-size: 28px;
    cursor: pointer;
    color: white;
}
.close-btn:hover {
    color: #facc15;
}

/* Mobile View */
@media (max-width: 768px) {
    .heading {
        justify-content: space-between;
        padding: 15px 20px;
        height: 60px;
        gap: 10px;
    }
    .dark-mode .heading{
        box-shadow: 0 2px 5px rgba(202, 254, 16, 0.414);
    }
    .nav-link {
        display: none;
    }

    #log-img {
        width: 12vw;
        height: 12vw;
        max-width: 80px;
        max-height: 80px;
    }

    .title h1 {
        margin-left: 20px;
        display: block;
        padding-left: 17px;
    }

    .menu-btn {
        display: block;
        order: 2;
    }
    .reg-main-container {
        align-items: flex-start;  /* push form up */
        margin-top: 0;            /* remove negative margin hack */
    }
    .overlapping-bg{
    height: 60px;
}
}


  /* Hero Section */
  .hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
  }
  
  /* Slider Images */
  .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .hero-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .hero-slider img.active {
    opacity: 1;
  }
  
  /* Overlay Content */
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-content {
    text-align: center;
    max-width: 700px;
    padding: 20px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  .hero-overlay h1,p{
    color: #fff;
  }
  /* Buttons */
  .hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
  }
  
  .btn {
    padding: 12px 25px;
    color: #fff;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .btn:hover {
    background: #ff4d6d;
    transform: scale(1.05);
  }
  
  .btn-outline {
    background: transparent;
    border: 2px solid #fff;
  }
  
  .btn-outline:hover {
    background: #fff;
    color: #000;
  }
  
  /* Coaches Section */
  .coaches {
    padding: 60px 20px;
    text-align: center;
    background: #111;
}

.coaches h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #eab308;
    animation: fadeInDown 1s ease-in-out;
}

/* Container */
.coaches-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    background: #111;
}

/* Individual Card */
.coach-card {
    background: #f1f1f1;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    animation: fadeInUp 1s ease-in-out;
}

.coach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Coach Image */
.coach-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 4px solid #ff6600;
    transition: transform 0.4s ease-in-out;
}

.coach-card img:hover {
    transform: scale(1.05);
}

/* Text */
.coach-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
    color: #333;
}

.coach-card p {
    font-size: 1rem;
    color: #555;
    padding: 0 15px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .coaches-container {
        flex-direction: column;
        align-items: center;
    }

    .coach-card {
        width: 90%;
        max-width: 400px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hostel & Training Section */
.hostel-training {
    padding: 60px 20px;
    background: #111;
    text-align: center;
}

.hostel-training h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #facc15;
}

.facilities-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.facility-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    max-width: 350px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-8px);
}

.facility-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.facility-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #e63946;
}

.facility-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.price span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1d3557;
}

/* Responsive */
@media (max-width: 768px) {
    .facilities-container {
        flex-direction: column;
        align-items: center;
    }
    .facility-card {
        width: 90%;
    }
}

/* ===== Gallery Section ===== */
 /* ===== Performance Highlights / Gallery ===== */
.gallery {
    background: #111; /* dark background */
    color: #fff;
    text-align: center;
    padding: 50px 20px;
  }
  
  .gallery-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ffcc00;
  }
  
  .gallery-header p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #ddd;
  }
  
  /* Carousel container */
  .carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: auto;
    border-radius: 10px;
    background: #f1f1f1;
    padding: 20px;
  }
  
  /* Track for images */
  .carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
  }
  
  /* Images */
  .carousel-track img {
    width: 250px;
    height: 160px;
    object-fit: cover;
    margin: 0 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .carousel-track img:hover {
    transform: scale(1.05);
    opacity: 0.9;
  }
  
  /* Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffcc00;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    color: #111;
    transition: 0.3s;
  }
  
  .carousel-btn:hover {
    background: #fff;
    color: #000;
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
  
  /* ===== Mobile Responsive ===== */
  @media (max-width: 768px) {
    .carousel-track img {
      width: 180px;
      height: 120px;
    }
  }
  
  @media (max-width: 480px) {
    .carousel-track img {
      width: 140px;
      height: 100px;
      margin: 0 5px;
    }
  
    .gallery-header h2 {
      font-size: 1.5rem;
    }
  
    .gallery-header p {
      font-size: 0.9rem;
    }
  }


/* Registration container */
.reg-main-container {
    margin-top: 50px; /* keep desktop spacing */
    position:absolute;
    height: 140vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center; /* center vertically */
}

.registration-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.3s, color 0.3s;
}

/* Title */
.form-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Labels */
.registration-form label {
    display: block;
    margin-bottom: 12px;
    color: #444;
    font-weight: bold;
}

/* Inputs */
.form-input {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #000;
    transition: all 0.3s ease;
}

/* Hover + Focus Effects */
/* .form-input:hover,
.form-input:focus {
    border-color: #facc15;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
    outline: none;
} */

/* Button styling */
.btn-primary {
    background: #facc15;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin-top: 15px;
    width: 100%;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #eab308;
}

/* Test mode text */
.test-mode-info {
    font-size: 14px;
    margin-top: 15px;
    color: #666;
    text-align: center;
}

code {
    background: #f3f3f3;
    padding: 2px 4px;
    border-radius: 4px;
}

/* ============================
   DARK MODE
   ============================ */
body.dark-mode .registration-container {
    background: #111;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

body.dark-mode .registration-form label {
    color: #facc15;
}

body.dark-mode .form-input {
    background: #222;
    color: #fff;
    border: 1px solid #444;
}

body.dark-mode .form-input:hover,
body.dark-mode .form-input:focus {
    border-color: #facc15;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}


/* abou-us-container start */
 .about-container {
    padding: 40px 20px;
    margin: 60px auto 0 auto;
    max-width: 1200px;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-header h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #000; 
    border-bottom: 4px solid #FFD700;
    display: inline-block;
    padding-bottom: 8px;
    transition: text-shadow 0.3s ease;
}


.about-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.about-left {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-left img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(255,255,255,0.2);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-left img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #FFD700;
}

.about-right {
    flex: 2;
    min-width: 300px;
    display: grid;
    gap: 20px;
}

.about-right > div {
    background: #111; /* Dark card background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-right > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #FFD700, 0 6px 16px rgba(255,255,255,0.1);
}

.about-right h3 {
    color: #FFD700; /* Yellow headings */
    margin-bottom: 8px;
    font-size: 1.3rem;
    transition: text-shadow 0.3s ease;
}

.about-right h3:hover {
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
}

.about-right p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc; /* Light grey for readability */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    .about-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .about-header h2 {
        font-size: 1.5rem;
    }
    .about-right h3 {
        font-size: 1.1rem;
    }
}


/* dashboard */
/* Container */
.student-table-container {
    padding: 20px;
    margin-top: 70px; /* Avoid navbar overlap */
    font-family: Arial, sans-serif;
}

/* Heading */
.student-table-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Desktop Table Styling */
.student-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc; /* Outer border */
}

.student-table th,
.student-table td {
    border: 1px solid #ccc; /* Full grid lines */
    padding: 12px;
    text-align: left;
}

.student-table th {
    background-color: #facc15;
    color: #000;
    font-weight: bold;
}

.student-table tr:hover {
    background-color: #f6f6f6;
}

.student-table a {
    color: #1d4ed8;
    font-weight: bold;
    text-decoration: none;
}

.student-table a:hover {
    text-decoration: underline;
}

/* ========================= */
/*  Mobile View (Phone) for dashboard     */
/* ========================= */
@media (max-width: 768px) {
    .student-table, 
    .student-table thead, 
    .student-table tbody, 
    .student-table th, 
    .student-table td, 
    .student-table tr {
        display: block;
        width: 100%;
    }

    .student-table thead {
        display: none;
    }

    .student-table tr {
        margin-bottom: 15px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
        padding: 10px;
    }

    .student-table td {
        border: none;
        display: flex;
        justify-content: space-between;
        padding: 8px;
        font-size: 14px;
        border-bottom: 1px solid #ccc; /* Line after each row in mobile */
    }

    .student-table td::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: capitalize;
        color: #333;
    }
}
/* ===========================
   CONTACT PAGE STYLES
   =========================== */
.contact-container {
    max-width: 650px;
    margin: 120px auto 40px;
    padding: 30px 20px;
    background: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    font-family: 'Poppins', sans-serif;
}

.contact-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 5px;
    text-align: center;
}

.contact-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}

.contact-rows {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Row styling */
.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9f9f9;
    padding: 12px 18px;
    border-radius: 8px;
    transition: 0.3s ease;
    font-size: 16px;
}

.contact-row i {
    font-size: 20px;
}

.contact-row a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    width: 100%;
}

/* Hover effect */
.contact-row:hover {
    background: #eee;
    transform: translateX(4px);
}

/* Platform colors */
.contact-row.phone i { color: #0a74da; }
.contact-row.whatsapp i { color: #25D366; }
.contact-row.insta i { color: #E1306C; }
.contact-row.youtube i { color: #FF0000; }
.contact-row.email i { color: #FF5722; }
.contact-row.address i { color: #6C63FF; }

/* CTA line */
.contact-cta {
    margin-top: 20px;
    font-weight: bold;
    color: #facc15;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .contact-container {
        margin: 80px 15px 30px;
        padding: 20px;
    }

    .contact-row {
        font-size: 14px;
        padding: 10px 14px;
    }

    .contact-row i {
        font-size: 18px;
    }
}

/* ===========================
   LIGHT MODE (default)
   =========================== */

/* Mobile button styling */
.mobile-menu ul li button.dark-mode-btn {
    width: 100%;
    text-decoration: none;
    color: white;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.032);
    transition: 0.4s ease;
    display: block;
    text-align: left;
}

/* General dark mode toggle button */
.dark-mode-btn {
    background: #facc15;
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 3px 7px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    font-size: 12px;
}
.dark-mode-btn span {
    text-shadow: #000 0px 1px 3px;
}
.dark-mode-btn:hover {
    background: #eab308;
}

/* ===========================
   DARK MODE
   =========================== */
body.dark-mode {
    background-color: #000;
    color: #fff;
}

/* Headers & containers */
body.dark-mode .heading {
    background-color: #111;
    color: #fff;
    box-shadow: 0 2px 5px rgba(250, 204, 21, 0.4);
}
body.dark-mode .registration-container,
body.dark-mode .contact-container,
body.dark-mode .about-right > div,
body.dark-mode .student-table {
    background-color: #111;
    color: #fff;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.25);
    transition: all 0.3s ease;
}

/* Navbar & links */
body.dark-mode .nav-link a,
body.dark-mode .student-table a {
    color: #facc15;
}

/* Dark mode button in dark theme */
body.dark-mode .dark-mode-btn {
    background: #222;
    color: #facc15;
}
body.dark-mode .dark-mode-btn span {
    text-shadow: 0 0 6px #facc15; /* glow effect */
}

/* Mobile menu in dark mode */
body.dark-mode .mobile-menu {
    background-color: #111;
    color: #fff;
}
body.dark-mode .mobile-menu a {
    color: #facc15;
}
body.dark-mode .close-btn i {
    color: #fff;
}

/* Forms */
body.dark-mode .form-title,
body.dark-mode label {
    color: #fff;
}
body.dark-mode input {
    background-color: #1a1a1a;
    color: #facc15;
    border: 1px solid #333;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
    transition: all 0.3s ease;
}
body.dark-mode input:focus {
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.8);
    outline: none;
}

/* Tables */
body.dark-mode tr:hover {
    background-color: #333;
}

/* Hover effects for headings */
body.dark-mode h1,
body.dark-mode h2 {
    color: #fff;
}
body.dark-mode h2:hover,
body.dark-mode h1:hover {
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
    transition: text-shadow 0.3s ease;
}

/* Paragraph text */
body.dark-mode p {
    color: #c1bebe;
}
body.dark-mode .nav-link a:hover {
    color: #000;
}

/* ===========================
   CONTACT PAGE (Row Layout)
   =========================== */
body.dark-mode .contact-row {
    background: #1a1a1a;
    color: #eee;
    border: 1px solid #333;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.25);
    transition: all 0.3s ease;
}
body.dark-mode .contact-row:hover {
    background: #222;
    transform: translateX(6px);
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.6);
}

/* Keep icons colored in dark mode + glow */
body.dark-mode .contact-row.phone i { color: #0a74da; text-shadow: 0 0 8px #0a74da; }
body.dark-mode .contact-row.whatsapp i { color: #25D366; text-shadow: 0 0 8px #25D366; }
body.dark-mode .contact-row.insta i { color: #E1306C; text-shadow: 0 0 8px #E1306C; }
body.dark-mode .contact-row.youtube i { color: #FF0000; text-shadow: 0 0 8px #FF0000; }
body.dark-mode .contact-row.email i { color: #FF5722; text-shadow: 0 0 8px #FF5722; }
body.dark-mode .contact-row.address i { color: #facc15; text-shadow: 0 0 8px #facc15; }


/* === MOBILE OVERRIDE (put this LAST) === */
@media (max-width: 768px) {
  .reg-main-container {
    /* push form higher on phone */
    align-items: flex-start !important;   /* beat the base rule */
    position: absolute;                      /* keep your full-screen modal vibe */
    top: 80px;                            /* header height + a lil spacing */
    bottom: 20px;
    left: 0; right: 0;

    /* use dynamic viewport units to avoid mobile URL bar bugs */
    height: calc(108dvh - 72px);
    margin-top: 0 !important;             /* kill the desktop margin */
    padding-top: 0;
    justify-content: center;              /* center horizontally via flex parent */
  }

  .registration-container {
    margin: 0 16px;       /* comfy side padding on phones */
    width: 100%;
    max-width: 520px;     /* optional: keep it tidy */
  }
}


