/* Reset & Variables */
:root {
    --primary: #003366;
    --primary-dark: #00264d;
    --secondary: #ffd700;
    --secondary-light: #fff0b3;
    --accent: #e63946;
    --background: #f5f7fa;
    --section-bg: #ffffff;
    --text: #222;
    --muted: #888;
    --transition: all 0.3s ease;
}

/* Base Styles */
:root {
    --primary-color: #003366;
    --secondary-color: #0066cc;
    --accent-color: #ff9900;
    --light-color: #f5f5f5;
    --dark-color: #333333;
    --text-color: #444444;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Basic Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    background-color: var(--light-color);
    color: var(--text-color);
}

main {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Header & Navigation */
header {
    background: var(--section-bg);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-header {
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
    font-size: 0.9em;
}

.contact-bar {
    display: flex;
    gap: 20px;
}

.contact-bar a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.contact-bar a:hover {
    color: var(--secondary-color);
}

.social-bar {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 1em;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-icon:hover {
    color: var(--secondary-color);
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.top-bar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 20px;
    position: relative;
}

.logo-link {
    display: block;
}

.logo {
    height: 70px;
    width: 70px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8em;
    flex-grow: 1;
    text-align: center;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: var(--primary-color);
}

.main-nav {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.mega-menu {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    align-items: center;
}

.mega-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    padding: 15px;
    text-align: left;
}

.dropdown {
    position: absolute;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: none;
    z-index: 9999;
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 15px;
    text-align: left;
}

.menu-item:hover .dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInDown 0.3s ease;
}

.mega-menu-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.mega-menu-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.mega-menu-card:hover,
.mega-menu-card.hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mega-menu-card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.mega-menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mega-menu-card:hover .mega-menu-card-image img {
    transform: scale(1.05);
}

.mega-menu-card-content {
    padding: 15px;
}

.mega-menu-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.mega-menu-card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.mega-menu-card-link {
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.mega-menu-card-link:hover {
    text-decoration: underline;
}

.mega-menu-card-link i {
    margin-left: 5px;
    font-size: 12px;
}

.mega-menu-section {
    margin-bottom: 20px;
}

.mega-menu-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

/* Responsive Mega Menu Styles */
@media (max-width: 1200px) {
    .mega-menu-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .mega-menu-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .mega-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 10px;
    }
    
    .mega-menu-cards {
        grid-template-columns: 1fr;
    }
    
    .mega-menu-card {
        max-width: 100%;
    }
}

.menu-item {
    position: relative;
    display: inline-block;
    /* Make sure menu items have enough space */
    padding: 0;
    margin: 0;
}

.menu-item > a {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 8px;
    font-size: 1.05rem;
}

.menu-item > a i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.menu-item:hover > a i {
    transform: translateY(-2px);
}

.menu-item > a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.menu-item > a:hover:after {
    width: 100%;
}

.dropdown {
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    padding: 0;
    box-shadow: var(--shadow);
    border-radius: 0 0 8px 8px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    overflow: hidden;
    display: block;
}

.dropdown {
    border-top: 3px solid var(--accent-color);
}

.menu-item:hover > .dropdown, .menu-item.active > .dropdown, .dropdown.active, .dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 1000;
}

.dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    gap: 10px;
}

.dropdown a i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.dropdown a:hover {
    background-color: rgba(0, 102, 204, 0.1);
    padding-left: 25px;
    color: var(--primary-color);
}

.dropdown a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

/* Content Sections */
.section {
    background: var(--section-bg);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h2, h3 {
    color: var(--primary-color);
}

.lang-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.lang {
    flex: 1 1 300px;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

strong {
    color: var(--accent-color);
}

footer {
    text-align: center;
    font-size: 0.9em;
    color: #fff;
    margin-top: 40px;
    background: var(--primary-color);
    border-radius: 0 0 10px 10px;
    padding: 20px 0;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 320px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6f0fa;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 5;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 35px;
    border-radius: 10px;
    background: rgba(0, 51, 102, 0.6);
    backdrop-filter: blur(5px);
    transform: translateY(0);
    animation: fadeInUp 0.8s ease forwards;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Featured Projects */
.featured-projects {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.project-card {
    background: #f8fbff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 18px 14px;
    width: 260px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,64,128,0.10);
}

.project-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Gallery */
.gallery {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.07);
}

/* Institutions */
.institutions-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.institution-card {
    background: #f8fbff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 18px 14px;
    width: 260px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.institution-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,64,128,0.10);
}

.institution-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 40px 0 20px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.cta-section h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.cta-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Testimonials */
.testimonials {
    background: #f9fafc;
    border-radius: 12px;
    padding: 30px 20px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.testimonials h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 24px;
}

.testimonial-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 18px 16px;
    width: 260px;
    text-align: left;
    font-style: italic;
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 2em;
    color: var(--secondary-color);
    position: absolute;
    left: 10px;
    top: 10px;
}

.testimonial .author {
    display: block;
    margin-top: 12px;
    font-weight: bold;
    color: var(--primary-color);
    font-style: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .main-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .main-nav.active {
        max-height: 1000px;
    }
    .mega-menu {
        flex-direction: column;
        gap: 0;
    }
    .menu-item > a {
        padding: 12px;
        justify-content: center;
    }
    .mega-menu .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
        border: none;
        background: rgba(0,0,0,0.05);
    }
    .mega-menu .dropdown a {
        padding: 10px 15px;
        justify-content: center;
    }
    .lang-section {
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .featured-projects, .institutions-list {
        flex-direction: column;
        align-items: center;
    }
    .gallery {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 180px;
    }
    .hero-text {
        padding: 10px 8px;
        font-size: 1em;
    }
    .logo {
        height: 40px;
        width: 40px;
    }
}

/* WhatsApp Chat Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Contact */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    border-radius: 5px;
    background: var(--light-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-form {
    max-width: 800px;
    margin: 50px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--secondary-color);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar h1 {
        margin: 15px 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .main-nav.active {
        height: auto;
    }
    
    .mega-menu {
        flex-direction: column;
    }
    
    .dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: rgba(0, 0, 100, 0.1);
    }
    
    .menu-item.active .dropdown {
        display: block;
    }
    
    .lang-section {
        flex-direction: column;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide {
        height: 400px;
    }
    
    .hero-text {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .top-header {
        flex-direction: column;
    }
    
    .social-bar {
        margin-top: 10px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide {
        height: 300px;
    }
    
    .section {
        padding: 40px 5%;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1523289961518-a9e72c98c732?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.stats-section h2 {
    color: var(--white);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    margin: 20px;
    padding: 25px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
}

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

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

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

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

.footer-section p {
    margin-bottom: 20px;
    color: #aaa;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

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

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}

/* Map Container */
.map-container {
    margin-top: 30px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Hero Slider Styles - Improved */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 550px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    width: 300%;
    height: 100%;
}

.slide {
    position: relative;
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.slider-controls {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Mobile Navigation Improvements */
@media (max-width: 992px) {
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 450px;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        color: var(--accent-color);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--primary-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .mega-menu {
        flex-direction: column;
        padding: 70px 0 20px;
    }
    
    .menu-item {
        width: 100%;
    }
    
    .menu-item > a {
        padding: 15px 20px;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background: rgba(0, 0, 0, 0.2);
    }
    
    .menu-item.active .dropdown {
        display: block;
    }
    
    .dropdown a {
        padding: 12px 20px 12px 35px;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown a i {
        color: var(--accent-color);
    }
    
    .dropdown a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    
    /* Overlay when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .hero-text {
        padding: 25px;
        width: 90%;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 400px;
    }
    
    .hero-text {
        padding: 20px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    margin-bottom: 30px;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.breadcrumbs a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* About Section */
.about-section {
    padding: 50px;
}

/* Timeline */
.achievements-section {
    padding: 50px;
    background-color: var(--light-color);
}

.achievements-timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
}

.achievements-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: var(--white);
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -13px;
}

.timeline-year {
    position: absolute;
    top: 15px;
    right: -80px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(even) .timeline-year {
    left: -80px;
    right: auto;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Team Members */
.team-preview-section {
    padding: 50px;
}

.team-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-color);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.team-member p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.text-center {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .achievements-timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
        right: auto;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
    
    .timeline-year {
        left: auto !important;
        right: auto !important;
        position: relative;
        top: 0;
        display: inline-block;
        margin-bottom: 10px;
        font-size: 0.9rem;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 50px;
}

.contact-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-intro {
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--text-color);
}

.contact-detail {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

.contact-text h3 {
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-text p {
    margin: 0;
    color: var(--text-color);
}

.contact-text a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.social-connect {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon-large:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.form-check-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.form-check-label {
    font-weight: normal;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Map Section */
.map-section {
    padding: 50px;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 30px;
}

/* FAQ Section */
.faq-section {
    padding: 50px;
    background-color: var(--light-color);
    text-align: center;
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 5px 20px 20px;
    max-height: 1000px;
}

.faq-item.active .faq-question {
    background-color: rgba(0, 51, 102, 0.05);
}

/* Active Menu Item */
.menu-item > a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Responsive Styles for Contact Page */
@media screen and (max-width: 992px) {
    .contact-info-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media screen and (max-width: 768px) {
    .contact-section,
    .map-section,
    .faq-section {
        padding: 30px 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

/* Sticky Menu */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-nav.visible {
    transform: translateY(0);
}

.sticky-nav .top-bar {
    padding: 10px 20px;
}

.sticky-nav .logo {
    height: 45px;
}

.sticky-nav h1 {
    font-size: 1.5rem;
}

/* Jump to Top Button */
.jump-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #f5821f;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.jump-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.jump-to-top:hover {
    background-color: #e07618;
}

/* Chatbot Styles */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 80px;
    z-index: 998;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4CAF50;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s;
}

.chatbot-button:hover {
    background-color: #3d8b40;
}

.chatbot-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    height: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 16px;
}

.chatbot-close {
    cursor: pointer;
    font-size: 18px;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
    clear: both;
}

.bot-message {
    background-color: #f1f1f1;
    float: left;
    border-bottom-left-radius: 0;
}

.user-message {
    background-color: #4CAF50;
    color: white;
    float: right;
    border-bottom-right-radius: 0;
}

.chatbot-input {
    border-top: 1px solid #eee;
    padding: 10px;
    display: flex;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
}

.chatbot-input button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    margin-left: 5px;
    cursor: pointer;
}

.chatbot-input button:hover {
    background-color: #3d8b40;
}

/* Mega Menu Card View */
.mega-menu .dropdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    min-width: 600px;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
}

.menu-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-card-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #f5821f;
}

.menu-card h4 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.menu-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Animation for mega menu */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .mega-menu {
        flex-direction: column;
        align-items: stretch;
    }
    .mega-menu .dropdown {
        grid-template-columns: 1fr;
        min-width: auto;
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
        position: static;
    }
    
    .chatbot-container {
        width: 300px;
        height: 350px;
        bottom: 75px;
        right: 0;
    }
}

/* Universities Page Styles */
.universities-section {
    padding: 60px 0;
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.university-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.university-card-image {
    height: 200px;
    overflow: hidden;
}

.university-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.university-card:hover .university-card-image img {
    transform: scale(1.05);
}

.university-card-content {
    padding: 25px;
}

.university-card-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.university-card-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.university-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    color: #333;
    font-weight: 600;
}

/* Responsive styles for university cards */
@media (max-width: 767px) {
    .universities-grid {
        grid-template-columns: 1fr;
    }
} 