﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ============================
   BASIC GLOBAL CSS RESET
============================ */

/* Box sizing for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset margins & paddings */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Global font & background */
body {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 28px;
    color: #6a6a6a;
    font-size: 14px;
    background-color: #eff2f1;
}

/* Top Notification Bar */
.topbar {
    background: #005baa; /* Blue background */
    color: #fff;
    padding: 6px 12px;
    font-size: 14px;
    white-space: nowrap;
}

    .topbar strong {
        color: #fff;
        font-weight: 600;
    }

    .topbar marquee {
        color: #fff;
        font-weight: 500;
    }

    .topbar a {
        color: #ddd;
        text-decoration: none;
        font-size: 16px;
    }

        .topbar a:hover {
            color: #ffc107;
        }
/* Middle Header */
.middle-header {
    background: #f8f9fa;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .middle-header img {
        height: 100px;
    }

.quick-links .btn {
    font-size: 14px;
    margin: 2px;
}
.logo-img {
    height: 80px; /* adjust as per your design */
    width: auto; /* keeps aspect ratio */
    object-fit: contain; /* ensures proper scaling */
}

/* Navbar */
.navbar-custom {
    background: #004080;
}

    .navbar-custom .nav-link {
        color: #fff !important;
        font-weight: 500;
    }

        .navbar-custom .nav-link:hover {
            color: #ffc107 !important;
        }

    .navbar-custom .navbar-toggler {
        border-color: #fff;
    }


/* ============================
   FOOTER SECTION
============================ */
.footer-section {
    background: #004080; /* Match header/nav color */
    color: #fff;
   padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

    .footer-section .footer-logo-wrap .footer-logo {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
    }

    .footer-section .footer-logo span {
        color: #ffc107; /* Accent dot */
    }

    .footer-section p {
        font-size: 14px;
        line-height: 1.8;
        color: #ddd;
    }

    /* Social Icons */
    .footer-section .custom-social {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

        .footer-section .custom-social li {
            list-style: none;
        }

        .footer-section .custom-social a {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #005baa;
            color: #fff;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

            .footer-section .custom-social a:hover {
                background: #ffc107;
                color: #004080;
            }

    /* Footer Links */
    .footer-section .links-wrap ul {
        margin: 0;
        padding: 0;
    }

    .footer-section .links-wrap li {
        list-style: none;
       /* margin-bottom: 10px;*/
    }

    .footer-section .links-wrap a {
        color: #ddd;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .footer-section .links-wrap a:hover {
            color: #ffc107;
        }

    /* Subscription Form */
    .footer-section .subscription-form h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #fff;
    }

    .footer-section .subscription-form .form-control {
        border-radius: 6px;
        font-size: 14px;
    }

    .footer-section .subscription-form .btn {
        border-radius: 6px;
        padding: 8px 16px;
    }

    /* Copyright */
    .footer-section .copyright {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
      /*  margin-top: 40px;
        padding-top: 20px;*/
    }

        .footer-section .copyright p {
            font-size: 13px;
            color: #bbb;
        }

        .footer-section .copyright a {
            color: #ffc107;
            text-decoration: none;
        }

            .footer-section .copyright a:hover {
                text-decoration: underline;
            }

        .footer-section .copyright ul li {
            list-style: none;
            margin-left: 20px;
        }

        .footer-section .copyright ul a {
            font-size: 13px;
            color: #ddd;
        }

            .footer-section .copyright ul a:hover {
                color: #ffc107;
            }

    /* Sofa Image Positioning */
    .footer-section .sofa-img {
        position: absolute;
        right: 10%;
        bottom: 0;
        opacity: 0.2;
        max-width: 200px;
    }

/* ============================
  ABOUT SECTION
============================ */
.about-college {
    padding: 60px 0;
}

    .about-college h2 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .about-college .btn-read {
        border: 1px solid #ccc;
        padding: 10px 20px;
        background: #fff;
        transition: all 0.3s ease;
    }

        .about-college .btn-read:hover {
            background: #007bff;
            color: #fff;
        }

    .about-college .tag-box {
        display: inline-block;
        padding: 8px 14px;
        margin: 6px;
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        border-radius: 5px;
        white-space: nowrap;
    }
    /* Color classes (scoped inside about-college) */
    .about-college .tag-yellow {
        background: #f2a93b;
    }

    .about-college .tag-blue {
        background: #2c80d3;
    }

    .about-college .tag-green {
        background: #2ca84e;
    }

    .about-college .tag-red {
        background: #d9534f;
        color:white;
    }

    .about-college .tag-lightblue {
        background: #49c5b6;
    }

    .about-college .tag-darkblue {
        background: #004080;
    }

    .about-college .tag-orange {
        background: #f39c12;
    }
.banner {
    position: relative;
    background: url('images/college.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

    .banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 51, 102, 0.75); /* Blue overlay */
    }

.banner-content {
    position: relative;
    text-align: center;
}

    .banner-content h1 {
        font-size: 3rem;
        font-weight: bold;
    }

    .banner-content .highlight {
        color: #FFD43B; /* Yellow */
    }
.fees-table {
    width: 100%; /* make table full width */
    border-collapse: collapse; /* remove double borders */
    font-size: 15px; /* slightly smaller text */
}

    .fees-table th,
    .fees-table td {
        padding: 3px 10px; /* reduce spacing inside cells */
        text-align: left; /* align text left */
        vertical-align: middle; /* center text vertically */
    }

    .fees-table thead th {
        background-color: #c8cbcf;
        font-weight: bold;
    }
.eventimg-container {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.eventimg-content {
    display: flex;
    animation: eventimg-scroll 40s linear infinite;
}

    .eventimg-content img {
        width: 200px; /* square size */
        height: 200px; /* square size */
        object-fit: cover;
        flex-shrink: 0;
        margin: 0;
    }

@keyframes eventimg-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
 .gallery img {
    transition: transform 0.4s ease;
    cursor: pointer;
     width: 100%;
      height: 200px; 
      margin-bottom:5px;
}

.gallery img:hover {
    transform: scale(1.5); /* zoom effect */
    z-index: 2;
}
/* Blog-specific CSS */
.blog-text {
    max-height: 120px; /* show only preview */
    overflow: hidden;
    transition: max-height 0.4s ease;
}

    .blog-text.expanded {
        max-height: 1000px; /* enough to show full content */
    }

.blog-read-more {
    cursor: pointer;
    color: #37517e;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
  
}

.overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.65);
    z-index: 9999;
    padding: 10px; /* small padding for smaller screens */
}

/* Popup box */
.popup {
    width: 520px;
    max-width: 95%;
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.3);
    text-align: left;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    position: relative;
}

/* Heading */
.popup h2 {
    margin: 0 0 15px;
    font-size: 1.5rem;
    color: #333;
}

/* Paragraph / content text */
.popup p {
    margin: 0 0 15px;
    font-size: 1rem;
    color: #555;
}

/* Close button */
.close-btn {
    display: inline-block;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #d32f2f;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: #b71c1c;
}

/* Prevent underlying content from being clickable */
#mainContent {
    position: relative;
}

/* Optional: Responsive adjustments */
@media (max-width: 600px) {
    .popup {
        padding: 20px;
    }
    .popup h2 {
        font-size: 1.25rem;
    }
    .popup p {
        font-size: 0.95rem;
    }
    .close-btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}


