/* ============ PREMIUM DESIGN SYSTEM ============ */
:root {
    --primary: #2c0a40;
    --primary-dark: #1f0630;
    --primary-light: #4a2a6b;
    --khaki: #c3a56d;
    --khaki-light: #d4b888;
    --khaki-dark: #a07d45;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --gray-light: #f0f2f5;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --black: #1a1a2e;

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-dark);
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* ============ TOP NAVIGATION BAR ============ */
.top-nav {
    background: var(--primary-dark);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-nav .contact-info {
    color: rgba(255, 255, 255, 0.8);
}

.top-nav .contact-info i {
    color: var(--khaki);
    margin-right: 0.3rem;
}

.top-nav .contact-info span {
    margin-right: 1.5rem;
}

.top-nav .social-icons a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 1rem;
    transition: var(--transition);
}

.top-nav .social-icons a:hover {
    color: var(--khaki);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .top-nav {
        display: none;
    }
}

/* ============ MAIN NAVIGATION ============ */
.navbar-premium {
    background: rgba(44, 10, 64, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-premium.scrolled {
    padding: 0.7rem 0;
    background: rgba(44, 10, 64, 1);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--khaki);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.3rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--khaki) !important;
}

.dropdown-menu {
    background: var(--primary);
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-top: 0.5rem;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    padding: 0.7rem 1.5rem;
}

.dropdown-item:hover {
    background: var(--khaki);
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-toggle::after {
    transition: var(--transition);
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ============ HERO SECTION - REDUCED HEIGHT ============ */
.hero-premium {
    min-height: 70vh;
    /* Changed from 100vh to 75vh (25% reduction) */
    background: linear-gradient(135deg, rgba(44, 10, 64, 0.92) 0%, rgba(31, 6, 48, 0.85) 100%),
        url('/public_assets/img/1university.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* For mobile devices - even smaller */
@media (max-width: 768px) {
    .hero-premium {
        min-height: 60vh;
        /* Slightly smaller on mobile */
    }
}

#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title .khaki-text {
    color: var(--khaki);
}

.typed-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    min-height: 80px;
}

.btn-premium {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    margin: 0.5rem;
}

.btn-premium-primary {
    background: var(--khaki);
    color: var(--primary);
    border: 2px solid var(--khaki);
}

.btn-premium-primary:hover {
    background: transparent;
    color: var(--khaki);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-premium-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-premium-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ============ QUICK LINKS CARDS ============ */
.quick-links-section {
    margin-top: -80px;
    position: relative;
    z-index: 20;
    padding-bottom: 4rem;
}

.quick-link-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.quick-link-card i {
    font-size: 3rem;
    color: var(--khaki);
    margin-bottom: 1.5rem;
}

.quick-link-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* ============ NOTIFICATION ALERT ============ */
.notification-alert {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============ NEWS CAROUSEL ============ */
.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin: 1rem;
}

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

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    color: var(--khaki);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .typed-text {
        font-size: 1rem;
    }

    .quick-links-section {
        margin-top: -40px;
    }

    .notification-alert {
        top: 80px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.page-link:hover {
    background: #c3a56d;
    color: #0a2540;
    border-color: #c3a56d;
}

.page-item.active .page-link {
    background: #0a2540;
    color: white;
    border-color: #0a2540;
}

/* Footer Social Icons Styles */
.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--khaki);
    text-decoration: none;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--khaki);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer Links Styles */
.footer-links li a,
.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links li a:hover,
.footer-contact li a:hover {
    color: var(--khaki);
    padding-left: 5px;
}

.footer-contact li i {
    color: var(--khaki);
    width: 25px;
    margin-right: 8px;
}

/* Social Icons Styles - Right Aligned */
.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--khaki);
    text-decoration: none;
    font-size: 0.9rem;
}

.social-icon:hover {
    background: var(--khaki);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b359;
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }
}

/* About Section Carousel */
.about-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-carousel .owl-nav button.owl-prev,
.about-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--khaki) !important;
    color: var(--primary) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    font-size: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.about-carousel .owl-nav button.owl-prev {
    left: 10px;
}

.about-carousel .owl-nav button.owl-next {
    right: 10px;
}

.about-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
}

.about-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
}

.about-carousel .owl-dots .owl-dot.active span {
    background: var(--khaki);
}

.about-carousel .carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .about-carousel .owl-nav button.owl-prev,
    .about-carousel .owl-nav button.owl-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .about-carousel-item img {
        height: 250px !important;
    }
}