/* Base Styles and Variables */
:root {
    --primary-color: #1a237e;
    --primary-light: #534bae;
    --primary-dark: #000051;
    --secondary-color: #ff6f00;
    --secondary-light: #ffe082;
    --accent-color: #ff6f00;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

/* Reset and Default Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info span i {
    margin-right: 5px;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--secondary-light);
}

.main-header {
    padding: 15px 0;
    background-color: var(--white);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.logo {
    width: 80px;
    margin-right: 20px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.college-info h1 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.college-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

.main-nav {
    background-color: var(--primary-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.nav-links li a {
    color: var(--white);
    padding: 15px;
    display: block;
    transition: var(--transition);
}

.nav-links li a:hover {
    background-color: var(--primary-light);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
}

.slide-content h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: var(--white);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Welcome Section */
.welcome {
    padding: 60px 0;
    background-color: var(--white);
}

.welcome-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.welcome-text {
    flex: 1;
    min-width: 300px;
}

.welcome-image {
    flex: 1;
    min-width: 300px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Principal's Desk */
.principals-desk {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.desk-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.principal-image {
    flex: 0 0 250px;
    text-align: center;
}

.principal-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 5px solid var(--white);
    box-shadow: var(--box-shadow);
}

.principal-message {
    flex: 1;
    min-width: 300px;
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

/* News & Notices */
.news-notices {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.news-notices-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.notice-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
}

.notice-date {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.notice-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.notice-date .month {
    font-size: 0.9rem;
}

.notice-content {
    padding: 20px;
    flex: 1;
}

.notice-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.notice-content p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.read-more {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

/* Gallery Preview */
.gallery-preview {
    padding: 60px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
}

.footer-top {
    padding: 60px 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-info li, .quick-links li, .office-hours li {
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--accent-color);
}

.quick-links a {
    color: var(--white);
    transition: var(--transition);
}

.quick-links a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.office-hours li span {
    font-weight: 600;
    margin-right: 5px;
}

.footer-widget .social-links {
    margin-top: 20px;
}

.footer-widget .social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-widget .social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        padding: 30px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .main-header .container {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }
    
    .logo {
        width: 60px;
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .college-info h1 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .college-info p {
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
    }
    
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 15px;
    }
    
    .slide-content h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .slide-content p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .slide-content .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
    }
    
    .feature-card, .notice-card {
        padding: 20px;
    }
    
    .logo {
        width: 50px;
    }
    
    .college-info h1 {
        font-size: 1.2rem;
    }
    
    .college-info p {
        font-size: 0.7rem;
    }
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-banner h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-light);
}

.breadcrumb span {
    color: var(--white);
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-text h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Vision Mission Section */
.vision-mission {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.vm-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.vm-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

/* Management Team */
.management-team {
    padding: 60px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
}

.designation {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Achievements */
.achievements {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.achievement-card h3 {
    margin-bottom: 15px;
}

.achievement-card p {
    font-size: 0.9rem;
    color: var(--text-light);
} 