        :root {
            --primary: #0A1A4F; 
            --secondary: #46b2ff; 
            --text-dark: #333333;
            --text-light: #666666;
            --white: #ffffff;
            --bg-light: #f4f7f6;
            --font-main: 'Poppins', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-main);
            color: var(--text-dark);
            line-height: 1.6;
            background:white;
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }

        header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
           
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            text-transform: uppercase;
        }
        .logo i { margin-right: 10px; color: var(--secondary); font-size: 2rem; }
        .logo span { font-size: 0.8rem; display: block; font-weight: 400; color: var(--text-light); }
        
        .nav-menu { display: flex; gap: 25px; }
        
        .nav-item { position: relative; }
        
        .nav-link {
            font-weight: 600;
            color: var(--text-dark);
            padding: 10px 0;
            font-size: 0.95rem;
            position: relative;
        }
        
        .nav-link:hover { color: var(--primary); }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            

            background-color: var(--secondary);
            transition: 0.3s;
            
        }
                .nav-link:hover::after { width: 100%; }
         
                /* Dropdown */
        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--white);
            min-width: 220px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: 0.3s;
            border-top: 3px solid var(--secondary);
        }
        
        .nav-item:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown li { border-bottom: 1px solid #eee; }
        .dropdown a {
            display: block;
            padding: 12px 20px;
            font-size: 0.9rem;
            color: var(--text-light);
        }
        .dropdown a:hover {
            background: var(--bg-light);
            color: var(--primary);
            padding-left: 25px;
        }
/* TOP BAR  */
         .top-bar {
          width: 100%;
          background-color: var(--primary);        
          color:var(--bg-light);                   
          font-size: 16px;                  
          padding: 0.4rem 0;               
          text-align: center;
          display: flex;
          justify-content: center;
          align-items: center;             
          box-shadow: 0 2px 10px rgba(0,0,0,0.3); 
          line-height: 1.2;                 
         }

        /* SLIDER */
        .hero-section {
            position: relative;
            height: 600px; 
            overflow: hidden;
            background: #000;
        }

        .slider-wrapper {
            display: flex;
            width: 300%;
            height: 100%;
            transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .slide {
              
            width: 33.333%;
            height: 100%;
            position: relative;
            background-size: cover;
            background-position: center;
        }

        .slide::after {
            content: '';
            position: absolute;
            top:0; left:0; width:100%; height:100%;
           
        }

        .slide-caption {
            position: absolute;
            top: 50%;
            left: 10%;
            transform: translateY(-50%);
            z-index: 2;
            color: var(--white);
            max-width: 600px;
        }

        .slide-caption h2 {
            font-size: 3rem;
            
            font-weight: 800;
            margin-bottom: 15px;
            line-height: 1.2;
            text-transform: uppercase;
        }
        
        .slide-caption p {
            font-size: 1.1rem;
            margin-bottom: 25px;
            border-left: 4px solid var(--secondary);
            padding-left: 15px;
        }

        .btn-main {
            padding: 12px 30px;
            background: var(--secondary);
            color: var(--primary);
            font-weight: bold;
            border-radius: 4px;
            display: inline-block;
        }
        .btn-main:hover { background: #0053fa; }

        /*  FEATURE CARDS (Overlapping) */
        .features-row {
            padding: 0 5%;
            margin-top: -60px; 
            position: relative;
            z-index: 10;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }

        .feature-card {
            background: var(--primary);
            padding: 30px 20px;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
            transition: 0.3s;
            border: 1px solid var(--primary);
            color: var(--white);
            
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-bottom: 3px solid ;
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--white);
            margin-bottom: 15px;
        }

        .feature-card h4 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--white);
        }
    /* ------------------Notice Board---------------------- */
.info-section {
    max-width: 1200px;
    margin: 80px auto 60px;
    display: grid;

    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 0 20px;
}

/* COLUMN */
.info-column {
    padding: 10px 0;
}

/* SIMPLE TITLE (LINK STYLE) */
.info-title {
    font-size: 36px;
    font-weight:6800;
    color: #0A1A4F;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 14px;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;

    white-space: normal;        /* allow wrapping */
    word-break: break-word;     /* break very long words */
    overflow-wrap: break-word;  /* modern wrapping */
    max-width: 100%;

}

.info-title:hover {
    border-bottom-color: #0A1A4F;
}

/* IMAGE */
.info-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
    border:solid 1px grey;
   
}

/* LIST */
.info-list {
    margin-bottom: 25px;
}

.info-item {
   display: block;
    text-decoration: none;
    padding: 10px 0;
    max-width: 100%; 
}

.item-title {
    display: block;
    font-size: 23px;
    font-weight: 300;
    color: #0A1A4F;
}

.item-date {
 display: block;
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    white-space: nowrap;
}

.info-item:hover .item-title {
    color: #1a63ad;
}

/* SHARP DIVIDER */
.info-list hr {
    border: none;
    height: 1px;
    background-color: #d0d6dc;
    margin: 14px 0;
}

/* HALF WIDTH MORE BOX */
.more-box {
    display: inline-block;
    width: 140px;
    text-align: center;
    text-decoration: none;
    background-color: var(--primary);
    color: #ffffff;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 600;
  
    transition: background-color 0.3s ease;
}

.more-box:hover {
    background-color: #1a63ad;
}

/* MOBILE — SAME STRUCTURE, SCALED */
@media (max-width: 600px) {

   
    .info-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .info-title {
        font-size: 22px;
    }

    .info-image {
        height: 180px;
    }

    .item-title {
        font-size: 14px;
    }

    .item-date {
        font-size: 12px;
    }

    .more-box {
        width: 120px;
        font-size: 14px;
    }
}

/* ----------------NEWS SECTION------------------  */
 /* SECTION */
.college-news-vertical {
    background: transparent;
    padding: 50px 20px;
}

.news-list {
    max-width: 1100px;
    margin: 0 auto;
}

/* HEADER */
.latest-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 10px;
}

.latest-news-title {
    color: #0A1A4F;
    font-size: 30px;
    font-weight: 900;
    margin: 0;
}

.read-more-btn1 {
    text-decoration: none;
    color: #ffffff;
    background-color: #0A1A4F;
    padding: 8px 18px;
    font-weight: 500;
    font-size: 18px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.read-more-btn1:hover {
    background-color: #1a63ad;
}

/* DIVIDER */
.latest-news-line {
    border: none;
    height: 1px;
    width: 100%;
    background-color: #d0d6dc;
    margin: 10px 0 40px;
}

/* NEWS CARD */
.news-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 22px 0;
    border-bottom: 1px solid #c0c0c0;
}

/* LEFT CONTENT */
.news-content {
    flex: 1;
}

/* TITLE */
.news-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.news-title:hover {
    border-bottom-color: #000;
}

/* DESCRIPTION */
.news-desc {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 10px 0 16px;
    color: #000;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* READ MORE */
.read-more-btn {
    font-size: 13px;
    color: #ffffff;
    background-color: var(--primary);
    font-weight: 600;
    padding: 10px 18px;
   
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
    background-color: #0b3c6f;
    transform: translateY(-2px);
    text-decoration: none;
}

/* IMAGE */
.news-image {
    width: 190px;
    height: 135px;
    flex-shrink: 0;
    overflow: hidden;
    
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================= */
/*   MOBILE */
/* ========================= */
@media (max-width: 600px) {
    .features-row{
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 3px;
    }

        .feature-card {
            padding: 15px 10px;
        }

        .feature-icon {
            font-size: 1 rem;
        }

        .feature-card h4 {
            font-size: 1 rem;
        }
            
    .college-news-vertical {
        padding: 30px 14px;
    }

    .latest-news-title {
        font-size: 22px;
    }

    .read-more-btn1 {
        font-size: 14px;
        padding: 6px 12px;
    }

    .news-card {
        gap: 16px;
        padding: 16px 0;
    }

    .news-title {
        font-size: 16px;
    }

    .news-desc {
        font-size: 13px;
        line-height: 1.4;
    }

    .news-image {
        width: 110px;
        height: 80px;
    }

    .read-more-btn {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* ----------------NEWS SECTION------------------ */
/*

Degree and HOD section

*/


.program-hod-container {
    max-width: 75rem;
    margin: 0 auto;
    display: grid;
    gap: 1.875rem;
    grid-template-columns: 1fr 20rem;
    grid-template-areas:
        "header header"
        "programs sidebar";
}



.about-program {
    grid-area: header;
    text-align: center;
    margin-bottom: 1rem;
}

.bout-program h2 {
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.about-program p {
    max-width: 43.75rem;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--primary);
}



.program-section {
    grid-area: programs;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-content: start;
}


.program-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1.75rem;
    min-height: 15rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 2px solid #e0e6ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-0.5rem);
    border-bottom-color: var(--secondary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.program-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--primary);
    border-radius: 50%;
    background: white;
}

.program-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.program-description {
    flex-grow: 1;
    margin-bottom: 1.25rem;
    font-size: 0.99rem;
    color: var(--text-dark);
    line-height: 1.5;
}



.learn-more-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-light);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(30, 115, 232, 0.25);
}

.learn-more-btn:hover {
    background: #155BB5;
    box-shadow: 0 6px 14px rgba(21, 91, 181, 0.35);
    transform: translateY(-2px);
}
/* welcome Addmission file**/
    .container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
}
/* Section Cards */
.section-card {
    background-color: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.section-card h2 {
    color: #004d40;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
/* Fee Table */
.fee-table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: right;
}

th {
    background-color: #e0f2f1;
    color: #0A1A4F;
}

.note {
    background-color: #fffde7;
    border-left: 5px solid #ffcc00;
    padding: 10px;
    margin-top: 20px;
}

.deadline-warning {
    background-color: #ffebee;
    border-right: 5px solid #d32f2f;
}
/* Timeline (Deadlines) */
.timeline {
    list-style: none;
    padding: 0;
}

.timeline li {
    background-color: #f0f0f0;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid #0A1A4F;
}

.timeline li h4 {
    margin-top: 0;
    color: #0A1A4F;
}
/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    margin-right: 10px;
    font-weight: normal;
}
.submit-button {
    background-color: #00796b;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0A1A4F;
}

.error-message {
    color: red;
    font-size: 0.85em;
    display: block;
    margin-top: 5px;
}

 .ai-result {
    color: #00796b;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
  }



.sidebar {
    grid-area: sidebar;
    position: float;
    top: 1.25rem;
    align-self: start;
}



.hod-card {
    padding: 1.75rem;
    min-height: 25rem;
    background: var(--white);
    border-radius: 0.75rem;
    border: 2px solid #e0e6ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.hod-card:hover{
    border-bottom-color: var(--secondary);
}

.hod-card-title {
    margin: -1.75rem -1.75rem 1.5rem;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    color: var(--bg-light);
    background-color: var(--primary);
    border-radius: 0.75rem 0.75rem 0 0;
}


.hod-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}



.hod-entry {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 3px solid var(--bg-light);
}

.hod-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hod-image {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.hod-info {
    flex: 1;
}

.hod-name {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.hod-department {
    font-size: 0.8125rem;
    color: var(--text-light);
}



.faculty-btn {
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    padding: 0.625rem 1.75rem;
    margin: 1.25rem auto 0;
    width: fit-content;
    color: #fff;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(30, 115, 232, 0.25);
}

.faculty-btn:hover {
    background-color: #155BB5;
    border-color: #155BB5;
    box-shadow: 0 6px 14px rgba(21, 91, 181, 0.35);
    transform: translateY(-2px);
}


 
/* -----------------FOOTER----------------  */
         .footer-section {
  background-color:var(--primary); /* navy blue */
  color: white;
   padding: 100px 20px 40px; /* increased top & bottom padding */
 font-family: var(--font-main);
  margin-top:120px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-top h3 {
  
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--secondary);
}

.footer-about p {
  max-width: 400px;
  line-height: 1.6;
  color: #f1f1f1;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #f1f1f1;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--secondary);
}

.footer-contact p {
  margin: 8px 0;
  font-size: 15px;
}

.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 15px;
  color: white;
  font-size: 18px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid white;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background-color:var(--secondary);
  color: #0A1A4F;
  border-color: var(--secondary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 20px;
  font-size: 14px;
  color: #ccc;
}

.footer-bottom p {
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

.map-box {
  margin-top: 15px;
  width: 100%;
  height: 200px; /* height of map box */
  border-radius: 8px;
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* -----------------FOOTER ENDS----------------  */
        .menu-toggle{display: none;}
        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .nav-container { flex-direction: column; align-items: flex-start; }
            .nav-menu { flex-direction: column; width: 100%; display: none; margin-top: 20px; gap: 0; }
            .nav-menu.active { display: flex; } /* Toggle class */
            .nav-item { width: 100%; border-bottom: 1px solid #eee; }
            .dropdown { position: relative; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
            .nav-item:hover .dropdown { display: block; }
            
            .about-container, .news-container { grid-template-columns: 1fr; }
            .features-row { margin-top: 20px; }
            .slide-caption h2 { font-size: 2rem; }

            /* --------------------For Programs and HOD section ---------------------------------*/
             .program-hod-container { grid-template-columns: 1fr; grid-template-areas:
            "header"
            "programs"
            "sidebar";
        gap: 1.25rem;
           }
         .program-section { grid-template-columns: 1fr; gap: 1rem;}
         .sidebar { position: static; top: unset; }
         .hod-card { min-height: auto; padding: 1.25rem;}
         .program-card { padding: 1rem; min-height: auto;}
         .program-icon { width: 3.5rem; height: 3.5rem; font-size: 2rem; margin-bottom: 0.5rem;}
         .about-program p { font-size: 1rem; padding: 0 1rem;}
            
            /* Mobile Toggle Button (Hidden by default in desktop) */
            .menu-toggle { display: block; position: absolute; right: 5%; top: 25px; font-size: 1.5rem; cursor: pointer; }


          /*------------------faculty    page------------------------*/
          .faculty-hero { height: 45vh; }
          .faculty-hero__content h1 { font-size: 2rem;}
          .faculty-hero__content p { font-size: 1rem;}
          .faculty-filter { width: 95%; padding: 1.5rem;}
          .search-box { padding: 0.75rem 1rem; }
          .faculty-container { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));gap: 1.25rem;}
          .faculty-card { padding: 1.5rem; }
          .faculty-img { width: 5.5rem; height: 5.5rem;}
          .faculty-info h3 { font-size: 1rem;}
          .faculty-info p {font-size: 0.8125rem;}
 }

/*-------------- NOTIC BOARD PAGE (notice_board.php) CSS HERE --------------------*/
.noticeboard-body {
  height: 450vh;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));/* white overlay with 50% opacity */
        
    background-size: cover;
    margin: 0;
    padding: 0;
}

/* Optional: ensure content doesn't overlap footer */
.main-content {
      background: linear-gradient(135deg, #FFD700 0%, transparent 70%);
    padding-bottom: 100px; /* leave space if footer is fixed */
}


/*--------------------NOTICE BOARD HEADER CSS----------------------------------*/
.notice-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
   
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(201, 162, 39, 0.12);
    position: relative;
    overflow: visible;
}

.notice-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
 
}
 

.notice-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 26px;          
    background: #ffffff;
    color: #0A1A4F;
    
   
}

/* LEFT BRAND */
.college-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* LOGO */
.college-brand img {
    height: 60px;            
    width: auto;
}

/* TEXT */
.college-text h2 {
    margin: 0;
   font-family: var(--font-main);
    font-size: 24px;            /* larger font */
    font-weight: 800;
    color: #13325e;
    letter-spacing: .2px;
}

.college-text span {
    font-size: 13px;
    font-weight: 500;
    color: #383838;             /* soft grey */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* RIGHT ICON */
.notice-icon h3 {
font-family: var(--font-main);
    font-size: 26px;
    font-weight: 700;
    color: #484848;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.25s ease;
}
 

.notice-icon i:hover {
    color: #0A1A4F;             /* navy on hover */
    transform: scale(1.15);
} 

.notice-nav {
    background: #0A1A4F;
    position: relative;
    border-bottom:2px solid #0A1A4F;  border-top:4px solid #0A1A4F;
    width: 100%;
    background: #0A1A4F;
    transition: all 0.3s ease;
}
.notice-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #0A1A4F;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
 
.notice-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 4px;
}

.notice-nav ul li {
    position: relative;
}

.notice-nav ul li a {
    display: block;
    width: 200px; /* fixed width */
    padding: 12px 18px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff; /* initial text color (won't affect span) */
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    font-family:'poppins', sans-serif;
    text-align: center;
    border-radius: 32px; /* slight rounding */
}

/* Golden hover ripple (oval) */
.notice-nav ul li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%; /* initial circle */
    background: #ffffff; /* golden ripple */
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.notice-nav ul li a:hover::before {
    width: 250px;  /* width bigger than height for oval */
    height: 120px; /* smaller height for oval effect */
    border-radius: 60px; /* rounded edges for oval */
}

/* Text inside link */
.notice-nav ul li a span {
    position: relative;
    z-index: 1; /* above ripple */
    color: #ffffff; /* initial white */
    transition: color 0.3s ease;
}

.notice-nav ul li a:hover span {
    color: #0A1A4F; /* text yellow on hover */
}

/* Icon inside link */
.notice-nav ul li a i {
    position: relative;
    z-index: 1; /* above ripple */
    margin-right: 6px;
    color: #ffffff; /* initial white */
    transition: color 0.3s ease;
    display: inline-block;
}

.notice-nav ul li a:hover i {
    color: #0A1A4F; /* navy blue icon on hover */
}

 

 

@media (max-width: 768px) {
    .notice-icon h3 {
        font-size: 10px;
    }
    .notice-topbar {
        padding: 8px 15px;
    }

    .college-brand {
        gap: 8px;
    }

    .college-brand img {
        height: 36px;
    }

    .college-text h2 {
        font-size: 10px;
    }

    .college-text span {
        font-size: 11px;
    }

    .notice-icon i {
        font-size: 10px;
    }
    

    .notice-nav ul {
        gap: 2px;
    }

    .notice-nav ul li a {
        padding: 10px 14px;
        font-size: 13px;
    }

    .notice-nav ul li a i {
        margin-right: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .notice-header::before,
    .notice-icon i,
    .notice-nav ul li a {
        animation: none;
        transition: none;
    }
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn i {
    font-size: 13px;
    color: #0A1A4F;
}

/* SHOW button only on phone */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    /* Hide nav initially on phone */
    .notice-nav {
        display: none;
    }

    /* Show nav when active */
    .notice-nav.active {
        display: block;
    }
}
 





/*-----------------Faculty page ---------------------------*/


.faculty-section {
    position: relative;
    background: linear-gradient(
        135deg,
        #0b2a5f,
        #123a7a
    );
     padding: 4rem 4rem;
    min-height: 100vh;
}



.faculty-heading {
    text-align: center;
    font-size: 2.25rem;
    color: var(--bg-light);
    margin-bottom: 0.5rem;
}

.faculty-subtitle {
    text-align: center;
    color:var(--bg-light);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}


.faculty-filter {
    width: 85%;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    padding: 2rem;
    border-radius: 1.25rem;
}


.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.875rem 1.125rem;
    border-radius: 0.75rem;
    color: #ffffff;
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    width: 100%;
    margin-left: 0.625rem;
    font-size: 0.95rem;
}

.search-box input::placeholder {
    color: #e2e7ff;
}


.filter-buttons {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid #8ea4ff;
    color: var(--bg-light);
    padding: 0.5rem 1.125rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}
.filter-btn.active {
    background: #4c7dff;
    border-color: #4c7dff;
    box-shadow: 0 0.5rem 1.25rem rgba(76, 125, 255, 0.45);
}


.faculty-container {
    width: 85%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
    gap: 2rem;
}

.faculty-card {
    background: var(--bg-light);
    padding: 1.875rem 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.25rem 2.75rem rgba(255,255,255, 0.25);
    
}


.faculty-img {
    width: 7rem;
    height: 7rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 0.25rem solid #4c7dff;
    background: #eef2ff;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-card:hover .faculty-img {
    transform: scale(1.05);
    border-color: #6fd1ff;
}

.faculty-info {text-align: center;
    border-radius: 32px; /* slight rounding */
}


.faculty-info h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.faculty-info p {
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* -------------------------------------------Event section on index-------------------------------*/
.event-main {
    width: 100%;
    min-height: 80vh;
    background-color: var(--primary);  /* navy blue */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;    
    margin-top: 30px;
}

/* White inner rectangle */
.event-wrapper {
    width: 100%;
    max-width: 1100px;
}

.event-card {
    
       background-color: #ffffff;
    padding: 25px;
    height: 560px; /* increased from 500px */
    box-sizing: border-box;
    position: relative;
}
.event-date {
    position: absolute;
    bottom: 15px;   /* distance from bottom of card */
    right: 20px;    /* distance from right edge */
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-date i {
    color: var(--primary);  /* calendar icon color */
    font-size: 16px;
}
/* Header section */
.event-header {
     
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.event-heading h2 {
    color: #0a1f44;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 5px;
}

.event-text {
    font-size: 18px;
    color: #555;
    margin-top: 9px;
    font-style: italic;
    width:70%;
}

/* Explore tag */
.event-tag {
    background-color: #393cef;
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
   
    cursor: pointer;
    white-space: nowrap;
}
.event-tag:hover {
    background-color: #181878;
     
}
/* Body section: two columns */
.event-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    
}

/* Left column: bigger square image */
.event-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:15px;
}

.event-image img {
   max-width: 100%;
    max-height: 120%;   /* image will not exceed column height */
    object-fit: cover;
    
}

/* Right column: description + button stays on top */
.event-description {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}
.event-description h1{
    margin-top:20px;
      color: #000000;
    font-size: 20px;
    letter-spacing: -1px;
    font-weight: 750;
    margin-left:15px;
    line-height: 1.1;
}
.event-description h3 {
    font-size: 35px;
    margin-left: 15px;
    letter-spacing: -1px;
    margin-top: 45px;
    font-weight: 200;
    color: var(--primary);
    line-height: 1.1;
    cursor: pointer;

    text-decoration: none;               /* remove default underline */
    text-decoration-line: underline;     /* enable underline */
    text-decoration-color: transparent;  /* initially invisible */
    text-decoration-thickness: 2px;      /* thickness */
    text-underline-offset: 4px;          /* distance from text */
    transition: text-decoration-color 0.3s ease;
}
.event-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    height: 100%;
}

.event-item {
    margin-left: 15px;
}

.event-item h3 {
    font-size: 28px;
    letter-spacing: -1px;
    font-weight: 300;
    color: var(--primary);
    line-height: 1.2;
    cursor: pointer;
     margin-top:10px;

    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s ease;
}

.event-item h3:hover {
    text-decoration-color: var(--primary);
}

.event-item .event-date {
    position: static;
    font-size: 14px;
    color: #555;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Center content if only one event */
.event-list.single {
    align-items: center;
    text-align: center;
}

.event-list.single .event-item {
    margin-left: 0;
}

/* Hover effect */
.event-description h3:hover {
    text-decoration-color: var(--primary);  /* underline becomes visible */
}
 
 /* Mobile / small screens */
@media (max-width: 768px) {

    /* Event card height can adjust automatically */
    .event-card {
        height: auto;
        padding: 20px;
    }

    /* Header: stack vertically */
    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .event-text {
        width: 100%;
        font-size: 16px;
        margin-top: -5px;
    }

    .event-heading h2 {
        font-size: 28px;
    }

    /* Two columns → stack vertically */
    .event-body {
        flex-direction: column;
        gap: 15px;
    }

    .event-image {
        width: 100%;
        margin-top: 0;
    }

    .event-image img {
        width: 100%;
        height: auto;
    }

    .event-description {
        width: 100%;
        gap: 10px;
    }

    .event-description h1 {
        font-size: 18px;
        margin-left: 0;
    }

    .event-description h3 {
        font-size: 24px;
        margin-left: 0;
        margin-top: 15px;
    }

    .event-tag {
        font-size: 13px;
        padding: 8px 14px;
    }
}
/* ------------------------EVENTS.PHP CSS-------------------------------- */
        .event-section {
            width: 100%;
            min-height: 90vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px 0;
            margin-top: 30px;
             
        }

        /* White box */
        .event-container {
            width: 100%;
            max-width: 1300px;
        }

        .event-box {
             
            background-color: ghostwhite;
       margin-bottom:50px;
            padding: 25px;
            height: 600px;
            box-sizing: border-box;
            position: relative;
        }

        .event-date1 {
            position: absolute;
            bottom: 15px;
            right: 20px;
            font-size: 14px;
            color: #555;
            display: flex;
            align-items: right;
            gap: 5px;
        }

        .event-date1 i {
            font-size: 16px;
            color: #000;
        }

        /* Header */
        .event-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .event-title h2 {
            color: #0a1f44;
            font-size: 44px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .event-subtext {
            font-size: 18px;
            color: #555;
            margin-top: 9px;
            font-style: italic;
            width: 70%;
        }

        .event-label {
            background-color: #000;  /* changed to black instead of blue */
            color: #fff;
            padding: 10px 18px;
            font-size: 14px;
            cursor: pointer;
            white-space: nowrap;
        }

        .event-label:hover {
            background-color: #333;
        }

        /* Body: two columns */
        .event-body {
            display: flex;
            gap: 20px;
            align-items: flex-start;
        }

    .event-left {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    overflow: hidden;
    height: 380px; /* set your desired height */
}

.event-left img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills container while maintaining aspect ratio */
    border-radius: 5px; /* optional rounded corners */
    display: block; /* removes inline spacing */
}

        .event-right {
            width: 50%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 15px;
        }

        .event-right h1 {
            margin-top: 20px;
            color:var(--primary);
            font-size: 20px;
            letter-spacing: -1px;
            font-weight: 750;
            margin-left: 15px;
            line-height: 1.1;
        }

        .event-right h3 {
            font-size: 35px;
            margin-left: 15px;
            letter-spacing: -1px;
            margin-top: 45px;
            font-weight: 200;
            color:var(--primary);
            line-height: 1.1;
            cursor: pointer;
            text-decoration: none;
            text-decoration-line: underline;
            text-decoration-color: transparent;
            text-decoration-thickness: 2px;
            text-underline-offset: 4px;
            transition: text-decoration-color 0.3s ease;
        }

        .event-right h3:hover {
            text-decoration-color: #031f74;
        }
.event-desc {
    font-size: 18px;       /* slightly larger font */
    line-height: 1.4em;    /* spacing between lines */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* limit to 4 lines */
    line-clamp: 4;         /* standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 15px;      /* spacing from title */
    text-align: left;   
    margin-left:20px;
}
.event-footer {
    display: flex;
    justify-content: space-between; /* organizer left, date right */
    align-items: center;            /* vertically center */
    margin-top: 10px;
}

.event-organizer
  {
        position: absolute;
            bottom: 15px;
            left: 670px;
            font-size: 14px;
            color: #555;
            display: flex;
            align-items: right;
            gap: 5px;
}
        /* Mobile / small screens */
@media (max-width: 768px) {
    .event-box {
        height: auto;
        padding: 20px;
    }

    .event-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .event-title h2 {
        font-size: 28px;
    }

    .event-subtext {
        width: 100%;
        font-size: 16px;
        margin-top: -5px;
    }

    .event-body {
        flex-direction: column;
        gap: 15px;
    }

    .event-left {
        width: 100%;
        margin-top: 0;
    }

    .event-left img {
        width: 100%;
        height: auto;
    }

    .event-right {
        width: 100%;
        gap: 10px;
    }

    .event-right h1 {
        font-size: 18px;
        margin-left: 0;
    }

    .event-right h3 {
        font-size: 24px;
        margin-left: 0;
        margin-top: 15px;
    }

    .event-label {
        font-size: 13px;
        padding: 8px 14px;
    }

    /* Organizer and Date on same line */
    .event-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }

    .event-organizer {
        position: relative !important; /* remove desktop absolute */
        bottom: auto;
        left: auto;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .event-organizer i {
        font-size: 16px;
        color: var(--primary);
    }

    .event-date1 {
        position: relative !important;
        bottom: auto;
        right: auto;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .event-date1 i {
        font-size: 16px;
        color: var(--primary);
    }
}


.message-slider-section {
    padding: 50px 20px;
    background: #f9fafc;
    text-align: center;
}

.section-title {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
}

.message-slider {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.message-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.message-card {
    min-width: 300px;
    max-width: 300px;
    margin: 0 15px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.message-card:hover {
    transform: translateY(-5px);
}

 .message-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px auto; 
    display: block;
    object-fit: cover;
}

.person-name {
    font-weight: 600;
    margin-bottom: 10px;
}

.message-text {
    font-size: 14px;
    color: #555;
}

@media (max-width: 992px) {
    .message-card {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .message-track {
        gap: 10px;
    }

    .message-card {
        min-width: 80%;
    }
}