/* ===========================
   GCAC PREMIUM THEME
=========================== */

:root {

    /* Brand Colors */

    --primary: #5A0F12;
    --primary-dark: #3E090B;

    --secondary: #C89B3C;

    --accent: #D9B56D;

    /* Background */

    --bg-light: #F8F5EE;
    --bg-white: #FFFFFF;

    /* Text */

    --text-dark: #1D1D1D;
    --text-body: #555555;
    --text-light: #777777;

    /* Border */

    --border-color: #E5E7EB;

    /* Shadow */

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, .06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, .12);

    /* Gradient */

    --gradient-primary:
        linear-gradient(90deg,
            #4B0B0D,
            #5A0F12,
            #4B0B0D);

    /* Radius */

    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
    letter-spacing: .5px;
}

.top-header {
    background: #fff;
    padding: 18px 0;
    border-bottom: 3px solid var(--secondary);
}

.logo {
    width: 95px;
}

.college-info h1 {
    color: var(--primary);
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.college-info h2 {
    color: var(--secondary);
    font-size: 24px;
    font-weight: 600;
}

.college-info p {
    color: #666;
    font-size: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--dark);
    max-width: 100%;
}

/* ===========================
   HEADER
=========================== */

#header {
    overflow: visible;
}

.site-top {
    position: relative;
    z-index: 1020;
}

.top-header {
    background: #fff;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--primary);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    transition: box-shadow 0.3s ease;
}

.custom-navbar.is-pinned {
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

/* ===========================
   ABOUT FEATURES
=========================== */

.about-features {
    margin-top: 35px;
}

.feature-box {

    display: flex;
    flex-direction: column;
    gap: 10px;

    align-items: center;

    background: var(--bg-white);

    padding: 10px;

    border-radius: var(--radius-md);

    border: 1px solid var(--border-color);

    transition: .35s;

    height: 100%;
}

.feature-box:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);

    border-color: var(--secondary);
}

.feature-icon {

    min-width: 60px;

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 2px solid var(--secondary);

    color: var(--primary);

    font-size: 24px;
}

.feature-content h5 {

    color: var(--primary);

    margin-bottom: 8px;

    font-size: 18px;

    font-weight: 700;
}

.feature-content p {

    margin: 0;

    font-size: 14px !important;

    line-height: 1.7;

    color: var(--text-body);
}
.gcac-navbar{
    position: sticky;
    top: 0;
    z-index: 1050;
    width: 100%;
}

.logo {
    width: 80px;
    height: auto;
}

.college-info h1 {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.college-info h2 {
    font-size: 22px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 5px;
}

.college-info p {
    margin: 0;
    color: var(--gray);
}

/* ===========================
   NAVBAR
=========================== */

.custom-navbar .nav-link {
    color: #fff !important;
    padding: 18px 16px;
    font-weight: 600;
    transition: .3s;
}

.custom-navbar .nav-link:hover {
    color: var(--secondary) !important;
}

.navbar-toggler {
    border: none;
    color: #fff;
    font-size: 30px;
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.dropdown-item {
    padding: 10px 15px;
}

.dropdown-item:hover {
    background: var(--primary);
    color: #fff;
}

/* ===========================
   MULTI LEVEL DROPDOWN
=========================== */

.custom-navbar .dropdown-menu {
    min-width: 260px;
    border: 0;
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.custom-navbar .dropdown-item {
    padding: 10px 18px;
    font-size: 14px;
    transition: .3s;
    white-space: nowrap;
}

.custom-navbar .dropdown-item:hover {
    background: #7A1F1F;
    color: #fff;
}

/* Desktop Hover */

@media (min-width: 1200px) {

    .navbar .dropdown:hover>.dropdown-menu {
        display: block;
        animation: fadeIn .25s ease;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu>.dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: 2px;
        display: none;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
        animation: fadeIn .25s ease;
    }
}

/* Mobile */

@media (max-width:1199px) {

    .navbar-collapse {
        background: #7A1F1F;
        padding: 15px;
        border-radius: 0 0 15px 15px;
    }

    .dropdown-menu {
        background: #fff8ee;
        margin-left: 15px;
        border-left: 3px solid #D4A65A;
        box-shadow: none;
    }

    .dropdown-submenu .dropdown-menu {
        margin-left: 20px;
    }

    .custom-navbar .nav-link {
        padding: 12px 15px;
    }
}

.dropdown-submenu>a::after {
    content: "▸";
    float: right;
    font-size: 12px;
    margin-top: 3px;
    color: #D4A65A;
}

/* Animation */
.dropdown-menu.show {
    display: block;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ===========================
   HERO SLIDER
=========================== */

.hero-section {
    position: relative;
}

.hero-section img {
    height: 75;
    object-fit: cover;
}

.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.carousel-caption {
    bottom: 25%;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 40px;
    font-weight: 600;
    text-shadow: 0 5px 20px rgba(0, 0, 0, .5);
}

.carousel-caption p {
    font-size: 22px;
}

/* ===========================
   SECTION TITLE
=========================== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 38px;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    font-family: 'Cinzel', serif;
    letter-spacing: .5px;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--secondary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===========================
   ABOUT
=========================== */

.about-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-section img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.about-section p {
    font-size: 18px;
    line-height: 1.9;
}

/* ===========================
   NOTICE BOARD
=========================== */

.notice-section {
    padding: 80px 0;
    background: #fff;
}

.notice-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid var(--secondary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    transition: .3s;
    margin-bottom: 25px;
}

.notice-card:hover {
    transform: translateY(-10px);
}

.notice-card h5 {
    color: var(--primary);
    font-weight: 700;
}



/* ===========================
   EVENTS
=========================== */

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    transition: .3s;
}

.event-card:hover {
    transform: translateY(-8px);
}

.event-content {
    padding: 20px;
}

/* ===========================
   NOTICE TABS
=========================== */

.notice-tabs {
    border-bottom: 2px solid #e5e7eb;
}

.notice-tabs .nav-link {

    border: none;

    color: #555;

    font-weight: 600;

    padding: 14px 22px;

    font-size: 15px;

    position: relative;
}

.notice-tabs .nav-link.active {

    color: var(--primary);

    background: none;
}

.notice-tabs .nav-link.active::after {

    content: '';

    position: absolute;

    left: 0;

    bottom: -2px;

    width: 100%;

    height: 3px;

    background: var(--secondary);
}

.notice-content {

    background: #fff;

    border-radius: 15px;

    padding: 25px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);
}

.notice-list {

    list-style: none;

    margin: 0;

    padding: 0;
}

.notice-list li {

    border-bottom: 1px solid #eee;

    padding: 16px 0;
}

.notice-list li:last-child {

    border-bottom: none;
}

.notice-list a {

    color: #1f2937;

    text-decoration: none;

    font-weight: 500;

    transition: .3s;
}

.notice-list a:hover {

    color: var(--primary);

    padding-left: 8px;
}

/* ===========================
   PIONEERS SECTION
=========================== */

.pioneers-section {
    padding: 90px 0;
    background: #f8f5ee;
}

.pioneer-card {

    background: #fff;

    height: 100%;

    border-radius: 20px;

    padding: 30px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);

    transition: .4s;
}

.pioneer-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .12);
}

.pioneer-card img {

    width: 140px;

    height: 140px;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid #C89B3C;

    margin-bottom: 20px;
}

.pioneer-card h4 {

    color: #5A0F12;

    font-size: 22px;

    margin-bottom: 15px;

    font-weight: 700;
}

.pioneer-card p {

    color: #555;

    font-size: 13px;
    margin-left: -15px;
    margin-right: -15px;
    text-align: justify;
    line-height: 1.4;
}

/* ===========================
   DEPARTMENTS
=========================== */

.department-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    transition: .3s;
}

.department-card:hover {
    background: var(--primary);
    color: #fff;
}



.pioneers-section {
    background: var(--bg-light);
}

.pioneer-card {

    background: var(--bg-white);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.pioneer-card:hover {

    box-shadow: var(--shadow-lg);
}

.pioneer-card img {

    border: 5px solid var(--secondary);
}

.pioneer-card h4 {

    color: var(--primary);
}

.pioneer-card p {

    color: var(--text-body);
}

/* ===========================
   GALLERY
=========================== */

.gallery-section {
    background: #fff;
    padding: 80px 0;
}

.gallery-section img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    transition: .4s;
}

.gallery-section img:hover {
    transform: scale(1.05);
}

/* ===========================
   QUICK LINKS
=========================== */

.quick-links {
    padding: 80px 0;
}

.quick-link-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

/* ===========================
   PRINCIPAL SECTION
=========================== */

.principal-section {

    padding: 100px 0;

    background: var(--bg-white);
}

.principal-content {

    padding-right: 40px;
}

.section-tag {

    display: inline-block;

    background: rgba(200, 155, 60, .12);

    color: var(--secondary);

    padding: 8px 16px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 20px;
}

.principal-content h2 {

    color: var(--primary);

    font-size: 42px;

    margin-bottom: 25px;
}

.principal-content p {

    color: var(--text-body);

    font-size: 17px;

    line-height: 1.9;

    margin-bottom: 18px;
}

.principal-image {

    position: relative;
}

.principal-image img {

    width: 280px;

    height: 280px;

    object-fit: cover;

    border-radius: 50%;

    border: 8px solid var(--secondary);

    box-shadow: var(--shadow-lg);
}

.btn-primary-custom {

    background: var(--primary) !important;

    border: none !important;

    color: #fff !important;

    padding: 12px 28px !important;

    border-radius: 50px !important;

    font-weight: 600 !important;

    transition: .3s !important;
}

.btn-primary-custom:hover {

    background: var(--primary-dark) !important;

    color: #fff !important;
}

@media(max-width:991px) {

    .principal-content {

        padding-right: 0;

        margin-bottom: 40px;

        text-align: center;
    }

    .principal-content h2 {

        font-size: 32px;
    }

    .principal-image img {

        width: 220px;
        height: 220px;
    }
}

.modal-content {
    border: none;
    border-radius: 20px;
}

.modal-header {
    background: var(--primary);
    color: #fff;
}

.modal-title {
    font-family: 'Cinzel', serif;
}

.modal-body {
    padding: 30px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-body);
}

/* ===========================


   FOOTER
=========================== */

.footer {
    background: var(--primary);
    color: #fff;
    padding: 70px 0 30px;
}

.footer h3 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: var(--secondary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

/* ===========================
   BACK TO TOP
=========================== */

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: none;
    z-index: 999;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:991px) {

    .college-info h1 {
        font-size: 22px;
    }

    .college-info h2 {
        font-size: 16px;
    }

    .carousel-caption h1 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 16px;
    }

    .hero-section img {
        height: 60vh;
    }

    .logo {
        width: 70px;
    }
}

@media(max-width:768px) {

    .top-header {
        text-align: center;
    }

    .college-info {
        text-align: center;
        margin-top: 15px;
    }

    .carousel-caption {
        bottom: 18%;
    }

    .carousel-caption h1 {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }
}