/* styles.css */
body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #a58829;
    padding: 20px;
    border-radius: 10px;
    width: 500px;
    position: relative;
}

.close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 15px;
    right: 15px;
    margin-bottom: 10px;
    background: #FFF;
    color: red;
    border: none;
    width: 30px;
    height:30px;
    cursor: pointer;
    border-radius: 50%;
}
.close-btn:hover {
    background: red;
    color: white;
}

input,
select {
    width: 95%;
    padding: 10px 5px;
    border: 1px solid #fff;
    border-radius: 3px;
    line-height: 1.5;
}

label {
    display: inline-block;
    text-align: right;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.button-2 {
    float: right;
    padding: 10px 15px;
    background-color: #FFF;
    color: green;
    font-size: 16px;
    font-weight: 600;
    margin-top:20px;
    margin-right:20px;
    border: none;
    border-radius: 5px;
}

.button-2:hover {
    padding: 10px 15px;
    background-color: green;
    color: #FFF;
    font: 14px;
    font-weight: 600;
    cursor: pointer;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}


.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background-color: #0e2642;
}

.top-link {
    color: white;
    text-decoration: none;
    margin-left: 5px;
    font-size: 14px;
    padding: 5px 10px;
}
a.top-link:hover{
    color: #f0bf1f;
}

.top-link:not(:last-child) {
    border-right: 1px solid #FFF;
}
.social-links{
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links a {
    color: white;
    margin: 0px 5px;
    font-size: 16px;
}

.apply-now {
    margin-left:10px;
    background-color: #FFF;
    color: green;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    margin-top:0;
    margin-right:0%;
}

.apply-now i {
    transform: rotate(90deg);
}

.apply-now:hover {
    background-color: green;
    color: white;
    cursor: pointer;

}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.header {
    background-color: #FFF;
    color: #2c4b8a;
    position: sticky;
    /* Make it sticky */
    top: 0;
    /* Stick it to the top of the viewport */
    z-index: 1000;
 transition: background-color 0.3s ease, color 0.3s ease;
}

.header.scrolled {
  background-color:#f0bf1f;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    margin-right: 10px;
    mix-blend-mode: multiply;
    
}

/* .naac-grade {
    margin-top: -10px;
    text-align: right;
    word-spacing: 1px;
}

.naac-grade span {
    display: block;
    margin-top: -20px;
}

.grade {
    font-size: 24px;
    font-weight: bold;
    color: red;
} */

.admission-helpline {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    flex-wrap: wrap;
}

.admission-helpline .helpline-number {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    line-height: 2px;
}

.admission-helpline .helpline-number a {
    color: white;
}

.navbar {
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    position: relative;
}



.nav-list a {
    color: #2a4b70;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.nav-list>li:hover {
    background-color: #1f3a66ea;
    color: #FFF;
}
.nav-list>li:hover a{

    color: #FFF;
}


.dropdown-list {
    display: none;
    position: absolute;
    list-style: none;
    background-color: #2a4b70;
    top: 100%;
    /* Position it directly below the parent menu */
    left: 0;
    padding: 0;
    min-width: 200px;
    /* Set a minimum width for consistent alignment */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown-list li {
    padding: 0px 0px !important;
    text-align: left;
    border-top: 1px solid rgb(255, 255, 255);
}

.dropdown-list a {
    color: #1f3a66ea;
    padding: 10px 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    display: block;
    white-space: nowrap;
    /* Prevents text wrapping in dropdown items */
    transition: background-color 0.3s ease;
}

.dropdown-list li:hover {
    background-color: #1f3a66ea;
}
.dropdown-list li:hover a{
    color: #FFF;
}

.dropdown:hover .dropdown-list {
    display: block;
    /* Show the dropdown menu when hovering over the parent */
}

.toggle-btn {
  display: none;
  font-size: 2rem;
  color: #2a4b70;
  cursor: pointer;
}

hr {
    background-color: red;
    height: 5px;
    border: none;
    margin-top: 0px;
    z-index: 999;
}


/*Footer CSS*/

.footer {
    background-color: #2a4b70;
    color: white;
    padding: 5px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}
.footer-column h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #f0bf1f;
    margin-top: 5px;
   
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top:5px;
}

.footer-column ul li {
    display: block;
    position: relative;
    cursor: pointer;
    margin-bottom: 2px;
    color: #fff; 
   
}
.footer-column ul li span {
    display: inline-block;
    position: relative;
    color: white;
    cursor: pointer;
   
}
.footer-column ul li span::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #f0bf1f;
    margin-top: 3px;
    transition: width 0.3s ease;
}
.footer-column ul li span:hover::after {
    width:100%;

}


.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}


.footer-column p {
    line-height: 1.6;
    margin: 5px 0;
}

.footer-column p a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-column p a:hover {
    color: #f0bf1f;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #0a1c30;
    color: #FFF;
    margin-top: 0px;
    padding: 5px 0px;
}

.footer-social a {
    color: white;
    margin: 0 5px;
    font-size: 18px;
    transition: color 0.3s ease;
    align-content: center;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: transparent;
    display: inline-block;
}
.footer-social a:hover {
    background-color: #f0bf1f;
}


a:hover .fa-facebook-f {
  color: #1877F2;
}

/* Twitter */
a:hover .fa-twitter {
  color: #1DA1F2;
}

/* LinkedIn */
a:hover .fa-linkedin-in {
  color: #0077B5;
}

/* Instagram (uses gradient in real branding, so using closest base) */
a:hover .fa-instagram {
  color: #E1306C;
}

/* WhatsApp */
a:hover .fa-whatsapp {
  color: #25D366;
}

/* YouTube */
a:hover .fa-youtube {
  color: #FF0000;
}




/*index page css*/



.container .col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 23%;
    height:200px;
    border-radius: 5px;
    background-color: #2a4b70;
    z-index: 9;
    box-shadow:
        8px 8px 15px rgba(0, 0, 0, 0.5),
        -8px -8px 15px rgba(255, 255, 255, 0.05),
        inset 2px 2px 4px rgba(255, 255, 255, 0.05),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}
.container .col-40 {

    width: 23%;
    height: 200px;
    background-color: #2a4b70; /* inner box color */
    color: white;
    border-radius:5px;
    text-align: center;
    margin:10px;
    padding-top: 0px;
   
}

.container .col-40:hover {
    transform: scale(1.02); /* Slight zoom on hover */
    cursor: pointer;
}

.col h2 {
    width: auto;
    font-size: 35px;
    color: #FFF;
}

.col img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}


.col p {
    width: 100%;
    font-size: 25px;
    color: #FFF;
    margin-top:0;
    
}

/*testinomial css*/

.testimonial-container {
    width: 100%;
    height: 100px;
    background-color: #2c4b8a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    min-width: 400px;
    padding: 70px 20px;
    margin: 5px;
    color: #FFF;
    position: relative;
}

.testimonial-container img.tnimg {
    object-fit: cover;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
}

.testimonial-container .text {
    color: #FFF;
}


.username {
    font-size: 13px;
    font-weight: 100;
}

/*course-college filter*/

.filter-tabs {
    position: relative;
    display: flex;
    justify-content: center;
    top: 80px;

}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background-color: #FFF;
    padding: 10px 50px;
    border-radius: 60px;
    margin-top: 0px;
}

.tab {
    padding: 10px 40px;
    border: 2px solid #2a4b70;
    background-color: #e6eef7;
    color: #2c4b8a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    box-shadow:
        8px 8px 15px rgba(0, 0, 0, 0.5),
        -8px -8px 15px rgba(255, 255, 255, 0.05),
        inset 2px 2px 4px rgba(255, 255, 255, 0.05),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);

}

.tab.active {
    background-color: #2a4b70;
    color: white;
    border-left: 10px solid red;
    border-right: 10px solid red;
    box-shadow:
        8px 8px 15px rgba(0, 0, 0, 0.5),
        -8px -8px 15px rgba(255, 255, 255, 0.05),
        inset 2px 2px 4px rgba(255, 255, 255, 0.05),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}

/* Grid styles */
.content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #2a4b70;
    padding: 0px 40px;
}

.grid {
    display: flex;
    justify-content:flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-left:10%;
    padding-top: 100px;
    padding-bottom: 5%;

}

.card {
    width: 20%;
    text-align: center;
    padding: 5px 5px;
    border-radius: 10px;
    background-color: white;
    box-shadow:
        8px 8px 15px rgba(0, 0, 0, 0.5),
        -8px -8px 15px rgba(255, 255, 255, 0.05),
        inset 2px 2px 4px rgba(255, 255, 255, 0.05),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;

}

.card img {
    object-fit: cover;
    width: 60%;
    border-radius: 10px;
}

.card h3 {
    background-color: #2a4b70;
    font-size: 16px;
    color: #FFF;
    font-weight: 600;
    padding: 20px 10px;
    border-radius: 50px;
    border-right: 15px solid red;
    border-left: 15px solid red;
}

.card:hover {
    transform: translateY(-5px);
  
}


/* Recruiters CSS */

marquee {
    margin: 0px 40px;
}

.recruiter-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    gap: 5px;
    padding: 0px;
margin-bottom:1rem;
}

.recruiter-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    padding: 10px 10px;
    margin:0 10px;
    border-bottom: 5px 5px 10px 10px #2a4b70;
    box-shadow:
        8px 8px 15px rgba(0, 0, 0, 0.5),
        -8px -8px 15px rgba(255, 255, 255, 0.05),
        inset 2px 2px 4px rgba(255, 255, 255, 0.05),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);

}






/* Mobile View CSS */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .top-bar {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .top-link {
        font-size: 12px;
        padding: 5px;
        margin: 2px 0;
    }

    .social-links {
        margin-top: 10px;
    }

    .apply-now {
        font-size: 14px;
        padding: 8px 12px;
    }

    .main-header {
        flex-direction: row;
        text-align: center;
    }

    .logo {
        width: 100px;
        height: 50px;
    }

  .toggle-btn {
    display: block;
    font-size: 2rem;
    color: #2a4b70;
    cursor: pointer;
}
.navbar {
    width: 100%;
}


  .nav-list {
    display: none;
    flex-direction: column;
    background: #2a4b70;
    position: absolute;
    top: 20px;
    left: 0;
    right:0;
    width: 100%;
    z-index: 99;
  }

  .nav-list li{
    padding-right:50px;
    border:none !important;
  }
   .nav-list li a{
    color:white;
    padding:10px 10px;
    text-align: right;
   }

  .nav-list.active {
    display: flex;
  }

  
  .dropdown-list {
    display: none;
    flex-direction: column;
    background: #2a4b70;
    position: absolute;
    top: 30px;
    left: -130px;
    right:0;
    width: 100%;
    z-index: 99;
  }

.hero-text h2 {
    font-size: 1.3rem !important;
    margin-bottom: 0px !important;

}

.hero-text p {
    font-size: 1rem !important;
    margin-bottom: 5px !important;
}

.hero-text .btn {
    padding: 10px 10px;
    width: 50%;
    color: white;
    background: #ff4c4c;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}


    .admission-helpline {
        width: 50%;
        text-align: center;
        padding: 10px;
        flex-direction: column;
    }

    .admission-helpline .helpline-number {
        font-size: 16px;
    }
    .container {
        justify-content: center;
        gap: 0px 10px !important;
        width: 100%;
        overflow: hidden;
        margin-top:0px !important;
    }

    .container .col {
        width: 20%;
        height: auto;
        
    }
    .container .col-40 {
    width: 25%;
    height: auto;
    border-radius:5px;
    margin:5px;
    padding-top: 0px;
    box-shadow:
        8px 8px 15px rgba(0, 0, 0, 0.5),
        -8px -8px 15px rgba(255, 255, 255, 0.05),
        inset 2px 2px 4px rgba(255, 255, 255, 0.05),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}
    .container .col-40 i{
    font-size: 20px !important;

    }
    .container .col-40 a{
        font-size: 10px !important;
    }


    .col h2 {
        font-size: 10px !important;
    }

    .col p {
        font-size:8px !important;
        margin-top: 0px;
    }
    .col-50{
        width: 100% !important;
        padding:10px;
    }
    .col-50 p {
        text-align: justify;
        font-size: 12px !important;
        font-weight: 400;
        line-height: 15.8px !important;
        color: rgb(84, 84, 84);
    }
    .testimonial-container {
        width: 100%;
        min-width: auto;
        padding: 50px 10px;
    }

    .testimonial-container img.tnimg {
        width: 80px;
        height: 80px;
    }

    .filter-tabs {
        flex-direction: row !important;
        top: 0px;
    }

    .tabs {
        flex-direction: column;
        padding: 15px;
    }

    .tab {
        width: 100%;
        font-size: 12px;
        padding: 12px;
    }

    .content {
        padding: 0 20px;
    }

    .grid {
        align-items: center;
        padding-top: 50px;
    }

    .card {
    display: flex;
    width: 50%;
    text-align: center;
    padding: 5px 5px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card img {
    object-fit: cover;
    width: 50%;
    border-radius: 10px;
}

.card h3 {
    background-color: #2a4b70;
    font-size: 16px;
    color: #FFF;
    font-weight: 600;
    padding: 20px 10px;
    border-radius: 50px;
    border-right: 15px solid red;
    border-left: 15px solid red;
}

    .card {
        width: 90%;
    }

    .card h3 {
        font-size: 12px;
        padding: 10px;
    }


    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        width: 100%;
    }
    .footer-column h3::after {
        content: "";
        display: block;
        width: 100%;
    }

    marquee {
        margin: 0px 10px;
    }

    .recruiter-container {
       
        justify-content: center;
    }

    .recruiter-container img {
        width: 80px;
        height: auto;
    }
    .fb_iframe_widget {
    display: inline-block;
    position: relative;
    width: 100%;
    object-fit: cover;
}

.slider {
    position: relative;
    width: 100%;
    height:auto !important;
    margin: auto;
    overflow: hidden;
   
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
    height: auto !important;
}


.slider-buttons {
    position: absolute;
    top: 50% !important;
    left:2%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}
.footer-social {
    flex-direction: column;
}

}
