@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;

}

body {
    background-color: #e0f2f1;
}

/* navigation section starts */
/* Desktop Navigation */
.desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    color: #0A1E44;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.desktop-nav .logo-container {
    display: flex;
    align-items: center;
}

.desktop-nav img {
    height: 40px;
    margin-right: 10px;
}

.desktop-nav h1 {
    font-size: 24px;
    color: #0A1E44;
}

.desktop-nav .nav-links {
    list-style: none;
    display: flex;
}

.desktop-nav .nav-links li {
    margin: 0 15px;
}

.desktop-nav .nav-links a {
    text-decoration: none;
    color: #0A1E44;
    font-size: 18px;
}

.desktop-nav .nav-links a:hover {
    color: #1f3c74;
    background: #F5A623;
    padding: 10px;
    border-radius: 10px;
}

/* Mobile Navigation */
.mbl-nav {
    display: none;
    flex-direction: column;
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

.mbl-nav .mbl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.mbl-nav .logo-container {
    display: flex;
    align-items: center;
}

.mbl-nav img {
    height: 40px;
    margin-right: 10px;
}

.mbl-nav h1 {
    font-size: 20px;
    color: #0A1E44;
}

.mbl-nav .menu-toggle {
    font-size: 26px;
    color: #0A1E44;
    cursor: pointer;
}

.mbl-links {
    list-style: none;
    padding: 0;
    display: none;
    flex-direction: column;
    background: #F5A623;
    width: 100%;
    text-align: center;
    height: 100vh;
}

.mbl-links.active {
    display: flex;
}

.mbl-links li {
    margin: 15px 0;
}

.mbl-links a {
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: inline-block;
    width: 100%;
    padding: 10px;
    transition: background 0.3s ease;
}

.mbl-links a i {
    margin-right: 8px;
}

.mbl-links a:hover {
    background: #004ba0;
    width: 95%;
    border-radius: 10px;
    color: #fff;
}

/* Responsive: Only one nav visible at a time */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mbl-nav {
        display: flex;
    }
}

@media (min-width: 769px) {
    .mbl-nav {
        display: none;
    }
}

/* navigation section end */

/* hero section start */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 20px;
}

.hero-background {
    position: absolute;
    /* Changed from fixed */
    top: 0;
    left: 0;
    width: 100%;
    /* Ensures it stays within hero-section */
    height: 100%;
    /* Covers hero-section only */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    /* Keeps it behind hero content */
}



.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    padding: 20px;
    text-align: justify;
}

.hero-content h1 {
    font-size: 30px;
    font-weight: bold;
    text-align: left;
}

.hero-content p {
    font-size: 14px;
    margin: 15px 0;
    line-height: 1.6;
    text-align: justify;
}

.btn {
    display: inline-block;
    background: #F5A623;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
}

.dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    gap: 5px;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.active {
    background-color: #F5A623;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: justify;
        width: auto;
        max-width: 100%;
        padding: 10px;
    }

    .hero-content h1 {
        text-align: center;
        word-spacing: normal;
        letter-spacing: normal;
    }

    .hero-content p {
        text-align: justify;
        margin-bottom: 100px;
        word-spacing: normal;
        letter-spacing: normal;
        white-space: normal;
        line-height: 1.5;
        hyphens: auto;
    }
}

/* hero section end */

/* about section start */

.about-section {
    padding: 80px 20px;
    background-color: #0A1E44;
    text-align: center;
}

.about-container {
    max-width: 1200px;
    margin: auto;
}

.about-container h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.about-container p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-box img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.about-box h3 {
    margin-top: 15px;
    font-size: 20px;
    color: #2c3e50;
}

.about-box p {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container p {
        text-align: justify;
        word-spacing: normal;
        letter-spacing: normal;
        white-space: normal;
        line-height: 1.5;
        hyphens: auto;
    }

}

@media (max-width: 480px) {
    .about-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* about section end */


/* event section start */
.dark-mode {
    background: #121212;
    color: #e0e0e0;
}

.events-section {
    padding: 60px 30px;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: inherit;
}

.theme-toggle {
    margin-bottom: 30px;
    font-size: 1rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.event-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    width: 100%;
}

.dark-mode .event-card {
    background: #1e1e1e;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.event-info {
    padding: 20px;
    transition: color 0.3s;
}

.event-info h3 {
    font-size: 1.4rem;
    margin: 0 0 10px;
}

.event-info p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.event-info i {
    margin-right: 8px;
    color: #0A1E44;
}

.dark-mode .event-info i {
    color: #90caf9;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .event-info h3 {
        font-size: 1.2rem;
    }
}

/* event section end */

/* hod section start */
.hods-section {
    text-align: center;
    padding: 50px;
    background-color: #0A1E44;
}

.hods-section h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 10px;
    color: white;
}

.hods-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    /* 8 cards per row */
    gap: 15px;
    justify-content: center;
}

.hod-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
    height: 260px;
    /* Adjusted height */
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.hod-card:hover {
    transform: scale(1.03);
}

.hod-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
}

.hod-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hod-details h3 {
    font-size: 15px;
    margin: 5px 0;
    font-weight: bold;
    min-height: 40px;
    color: #0A1E44;
}

.hod-details p {
    font-size: 15px;
    font-style: italic;
    font-weight: 600;
    color: #2c4475;
    margin: 0;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons {
    margin-top: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icons a {
    color: #0A1E44;
    font-size: 14px;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .hods-container {
        grid-template-columns: repeat(4, 1fr);
        /* Responsive fallback */
    }
}

@media (max-width: 768px) {
    .hods-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* hod section end */

/* contact us section start */
.container {
    display: flex;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.left,
.right {
    flex: 1 1 500px;
    padding: 40px;
    position: relative;
}

.left {
    background: linear-gradient(#0A1E44, );
    background-color: #0A1E44;
    color: white;
}

.left h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #F5A623;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.info-item {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s, color 0.3s;
}

.info-item i {
    margin-right: 16px;
    font-size: 24px;
    color: #F5A623;
}

.info-item:hover {
    transform: translateX(5px);
    color: #F5A623;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    margin-right: 15px;
    font-size: 26px;
    color: #F5A623;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #F5A623;
}

.map {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 230px;
    border: none;
}

.right h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

form input,
form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

form input:focus,
form textarea:focus {
    border-color: #0A1E44;
    outline: none;
}

form button {
    background: #0A1E44;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

form button:hover {
    background: #004ba0;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left,
    .right {
        padding: 30px 20px;
    }
}

/* contact us section end */

/* vc section start */

.vc-section {
    padding: 60px 20px;
    background: linear-gradient(145deg, #f0f4f8, #e0f2f1);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
}

.vc-card {
    background: #ffffff;
    max-width: 1000px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
}

.vc-image {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.vc-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 5px solid #e0f2f1;
}

.vc-message h2 {
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.vc-message p {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
}

.vc-contact {
    margin-top: 20px;
}

.vc-contact p {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}

.vc-contact i {
    color: #1e3a8a;
    margin-right: 10px;
}

.vc-socials {
    margin-top: 10px;
}

.vc-socials a {
    font-size: 18px;
    margin: 0 8px;
    color: #1e3a8a;
    transition: color 0.3s ease;
}

.vc-socials a:hover {
    color: #0077b6;
}

/* Responsive */
@media (max-width: 600px) {
    .vc-card {
        padding: 25px 15px;
    }

    .vc-image img {
        width: 160px;
        height: 160px;
    }

    .vc-message h2 {
        font-size: 22px;
    }

    .vc-message p {
        font-size: 15px;
    }
}

/* vc section end */

/* footer section start */
.footer {
    background-color: #0f0f0f;
    color: #ccc;
    padding: 50px 30px;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer-section h3 {
    color: #F5A623;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-section ul li i {
    margin-right: 10px;
    color: #F5A623;
}

.footer-section ul li:hover {
    color: #fff;
}

.footer-section ul li a {
    color: inherit;
    text-decoration: none;
}

.fsocial-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 20px;
}

.fsocial-icons a {
    color: #F5A623;
    transition: color 0.3s, transform 0.3s;
}

.fsocial-icons a:hover {
    color: #ccc;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .social-icons {
        justify-content: center;
    }
}

/* footer section end */