*{
    margin:0;
    padding:0;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(32, 5, 13, 0.6)),url(images/8f6dcd18b49d05e21cad128767ba8457.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding:2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    height: 100px;
    border-radius: 50%;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none; 
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-family: 'poppins',sans-serif;
    font-weight: 600;
    display: inline-block;

}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background:#f44336 ;
    margin: auto;
    transition: 0.5s;
    display:block;
}

.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size:15px ;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border:1px solid #fff;
    padding:12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border:1px solid #f44336;
    background: #f44336;
}
nav .fa-solid{
    display: none;
}
@media(max-width:700px){
    .text-box h1{
font-size: 20px;
}
.nav-links ul li{
    display:block;
}
.nav-links{
    position: absolute;
    background: #f44336;
    height: 100vh;
    width: 200px;
    top: 0;
    right:-200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
}
nav .fa-solid{
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
}
.fa-xmark,.fa-bars{
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 20px;
    cursor: pointer;
}
.nav-links ul{
    padding: 30px;
}
}

.important-links {
    background-color: #f2f6fb;
    border-left: 5px solid #003366;
    padding: 12px 15px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.label {
    font-weight: bold;
    color: #003366;
}

.important-links a {
    color: #0066cc;
    text-decoration: none;
    font-size: 15px;
}

.important-links a:hover {
    text-decoration: underline;
}

.divider {
    color: #666;
}


/*-----course-----*/

.course-box{
    width:80%;
    margin: auto;
    text-align: center;
    padding: 60px 0;
}
.course-box h1{
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.course-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding:20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    text-align: left;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #003366;
}
.course-col ul{
    padding-left: 20px;
}
.course-col ul li{
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.15);

}

@media(max-width:700px){
    .row{
        flex-direction: column;
    }
    .course-box{
        width: 90%;
    }
}

/*----facility----*/

.facilities{
    width: 80%;
    margin:auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
.facility-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    height: 200px;
}
.facility-col img{
    width:100%;
    height: 100%;
    border-radius: 10px;
    }
.facility-col p{
    padding:0;
  

}    
.facility-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;

}


.cta{
    width: 80%;
    margin:100px auto ;
    margin-top: 120px;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
    url(images/52fb5d9391eb956d6391abcbb24a43a5.jpg);
    background-position: center;
    background-size:cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
   ;

}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width:700px){
    .cta h1{
        font-size: 24px;
    }


}

/*-------footer----*/

.footer{
    width:100%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    margin-top: 15px;
    background-color:#003366;
    padding-bottom: 50px;
    color: #eef3f8;

}
.footer h1{
    margin-bottom:10px;
    
   
}
.footer p{
    font-size: small;
}

@media(max-width:700px){
    .footer{
        padding-top: 30px;  
        padding-bottom: 30px;
        margin-top: 20px;
    }
    .footer h1{
        font-size: 20px;
        margin-bottom: 10px;
    }
    .footer p{
        font-size: 14px;
        line-height: 1.6;
        padding: 0 15px;
    }
}

/*---footer end----*/


.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),
    rgba(4,9,30,0.7)),url(images/college_front.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}


.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.imp{
   text-align: center; 
}
.imp h1{
color: #f44336;
}
.imp p{
    padding: 15px 0 25px;
    font-size:20px
}

/*-----about page-----*/
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
}
.about-col h2{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
}



/*-----course-----*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}




.page-header {
    background: #003366;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
}

.light-bg {
    background: #eef3f8;
}

.container h2 {
    color: #003366;
    margin-bottom: 15px;
}

.container p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.container ul {
    padding-left: 20px;
}

.container ul li {
    margin-bottom: 8px;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.card {
    background: #003366;
    color: white;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

/*------infra page-----*/

.facility{
width: 90%;
margin: auto;
padding-top: 80px;
text-align: center;
}
.facility h2{
    text-align: center;
    margin-bottom: 25px;
}

.grid{
    display: grid;
    grid-template-columns:repeat(2,1fr);
    gap: 30px;
    margin-bottom: 40PX;
}
.item{
    background: #204e90;
    padding: 15px;
    border-radius: 10px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
}
.text{
    text-align: center;
}
.cls{
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
}
.cls img{
    width:100%;
    height:100%;
    object-fit: cover;
    display: block;
}

.grid h4{
    text-align: center;
    margin-top: 5%;
    margin-bottom: 20px;
    color: white;

}



@media (max-width: 700px) {

  .facility {
    width: 80%;
    padding-top: 40px;
  }

  .grid {
    grid-template-columns: 1fr;   /* 1 column on mobile */
    gap: 25px;
   
  }


  .cls {
    aspect-ratio: 4/3;  /* smaller image height */
  }

  .grid h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
  }

}



/*--------end-------*/

.view{
    width: 100%;
    text-align: center;
    margin: 40px 0 60px;
    clear: both;
}

.view-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding:12px 34px;
    font-size: 13px;
    background-color: #0066cc;
    position: relative;
    cursor: pointer;
    align-items: center;
}
.view-btn:hover{
    background: #f44336;
}



 /*------contact page-----*/

 .location{
    width:80%;
    margin: auto;
    padding: 80px 0;
 }
 .location iframe{
    width: 100%;
 }

.contact-us{
    padding:40px 15px;
    background-color: #ffffff;
}
.contact-box{
    max-width: 600px;
    margin: auto;
    
}
.contact-box p{
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}
.org-name{
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
.contact-box a{
    color: #0066cc;
    text-decoration: none;
}
.contact-box a:hover{
    text-decoration: underline;
}


/*------download-----*/

.download-section {
    padding: 30px 15px;
    background-color: #fffef2;
}

.download-section h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 20px;
}

.download-table {
    width: 100%;
    max-width: 900px;
    margin: auto;
    border-collapse: collapse;
    background: #ffffff;
}

.download-table th {
    background-color: #003366;
    color: #ffffff;
    padding: 10px;
    font-size: 15px;
}

.download-table td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
}

.download-section {
    padding: 30px 15px;
    background-color: #fffef2;
}

.download-section h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 20px;
}

.download-table {
    width: 100%;
    max-width: 900px;
    margin: auto;
    border-collapse: collapse;
    background: #ffffff;
}

.download-table th {
    background-color: #003366;
    color: #ffffff;
    padding: 10px;
    font-size: 15px;
}

.download-table td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
}

.download-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.download-table tr:hover {
    background-color: #eef5ff;
}

.pdf-btn {
    background-color: #c00000;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
}

.pdf-btn:hover {
    background-color: #900000;
}

.download-table tr:hover {
    background-color: #eef5ff;
}

.pdf-btn {
    background-color: #c00000;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
}

.pdf-btn:hover {
    background-color: #900000;
}


/*-----google translate----*/

/* Remove outer spacing */
#google_translate_element {
    margin: 0;
    padding: 0;
    display: inline-block;
   
}

/* Main dropdown */
#google_translate_element select {
    margin: 0 !important;
    padding: 4px 8px !important;   /* reduce inside space */
    height: auto !important;
    line-height: 1.2 !important;
    border-radius: 999px;
    border: 1px solid #000;
    font-size: 14px;
}

/* Remove Google top spacing */
.goog-te-gadget {
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}

/* Hide extra Google text space */
.goog-te-gadget span {
    display: none;
}

/* Remove iframe space */
.goog-te-gadget iframe {
    display: none !important;
}

/* Container Fix */
#google_translate_element {
    display: inline-block;
    vertical-align: middle;
    z-index: 1000; 
}
.goog-te-gadget-simple {
        padding: 2px 2px !important;
        border-radius: 50% !important;
        border: 1px solid #ccc !important;
        background: #fff !important;
    }
@media screen and (max-width: 768px) {
    /* 1. Position the translator container */
    #google_translate_element {
        position: absolute;
        top: 30px;         /* Adjust this to match the vertical center of your menu icon */
        right: 70px;       /* This pushes it to the LEFT of the menu button */
        margin: 0 !important;
        z-index: 1000;
    }

    /* 2. Style the internal Google box to be compact */
    .goog-te-gadget-simple {
        padding: 2px 2px !important;
        border-radius: 50% !important;
        border: 1px solid #ccc !important;
        background: #fff !important;
    }

    /* 3. Ensure the menu button doesn't move */
    .fa-bars, .nav-icon { 
        position: absolute;
        top: 25px;
        right: 20px;       /* Keeps the menu at the very edge */
    }
}


/* ================= ADMIN LOGIN PAGE ================= */

body.admin-login {
    background: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;

}
h2{
    margin-top: 10px;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}


.box {
    width: 420px;
    margin: 120px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
    text-align: center;
}



.box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.box input:focus {
    border-color: #333;
    outline: none;
}

.box button {
    width: 100%;
    padding: 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}

.box button:hover {
    background: #555;
}

.error-msg {
    color: red;
    text-align: center;
    font-size: 18px;
    margin-top: 40px;
    font-weight: bold;
}

/* ===== ADMIN TABLE ===== */
.heading h2{
    text-align: center;
}

.download-table {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    background: #ffffff;
}

.download-table th {
    background-color: #003366;
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}

.download-table td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}

.download-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.download-table tr:hover {
    background-color: #eef5ff;
}
h2{
    text-align: center;
}

/* ===== BUTTONS ===== */

.btn {
    padding: 6px 12px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
}

.btn-view {
    background-color: #007bff;
}

.btn-edit {
    background-color: #28a745;
}

.btn-delete {
    background-color: #c00000;
}

.btn-view:hover {
    background-color: #0056b3;
}

.btn-edit:hover {
    background-color: #1e7e34;
}

.btn-delete:hover {
    background-color: #900000;
}


/*------eye symbol-----*/

.input-box {
    position: relative;
    max-width: 300px;
    margin: 12px auto;
}

.input-box input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 14px;
}

.eye-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
}

.eye-icon:hover {
    color: #000;
}

/* Logout Button */
.logout-btn {
    position: fixed;          /* stays visible while scrolling */
    top: 20px;
    right: 25px;

    background-color: #e74c3c; /* red */
    color: #fff;
    padding: 10px 18px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);

    transition: all 0.3s ease;
}

/* Hover effect */
.logout-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}
