

/* =========================== GLOBAL BROWSER FIX =========================== */

html, /* ================= GLOBAL FONT NORMALIZE ================= */

html {
  font-size: 16px !important;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;   /* 🔥 MASTER SIZE */
  line-height: 1.6 !important;
  color: #222;
  background: #ffffff !important;
}

/* All paragraphs same size everywhere */
p {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* All lists text */
li {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Table text */
td, th {
  font-size: 14px;
}

/* Headings normalize */
h1 { font-size: 34px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }



/* Universal container fix */
.container,
.main-container,
.section-box,
.scholarship-container,
.infra-container,
.management-section,
.fp-section,
.principal-section {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


/* All images responsive */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Flex safety */
.row,
.boxes,
.footer-container,
.vm-container,
.about-poly-container,
.container {
  flex-wrap: wrap;
}

/* Prevent fixed width breaking mobile */
@media (max-width: 768px) {
  .sidebar,
  .form-card,
  .principal-image img,
  .report-card,
  .box,
  .footer-box {
    width: 100% !important;
    max-width: 100% !important;
  }

  .boxes {
    flex-direction: column;
    gap: 15px;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  text-size-adjust: 100%;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* TOP BAR */
.top-bar {
  background: #0b2a55;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 8px 30px;
  font-family: Arial, sans-serif;
  font-size: 20px !important;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 25px 50px;
  background: #ffffff;
  border-bottom: 2px solid #e0e0e0;
}

/* LOGO */
.logo {
  width: 130px !important;
  height: auto !important;
  margin-right: 10px;
  border: 2px  ; /* test ke liye */
}


/* TEXT BLOCK */
.title {
  text-align: left;
  line-height: 1.1;
  margin-left: -5px;
}

/* UPPER SMALL LINE */
.trust-name {
  font-family: "Times New Roman", serif !important;
  font-size: 22px !important;
  color: orange !important;
  font-weight: bold !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
}

/* MAIN COLLEGE NAME */
.title h1 {
  font-family: "Times New Roman", serif;
  font-size: 45px !important;   /* 👈 force */
  color: #0b2a55;
  font-weight: 1000;
  margin-bottom: 2px;
  border: 2px ;        /* test ke liye */
}


/* SUBTITLE */
.subtitle {
  font-family: "Times New Roman", serif;
  font-size: 19px !important;
  color: #0b2a55;
  font-weight: 600;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .logo {
    width: 100px;
  }

  .title h1 {
    font-size: 30px;
  }
}

/* ================= NOTICE ================= */
.notice {
  background: #ffcc00;
  padding: 6px;
  font-weight: bold;
}

/* ================= SLIDER ================= */
.slider {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-top: 10px;
}

.slider img.slide {
  position: absolute;
  width: 100%;
  height: 300px;
  opacity: 0;
  transition: opacity 1s;
}

.slider img.active {
  opacity: 1;
}

/* ================= BOX SECTION ================= */
.boxes {
  display: flex;
  justify-content: space-around;
  padding: 30px;
  background: #ffffff;
}

.box {
  background: white;
  width: 30%;
  padding: 15px;
  border: 1px solid #ccc;
}

.box h3 {
  margin-bottom: 10px;
  color: #002147;
}

/* ================= ABOUT SECTION ================= */

.about-polytechnic {
  background-color: #f4f7fb;
  padding: 60px 20px;
}

.about-poly-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* LEFT TEXT */
.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 30px;
  color: #002147;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

/* RIGHT VIDEO */
.about-video {
  flex: 1;
}

.about-video video {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  border: 3px solid #002147;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-poly-container {
    flex-direction: column;
  }

  .about-video video {
    height: 600px;
  }

  .about-text h2 {
    text-align: center;
  }
}

/* ================= FOOTER ================= */
footer {
  background: #002147;
  color: white;
  text-align: center;
  padding: 15px;
}

/* ================= ADMISSION FORM ================= */
.form-input {
  width: 300px;
  padding: 8px;
  margin-bottom: 10px;
}

/* ================= BUTTON ================= */
button {
  padding: 10px 20px;
  background: #003366;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #0055aa;
}

body {
  background-color: #ffffff !important;
}

/* REMOVE GREEN BACKGROUND FROM SECTIONS */
.about,
.about-section,
.main-section,
.section,
.container {
  background-color: #ffffff !important;
}

/* FOOTER */
.footer {
  background: #0b1d3a;
  color: #ffffff;
  font-family: Arial, sans-serif;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  padding: 40px 60px;
  flex-wrap: wrap;
}

.footer-box {
  width: 23%;
}

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

.footer-box p,
.footer-box li {
  font-size: 14px;
  line-height: 1.8;
  color: #dcdcdc;
}

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

.footer-box ul li a {
  color: #dcdcdc;
  text-decoration: none;
}

.footer-box ul li a:hover {
  color: #ff7a18;
}

/* Opening Hours */
.opening-hours {
  display: flex;
  justify-content: space-between;
  padding: 15px 60px;
  border-top: 1px solid #1f2f52;
  font-size: 14px;
}

.opening-hours span {
  float: right;
}

.closed {
  color: red;
}

/* Copyright */
.copyright {
  text-align: center;
  padding: 15px;
  background: #08162f;
  font-size: 14px;
}




/* Responsive */
@media (max-width: 900px) {
  .footer-box {
    width: 48%;
    margin-bottom: 25px;
  }
}

@media (max-width: 500px) {
  .footer-box {
    width: 100%;
  }

  .opening-hours {
    flex-direction: column;
    gap: 10px;
  }
}


/* nunber animation */


/* COUNTER SECTION WITH IMAGE */
.counter-section{
  position: relative;
  display:flex;
  justify-content:space-around;
  align-items:center;
  text-align:center;
  padding:90px 20px;

  background-image: url("../images/bluebar.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* DARK OVERLAY */
.counter-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.55);
}

/* COUNTER BOX */
.counter-box{
  position: relative;
  z-index: 2;
  width:220px;
}

/* NUMBER */
.counter{
  font-size:46px;
  font-weight:bold;
  color:#ffffff;
}

/* TEXT */
.counter-box p{
  margin-top:10px;
  font-size:14px;
  letter-spacing:1px;
  color:#ffffff;

  
}

/* RESPONSIVE */
@media(max-width:768px){
  .counter-section{
    flex-direction:column;
    gap:35px;
  }
}


.section-spacer{
  height: 250px;   /* jitna gap chahiye */
}




/* event */


.news-events-section {
  width: 100%;
  margin: 0 auto 60px;
  text-align: center;
}

/* Heading */
.news-events-title {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* Underline */
.news-events-underline {
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
  margin: 0 auto 35px;
  border-radius: 5px;
}

/* ===== Cards Container ===== */
.info-section {
  display: flex;
  gap: 25px;
  width: 90%;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Individual Card ===== */
.info-box {
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  color: #fff;
  padding: 22px 22px 26px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: left;

  
}

/* Top Accent Strip */
.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
}

/* Titles inside cards */
.info-box h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: #ffeb3b;
  
}

/* List */
.info-box ul {
  padding-left: 18px;
  margin: 0;
}

.info-box ul li {
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Hover Effect */
.info-box:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

/* Glow Hover Overlay */
.info-box:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 60%);
}

/* ===== Card Colors ===== */
.notices {
  background: linear-gradient(135deg, #1a2980, #26d0ce);
}

.news {
  background: linear-gradient(135deg, #42275a, #734b6d);
}

.events {
  background: linear-gradient(135deg, #134e5e, #71b280);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .news-events-title {
    font-size: 26px;
  }

  .info-section {
    gap: 20px;
  }
}

/* box middel name*/

/* Image Box */
.ui-img{
  height:220px;
  display:flex;
  align-items:center;      /* vertical center */
  justify-content:center;  /* horizontal center */
  position:relative;
}

/* Department Name Center */
.dept-title{
  color:white;
  font-size:22px;
  font-weight:bold;
  text-align:center;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  z-index:2;
}






/* principal */
 

.principal-section {
    max-width: 900px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    text-align: left;
}

.principal-section h2 {
    font-size: 27px;
    margin-bottom: 5px;
}

.underline {
    width: 90px;
    height: 3px;
    background-color: orange;
    margin: 0 auto 25px;
}

/* Image */
.principal-image img {
    width: 200px;
    border-radius: 30px;
    margin-bottom: 20px;
}

/* Name */
.principal-name {
    color: rgb(0, 0, 0);
    margin-bottom: 10px;
}

/* Content */
.principal-content {
    text-align: justify;
}

.principal-content p {
    line-height: 1.3;
    color: #333;
    margin-bottom: 10px;
}


/*toper student*/


.testimonial-section {
  background: #f47c3c;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-section h2 {
  color: #fff;
  font-size: 32px;
}

.underline {
  width: 60px;
  height: 3px;
  background: #fff;
  margin: 10px auto 40px;
}

.testimonial-slider {
  overflow: hidden;
  max-width: 1000px;
  margin: auto;
}

.testimonial-track {
  display: flex;
}

.testimonial-card {
  background: #fff;
  width: 50%;
  margin: 0 10px;
  padding: 30px 20px;
  border-radius: 12px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.student-img {
  width: 90px;          /* pehle 70px tha */
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px;  /* CENTER */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.testimonial-card h3 {
  color: #222;
  margin-bottom: 8px;
}

.testimonial-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .testimonial-card {
    width: 100%;
  }
}




 /* gallary */

.gallery-section {
  padding: 40px 20px;
  text-align: center;
}

.gallery-title {
  font-size: 40px;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.gallery-btn {
  margin-top: 25px;
}

.more-btn {
  padding: 10px 30px;
  background: #0077b6;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 15px;
}

.more-btn:hover {
  background: #023e8a;
}

/* our department */
/* ===== Departments Section ===== */
.ui-department{
  padding:90px 20px;
  background: url('../images/edu.jpg') no-repeat center center; /* image path */
  background-size: cover; /* image full section cover kare */
  background-attachment: fixed; /* optional: parallax effect */
  position: relative;
}


.ui-header{
  text-align:center;
  margin-bottom:50px;
}

.ui-header h2{
  font-size:36px;
  color:#0a2a66;
}

.ui-header p{
  color:#555;
}

.ui-dept-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns: repeat(4, 1fr); /* 4 boxes per row */
  gap:20px;
}

.ui-dept-card{
  height:220px;  /* thoda chhota */
  border-radius:18px;
  overflow:hidden;
  position:relative;
  text-decoration:none;
  box-shadow:0 15px 35px rgba(0,0,0,0.12);
  transition:0.4s ease;
}

.ui-img{
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  transition:0.6s ease;
}

/* Gradient backgrounds */
.civil{ background:linear-gradient(120deg,#4facfe,#00f2fe); }
.mech{ background:linear-gradient(120deg,#fa709a,#fee140); }
.comp{ background:linear-gradient(120deg,#667eea,#764ba2); }
.elec{ background:linear-gradient(120deg,#f7971e,#ffd200); }

/* Overlay */
.ui-overlay{
  position:absolute;
  inset:0;
  background:rgba(10,42,102,0.85);
  color:#fff;
  padding:25px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  transform:translateY(100%);
  opacity:0;
  transition:transform 0.6s ease, opacity 0.6s ease;
}

.ui-dept-card:hover .ui-overlay{
  transform:translateY(0);
  opacity:1;
}

.ui-dept-card:hover .ui-img{
  transform:scale(1.1) rotate(1deg);
}

/* Overlay text */
.ui-overlay h3{
  margin:0 0 5px;
  font-size:20px;
  text-shadow:1px 1px 5px rgba(0,0,0,0.5);
}

.ui-overlay p{
  margin:0;
  font-size:14px;
  text-shadow:1px 1px 4px rgba(0,0,0,0.4);
}

/* ===== Responsive ===== */
@media screen and (max-width:992px){
  .ui-dept-grid{
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
}

@media screen and (max-width:600px){
  .ui-dept-grid{
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}




/* all image */
/* ===============================
   RESET & BASE
================================ */




/* ===============================
   HEADER
================================ */
.top-header{
  text-align:center;
  padding:15px 10px;
  background:#003366;
  color:#ffffff;
}

.top-header h1{
  font-size:26px;
  margin-bottom:4px;
}

.top-header p{
  font-size:14px;
}

/* ===============================
   HERO SLIDER
================================ */
.slider{
  width:100%;
  height: 410px;              /* 🔥 reduced height */
  position:relative;
  overflow:hidden;
}

/* Slides wrapper */
.slides{
  display:flex;
  width:100%;
  height:100%;
  transition:transform 1s ease-in-out;
}

/* Slide images */
.slides img{
  width:100%;
  height:100%;
  object-fit:cover;         /* full width – no black sides */
  flex-shrink:0;
}

/* ===============================
   DOT NAVIGATION
================================ */
.dots{
  position:absolute;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
}

.dot{
  width:12px;
  height:12px;
  background:rgba(255,255,255,0.6);
  border-radius:50%;
  display:inline-block;
  margin:0 6px;
  cursor:pointer;
  transition: background 0.3s;
}

.dot.active{
  background:#ffd000;
}

/* ===============================
   RESPONSIVE
================================ */
@media(max-width:992px){
  .slider{
    height:55vh;
  }

  .top-header h1{
    font-size:22px;
  }
}

@media(max-width:768px){
  .slider{
    height:45vh;
  }

  .top-header h1{
    font-size:20px;
  }

  .top-header p{
    font-size:13px;
  }
}

@media(max-width:480px){
  .slider{
    height:40vh;
  }

  .dot{
    width:10px;
    height:10px;
    margin:0 4px;
  }
}



/* about */



.navbar {
  background-color: #003366;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
}

.menu li a:hover {
  background-color: #ffcc00;
  color: black;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background-color: #003366;
  min-width: 220px;
  list-style: none;
  padding: 0;
  z-index: 1000;
}

.dropdown-menu li a {
  padding: 12px 15px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}



/* cource*/


.navbar {
  background-color: #003366;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;                 /* horizontal menu */
  justify-content: center;       /* ⭐ CENTER ALIGN ⭐ */
  align-items: center;
}
.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
}

.menu li a:hover {
  background-color: #ffcc00;
  color: black;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background-color: #003366;
  min-width: 250px;
  list-style: none;
  padding: 0;
  z-index: 1000;
}

.dropdown-menu li a {
  padding: 12px 15px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* vission_mission */
.vision-mission {
    background: #f4f6f9;
    padding: 50px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.vision-mission h2 {
    color: #002147;
    margin-bottom: 40px;
    font-size: 28px;
}

.vm-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.vm-box {
    background: #ffffff;
    width: 350px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeUp 1s ease;
}

.vm-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.vm-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.vm-box h3 {
    color: #002147;
    margin-bottom: 10px;
}

.vm-box p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .vm-box {
        width: 100%;
    }
}


/* ================= Annual Report Section ================= */

.annual-report {
    padding: 40px 20px;
    margin-bottom: 200px;          /* footer se proper space */
}

.annual-report h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000;
}

/* Report Card */
.report-card {
    display: flex;
    align-items: center;
    width: 320px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 15px;
    text-decoration: none;
    border-radius: 6px;
    color: #000;
    transition: all 0.3s ease;
}

/* Hover Effect */
.report-card:hover {
    background: #002147;
    color: #fff;
}

/* Icon */
.report-icon {
    font-size: 30px;
    margin-right: 15px;
}

/* Text */
.report-text {
    font-size: 15px;
    font-weight: bold;
}

/* ================= Footer Spacing (optional but recommended) ================= */

footer {
    margin-top: 40px;
}

/*===================== VISION MISSION ==========================*/



/* TOP BAR */
.top-bar {
  background: #002147;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 14px;
}

/* HEADER */
.header {
  background: #f2f2f2;
  padding: 20px;
  text-align: center;
}

.title h1 {
  color: #002147;
}

.title p {
  font-size: 14px;
}

/* PAGE TITLE */
.page-title {
  background: #002147;
  color: white;
  padding: 30px;
  text-align: center;
}

.page-title a {
  color: #ffcc00;
  text-decoration: none;
}

/* VISION MISSION */
.vision-mission {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
  background: #fafafa;
}

.vm-box {
  background: #fff;
  width: 350px;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.icon {
  font-size: 40px;
}

.vm-box h3 {
  margin: 15px 0;
  color: #002147;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .vision-mission {
    flex-direction: column;
    align-items: center;
  }
}





/* TOP BAR */
.top-bar {
  background: #002147;
  color: #fff;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* HEADER */
.header {
  background: #f4f4f4;
  text-align: center;
  padding: 20px;
}

.header h1 {
  color: #002147;
}

.header p {
  font-size: 14px;
}

/* PAGE TITLE */
.page-title {
  background: #144b7a;
  color: #fff;
  padding: 25px;
  text-align: center;
}

/* ==================MANAGEMENT SECTION =====================*/

.management-section {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.mgmt-title {
  font-size: 20px;
  color: #002147;
  margin: 25px 0 10px;
}

.trust-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* TABLE */
.management-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 14px;
}

.management-table th {
  background: #5b8bb4;
  color: white;
  padding: 10px;
  text-align: left;
}

.management-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.management-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .management-table {
    font-size: 13px;
  }

}


/* foundaer*/

/* BODY */

/* HEADER */
.fp-header {
  background: #002147;
  color: white;
  text-align: center;
  padding: 30px 10px;
}

.fp-header a {
  color: #ffcc00;
  text-decoration: none;
}

/* MAIN SECTION */
.fp-section {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  padding: 30px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* IMAGE */
.fp-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

/* TEXT */
.fp-section h2 {
  color: #002147;
  margin-bottom: 5px;
}

.fp-section h4 {
  color: #555;
  margin-bottom: 20px;
}

.fp-section p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}









.form-card{
  width:420px;
  background:#fff;
  padding:25px 30px;
  border-radius:8px;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

.form-card h1{
  text-align:center;
  font-size:24px;
  margin-bottom:5px;
  letter-spacing:1px;
}

.subtitle{
  text-align:center;
  color:#666;
  margin-bottom:20px;
  font-size:14px;
}

form label{
  display:block;
  margin-bottom:5px;
  font-size:14px;
  color:#333;
}

form input,
form select,
form textarea{
  width:100%;
  padding:9px;
  margin-bottom:15px;
  border:1px solid #ccc;
  border-radius:4px;
  font-size:14px;
}

form input:focus,
form select:focus,
form textarea:focus{
  outline:none;
  border-color:#ff6a00;
}

.gender{
  display:flex;
  gap:20px;
  margin-bottom:15px;
}

.gender-option{
  font-size:14px;
}

textarea{
  resize:none;
  height:80px;
}

.error{
  color:red;
  font-size:12px;
  margin-top:-10px;
  margin-bottom:10px;
  display:block;
}

button{
  width:100%;
  padding:10px;
  background:#ff6a00;
  color:white;
  border:none;
  border-radius:4px;
  font-size:16px;
  cursor:pointer;
}

button:hover{
  background:#e65c00;
}

/* civil enginering*/



/* HEADER */

.main-header {
  text-align: center;
  padding: 25px 10px;
  background: linear-gradient(135deg, #1f3a8a, #2563eb);
  color: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}

.main-header h1 {
  font-size: 28px;
  letter-spacing: .5px;
}

.main-header p {
  margin-top: 6px;
  font-size: 18px;
}

/* LAYOUT */

.container {
  display: flex;
  gap: 18px;
  padding: 18px;
}

/* SIDEBAR */

.sidebar {
  width: 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,.15);
  padding: 12px 0;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 12px 16px;
  margin: 6px 10px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  gap: 6px;
  align-items: center;
  transition: .25s;
}

.sidebar li:hover {
  background: #eef2ff;
  transform: translateX(3px);
}

.sidebar li.active {
  background: #1f3a8a;
  color: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}

/* CONTENT */

.content {
  flex: 1;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,.12);
}

.section {
  display: none;
}

.section.active {
  display: block;
}

/* HEADINGS */

h2 {
  margin-bottom: 12px;
  color: #1f3a8a;
}

h3 {
  margin-bottom: 6px;
}

/* CARDS */

.card {
  margin: 50px 0;
  padding: 20px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  transition: .25s;
}

.card:hover {
  background: #eef2ff;
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.card-header .icon {
  font-size: 20px;
}

/* TABLES */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
}

th {
  background: #1f3a8a;
  color: #fff;
  padding: 10px;
  font-weight: 500;
}

td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
  background: #f2f4ff;
}

/* ADMISSION CARDS */

.admission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 15px;
}

.admission-card {
  height: 150px;
  border-radius: 16px;
  padding: 12px;
  color: orangered;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,.25);
}

.admission-card h3 {
  text-shadow: 0 3px 8px rgba(0,0,0,.6);
}

.btn {
  position: absolute;
  bottom: 12px;
  padding: 6px 12px;
  background: rgba(0,0,0,.55);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: .25s;
}

.btn:hover {
  background: #1f3a8a;
}

/* LAB TABLE */

.lab-table td {
  font-size: 14px;
}

/* GALLERY */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 10px;
  margin-top: 10px;
}

.gallery img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,.25);
  transition: .25s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* FOOTER */

.main-footer {
  margin: 20px;
  padding: 12px;
  text-align: center;
  border-radius: 14px;
  background: #111827;
  color: #fff;
}

/* ==============================
   BULLET ALIGNMENT FIX
   ============================== */

.content ul,
.section ul,
.card ul {
  list-style: disc;
  margin-left: 28px;
  padding-left: 6px;
}

.content li,
.section li,
.card li {
  display: list-item !important;
  list-style-type: disc;
  list-style-position: outside;
  line-height: 1.7;
  margin-bottom: 6px;
  text-align: justify;
}

/* RESPONSIVE */

@media(max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}





/* ACP Website Font Look */



/* ACP Blue Header */
.acp-header{
  text-align:center;
  padding:28px 10px;
  background:#0f2c64;
  color:#fff;
  border-bottom:4px solid #ff7a21; /* ACP Orange Accent */
}

.acp-header h1{
  font-size:26px;
  font-weight:700;
  text-transform:capitalize;
}

/* Content Container */
.infra-container{
  max-width:1100px;
  margin:35px auto;
  padding:0 15px;
}

/* Section Layout */
.infra-box{
  display:flex;
  align-items:center;
  gap:48px;
  margin:70px 0;
  opacity:0;
  transform:translateY(25px);
  transition:.6s ease;
}

.infra-box.show{
  opacity:1;
  transform:translateY(0);
}

.infra-box.reverse{
  flex-direction:row-reverse;
}

/* Images */
.infra-img{
  flex:1;
}

.infra-img img{
  width:100%;
  border-radius:6px;
  border:3px solid #eeeeee;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

/* Text Content */
.infra-text{
  flex:1.2;
  text-align:justify;
}

.infra-text h2{
  color:#0f2c64;
  font-size:17px;
  margin-bottom:6px;
  text-transform:uppercase;
  letter-spacing:.5px;
  border-left:4px solid #ff7a21;
  padding-left:8px;
}

.infra-text p{
  line-height:1.7;
  font-size:14px;
   margin: 40px;
   padding: 15px 15px 15px 15px ;
}

/* Responsive Mobile */
@media(max-width:850px){
  .infra-box,
  .infra-box.reverse{
    flex-direction:column;
  }
}



/* syllabus*/




/* Page Section */
.section-box{
  padding:32px 20px;
}

/* Title */
.title{
  font-size:22px;
  margin-bottom:16px;
  color:#0d1f3c;
  font-weight:700;
}

/* Card */
.syllabus-card{
  display:flex;
  gap:20px;
  align-items:flex-start;
  border:1px solid #d9d9d9;
  padding:16px;
  background:#f8fafc;
  border-left:5px solid #e65100; /* orange college style */
  border-radius:6px;
}

/* Icon Image */
.syllabus-img{
  width:160px;
  border:1px solid #ddd;
  padding:6px;
  background:#fff;
  border-radius:4px;
}

/* Text Area */
.text-area{
  margin-top:4px;
}

.label{
  font-size:15px;
  margin-bottom:12px;
  color:#333;
}

/* Button */
.btn-link{
  display:inline-block;
  padding:9px 16px;
  border:1px solid #0f2e78;
  text-decoration:none;
  color:#0f2e78;
  font-weight:600;
  border-radius:4px;
  transition:0.25s;
}

.btn-link:hover{
  background:#0f2e78;
  color:#fff;
}

/* ---------- Responsive ---------- */

@media(max-width:768px){

  .syllabus-card{
    flex-direction:column;
  }

  .syllabus-img{
    width:100%;
    max-width:240px;
  }
}


/*important link*/

/* Important Links Section */
.important-links-section{
  padding: 28px 20px;
  background:#f5f7ff;
  border-top:3px solid #1f3a8a;
}

/* Title */
.important-title{
  font-size:22px;
  font-weight:600;
  color:#0d1f3c;
  margin-bottom:18px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* Grid Layout */
.links-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

/* Link Card */
.link-card{
  background:#ffffff;
  border-radius:14px;
  padding:18px 16px;
  border:1px solid #dbe3ff;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
  transition:.3s;
}

.link-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 22px rgba(0,0,0,.10);
}

/* Card Title */
.link-card h3{
  font-size:17px;
  margin-bottom:8px;
  color:#1f3a8a;
  font-weight:600;
}

/* Description */
.link-card p{
  font-size:14px;
  color:#444;
  margin-bottom:12px;
  text-align:justify;
}

/* Direct Button */
.direct-btn{
  display:inline-block;
  padding:8px 12px;
  border-radius:10px;
  font-size:13px;
  text-decoration:none;
  border:1px solid #1f3a8a;
  color:#1f3a8a;
  font-weight:600;
  transition:.25s;
}

.direct-btn:hover{
  background:#1f3a8a;
  color:#fff;
}

/*student section */
/* PAGE HEADER */
.page-header {
  padding: 28px 10px;
  text-align: center;
  background: linear-gradient(135deg,#0d1f3c,#1f3a8a);
  color: #fff;
}
.page-header h2 { font-size: 22px; }

/* SECTION BOX */
.section-box {
  padding: 28px 20px;
  background: #ffffff;
}

/* TABLE */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
}
.table th {
  background: #1f3a8a;
  color: #fff;
  padding: 10px;
  font-size: 14px;
}
.table td {
  padding: 10px;
  font-size: 14px;
}
.table tr:nth-child(even) { background: #f4f6fc; }
.table tr:hover { background: #e6ecff; }

/* INFO LIST */
.info-list li {
  padding: 6px 0;
  font-size: 14px;
  text-align: justify;
}

/* DOWNLOAD BOX */
.download-box {
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f7f9ff;
  margin-top: 10px;
}
.download-box a {
  font-weight: bold;
  text-decoration: none;
  color: #1f3a8a;
}





/* schollership */


/* RESET */


/* HEADER */
.page-header{
  padding:28px 10px;
  text-align:center;
  background:linear-gradient(135deg,#153e9c,#1f6ae3);
  color:#fff;
}

.page-header h1{
  font-size:26px;
  letter-spacing:.5px;
}

/* MAIN CONTAINER */
.scholarship-container{
  max-width:1250px;
  margin:28px auto;
  display:flex;
  gap:22px;
  padding:0 18px;
}

/* SIDEBAR */
.sidebar{
  width:270px;
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  padding:18px;
}

/* Sidebar Buttons */
.tab-btn{
  width:100%;
  padding:12px 14px;
  margin-bottom:10px;
  border:none;
  border-radius:12px;
  background:#eef2ff;
  color:#0d1f3c;
  font-size:15px;
  text-align:left;
  cursor:pointer;
  display:flex;
  gap:10px;
  align-items:center;
  transition:.25s;
}

.tab-btn:hover{
  background:#dbe4ff;
}

/* Active Tab */
.tab-btn.active{
  background:#153e9c;
  color:#ffffff;
  font-weight:600;
  box-shadow:0 6px 12px rgba(0,0,0,.25);
}

/* CONTENT SECTION */
.content{
  flex:1;
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  padding:22px;
}

.tab-content{
  display:none;
}

.tab-content.active{
  display:block;
}

/* CONTENT HEADINGS */
.content h2{
  font-size:20px;
  margin-bottom:10px;
  color:#0f2d63;
}

/* LIST */
.content ul{
  margin-left:20px;
  margin-bottom:10px;
}

.content li{
  margin-bottom:6px;
  text-align:justify;
}

/* TABLE */
table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
  font-size:14px;
}

thead{
  background:#153e9c;
  color:#fff;
}

th,td{
  border:1px solid #d2d7e6;
  padding:8px 10px;
}

tbody tr:nth-child(even){
  background:#f3f5fc;
}

/* LINKS */
a{
  color:#153e9c;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

/* RESPONSIVE */
@media(max-width:900px){
  .scholarship-container{
    flex-direction:column;
  }
  .sidebar{
    width:100%;
  }
}


/* logo collegename blue bar */

/* FIX HEADER SIZE FOR ALL PAGES */

.header {
  padding: 15px 30px;
}

.header img {
  height: 80px;   /* logo size FIX */
  width: auto;
}

.header h1 {
  font-size: 34px;   /* Dr. Arun Motghare Polytechnic */
  line-height: 1.2;
  margin: 0;
}
.header h3 {
  font-size: 16px;
  margin: 4px 0 0;
}
.header h2,
.header p {
  font-size: 16px;   /* Trust name & AICTE line */
}

/* MENU BAR */
.navbar a {
  font-size: 16px;   /* blue bar font size */
  padding: 14px 18px;
}

/* ===== GLOBAL BODY (ONLY ONE) ===== */


/* =========================================
   COMMON BANNER WITH HTML IMAGE bar
   ========================================= */

.dept-banner {
    width: 100%;
    height: 120px;
    position: relative;
    overflow: hidden;
}

/* Image */
.dept-banner-img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    display: block;
}

/* Dark Overlay */
.dept-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(2, 20, 60, 0.85),
        rgba(2, 20, 60, 0.85)
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Title */
.dept-banner-overlay h1 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "Times New Roman", serif;
}

/* Responsive */
@media (max-width: 768px) {
    .dept-banner {
        height: 140px;
    }

    .dept-banner-overlay h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }
}

/* institude */ 

.institute-section {
  padding: 50px 20px;
  background-color: #ffffff;
}

.institute-container {
  max-width: 1200px;
  margin: auto;
}

.institute-title {
  color: #0b2a55;
  font-size: 28px;
  margin-bottom: 20px;
  border-left: 5px solid #0b2a55;
  padding-left: 10px;
}

.institute-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.institute-image img {
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.institute-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .institute-content {
    flex-direction: column;
  }

  .institute-image img {
    width: 100%;
  }
}

/* ===== PHOTO GALLERY CAPTION HOVER ONLY CSS ===== */

/* Image container – aapke gallery ke parent class ke hisab se */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}




/* nunber animation */


/* COUNTER SECTION WITH IMAGE */
.counter-section{
  position: relative;
  display:flex;
  justify-content:space-around;
  align-items:center;
  text-align:center;
  padding:90px 20px;

  background-image: url("../images/bluebar.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* DARK OVERLAY */
.counter-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.55);
}

/* COUNTER BOX */
.counter-box{
  position: relative;
  z-index: 2;
  width:220px;
}

/* NUMBER */
.counter{
  font-size:46px;
  font-weight:bold;
  color:#ffffff;
}

/* TEXT */
.counter-box p{
  margin-top:10px;
  font-size:14px;
  letter-spacing:1px;
  color:#ffffff;
}

/* RESPONSIVE */
@media(max-width:768px){
  .counter-section{
    flex-direction:column;
    gap:35px;
  }
}

/* contact */



.contact-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.contact-container h2 {
    text-align: center;
    color: #0077b6;
    margin-bottom: 30px;
}

.contact-details p {
    line-height: 1.6;
    font-size: 16px;
}

.contact-details a {
    color: #0077b6;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 30px;
}

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


/*fees*/

body{
font-family: Arial;
margin:40px;
}

.heading{
color:#0f2a4a;
font-size:28px;
}

.fees{
font-size:18px;
}

.fees a{
color:red;
font-weight:bold;
text-decoration:none;
}

.fees a:hover{
text-decoration:underline;
}
