/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* === COURSE GRID === */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.course-card {
  background-color: #f2f7fc;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.course-card h3 {
  color: #d62828;
  font-size: 22px;
  margin-bottom: 10px;
}
.course-card p {
  color: #333;
  font-size: 16px;
}
.course-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap:wrap;
}
.read-more-btn,
.enroll-btn {
  background-color: #003366;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor:pointer;
}
.read-more-btn {
      background-color: #003366;
      color: white;
    }

    .read-more-btn:hover {
      background-color: #002244;
    }
 .enroll-btn {
      background-color: #d62828;
      color: white;
      display: inline-block;
    }

    .enroll-btn:hover {
      background-color: #b81e1e;
    }
.course-details {
  display: none;
  margin-top: 20px;
  background: #fff;
  border-top: 1px dashed #ccc;
  padding-top: 15px;
}

.course-details ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}

.course-details li {
  margin-bottom: 6px;
  color: #444;
}
.course-details h4 {
  color: #005c99;
  margin-top: 10px;
  font-size: 18px;
}
  .read-more-btn,
  .enroll-btn {
    width: 100%;
  }



/* Highlight effect when linked from dropdown */
.course-card.highlight {
  border: 2px solid #c8102e;
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
/* === DROPDOWN MENU === */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  margin: 0;
  display: none;
  z-index: 999;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  list-style: none;
  border-bottom: 1px solid #eee;
}
.dropdown-menu li:last-child {
  border-bottom: none;
}
.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  color: #001f3f;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
/* === RESPONSIVE NAVIGATION === */
.nav-toggle {
  border: none;
  font-size: 1.8rem;
  color: #001f3f;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}
.dropdown-menu a:hover {
  background-color: #c8102e;
  color: white;
}
@media (max-width: 648px) {
  .nav-toggle {
    display: block;
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    z-index: 1001;
  }
 .main-nav {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    padding: 1rem;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  }
  .main-nav.show {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
    background: transparent;
  }
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
}
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}
a{
  text-decoration: none;
  color: inherit;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.main-header {
  background-color: #02376b;
  padding: 1rem 0;
  position:relative;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  text-align: center;
}
.nav-container {
  display: flex;
  justify-content:space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 1rem;
}
.top-logo-section {
  background: #fff;
  padding: 0.5rem 0 0.5rem;
  text-align: center;
  border-bottom: 1px solid #ccc;
}
.logo-top {
  text-decoration: none;
 color: #ff091e;
  display: inline-block;
}
.logo-img-top {
  height: 160px;
  vertical-align: middle;
  margin-bottom: 0.3rem;
  width: 150px;
}
.logo-text-top {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
  color: #ff091e;
}
.main-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-link {
  color: #f1f1f1;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  background-color: red;
  color: #ffffff;
}
.nav-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}
.nav-toggle .close-icon {
  display: none;
}
/* Background image section */
.about-hero-img {
  background: url('images/v & m pic.png') no-repeat center center;
  background-size: cover;
  height: 80vh;
  width: 100%;
}
.about-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.about-box {
  flex: 1 1 45%;
  background: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 20px 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.about-box h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.about-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  max-width: 90%;
}

@media (max-width: 768px) {
  .about-box {
    flex: 1 1 100%;
  }
}
.career-bg-img {
  background: url('images/career.webp') no-repeat center center;
  background-size: cover;
  height:145vh;
  width: 100%;
}
.gallery-bg-img {
  background: url('images/galery.avif') no-repeat center center;
  background-size: cover;
  height:145vh;
  width: 100%;
}
.placement-bg-img{
  background: url('images/placements.jpg') no-repeat center center;
  background-size: cover;
  height: 125vh;
  width: 100%;
  margin-top:-40px;
}
.contact-bg-img{
  background: url('images/contact.jpeg') no-repeat center center;
  background-size: cover;
  height: 120vh;
  width: 100%;
}
.courses-bg-img{
  background: url('images/course.jpeg') no-repeat center center;
  background-size: cover;
  height: 120vh;
  width: 100%;
}
/* HERO SECTION */
.hero-bg {
  background:url('images/home page.jpg') center/cover no-repeat;
  color: red;
  text-align:center;
  display:flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
  position: relative;
}
@media (max-width:768px){
.contact-bg-img{
background-size:contain;
background-position:top;
height:auto;
padding:2rem;
margin-top:10px;
}
.courses-bg-img{
background-size:contain;
background-position:top;
height:auto;
padding:2rem;
margin-top:10px;
}
.career-bg-img{
background-size:contain;
background-position:top;
height:auto;
padding:2rem;
margin-top:10px;
}
.gallery-bg-img{
background-size:contain;
background-position:top;
height:auto;
padding:2rem;
margin-top:10px;
}
.placement-bg-img{
background-size:contain;
background-position:top;
height:auto;
padding:2rem;
margin-top:10px;
}
.about-hero-img{
background-size:contain;
background-position:top;
height:auto;
padding:2rem;
margin-top:10px;
}
}

.hero-content-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px;
  border-radius: 10px;
}
.edu-side {
  position:relative;
  text-align:left;
  margin-top:500px;
  margin-left:-350px;
  font-weight: bold;
  font-size: 18px;
  color:red;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.form-qr-side {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-form {
  width: 60%;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-left:250px;
}
.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  font-size: 14px;
}
.hero-form h4 {
  text-align: center;
  font-size: 2rem;
  margin: 20px 0;
  color:red;
}
.hero-form input:focus,.hero-form select:focus,
.hero-form textarea:focus {
  border-color: #ff091e; /* red */
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.15);
  outline: red;
}
.hero-form .btn {
  display: inline-block;
  background-color: #ff091e; /* red */
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.hero-form .btn:hover {
  background-color: #001f3f; 
  transform: scale(1.03);
}
.qrlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  text-align: center;
  margin-top: 10px;  
}
.qr-code-img {
  width:100px;
  height:100px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
  margin-right: 10px;
}
.qr-code-img:hover {
  transform: scale(1.1);
}
@media (max-width: 992px) {
  .hero-content-container {
    flex-direction: column;
    align-items: center;
  }

  .edu-side {
    position: static;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
  }
.star{
    position:static;
}
  .form-qr-side {
    max-width: 100%;
    width: 100%;
    align-items: center;
  }

  .hero-form {
    width: 90%;
    margin-left: 0;
  }

  .qrlinks {
    margin-left: 0;
    justify-content: center;
  }

  .qr-code-img {
    width: 45px;
    height: 45px;
    margin-right: 10px;
  }
}
@media (max-width:576px) {
  .edu-side {
    font-size: 14px;
    padding: 6px 10px;
    text-align:center;
    margin-left:15px;
  }
.star{
    text-align:center;
    margin-left:-60px;
}
.form-qr-side{
    width:200%;
    align-items:center;
}
.hero-form{
    width:100%;
    max-width:150%;
    margin-left:29px;
}
  .hero-form input,
  .hero-form select,
  .hero-form textarea {
    font-size: 13px;
    padding: 8px;
  }

  .qr-code-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    text-align: center;
  }
}

/* === HOME PAGE: ABOUT PREVIEW === */
.about-preview-home {
  background-color: #ffffff;
  padding: 3rem 1rem;
  color: #222;
}

.about-preview-home h2 {
  color: #ff091e;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.about-preview-home p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  max-width: 800px;
  text-align: left;
}
.about-preview-home .btn {
  margin-top: 1rem;
  background-color: #001f3f;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.about-preview-home .btn:hover {
  background-color: #ff091e;
}

/* === HOME PAGE: OFFERINGS === */
.offerings-home {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
}

.offerings-home h2 {
 color: #ff091e;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.offerings-home .offer {
  background-color: #fff;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.offerings-home .offer h3 {
  color: #001f3f;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.offerings-home .offer p {
  font-size: 1rem;
  color: #333;
}
/* === HOME PAGE: COURSES BOX GRID === */
.courses-home {
  background-color: #ffffff;
  padding: 3rem 1rem;
}
.courses-home h2 {
 color: #ff091e;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.courses-home .subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}
.course-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.course-box {
  background-color: #001f3f;
  color: #fff;
  padding: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s ease-in-out;
}
.course-box:hover {
  background-color: #ff091e;
  transform: translateY(-4px);
}
.btn-center-home {
  text-align: center;
  margin-top: 2rem;
}
.btn-center-home .btn {
  background-color: #ff091e;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.btn-center-home .btn:hover {
  background-color: #001f3f;
}
/* ABOUT PAGE SECTIONS */
.about-main {
  background-color: #ffffff;
  color: #222;
}
.about-section h2 {
  color: #ff091e; /* Red */
  font-size: 1.8rem;
  margin-bottom: 1rem;
 }
.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}
.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.05rem;
}

.about-list li::before {
  content: '✔';
  color: #ff091e;
  position: absolute;
  left: 0;
  font-weight: bold;
}
/* === Updated Courses Section Styling === */
.courses-main {
  background-color: #fefefe;
  padding: 4rem 0;
}
.section-padding3{
  padding: 2rem 1rem;
  text-align: center;
  justify-content: center;
}
.section-title {
  font-size: 2.2rem;
  text-align: center;
   color: #ff091e; /* Red */
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #ff091e;
}
.course-card:target {
  transform: scale(1.05);
  background-color: #fff3f3;
  border: 2px solid#ff091e;
  box-shadow: 0 0 12px rgba(200, 16, 46, 0.3);
}
/* === Gallery Section === */
.gallery-main {
  background-color: #fff;
  padding: 4rem 0;
}

.gallery-main .section-title {
  text-align: center;
  font-size: 2.2rem;
  color:#ff091e;
  font-weight: 700;
  margin-bottom: 2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  padding: 5rem 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.red-title {
  color: #ff091e;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.career-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.career-card {
  background-color: #f4f6fa;
  padding: 1.2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.career-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 0.5rem;
}
.placement-points ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.placement-points ul li {
  padding-left: 1.8rem;
  position: relative;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.placement-points ul li::before {
  content: '✔';
  color: #ff091e;
  position: absolute;
  left: 0;
  top: 0;
}

.placement-highlight {
  margin-top: 2rem;
 
  border-radius: 6px;
}

.placement-highlight h3 {
  margin-bottom: 0.8rem;
  color: #001f3f;
}
.placement-rec {
  padding: 20px 40px;
  text-align: center;
  background-color: #f9f9f9;
}

.pr-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.pr-img {
  max-width: 120px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pr-img:hover {
  transform: scale(1.05);
}

.mt-up {
  margin-top: -30px;
}

@media (max-width: 768px) {
  .pr-img {
    max-width: 90px;
  }
}

@media (max-width: 480px) {
  .pr-img {
    max-width: 70px;
  }
}

/* ==== Contact Form Styling ==== */
#contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccd1d6;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #fff;
  color: #333;
}
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #ff091e; /* red */
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.15);
  outline: none;
}
#contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
#contact-form .btn {
  display: inline-block;
  background-color: #ff091e; /* red */
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
#contact-form .btn:hover {
  background-color: #001f3f; 
  transform: scale(1.03);
}
#contact-form .form-message {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #4a7c59; /* success green */
}
/* ==== Register Form Styling ==== */
#register-form {
  max-width: 550px;
  margin: 0 auto;
  padding: 2rem;
  background: #f8f9fc;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-height:550px;
  margin-top:20px ;
  margin-bottom:10px;
}
#register-form input[type="text"],
#register-form input[type="email"],
#register-form select,
#register-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #333;
}
#register-form input:focus,
#register-form select:focus,
#register-form textarea:focus {
  border-color: #ff091e; /* red */
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.15);
  outline: none;
}
#register-form textarea {
  resize: vertical;
  min-height: 100px;
}
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

a[href^="tel:"]:hover {
  text-decoration: underline;
}
/* Button Style */
#register-form .btn {
  background-color: #ff091e;
  color: #fff;
  padding: 0.8rem 1.6rem;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
#register-form .btn:hover {
  background-color:#001f3f; 
  transform: scale(1.03);
}
/* Message Styling */
#register-form .form-message {
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #2c5d3f;
}
/* FOOTER STYLES */
.main-footer {
  background-color: #001f3f; /* Dark blue */
  color: #ffffff;
  padding: 2.5rem 0 1rem;
  font-family: 'Montserrat', sans-serif;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-col {
  flex: 1;
  min-width: 220px;
  margin: 0 15px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-left: 1px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-list li {
  margin-bottom: 0.5rem;
}
.contact-list a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-list a:hover {
  color: #fff;
}
.footer-col p,
.footer-col a {
  font-size: 1rem;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 0.4rem;
  display: block;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-col iframe {
  width: 100%;
  border: none;
  border-radius: 8px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul li a {
  color: #ddd;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}
.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
/* Adjust spacing between Explore and Follow Us */
.footer-col h4 {
  margin-top: 1.5rem;
}
.footer-col h4:first-of-type {
  margin-top: 0;
}
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-links img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
  filter: brightness(1.3);
}

/* Footer bottom line */
.main-footer hr {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.main-footer p {
  text-align: center;
  font-size: 0.95rem;
  color: #ccc;
}
/* RESPONSIVE NAVIGATION */
@media (max-width:648px) {
 .nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    background: #001f3f;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
  }
  .main-nav.show {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }
  .nav-link {
    padding: 0.8rem 1rem;
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    background: #fff;
    box-shadow: none;
    border: none;
    width: 100%;
    margin-left: 1rem;
  }
  .dropdown .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background-color:white;
    color:darkblue;
    padding-left: 1rem;
  }
  /* Hover effect */
.dropdown-menu a:hover {
  background-color: #c8102e;
  color: #ffffff;
  cursor:pointer;
}  .nav-toggle {
    display: block;
  }
  .nav-toggle.open .open-icon {
    display: none;
    }
  .nav-toggle.open .close-icon {
    display: inline;
     }
  .nav-toggle .open-icon {
    display: inline;
     }
  .nav-toggle .close-icon {
    display: none;
  }
  .hero-form {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  margin-right: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  max-width: 350px;
  width: 80%;
  margin-top: 2rem;
  text-align: center;
  padding:5px;
}
.hero-content{
  max-width: 300px;
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 1;
  margin-top: -280px;
  margin-left: 0;
}
.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.hero-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.hero-content .btn {
  margin: 0.5rem;
  padding: 0.5rem;
  background-color: #034c94;
  color: #ccc;
  border-radius: 5px;
  font-size: 10px;
}
 .section-title {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  #contact-form {
    padding: 1rem;
  }
   #register-form {
    padding: 1rem;
  }
    .footer-columns {
    flex-direction: column;
    gap: 2rem;
  }
  .social-links {
    justify-content: flex-start;
  }
} 
#topBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: darkblue;;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}
#topBtn:hover {
  background-color: #034c94;;
}



