﻿:root
{
    --navy: #002147;
    --gold: #c5a059;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-blue: #00152e;
    --coin-gold: linear-gradient(135deg, #f9f295 0%, #e0aa3e 25%, #cf982d 50%, #b8860b 100%);
}

body
{
    font-family: 'Poppins' , sans-serif;
    margin: 0;
    padding: 0;
    background: #dee2e6;
    color: #333;
    overflow-x: hidden;
}

/* 1. Utility Top Bar */
.utility-bar
{
    background: var(--navy);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.utility-bar a
{
    text-decoration: none;
    color: #ddd;
    margin-left: 18px;
    transition: 0.3s;
    font-weight: 500;
}
.utility-bar a:hover
{
    color: var(--gold);
}
.utility-bar i
{
    color: var(--gold);
    margin-right: 5px;
}

/* 2. ENHANCED HEADER (A-Z Update) */
header
{
    background: var(--white);
    height: 180px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 1001;
    border-top: 4px solid #b8860b; /* Golden architectural accent */
}

.logo-box-left img, .logo-box-right img
{
    height: 105px;
    width: auto;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.12));
    transition: all 0.4s ease;
}

.logo-box-left img:hover, .logo-box-right img:hover
{
    transform: scale(1.08) rotate(2deg);
}

.title-box
{
    text-align: center;
    flex-grow: 1;
    padding: 0 20px;
}

.title-box h1
{
    font-family: 'Cinzel' , serif;
    color: var(--navy);
    margin: 0;
    font-size: 46px;
    letter-spacing: 2px;
    font-weight: 950;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.tagline-gold
{
    margin: 8px 0 0;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 17px;
    text-transform: uppercase;
    display: block;
}

.tagline-navy
{
    font-size: 14px;
    color: var(--navy);
    font-weight: 800;
    margin-top: 5px;
    display: block;
    opacity: 0.8;
}

/* 3. Navigation & MEGA MENU */
nav
{
    background: var(--navy);
    border-bottom: 4px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-links
{
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item
{
    position: static;
}
.nav-links > li > a
{
    color: white;
    padding: 20px 20px;
    display: block;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
}
.nav-links > li > a i
{
    margin-right: 8px;
    color: var(--gold);
    font-size: 14px;
}
.nav-links > li:hover > a
{
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

.mega-menu
{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    padding: 30px 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    box-sizing: border-box;
    border-bottom: 5px solid var(--gold);
}
.nav-item:hover .mega-menu
{
    visibility: visible;
    opacity: 1;
}

.mega-col h5
{
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 14px;
    text-transform: uppercase;
}
.mega-col ul
{
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-col ul li
{
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mega-col ul li a
{
    text-decoration: none;
    color: #555;
    font-size: 13px;
    display: flex;
    align-items: center;
    transition: 0.2s;
}
.mega-col ul li a i
{
    width: 25px;
    color: var(--gold);
    font-size: 12px;
}
.mega-col ul li a:hover
{
    color: var(--navy);
    transform: translateX(5px);
    font-weight: 600;
}

/* 4. Hero Section */
.hero-container
{
    display: flex;
    height: 460px;
    background: white;
}
.img-slider
{
    width: 70%;
    overflow: hidden;
}
.img-slider img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-box
{
    width: 30%;
    border-left: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}
.news-header
{
    background: #d32f2f;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    letter-spacing: 1px;
}
.news-scroll
{
    padding: 20px;
    flex-grow: 1;
    overflow: hidden;
    background: #fff;
}
.news-item
{
    font-size: 13.5px;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
    display: flex;
    gap: 10px;
    line-height: 1.4;
}
.news-item i
{
    color: #d32f2f;
    margin-top: 4px;
}

/* 5. Horizontal Ticker */
.ticker-wrap
{
    background: var(--gold);
    color: white;
    padding: 12px 0;
    font-weight: 600;
    font-size: 14px;
}

/* 6. Golden Marquee Bar */
.news-ticker
{
    background: var(--coin-gold);
    border-top: 2px solid #b38f4d;
    border-bottom: 2px solid #b38f4d;
    padding: 8px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.ticker-content
{
    white-space: nowrap;
    font-weight: 600;
    color: var(--navy);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ticker-label
{
    background: var(--navy);
    color: var(--gold);
    padding: 8px 20px;
    font-weight: 700;
    font-size: 12px;
    position: absolute;
    z-index: 5;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}

/* 7. Main Content */
.main-wrapper
{
    display: flex;
    background: white;
}
.about-college
{
    width: 70%;
    padding: 50px 5%;
    border-right: 1px solid #eee;
}
.about-college h2
{
    font-family: 'Cinzel' , serif;
    color: var(--navy);
    border-left: 6px solid var(--gold);
    padding-left: 15px;
    margin-bottom: 25px;
}

.saraswati-img
{
    float: left;
    width: 180px;
    margin: 0 25px 15px 0;
    border: 3px solid var(--gold);
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.about-college p
{
    line-height: 1.9;
    color: #444;
    text-align: justify;
    margin-bottom: 15px;
    font-size: 15px;
}

.admin-sidebar
{
    width: 30%;
    padding: 50px 2%;
    background: #fcfcfc;
    position: relative;
    background-image: url('https://www.apexcollegemakrana.in/Uploads/org/321img-01.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 250px;
    background-blend-mode: overlay;
}
.admin-sidebar::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 252, 252, 0.92);
    z-index: 1;
}
.admin-profile
{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border: 1px solid #eee;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.admin-profile:hover
{
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}
.admin-profile img
{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin-right: 18px;
    object-fit: cover;
}
.admin-profile h4
{
    margin: 0;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
}
.admin-profile p
{
    margin: 0;
    font-size: 12px;
    color: var(--gold);
    font-weight: bold;
    text-transform: uppercase;
}

/* 8. Notice Columns */
.notice-section
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--navy);
    gap: 0;
}
.notice-col
{
    border-right: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}
.notice-col:last-child
{
    border-right: none;
}
.notice-col h3
{
    color: var(--navy);
    background: var(--gold);
    font-size: 14px;
    margin: 0;
    padding: 15px 5px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}
.notice-list-container
{
    height: 160px;
    overflow-y: auto;
    padding: 10px 15px;
}
.notice-list
{
    list-style: none;
    padding: 0;
    margin: 0;
}
.notice-list li
{
    color: #eee;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notice-list li:hover
{
    color: var(--gold);
    padding-left: 5px;
    background: rgba(255,255,255,0.05);
}
.notice-list li a
{
    color: #eee;
    font-size: 12px;
    padding: 8px 0;
}
.notice-list li a:hover
{
    color: var(--gold);
    padding-left: 5px;
}
.notice-list-container::-webkit-scrollbar
{
    width: 4px;
}
.notice-list-container::-webkit-scrollbar-track
{
    background: rgba(0,0,0,0.2);
}
.notice-list-container::-webkit-scrollbar-thumb
{
    background: var(--gold);
    border-radius: 10px;
}

/* 9. Govt Scroller */
.govt-scroller-container
{
    display: flex;
    align-items: stretch;
    background: white;
    border-top: 2px solid #eee;
    overflow: hidden;
}
.govt-scroller
{
    flex: 1;
    padding: 15px 0;
    display: flex;
    align-items: center;
}
.govt-scroller img
{
    height: 60px;
    width: auto;
    margin: 0 40px;
    opacity: 0.7;
    transition: 0.3s;
}
.affiliation-label
{
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    padding: 0 30px;
    font-family: 'Cinzel' , serif;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    border-left: 4px solid var(--gold);
    position: relative;
    z-index: 10;
}

/* 10. Footer Styling */
footer
{
    background: var(--dark-blue);
    color: #ccc;
    padding: 60px 5% 20px;
    border-top: 5px solid var(--gold);
}
.footer-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.coin-wrapper
{
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-coin
{
    width: 140px;
    height: 140px;
    background: var(--coin-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #b38f4d;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.logo-coin img
{
    width: 75%;
    margin: 15px;
    border-radius: 30px;
}

.footer-col h4
{
    color: var(--gold);
    font-family: 'Cinzel' , serif;
    margin-bottom: 20px;
    font-size: 16px;
    border-left: 3px solid var(--gold);
    padding-left: 10px;
}
.footer-col p
{
    font-size: 12.5px;
    line-height: 1.6;
    margin: 8px 0;
}
.footer-col ul
{
    list-style: none;
    padding: 0;
}
.footer-col ul li
{
    margin-bottom: 10px;
    font-size: 13px;
}
.footer-col ul li a
{
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}
.footer-col ul li a:hover
{
    color: var(--gold);
    padding-left: 5px;
}

.update-box
{
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 5px;
    border: 1px dashed rgba(197, 160, 89, 0.3);
}
.copyright
{
    font-size: 11px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 1px;
}
/* ===== AUTONOMOUS HIGHLIGHT (NEW) ===== */
.autonomous-highlight
{
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #8B0000, #4A0404);
    color: #F5F5DC;
    border: 1px solid #c5a059;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    transition: 0.3s ease;
}

/* Hover effect (premium feel) */
.autonomous-highlight:hover
{
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.tool-box
{
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.tool-box input
{
    flex: 1;
    padding: 6px 10px;
    border-radius: 4px;
    border: none;
    outline: none;
    font-size: 12px;
}

.tool-box button
{
    background: var(--gold);
    border: none;
    color: var(--navy);
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.tool-box button:hover
{
    background: #fff;
    color: var(--navy);
}
.dark-mode
{
    background: #121212 !important;
    color: #eee !important;
}

.dark-mode header, .dark-mode nav, .dark-mode footer, .dark-mode .main-wrapper
{
    background: #1e1e1e !important;
}

.dark-mode a
{
    color: #f5d27a !important;
}
.center-tools button:nth-child(3)
{
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--gold);
    font-weight: 700;
}
.ticker-content i, a
{
    color: var(--navy);
    text-decoration: none;
}


*, *::after, *::before
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root
{
    --unhover-border-color: rgba(0, 0, 0, 0.5);
    --unhover-text-color: rgba(255, 255, 255, 0.5);
    --unhover-background-color: rgba(0, 0, 0, 0.5);
    --hover-border-color: rgba(0, 0, 0, 0.8);
    --hover-text-color: rgba(255, 255, 255, 0.8);
    --hover-background-color: rgba(0, 0, 0, 0.8);
    --transition-delay: 0.5s;
}

.carousel
{
    position: relative;
    width: 100vw;
    height: 100vh;
}

.slider-button
{
    font-size: 1rem;
    padding: 5px 1rem;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: var(--unhover-background-color);
    border: 2px solid var(--unhover-border-color);
    color: var(--unhover-text-color);
    z-index: 10;
    cursor: pointer;
}

.slider-button-prev
{
    left: 2rem;
}

.slider-button-next
{
    right: 29rem;
}

.slider-button:hover, .slider-button:focus
{
    background-color: var(--hover-background-color);
    border: 2px solid var(--hover-border-color);
    color: var(--hover-text-color);
}

ul.slides
{
    list-style-type: none;
    height: 100%;
    width: 70%;
}

li.slide
{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70%;
    overflow: hidden;
    opacity: 0;
    transition: opacity var(--transition-delay);
    transition-delay: var(--transition-delay);
}

.slide > img
{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

li.slide[data-active-slide]
{
    opacity: 1;
}

.slides-circles
{
    display: flex;
    position: absolute;
    bottom: 3rem;
    left: 33%;
    transform: translateX(-50%);
    overflow: hidden;
}

.slides-circles > div
{
    height: 20px;
    width: 20px;
    margin: 10px;
    border: 3px solid white;
    border-radius: 50%;
    transition: background-color var(--transition-delay);
    transition-delay: var(--transition-delay);
}

.slides-circles > div[data-active-slide]
{
    background-color: white;
}

.logo-box a img
{
    height: 133px;
}
/* 4. Main Content Wrapper */
.wrapper
{
    max-width: 1250px;
    margin: 40px auto;
    display: flex;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* --- SIDEBAR (30%) --- */
.sidebar
{
    width: 30%;
    background: #fcfcfc;
    border-right: 1px solid #edf2f7;
}

.sidebar-header
{
    background: var(--navy);
    color: var(--gold);
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel' , serif;
    font-size: 18px;
    font-weight: 700;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.child-menu
{
    list-style: none;
    padding: 20px 0;
    margin: 0;
}
.child-menu li a
{
    display: block;
    padding: 12px 30px;
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    border-bottom: 1px solid #f1f5f9;
}
.child-menu li a i
{
    margin-right: 10px;
    color: var(--gold);
    font-size: 10px;
}
.child-menu li a:hover, .child-menu li a.active
{
    background: #fff9f0;
    color: var(--navy);
    border-left: 5px solid var(--gold);
    padding-left: 35px;
}

/* --- CONTENT AREA (70%) --- */
.main-content
{
    width: 70%;
    display: flex;
    flex-direction: column;
}

.title-bar
{
    background: linear-gradient(to right, #001a38, var(--navy));
    height: 85px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}
.title-bar h2
{
    font-family: 'Cinzel' , serif;
    margin: 0;
    font-size: 24px;
    color: var(--gold);
    text-transform: uppercase;
}
.bread
{
    font-size: 11px;
    margin-top: 4px;
    color: #a0aec0;
    letter-spacing: 1px;
}

.text-section
{
    padding: 45px;
    line-height: 1.9;
    color: #444;
    font-size: 15.5px;
}
.text-section h3
{
    color: var(--navy);
    font-family: 'Cinzel' , serif;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.box-list
{
    background-color: var(--gold);
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top:15px;
}
   
.box-list div
{
    width: 200px;
    border-right: 1px solid #FFF;
    float: left;
    text-align:center;
}
.box-list div a
{
    color: #FFF;
    text-decoration: none;
}
.box-list div a i
{
    padding: 5px;
}