/* Global Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #2962ff;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f5f5f5;
    --section-padding: 80px 0;
    --container-padding: 0 1rem;
    --container-max-width: 1200px;
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    --gradient-secondary: linear-gradient(135deg, #2962ff 0%, #1565c0 100%);
    --gradient-light: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    --gradient-dark: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(5deg);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.logo:hover span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('images/banner/hero.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    padding: var(--container-padding);
    position: relative;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.3), rgba(13, 71, 161, 0.3));
    z-index: 1;
}

.hero-content {
    max-width: var(--container-max-width);
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Tailwind-like Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.transition {
    transition: all 0.3s ease;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

.bg-opacity-90 {
    background-color: rgba(255, 255, 255, 0.9);
}

.bg-opacity-80 {
    background-color: rgba(255, 255, 255, 0.8);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.gradient-overlay {
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.3), rgba(13, 71, 161, 0.3));
}

/* Announcements Section */
.announcements {
    padding: var(--section-padding);
    background: var(--gradient-light);
    position: relative;
}

.announcements h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.announcement-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.announcement-slider .swiper-button-next,
.announcement-slider .swiper-button-prev {
    top: -50px;
    bottom: auto;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.announcement-slider .swiper-button-next:after,
.announcement-slider .swiper-button-prev:after {
    font-size: 1.2rem;
}

.announcement-slider .swiper-button-next:hover,
.announcement-slider .swiper-button-prev:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.announcement-slider .swiper-button-prev {
    right: 60px;
    left: auto;
}

.announcement-slider .swiper-button-next {
    right: 0;
}

.announcement-slider .swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px;
}

.announcement-slider .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.announcement-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcement-slider .swiper-slide:hover img {
    transform: scale(1.05);
}

.announcement-slider .swiper-pagination {
    bottom: -30px;
}

.announcement-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.5;
}

.announcement-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
}

.announcement-content {
    padding: 1.5rem;
    background: white;
}

.announcement-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

.about h2 {
    color: var(--light-text);
    position: relative;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-stats {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-stats img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.about-stats img:hover {
    transform: scale(1.05);
}

/* Faculty Section */
.faculty {
    padding: var(--section-padding);
    background: var(--gradient-light);
    position: relative;
}

.faculty::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
}

.faculty h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.faculty-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.faculty-slider .swiper-slide {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faculty-slider .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faculty-slider img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.faculty-slider .swiper-slide:hover img {
    transform: scale(1.05);
}

.faculty-slider h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-slider p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-top: auto;
}

/* Swiper Navigation Styles for Faculty */
.faculty-slider .swiper-button-next,
.faculty-slider .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faculty-slider .swiper-button-next:after,
.faculty-slider .swiper-button-prev:after {
    font-size: 1.2rem;
}

.faculty-slider .swiper-button-next:hover,
.faculty-slider .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
}

.faculty-slider .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.faculty-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
}

/* Location & Contact Section */
.location-contact {
    padding: var(--section-padding);
    background: var(--gradient-secondary);
    color: var(--light-text);
    position: relative;
}

.location-contact h2 {
    color: var(--light-text);
    margin-bottom: 3rem;
}

.location-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.location-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--background-color);
    border-radius: 10px;
    text-align: center;
}

.location-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.location-info p {
    margin-bottom: 0.5rem;
}

.location-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-details i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--light-text);
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.3s ease;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.social-links a:hover::before {
    transform: translateY(0);
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .location-contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats img {
        max-width: 80%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        animation: slideDown 0.3s ease forwards;
    }

    .nav-links a {
        padding: 1rem;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: var(--background-color);
        border-radius: 5px;
    }

    .map-container iframe {
        min-height: 300px;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .announcement-slider .swiper-button-next,
    .announcement-slider .swiper-button-prev {
        top: -40px;
        width: 35px;
        height: 35px;
    }

    .announcement-slider .swiper-button-next:after,
    .announcement-slider .swiper-button-prev:after {
        font-size: 1rem;
    }

    .announcement-slider .swiper-button-prev {
        right: 50px;
    }

    .announcement-slider .swiper-slide {
        height: 250px;
    }

    .faculty-slider .swiper-button-next,
    .faculty-slider .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .faculty-slider .swiper-button-next:after,
    .faculty-slider .swiper-button-prev:after {
        font-size: 1rem;
    }

    .faculty-slider h3 {
        font-size: 1rem;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
} 