/* Navbar ke liye CSS code: */
body{
    min-height:100vh;
    align-items:center;
    justify-content:center;
    font-family: 'Segoe UI', sans-serif;
    padding-top: 65px; /* Navbar ke liye space */
}

.nav-link.active{
    font-weight: bold;
    color:rgb(0, 0, 0) !important;
}

/* header */

.divider{
    width: 1px;
    background-color: rgb(255, 255, 255);
    height: 40px;
}

/* footer */

@media (max-width: 768px) {

  .footer-container {
    grid-template-columns: 1fr;   /* ek column */
    text-align: center;           /* text center */
  }

  .footer-box {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

}
.footer {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.footer-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #00c6ff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-box p,
.footer-box li,
.footer-box a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
  text-align: center;
}

.footer-box a:hover {
  color: #00c6ff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  background: #ffffff20;
  padding: 6px 10px;
  border-radius: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #ffffff30;
  font-size: 14px;
}


/* index style code */

section {
    padding: 0;
    margin: 0;
}

.carousel,
.carousel-inner,
.carousel-item {
    width: 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;      /* full screen height */
    object-fit: contain;  /* image stretch nahi hogi */
}

.notice-container {
  width: 100%;
  background: #ffc107;   /* yellow */
  overflow: hidden;
  padding: 10px 0;
  position: relative;
  padding-top: 20px;
}

.notice {
  display: inline-block;
  white-space: nowrap;
  font-weight: bold;
  animation: moveText 20s linear infinite;
}

@keyframes moveText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.home-intro {
    padding: 80px 20px;
    background: #f4f7fb;
    text-align: center;
}

.intro-container {
    max-width: 800px;
    margin: auto;
}

.home-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.home-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #ff5722;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
    margin-top: 20px;
}

.read-more-btn:hover {
    background: #e64a19;
    transform: scale(1.05);
}

/* branches section style code */
.branches {
    padding: 80px 20px;
    background: #f4f7fb;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 50px;
}

.branch-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.branch-card {
    width: 320px;
    height: 200px;
    background: white;
    color: #222;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s ease;
}

/* Text */
.branch-text {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.4s ease;
}

/* Google Map Icon */
.map-icon {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: 45px;
    color: #ff5722;
    transition: 0.4s ease;
}

/* Hover Effect */
.branch-card:hover {
    background: #222;
}

.branch-card:hover .branch-text {
    opacity: 0;
}

.branch-card:hover .map-icon {
    transform: translateY(-50%) scale(1);
}

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

.home-gallery {
    padding: 80px 20px;
    background: #f4f7fb;
    text-align: center;
}

.gallery-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: #222;
}

.slider {
    position: relative;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    height: 400px;
}

.slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slides img {
    width: 100%;
    flex-shrink: 0;
    height: 450px;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }


/* register karne wali card ke liye CSS code: */
.registration-section {
  padding: 80px 20px;
  background: linear-gradient(to right, #f8f9fa, #eef1f4);
  text-align: center;
}

.reg-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-top: 50px;
}

.reg-text {
  max-width: 700px;
  margin: auto;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.benefits {
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  font-weight: 500;
  transition: 0.3s;
}

.benefit-box:hover {
  transform: translateY(-5px);
}

.reg-highlight {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

.reg-btn {
  text-decoration: none;
  display: inline-block;
  background: rgb(255, 123, 0);
  color: rgb(0, 0, 0);
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  animation: bounceShake 1.2s infinite, pulse 0.6s infinite;
}

.btns {
  text-decoration: none;
  display: inline-block;
  background: rgb(255, 123, 0);
  color: rgb(0, 0, 0);
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  animation: bounceShake 1.2s infinite, pulse 0.6s infinite;
}

/* Bounce + Shake */
@keyframes bounceShake {
  0%, 100% { 
    transform: translateY(0) translateX(0); 
  }

  20% { 
    transform: translateY(-12px) translateX(-3px); 
  }

  40% { 
    transform: translateY(0) translateX(3px); 
  }

  60% { 
    transform: translateY(-6px) translateX(-3px); 
  }

  80% { 
    transform: translateY(0) translateX(3px); 
  }
}

/* hostel css */
.hostel-info {
    padding: 60px 20px;
    text-align: center;
    background: #f4f9ff;
}

.hostel-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #003366;
}

.subtitle {
    color: gray;
    margin-bottom: 40px;
}

.hostel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.hostel-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.hostel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* youtube index ke liye CSS code: */
.training-video-section {
    padding: 60px 0;
}

.training-heading {
    color: #000000;
    font-weight: 600;
    letter-spacing: 1px;
}

.video-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* about page styling code */

.about-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f1f5f9;
    padding: 80px 10%;
    font-family: 'Poppins', sans-serif;
}

.about-section h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: #38bdf8;
}

.about-content h2 {
    margin-top: 40px;
    color: #38bdf8;
}

.about-content p {
    line-height: 1.8;
    margin-top: 15px;
    font-size: 17px;
    color: #cbd5e1;
}

.about-content ul {
    margin-top: 15px;
    line-height: 1.8;
}

.join-btn-container {
    text-align: center;
    margin-top: 50px;
}

.join-btn {
    padding: 15px 40px;
    margin-bottom: 50px;
    background: yellow;
    color: rgb(0, 0, 0);
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    animation: bounceShake 1.4s infinite, pulse 0.6s infinite;
    transform: 0.3s ease;
}

@media(max-width:768px){
    .about-section{
        padding:50px 5%;
    }
}


/* contact page styling code */
/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Hero Section */
.hero.small {
    padding: 60px 20px;
    text-align: center;
    color: rgb(0, 0, 0);
    animation: fadeDown 1.2s ease;
}

.hero.small h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero.small p {
    font-size: 16px;
    opacity: 0.9;
}

/* Contact Section Card */
.contact {
    background: white;
    margin-top: -40px;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: fadeUp 1.2s ease;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 40px;
}

.cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Form Styling */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-form label {
    font-weight: 500;
}

.feedback-form input,
.feedback-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.3s;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: #2a5298;
    box-shadow: 0 0 8px rgba(42,82,152,0.3);
    outline: none;
}

/* Button */
.con-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1e3c72;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.con-btn:hover {
    background: #2a5298;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Muted Text */
.muted {
    color: #666;
    font-size: 14px;
}

/* Contact Details */
.contact h2 {
    margin-top: 0;
    color: #1e3c72;
}

/* Success Message */
#fbStatus {
    margin-top: 10px;
    font-weight: 500;
    color: green;
    animation: fadeIn 0.5s ease;
}

/* Animations */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .contact {
        padding: 25px;
    }

    .hero.small h1 {
        font-size: 28px;
    }
}

/* whatsapp and call */
.fixed-contact {
    position: fixed;
    left: 10px;
    bottom: 2px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fixed-contact a {
  text-decoration: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(17, 17, 17);
    font-size: 22px;
    transition: 0.3s ease;
}

/* WhatsApp - bottom */
.whatsapp {
    bottom: 0;
    background: #25D366;
    animation: pulse 1.5s infinite;
}

/* Call - just above whatsapp */
.call {
    bottom: 0;
    background: #ff5722;
    animation: pulse 1.5s infinite;
}

/* Continuous Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,0,0,0.4);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(0,0,0,0);
    }
    100% {
        transform: scale(1);
    }
}

/* gallery css code */
.gallery-container {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        padding: 0 10px;
    }
    .gallery-card {
        width: 220px;
        height: 220px;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        cursor: pointer;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .gallery-card:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }
    .gallery-card img { width: 100%; height: 100%; object-fit: cover; }

    /* Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0; top: 0;
        width: 100%; height: 100%;
        justify-content: center;
        align-items: center;
        background: rgba(0,0,0,0.85);
    }
    .modal-wrapper { position: relative; max-width: 90%; max-height: 90%; }
    .modal img { width: 100%; height: auto; border-radius: 10px; }
    .close-btn { position: absolute; top: -10px; right: -10px; font-size: 30px; color: white; cursor: pointer; }


/* patna page ke liye CSS code: */

/* HERO */
.patna-hero{
    height:100vh;
    background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6));
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    width: 100%;

}

.patna-hero h1{
    font-size:50px;
    font-weight:700;
}

.patna-btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 30px;
    background:#ff4b2b;
    color:white;
    border-radius:30px;
    text-decoration:none;
    transition:0.3s;
}

.patna-btn:hover{
    background:#ff1e00;
}

/* ABOUT */
.patna-wrapper{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    padding: 50px;
    gap:40px;
}


/* FACILITIES */
.patna-facilities{
    padding:80px 10%;
    background:#ffffff;
    text-align:center;
}

.patna-card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    margin-top:40px;
}

.patna-card{
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.4s;
}

.patna-card:hover{
    transform:translateY(-10px);
}

.patna-card i{
    font-size:40px;
    color:#0d6efd;
}

/* HOSTEL */
.patna-hostel{
    padding:80px 10%;
    background:#f9fbff;
    text-align:center;
}

.patna-hostel-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-top:40px;
}

/* QUOTE */
.patna-quote{
    padding:80px 10%;
    text-align:center;
    background:linear-gradient(135deg,#141e30,#243b55);
    color:white;
}

/* MAP */
.patna-map{
    padding:80px 10%;
    text-align:center;
}

.patna-map iframe{
    width:100%;
    height:350px;
    border-radius:20px;
    border:none;
}