:root {
  --primary-light: #F8FAFC;
  --accent-blue: #2563EB;
  --nav-text: #1F2937;
  --footer-bg: #101e39;
  --footer-text: #bde6e0;
  --footer-link-hover: #2563EB;
  --text-color: #124489;
}
.text-color {
  color: var(--text-color);
}

.navbar {
  background-color: var(--primary-light);
  border-bottom: 1px solid #e2e8f0;
  /* font-family: 'Bellota'; */
}

.navbar .navbar-brand span {

  font-weight: 700;
}

.navbar .nav-link {
  color: var(--nav-text);
  font-weight: 500;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
}

/* Dropdown Styling */
.navbar .dropdown-menu {
  background-color: var(--primary-light);
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
   .navbar-nav .nav-link {
        font-weight: 500;
        color: #000;
        transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #0a217e;
    }

    .sticky-top {
        z-index: 1030;
    }

.navbar .dropdown-item {
  color: var(--nav-text);
}

.navbar .dropdown-item:hover {
  background-color: var(--accent-blue);
  color: white;
}

footer.footer-bg {
  background-color: var(--footer-bg);
  color: var(--footer-text);
}

footer.footer-bg span h5 {
  color: var(--footer-text);
}

footer.footer-bg a {
  color: var(--footer-text);
  text-decoration: none;
}

footer.footer-bg a:hover {
  color: var(--footer-link-hover);
  text-decoration: underline;
}

footer.footer-bg hr {
  border-top: 1px solid #cbd5e1;
}

.hero {
  width: 100%;
  height: 60vh;
  background-image: url('../images/herosection.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  /* font-family: 'Orbitron', sans-serif; */
  padding: 0 15px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero>div {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  max-width: 800px;
  margin: auto;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 80vh;
    padding: 20px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

.course-box {
  transition: transform 0.3s ease,
}
.heading-styled {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: #1f2937;
  position: relative;
}

@media (max-width: 576px) {
  .heading-styled {
    font-size: 1.5rem;
  }
}

.heading-styled::after {
  content: "";
  width: 60%;
  height: 3px;
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

section .fw-bold {
  font-family: 'Montserrat', sans-serif;
  color: #1e293b;
}

section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

.about-image {
  max-height: 600px;
  object-fit: cover;
  width: 70%;
}

@media (max-width: 768px) {
  .about-image {
    width: 100%;
  }
}

.cert-logo {

  object-fit: contain;
  transition: transform 0.3s ease;
}

.cert-logo:hover {
  transform: scale(1.1);
}
.typewriter {
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
  font-size: clamp(1rem, 5vw, 2rem);
  animation: typing 4s steps(40, end) forwards;
  white-space: normal;  
  display: inline-block;
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.contact-card, .branch-card {
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

input.form-control, textarea.form-control {
    border-radius: .75rem;
    padding: .75rem 1rem;
}
input.form-control,
textarea.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
}

button.btn-primary {
    background-color: #007bff;
    border: none;
}

.contact-banner {
  height: 500px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-banner {
    height: 250px;
  }
}
   .contact-page {
       background: url('../images/contact-banner0.jpg') center/cover no-repeat fixed;
        position: relative;
        z-index: 1;
    }

    .contact-overlay {
        background-color: rgba(0, 0, 0, 0.6);
        position: relative;
        z-index: 2;
        padding: 60px 0;
    }

    .contact-card {
        background-color: rgba(255, 255, 255, 0.2); 
        backdrop-filter: blur(10px);
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        color: white;
    }

    .contact-card input,
    .contact-card textarea {
        background-color: rgba(255, 255, 255, 0.8);
        color: #000;
        border: none;
    }

    .contact-card input::placeholder,
    .contact-card textarea::placeholder {
        color: #333;
    }

    .branch-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.branch-card h4 {
    font-weight: 600;
    color: #222;
}

.branch-card p {
    color: #333;
    font-size: 15px;
}

.branch-card a {
    color: #0d6efd;
    text-decoration: none;
}

.map-container iframe {
    border-radius: 10px;
}


    iframe {
        border: 0;
        width: 100%;
        height: 300px;
        border-radius: 8px;
    }

    @media (max-width: 576px) {
        iframe {
            height: 200px;
        }
    } 

.object-fit-cover {
  object-fit: cover;
}

.overflow-auto::-webkit-scrollbar {
  height: 8px;
}

.overflow-auto::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.overflow-auto::-webkit-scrollbar-track {
  background: transparent;
}

.transition-hover:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

.course-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-content {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
}

.card-overlay {
    background-color: rgba(0, 51, 102, 0.8);
    height: 75%;
    padding: 1rem;
}

.card-footer {
    background-color: #28a745;
    height: 25%;
}
.custom-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none; 
  scroll-behavior: smooth;
}

.custom-scroll::-webkit-scrollbar {
  display: none; 
}
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    filter: blur(3px) brightness(70%);
    transform: scale(1.03);
}

.gallery-hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20px);
    opacity: 0;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover .gallery-hover-text {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.scroll-box {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.scroll-content {
    animation: scroll-up 12s linear infinite;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

