h3{
  color:;
}
h2 {
  color: red;
  text-align: center;
  text-shadow:2px 2px 2px black;
}
marquee{color:red;}

body { font-family: Arial, sans-serif; margin: 0; padding: 0; 
  background-color:white;
}

    header, main {
      text-align: center;
      padding: 20px;
    }

    /* 🔹 Popup overlay */
    .popup-bg {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      padding: 15px;
    }
    .popup-bg.show { display: flex; }

    /* 🔹 Popup box with animation + background */
    .popup-box {
     position:relative;      background: url('giet.jpeg') center/cover no-repeat;
     width:90%;
      max-width: 400px;
      min-height: 500px;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 0 20px rgba(0,0,0,0.4);
      display: flex;
      justify-content: center;
      align-items: center;
      /* 👇 Add animations here */
      animation: popupZoom 0.6s ease-out, glowBorder 3s infinite alternate;
    }

    /* 🔹 Dark overlay for readability */
    .popup-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
    }

    /* 🔹 Close button */
    .close-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      background: #ff3b3b;
      color: white;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      font-size: 18px;
      cursor: pointer;
      z-index: 3;
    }

    /* 🔹 Form content */
    .popup-content {
      position: relative;
      z-index: 2;
      color: #fff;
      width: 80%;
      text-align: center;
    }

    .popup-content h2 {
      margin-bottom: 15px;
      font-size: 24px;
      font-weight: bold;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    input, textarea {
      padding: 10px;
      border: none;
      border-radius: 5px;
      outline: none;
      font-size: 14px;
      width: 100%;
    }

    button[type="submit"] {
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 10px;
      font-size: 16px;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s;
    }
    button[type="submit"]:hover {
      background: #005fcc;
    }


    /* 🔹 Animation keyframes */
    @keyframes popupZoom {
      from {
        opacity: 0;
        transform: scale(0.7);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes glowBorder {
      0% { box-shadow: 0 0 8px #007bff; }
      50% { box-shadow: 0 0 20px #00e0ff; }
      100% { box-shadow: 0 0 8px #007bff; }
    }
/* Mobile */
@media (max-width: 600px) {
  .box {
    width: 100%;
  }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  .box {
    width: 50%;
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .box {
    width: 25%;
  }
}

 header {
   background: #004080; color: white; padding: 15px; text-align: center; } 
 nav a { color: white; margin: 0 10px; text-decoration: none; 
   justify-content:space-between;
 }
  nav a:hover { text-decoration: underline; } 
   section { padding: 20px; }
    
    .map-box {
      background: #fff;
      width: 90%;
      max-width: 400px;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      text-align: center;
      padding-bottom: 10px;
    }

    .map-box h2 {
      background: #0078d7;
      color: white;
      margin: 0;
      padding: 12px;
      font-size: 20px;
      border-radius: 15px 15px 0 0;
    }

    iframe {
      width: 100%;
      height: 250px;
      border: none;
      border-radius: 0 0 15px 15px;
    }
    
    iframe {
      width: 100%;
      height: 400px;
      border: 0;
    }
   footer { background:linear-gradient(45deg,#141E30,#243B55); color:white; text-align: center; padding: 10px; }
    form input, form textarea, form button { display: block; width: 100%; margin-top:30px; padding: 10px; }
    
    
    .slideshow {
      width: 400px;
      height: 250px;
      position: relative;
      overflow: hidden;
      border-radius: 10px;
    }
    .slideshow img {
      width:90%;
      height: 90%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      animation: fade 16s infinite;  /* infinite = repeat forever */
    }
    .slideshow img:nth-child(1) { animation-delay: 0s; }
    .slideshow img:nth-child(2) { animation-delay: 4s; }
    .slideshow img:nth-child(3) { animation-delay: 8s; }
    .slideshow img:nth-child(4) { animation-delay: 12s; }

    @keyframes fade {
      0%   { opacity: 0; }
      10%  { opacity: 1; }
      25%  { opacity: 1; }
      35%  { opacity: 0; }
      100% { opacity: 0; }
    }
 
/* ===============================
   MAIN WRAPPER
================================ */
.facts-wrapper{
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  min-height: 520px;          /* mobile default */
}

/* ===============================
   IMAGE
================================ */
.facts-img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* image crop & fit */
  display: block;
}

/* ===============================
   TEXT OVER IMAGE
================================ */
.facts-overlay{
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  justify-content: flex-start;
  padding-top: 40px;

  color: white;
  text-align: center;
}

/* ===============================
   TITLE
================================ */
.facts-title{
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 45px;
}

/* ===============================
   FACTS LIST (MOBILE DEFAULT)
================================ */
.facts-list{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===============================
   EACH FACT + HOVER
================================ */
.fact{
  transition: transform 0.35s ease;
}

.fact:hover{
  transform: translateY(-10px);   /* piki ravatam */
  cursor: pointer;
}

/* FACT TEXT */
.fact h3{
  color:orange;
  font-size: 24px;
  margin-bottom: 10px;
}

.fact .big{
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.fact .small{
  color:rgb(99, 99, 99);
  font-size: 18px;
}

/* ===============================
   TABLET (2 x 2)
================================ */
@media (min-width: 768px){
  .facts-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
    column-gap: 20px;
  }
}

/* ===============================
   DESKTOP (SHORT BANNER + 4 ROW)
================================ */
@media (min-width: 992px){
  .facts-wrapper{
    min-height: 360px;      /* 🔥 short banner */
    max-height: 380px;
  }

  .facts-title{
    font-size: 40px;
    margin-bottom: 30px;
  }

  .facts-list{
    grid-template-columns: repeat(4, 1fr); /* 🔥 4 in one row */
    gap: 20px;
  }

  .fact h3{
    font-size: 30px;
  }

  .fact .big{
    font-size: 25px;
  }

  .fact .small{
    font-size: 30px;
  }
}

/* ===============================
   MOBILE EXTRA SAFETY
================================ */
@media (max-width: 600px){
  .facts-wrapper{
    height:auto;
    width:auto;
  }

  .facts-title{
    font-size: 26px;
  }

  .fact h3{
    font-size: 22px;
    color: orangered;
  }

  .fact .big{
    font-size: 24px;
    color: white;
  }

  .fact .small{
    font-size: 16px;
    color: grey;
  }
}
    
     .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}



.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}
.circle-div{
  width:200px;
  height: 200px;
  border-radius: 50%;
  background-image: url('Giet principal.jpeg');
  background-size: cover;
  background-position: center;
  border:3px solid#dc5e04;
}

.Circle-div{
  width:200px;
  height: 200px;
  border-radius: 50%;
  background-image: url(' Ramarao Sir.jpg');
  background-size: cover;
  background-position: center;
  border:3px solid
#dc5e04;
}

.circle-Div{
  width:200px;
  height: 200px;
  border-radius: 50%;
  background-image: url('kiran babu sir.jpg');
  background-size: cover;
  background-position: center;
  border:3px solid
#dc5e04;
}


/*laptop colomun*/
.courses-section {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      justify-content: center;
      flex-wrap: wrap;
      gap: 25px;
      padding: 40px 0;
    }

    .course-card {
      position: relative;
      width: 300px;
      height: 200px;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
      cursor: pointer;
      transition: transform 0.3s;
    }

    .course-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

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

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.6);
      color: white;
      opacity: 0;
      transition: opacity 0.4s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 10px;
    }

    .course-card:hover .overlay {
      opacity: 1;
    }

    .overlay h2 {
      margin: 0;
      font-size: 22px;
      font-weight: bold;
    }

    .overlay p {
      font-size: 14px;
      margin-top: 10px;
    }

     
     .department {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Department header (clickable) */
.department-header {
  background: #004080;;
  color: white;
  padding: 15px 20px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.department-header:hover {
  background: #0055aa;
}

/* Faculty list (hidden by default) */
.faculty-list {
  display: none;
  padding: 20px;
  background: #f9f9f9;
}

.faculty-list.active {
  display: grid;
 grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

/* Faculty card */
.faculty {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faculty img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #007bff;
}

.faculty h3 {
  margin: 5px 0 2px;
  color: #003366;
  font-size: 16px;
}

.faculty p {
  color: #555;
  font-size: 14px;
  margin: 0;
}

 /*tablet column*/
    @media(max-width:1024px){
.faculty-list.active {
        grid-template-columns: repeat(2,1fr);
      }
    }
    /*mobile 1 column*/
     @media(max-width:600px) {
    .faculty-list.active {
        grid-template-columns: 1fr;
      }
     }
     
     
     
 /* ===== Toggle Menu Button ===== */
    .menu-icon {
      display: flex;
      cursor:pointer;
      position:relative;
      left:0;
      justify-content: space-between;
      color:#fff;
      background-color:#044080;
      padding: 11px 18px;
      border-radius: 6px;
    }
    /* ===== Sidebar Navigation ===== */
    .side-nav {
      height: 100%;
      width: 0; /* hidden by default */
      position: fixed;
      top: 0;
      left: 0;
      background-color: #222;
      overflow-x: hidden;
      transition: width 0.4s ease;

      z-index: 1000;
    }

    .side-nav.open {
      width: 250px;
    }

    .side-nav a {
      display: block;
      color: green;
      padding: 14px 25px;
      text-decoration: none;
      font-size: 18px;
      transition: 0.3s;
    }

    .side-nav a:hover {
      background-color:white;
    }

    /* Page Content */
    .content {
      margin-left: 20px;
      padding: 20px;
      font-family: Arial, sans-serif;
    }
   
   
   /*---ALL CURRICULAMS---*/
    .paper-box0{
      background: white;
      margin: 10px;
      padding: 15px;
      border-radius: 10px;
       border: 1px solid green;
      box-shadow: 0 0 5px rgba(0,0,0,0.2);
      text-align: center;
      display: inline-block;
      width: 220px;
    }
    button {
      background: #007bff;
      color: white;
      border: none;
      padding: 8px 15px;
      border-radius: 5px;
      cursor: pointer;
    }
    button:hover {
      background: #0056b3;
    }
   
/* --- Quick Links Section Box --- */
.quick-links-section {
    background-color: #fff;
    width: 250px;
    border: 2px solid #007bff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px 20px;
    margin: 30px auto;
}

/* --- Title --- */
.quick-links-section h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* --- Links List --- */
.quick-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links-section li {
    margin: 8px 0;
}

/* --- Each Link --- */
.quick-links-section a {
    text-decoration: none;
    color: #333;
    background-color: #e8f0ff;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
    cursor: progress;
}

/* Sub-list (hidden) */
.sub-list {
  display: none;
  padding: 15px 40px;
  background: #f9f9f9;
  color: #333;
  border-top: 1px solid #ddd;
}

.sub-list.active {
  display: block;
}

.sub-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sub-list li {
  background: #fff;
  margin: 8px 0;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.sub-list li:hover {
  background: #e8f0ff;
  transform: translateX(5px);
}


/*---Question Papers---*/
    .paper-box {
      background: white;
      margin: 10px;
      padding: 15px;
      border-radius: 10px;
       border: 2px solid grey;
      box-shadow: 0 0 5px rgba(0,0,0,0.2);
      text-align: center;
      display: inline-block;
      width: 220px;
    }
    button {
      background: #007bff;
      color: white;
      border: none;
      padding: 8px 15px;
      border-radius: 5px;
      cursor: pointer;
    }
    button:hover {
      background: #0056b3;
    }
 
 
 
/* Footer Social Icons Container */
.social-footer {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
  }

/* All Icons Size & Transition */
.social-footer i {
  font-size: 20px;
  transition: 0.3s;
  color: white;  /* Normal color (black or white) */
}

/* Instagram Hover */
.insta-icon:hover i {
  color: transparent;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134AF, #515BD4);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Facebook Hover */
.fb-icon:hover i {
  color: #1877F2; /* Facebook Blue */
}

/* WhatsApp Hover */
.wa-icon:hover i {
  color: #25D366; /* WhatsApp Green */
}


/* ===============================
   GLOBAL RESPONSIVE FIX
================================ */

/* Prevent overflow issues */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* Center content on system */
main, section {
  width: 100%;
}

/* ===============================
   IMAGE + HERO SECTION
================================ */

.image-container {
  min-height: 60vh;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-box {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

/* ===============================
   SLIDESHOW FIX
================================ */

.slideshow {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: auto;
}

.slideshow img {
  width: 100%;
  height: 100%;
}

/* ===============================
   COURSES SECTION (AUTO RESPONSIVE)
================================ */

.courses-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 30px 15px;
}

.course-card {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: auto;
}

/* ===============================
   FACULTY SECTION
================================ */

.faculty-list.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* ===============================
   IMPORTANT FACTS / BOXES
================================ */

.paper-box,
.quick-links-section,
.map-box {
  width: 100%;
  max-width: 350px;
  margin: 15px auto;
}

/* ===============================
   IFRAME FIX
================================ */

iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ===============================
   DESKTOP VIEW (SYSTEM)
================================ */

@media (min-width: 1025px) {

  main, section {
    max-width: 1200px;
    margin: auto;
  }

  .image-container {
    min-height: 70vh;
  }

}

/* ===============================
   TABLET VIEW
================================ */

@media (max-width: 1024px) {
  .text-box span {
    font-size: 14px;
  }
}

/* ===============================
   MOBILE VIEW
================================ */

@media (max-width: 600px) {

  .text-box span {
    font-size: 13px;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  .menu-icon {
    width: 100%;
    justify-content: center;
  }
}

/* ===============================
   IMPORTANT FACTS CENTER FIX
================================ */

@media (min-width: 1025px) {

  .important-facts {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .important-facts h2 {
    font-size: 28px;
  }

  .important-facts p,
  .important-facts li {
    font-size: 18px;
    line-height: 1.8;
  }

}



  /* ===============================
   SLIDESHOW BIGGER (SYSTEM ONLY)
================================ */

@media (min-width: 1025px) {

  .slideshow {
    max-width: 600px;   /* before 400px */
    aspect-ratio: 16 / 9;
  }

}


  /* ===============================
   SLIDESHOW FINAL FIX
================================ */

/* Common (all devices) */
.slideshow {
  margin: 20px auto;
  overflow: hidden;
  border-radius: 12px;
}

/* Images fit properly */
.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop / System only */
@media (min-width: 1025px) {
  .slideshow {
    max-width: 650px;   /* bigger than before */
    aspect-ratio: 16 / 9;
  }
}

/* Mobile – keep as it is */
@media (max-width: 600px) {
  .slideshow {
    max-width: 400px;
  }
}

