/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #f0f3fa; line-height: 1.6; }

/* Container */
.container { max-width: 1200px; width: 100%; margin: auto; padding: 0 15px; }

/* Top Header */
.headquote {
  background-color: #ffdd57;
  margin-top: 70px; /* Adjusted for better visibility */
  font-size: 1.2em;
  width: 100%;
  position: relative;
  z-index: 1000; /* Increased z-index */
}

/*  */

/* Responsive marquee */
@media (max-width: 568px) {
  .headquote {
    margin-top: 60px; /* Adjust for mobile navbar height */
    font-size: 1.1em;
    padding: 0px 0;   
}
  .headquote-container{
  margin-top: 35px;
}

}



/* Navbar */
nav {
  background: #003366;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100; /* Increased z-index to ensure navbar stays above marquee */
}

.logo-title {
  display: flex;
  align-items: center;
  color: #fff;
}
.logo {
  height: 50px;
  margin-right: 10px;
}

/* Main Menu */
ul.menu {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
  position: relative;
}

ul.menu li {
  position: relative;
}

ul.menu li a {
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  transition: 0.2s;
  text-decoration: none;
  font-size: 17px;
}

ul.menu li a:hover,
ul.menu li a.active {
  background: rgba(255, 255, 255, 0.06);
  color: #ffdd57;
}

/* Submenu (Dropdown) */
ul.menu li ul {
  list-style: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #004080;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 999;
}

ul.menu li ul li a {
  padding: 10px 15px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

ul.menu li ul li a:hover {
  background: rgba(255,255,255,0.15);
  color: #ffdd57;
}

/* Show submenu on hover (desktop) */
ul.menu li:hover > ul {
  display: flex;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive Navbar */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  
  ul.menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 18px;
    background: #003366;
    padding: 15px;
    border-radius: 10px;
    flex-direction: column;
    min-width: 200px;
  }

  ul.menu.active { display: flex; }

  ul.menu li { width: 100%; }

  ul.menu li ul {
    position: static;
    display: none;
    background: #004080;
    margin-top: 5px;
    border-radius: 6px;
  }

  ul.menu li.show > ul {
    display: flex;
  }

  ul.menu li ul li a {
    padding: 10px;
  }
  .hero-img{
    margin-top: 100px;
  }

}


  .hero-img{
    padding-top: 1px;
  }
 
/* Why Choose Us Section */
.why-choose {
  
  width: 100%; /* Full screen width */
  background: linear-gradient(135deg, #1e88e5, #42a5f5);
  padding: 0px 20px;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
}

.why-choose h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.why-choose .underline {
  width: 80px;
  height: 4px;
  background: #eafa04;
  margin: 10px auto 30px auto;
  border-radius: 2px;
}

/* Content Blocks */
.why-choose p {
  background: rgba(255, 255, 255, 0.1);
  margin: 15px auto;
  padding: 15px 30px;
  border-radius: 10px;
  max-width: 600px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Hover Effect */
.why-choose p:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
  .why-choose h2 {
    font-size: 2rem;
  }

  .why-choose p {
    font-size: 1rem;
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .why-choose h2 {
    font-size: 1.6rem;
  }

  .why-choose p {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
}
/* Hero */
.hero-img img { width: 100%; height: auto; display: block; }

/* Section Cards */
.main-sections { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 140px; } /* space for header+nav */
.card {
  flex: 1 1 calc(33.33% - 20px);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-height: 350px;
  
}
.heading-sect {
  background: #00aed9;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.head-title { font-size: 18px; }

/* Lists */
.latest-news-ul, .upcoming-event-list, .notice-board-list {
  list-style: none; font-size: 15px;
}
.latest-news-ul li, .notice-board-list li {
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.event-date {
  width: 50px;
  text-align: center;
  background: #00aaff;
  color: #fff;
  border-radius: 8px;
  padding: 5px 0;
  font-family: Arial, sans-serif;
  margin-right: 15px;
  display: inline-block;
  margin-bottom: 10px;
  
}
.college-campus-list {
  padding-left: 15px;
  line-height: 1.9;
}

.student-life{
    padding-left: 15px;
  line-height: 2.9;
}



/* Responsive Cards */
@media (max-width: 992px) {
  .card { flex: 1 1 calc(50% - 20px); }
}
@media (max-width: 600px) {
  .card { flex: 1 1 100%; }
  .top-news { flex-direction: column; align-items: flex-start; }
}


/* Contact Us page */
section{
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 90%;
  max-width: 90%;
  margin: auto;
  margin-top: 2em;
}

.sectionHeader{
  text-transform: capitalize;
  font-weight: bold;
  font-size: 2.5rem;
  color: #0076A3 ;
  margin-top:120px ;
  display: block;
  
  text-align: center;
}
.heading, .sub-heading{
  margin-bottom: .5em;
  font-weight: bold;
}

.sub-heading{
  text-align: left;
}

.contactForm{
  display: grid;
  gap: 3em;
  margin-top: 3em;
}

.para{
  color:#5e6c79;
  font-size: 1.1rem;
  line-height: 1.5em;
  margin-bottom: 1em;
}
.para2{
  text-align: left;
}

form{
  width: 90%;
}

.input{
  width: 95%;
  max-width: 700px;
  border: none;
  font-size: .9rem;
  padding: 1em;
  outline: none;
  margin-bottom: 1em;
  background-color: #eff2f5 ;
  color:#8c959e ;
  border-radius: 10px ;
  border: 1px solid rgb(53, 53, 53);
}

.input:focus{
  border: 1px solid #0076A3 ;
}
.input::placeholder{
  text-transform: capitalize;
}

.submit{
  background-color: #0076A3;
  color: #eff2f5;
  border: none;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}
.map-container{
  position: relative;
  width: 100%;
  height: 500px;
}

.mapBg{
  position: absolute;
  background-color: #0076A3;
  top: 0;
  right: 0;
  width: 200px;
  height: 90%;
  border-radius: 20px;
}

.map{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  height: 90%;
  background-color: #ffdd57;
}

.map iframe{
  width: 100%;
  height: 100%;
}

.contactMethod{
  display: flex;
  flex-direction: column;
  margin-top: 2em;
  text-align: left;

}

.method{
  display: flex;
  align-items: center;
}

.contactIcon{
  font-size: 2rem;
  color: #003366;
  width: 70px;
}

@media screen and (min-width: 800px) {
   section{
    max-width: 1100px;
  }

  .contactForm{
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer Styling */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 250px;
}

/* Branding Section */
.footer-branding {
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.footer-branding h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}

.tagline {
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
}

/* Quick Links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin: 5px 0;
}

.quick-links li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.quick-links li a:hover {
  color: #f39c12;
}

/* Contact Information */
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #ccc;
  font-size: 14px;
}

.contact-info i {
  color: #f39c12;
  width: 20px;
}

.contact-info a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #f39c12;
}

/* Social Media Icons */
.social-media-icons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2a2a2a;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #f39c12;
  transform: translateY(-3px);
}

.social-icon i {
  font-size: 18px;
}

/* Resource Section */
.resource-section {
  margin-top: 20px;
}

.resource-section h3 {
  color: #f39c12;
  font-size: 16px;
  margin-bottom: 15px;
}

.resource-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-links li {
  margin: 8px 0;
}

.resource-links li a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.resource-links li a:hover {
  color: #f39c12;
}

/* Copyright Bar */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.copyright-container {
  max-width: 600px;
  margin: 0 auto;
}

.footer-bottom p {
  color: #999;
  font-size: 13px;
  margin: 5px 0;
}

.credit {
  color: #666;
  font-size: 12px;
  font-style: italic;
}

h3{
  color: rgb(252, 232, 8);
}