/* Reset and Base Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --accent-color: #d32f2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* College Header Styles */
.college-header {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.college-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.college-address {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Home Section Styles */
.home-section {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 60vh;
    margin-bottom: 0;
    margin-top: -1px; /* Overlap with header */
}

#homeCarousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    z-index: 10;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--white);
}

.carousel-caption .btn {
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 30px;
    background-color: var(--primary-color);
    border: none;
}

.carousel-caption .btn:hover {
    background-color: var(--secondary-color);
}

/* Welcome Section Styles */
.welcome-section {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.welcome-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.welcome-content .btn {
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 30px;
    background-color: var(--primary-color);
    border: none;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.welcome-content .btn:hover {
    background-color: var(--secondary-color);
}

/* Features Section Styles */
.features-section {
    padding: 80px 0;
    background: var(--light-bg);
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--white);
}

.feature-card h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* News Section Styles */
.news-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    margin-bottom: 30px;
}

.news-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    text-align: center;
    width: 80px;
    float: left;
    margin-right: 20px;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

.news-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.news-content {
    padding: 20px;
    overflow: hidden;
}

.news-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-content p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Quick Links Section Styles */
.quick-links-section {
    padding: 80px 0;
    background: var(--light-bg);
    position: relative;
    z-index: 1;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.quick-link:hover {
    transform: translateY(-10px);
    background: var(--primary-color);
}

.quick-link i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.quick-link:hover i {
    color: var(--white);
}

.quick-link span {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

.quick-link:hover span {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .college-name {
        font-size: 3rem;
    }
    
    .college-address {
        font-size: 1.3rem;
    }
    
    .hero-section {
        height: 50vh;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption .lead {
        font-size: 1.2rem;
    }

    .welcome-content h2 {
        font-size: 2rem;
    }

    .welcome-content p {
        font-size: 1.1rem;
    }

    .feature-card {
        margin-bottom: 30px;
    }

    .news-card {
        margin-bottom: 30px;
    }

    .quick-link {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .college-name {
        font-size: 2.5rem;
    }
    
    .college-address {
        font-size: 1.1rem;
    }
    
    .hero-section {
        height: 45vh;
    }

    .carousel-caption {
        padding: 20px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption .lead {
        font-size: 1rem;
    }

    .welcome-content h2 {
        font-size: 1.8rem;
    }

    .welcome-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .college-name {
        font-size: 2rem;
    }
    
    .college-address {
        font-size: 1rem;
    }
    
    .hero-section {
        height: 40vh;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption .lead {
        font-size: 0.9rem;
    }

    .welcome-content h2 {
        font-size: 1.5rem;
    }

    .welcome-content p {
        font-size: 0.9rem;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
    }

    .feature-icon i {
        font-size: 2.5rem;
    }

    .feature-card h2 {
        font-size: 1.5rem;
    }
} 