body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
}
/* ===== POPUP ===== */
 
.photo-popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    z-index:9999;
}

.photo-popup img{
    max-width:90%;
    max-height:85%;
    display:block;
    margin:40px auto;
    background:#fff;
    border-radius:10px;
}

.close-btn{
    position:absolute;
    top:15px;
    right:25px;
    color:white;
    font-size:40px;
    cursor:pointer;
}
    
    
.glow-dot {
  height: 10px;
  width: 10px;
  background: #ff0000;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px #ff0000;
  animation: glow 1s infinite alternate;
}

@keyframes glow {
  from {
    opacity: 1;
    box-shadow: 0 0 5px #ff0000;
  }
  to {
    opacity: 0.3;
    box-shadow: 0 0 15px #ff0000;
  }
}
#adPopup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    max-width: calc(100% - 20px);
    background: #0b1a3a;
    color: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 10 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: slideUp 0.6s ease;
    box-sizing: border-box;
    border-top: 15px solid green;
    border-bottom: 15px solid green;
}

/* Animation */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* Text */
#adPopup .tag {
    color: #ff4d4d;
    font-size: 13px;
    margin-bottom: 8px;
    margin-left: 39px;
 

}

#adPopup h3 {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.3;
    margin-left: 10px;
     text-align: justify;
}

#adPopup .desc {
    font-size: 13px;
    margin-bottom: 12px;
    margin-left: 9px;text-align: justify;
}

/* Button */
#adPopup .btn {
    display: block;
    background: green;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 3px 3px 5px whitesmoke;
}

#adPopup .btn:hover {
    display: block;
    background:#fff;
    color: green;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 3px 3px 5px whitesmoke;
}

/* Call */
#adPopup .call {
    font-size: 13px;
    color: #ccc; margin-left: 65px;
}

/* Tablet */
@media (max-width: 1024px) {
    #adPopup {
        width: 280px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #adPopup {
         width:90%;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    bottom:10px;
    }

    #adPopup h3 {
        font-size: 16px;
    }

    #adPopup .desc {
        font-size: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    #adPopup {
        width: 280px;
        right: 2.5%;
        bottom: 8px;
        padding: 12px;
        border-radius: 8px;
    }

    #adPopup h3 {
        font-size: 15px;
    }

    #adPopup .desc {
        font-size: 11px;
    }

    #adPopup .btn {
        font-size: 13px;
        padding: 8px;
    }
}

/* Section Layout */
.image-section {
    display: flex;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

/* Card */
.image-card {
    position: relative;
    flex: 0 0 300px;
    height: 350px;

    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    cursor: pointer;
}

/* Image */
.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

/* Zoom effect */
.image-card:hover img {
    transform: scale(1.1);
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    color: #fff;

    /* hidden initially */
    transform: translateY(100%);
    transition: transform 0.2s ease;
}

/* Show overlay on hover */
.image-card:hover .overlay {
    transform: translateY(0);
}

/* Text Animation */
.overlay h2,
.overlay p,
.overlay button {
    opacity: 0;
    transform: translateY(20px);
}

/* Animate text on hover */
.image-card:hover .overlay h2 {
    animation: fadeUp 0.2s ease forwards;
    animation-delay: 0.2s;
}

.image-card:hover .overlay p {
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 0.3s;
}

.image-card:hover .overlay button {
    animation: fadeUp 0.2s ease forwards;
    animation-delay: 0.3s;
}

/* Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button */
.overlay button {
    background: #ffcc00;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.overlay button:hover {
    background: #ffaa00;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .image-section {
        flex-direction: column;
        align-items: center;
    }

    .image-card {
        width: 90%;
        height: 300px;
    }
}
//image of staff
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#fff;
    color:#333;
}


/* NAVBAR */
/*nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:#0d2c6c;
    color:#fff;
    position:sticky;
    top:0;
    z-index:1000;
}*/
nav{
    background:#0d2c6c;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 20px;
    position:sticky;
    top:0;
    z-index:999;
}
/*.logo{
    display:flex;
    align-items:center;
}*/

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}
/*.logo img{
    width:80px;
    margin-right:10px;
}*/
.logo img{
    width:60px;
    height:60px;
    border-radius:50%;
}


.logo h3{
    font-size:16px;
    line-height:1.3;
}
.menu{
    display:flex;
    align-items:center;
    gap:15px;
}

.menu a{
    color:white;
    text-decoration:none;
}

.dropdown{
    position:relative;
}

.dropbtn{
    background:none;
    border:none;
    color:white;
    cursor:pointer;
    font-size:15px;
    padding:10px;
}

.submenu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#0d2c6c;
    min-width:220px;
    z-index:999;
    border-radius:5px;
}

.submenu a{
    display:block;
    padding:12px;
    color:white;
    text-decoration:none;
}

.submenu a:hover{
    background:#1d4ed8;
}

.dropdown:hover .submenu{
    display:block;
}


.menu1 a{
    color:white;
    background: red;
    text-decoration:none;
    font-weight:500;
    transition:0.3s;
    padding: 15px;
}
/*.menu1 a{
    background:#ff9800;
    padding:10px 15px;
    border-radius:5px;
}*/
.menu a:hover{
    color:#ffd700;
}

.menu1 a:hover{
    color:black;
}

/* MOBILE MENU */
@media(max-width:768px){

.menu{
    display:none;
    flex-direction:column;
    width:100%;
    background:#0d2c6c;
}

.menu.active{
    display:flex;
}

.dropdown{
    width:100%;
}

.dropbtn{
    width:100%;
    text-align:left;
    padding:15px;
}

.submenu{
    display:none;
    position:static;
    width:100%;
    background:#163a82;
}

.submenu.show{
    display:block;
}

.submenu a{
    padding-left:30px;
}
}
.menu-toggle{
    display:none;
    color:white;
    font-size:28px;
    cursor:pointer;
}
/* HERO */
.hero{
    height:90vh;
    background:linear-gradient(rgba(13,44,108,0.2),rgba(13,44,108,0.8)),
    url('pic1.jpeg');
    background-size:cover;
    background-position:center;
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero h1{
    font-size:42px;
}

.hero p{
    margin:15px 0;
}

.btn{
    background:#ffd700;
    color:#000;
    padding:12px 25px;
    border:none;
    border-radius:5px;
    cursor:pointer;
    transition:0.3s;
    text-decoration: none;
}

.btn:hover{
    background:white;
}

/* SECTION */
section{
    padding:60px 20px;
    text-align:center;
}

/* CARDS */
.cards{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;

}

.card{
    background:#f9f9f9;
    padding:20px;
    width:280px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
}

/* TEACHER */
.teacher img{
    width:90px;
    border-radius:50%;
}

/* COURSE */
.course{
    border-left:5px solid #0d2c6c;
}

/* CTA */
.cta{
    background:#0d2c6c;
    color:white;
}

/* FOOTER */
footer{
    background:#0d2c6c;
    color:white;
    padding:20px;
    text-align:center;
}

.social a{
    color:white;
    margin:0 10px;
    font-size:20px;
}

/* RESPONSIVE */
@media(max-width:768px){

nav{
    flex-wrap:wrap;
}

.logo{
    width:85%;
}

.logo h3{
    font-size:12px;
}

.menu-toggle{
    display:block;
}

.menu{
    display:none;
    flex-direction:column;
    width:100%;
    background:#0d2c6c;
    margin-top:10px;
}

.menu.active{
    display:flex;
}

.menu a{
    width:100%;
    padding:12px;
    border-top:1px solid rgba(255,255,255,0.2);
    text-align:center;
}

.menu1{
    width:100%;
}

.menu1 a{
    display:block;
    margin:10px;
}
}

img{
    max-width:100%;
    height:auto;
}

    div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: 180px;
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}


.container {
  position: relative;
  width: 50%;
  height: 50%;
 
}

.image {
 
  width: 50%; 
  height: 50%;
 
  border-radius:25px;
}

.mission
{
      background-color:#0d2c6c;
      color:#ffd700; box-shadow: 5px 5px 7px gray;
    text-align: center;
}

.mission:hover
{
      background-color:#ffd700;
      color:#0d2c6c;

}

/* Section Layout */
.placement-section 
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 20px;
    background: #d5d8de;

    background: linear-gradient(270deg, #0f172a, #1e3a8a, #0f172a);
    background-size: 500% 500%;
}

/* Left Text */
.placement-text {
    flex: 1;

}

.placement-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
       color:#ffcc00;
       font-weight: bolder;
}

.placement-text p {
    color:white;
    margin-bottom: 15px;
     text-align: left;
}

.placement-text ul {
    padding-left: 20px;
    margin-bottom: 20px;
     text-align: left;
      color:white;
}

.placement-text ul li {
    margin-bottom: 8px;
    /*list-style-type: none;*/

}

/* Button */
.placement-text button {
    background: #ffcc00;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
    transition: 0.3s;

}


.placement-text button:hover {
    padding: 10px 88px;
    background: #ffaa00;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
}

/* Right Marquee */
.logo-marquee {
    flex: 1;
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 3s linear infinite;
}

.logo-track img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    /*filter: grayscale(100%);*/
    transition: 0.5s;
}

.logo-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Animation */
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Pause on hover */
.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

/*  Responsive */
@media (max-width: 768px) {
    .placement-section {
        flex-direction: column;
        text-align: center;
    }

    .logo-track img {
        width: 100px;
        height: 50px;
    }
}


.button {
    background: #ffcc00;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
    transition: 0.3s;
    text-decoration: none;
}


.button:hover
{
    padding: 12px 28px;
    background: #ffaa00;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
}

.slider img{
    width:100%;
    height:auto;
    display:block;
}

.footer{
    background:#0d2c6c;
    color:white;
    padding:50px 20px 20px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.footer-col h3{
    margin-bottom:15px;
    color:#ffc107;

}

.footer-col p{
    line-height:1.8;
    font-size:14px;
    text-align: left;
}

.footer-col a{
    display:block;
    color:white;
    text-decoration:none;
    margin-bottom:10px;
    transition:.3s;  
}

.footer-col a:hover{
    color:#ffc107;
    padding-left:5px;
}

.footer-bottom{
    text-align:center;
    margin-top:20px;
    padding-top:15px;
    border-top:1px solid rgba(255,255,255,.2);
    font-size:14px;
}

/* Tablet */

@media(max-width:992px){

.footer-container{
    grid-template-columns:repeat(2,1fr);
}

}

/* Mobile */

@media(max-width:768px){

.footer-container{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-col a:hover{
    padding-left:0;
}
} 
.slider-container{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:20px;
    background:#fff;
}

.slides{
    text-align:center;
}

.slides img{
    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);

    animation:rightToLeftZoom 1.5s ease;
}

@keyframes rightToLeftZoom{

    from{
        opacity:0;
        transform:translateX(100px) scale(0.8);
    }

    to{
        opacity:1;
        transform:translateX(0) scale(1);
    }

}

/* Tablet */

@media(max-width:992px){

.slider-container{
    grid-template-columns:repeat(2,1fr);
}

.slides img{
    height:350px;
}

}

/* Mobile */

@media(max-width:768px){

.slider-container{
    grid-template-columns:1fr;
}

.slides img{
    height:auto;
    max-height:450px;
    object-fit:contain;
}

}