/* Base Styles */
:root {
    --primary-color: #003366;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.top-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.college-info h1 {
    font-size: 2em;
    margin-bottom: 5px;
}

.college-info p {
    font-size: 1.1em;
    opacity: 0.9;
}

.contact-bar {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    color: var(--primary-color);
}

/* Update navigation styles */
/* Navigation styles */
.main-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}

.college-title {
    text-align: center;
    margin-bottom: 20px;
}

.college-title h1 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 5px;
}

.college-title p {
    color: var(--text-color);
    font-size: 1em;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    font-size: 1.4em;  /* Increased font size */
    transition: 0.3s;
    position: relative;
}

@media (max-width: 768px) {
    .nav-links a {
        font-size: 1.5em;  /* Increased mobile font size */
        padding: 15px;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu {
        font-size: 32px;  /* Increased menu icon size */
    }
}

/* Remove the smaller font size override that appears later in the file */
.nav-links a {
    font-size: 1.4em;  /* Keep consistent larger size */
    padding: 8px 12px;
}
.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--primary-color);
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }
}

/* Main content styles */
.main-content {
    padding: 60px 0;
}

.welcome-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.footer-about h3 {
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 20px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .college-info h1 {
        font-size: 1.5em;
    }
    
    .contact-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    background: var(--primary-color);
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Page Hero Sections */
.page-hero {
    position: relative;
    height: 400px;
    background: var(--primary-color);
    color: white;
}

/* Update navigation styles for more items */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.nav-links a {
    font-size: 0.9em;
    padding: 8px 12px;
}

/* Mobile menu adjustments */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        text-align: center;
        padding: 12px;
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 150px 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
    animation: fadeInUp 1s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1.5s;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Key Features */
/* Facilities Section Styles */
.facilities-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

/* Key Features Section Update */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* Responsive adjustment for features */
@media (max-width: 768px) {
    .features-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 100%;
        max-width: 350px;
    }
}
.facility-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.facility-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Library Section Styles */
.library-section {
    padding: 80px 0;
}

.library-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.info-block ul {
    list-style: none;
}

.info-block ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block ul li i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .library-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}
/* Programs Section */
.programs {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.program-card {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.program-content {
    padding: 30px;
}

.program-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.duration {
    color: #666;
    margin-bottom: 20px;
}

.program-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.program-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
}

.why-choose .section-header h2 {
    color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.highlight-card {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: 0.3s;
}

.highlight-card:hover {
    background: rgba(255,255,255,0.2);
}

.highlight-card i {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .features-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}
/* Page Hero Sections */
.page-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    color: white;
}

.about-hero {
    background-image: url('../images/about-hero.jpg');
}

.courses-hero {
    background-image: url('../images/courses-hero.jpg');
}

.contact-hero {
    background-image: url('../images/contact-hero.jpg');
}

/* Course Details Styling */
.courses-detail {
    padding: 80px 0;
}

.course-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

.course-header {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.course-header i {
    font-size: 2.5em;
}

.duration {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: auto;
}

.course-content {
    padding: 30px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-block ul {
    list-style: none;
}

.info-block ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
}

/* Contact Page Styling */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Map Section */
.map-section {
    padding-bottom: 80px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }
    
    .course-header {
        flex-direction: column;
        text-align: center;
    }
    
    .duration {
        margin: 15px 0 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card, .course-item {
    animation: slideIn 0.5s ease-out;
}

.lab-carousel {
    width: 100%;
    height: 700px;  /* Increased from 300px to 400px */
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.lab-carousel .swiper-slide {
    width: 100%;
    height: 100%;
}

.lab-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lab-carousel .swiper-button-next,
.lab-carousel .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 25px;
    border-radius: 50%;
}

.lab-carousel .swiper-button-next:after,
.lab-carousel .swiper-button-prev:after {
    font-size: 20px;
}