:root {
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --secondary: #F59E0B;
    --accent: #10B981;
    --bg-light: #F9FAFB;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 24px;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.logo-text {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-text.light {
    color: white !important;
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
    margin-right: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Dropdown Styles */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: var(--white);
    list-style: none;
    padding: 15px 0;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-links li:hover .dropdown-menu,
.nav-links li.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    font-size: 15px;
    color: var(--text-main);
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
    padding-left: 30px;
}

@media (max-width: 968px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 10px 0 10px 20px;
        background: transparent;
        border: none;
    }

    .nav-links li.open .dropdown-menu,
    .nav-links li:hover .dropdown-menu {
        display: block;
    }
    
    .nav-links li.dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-card {
    background: var(--white);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.stats-mini {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.stat-item strong {
    display: block;
    font-size: 20px;
    color: var(--primary);
}

.stat-item span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Hero Slider Styles */
.hero-swiper {
    width: 100%;
    height: 700px; /* Increased height */
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0; /* Fallback padding */
}

.hero-slide .hero-content {
    max-width: 800px;
    color: white;
    margin: 0 auto;
}

.hero-slide h1 {
    color: white !important;
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-slide p {
    color: #E2E8F0 !important;
    font-size: 20px;
    margin-bottom: 32px;
}

.hero-slide .badge {
    background: var(--primary);
    color: white;
}

.hero-slide .hero-btns {
    justify-content: center;
}

.swiper-button-next, .swiper-button-prev {
    color: white;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

/* Stats Section */
.stats-section {
    padding: 0 0 60px 0;
    margin-top: -80px;
    position: relative;
    z-index: 100; /* Extremely high to stay on top */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.stat-box {
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.stat-box:last-child {
    border-right: none;
}

.stat-box h3 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #0F172A;
    color: var(--white);
    padding: 80px 0 20px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about .logo-text {
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    color: #94A3B8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-grid h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #94A3B8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Featured Links Custom Styles */
.featured-links-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.featured-link-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-link-title {
    color: #F8FAFC;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.featured-link-title::before {
    content: '›';
    color: var(--secondary);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.featured-link-title:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.btn-click-here {
    display: inline-block;
    background: #F59E0B; /* Yellow/Amber from image */
    color: #1E293B;
    padding: 10px 30px;
    font-weight: 800;
    font-size: 19px;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    margin-left: 20px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Jagged/Brush stroke effect using clip-path */
    clip-path: polygon(
        2% 18%, 8% 5%, 15% 12%, 25% 4%, 35% 14%, 45% 6%, 55% 15%, 65% 7%, 75% 16%, 85% 8%, 94% 18%, 
        98% 50%, 
        94% 82%, 85% 92%, 75% 84%, 65% 93%, 55% 85%, 45% 94%, 35% 86%, 25% 95%, 15% 87%, 8% 95%, 2% 82%, 
        0% 50%
    );
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-click-here:hover {
    background: #FFB81C;
    transform: scale(1.08) rotate(-1deg);
    color: #000;
}

/* Vertical News Ticker */
.vertical-news-wrapper {
    height: 380px;
    overflow: hidden;
    position: relative;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 20px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #E2E8F0;
}

.news-vertical-ticker {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scrollVertical 30s linear infinite;
}

.vertical-news-wrapper:hover .news-vertical-ticker {
    animation-play-state: paused;
}

.v-news-item {
    background: #F8FAFC;
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--secondary);
    transition: 0.3s;
}

.v-news-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateX(5px);
}

.v-news-item h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.v-news-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.v-news-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

@keyframes scrollVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Half because we doubled the content */
}

/* Responsive fixes for footer links */
@media (max-width: 768px) {
    .btn-click-here {
        margin-left: 0;
        width: 100%;
    }
}

.footer-contact p {
    color: #94A3B8;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    text-align: center;
    color: #475569;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
        order: 3;
    }
    
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 50px 0;
        transition: 0.4s ease;
        z-index: 999;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 20px;
    }

    .nav-actions {
        display: none; /* Hide admin login button on mobile menu or keep it inside */
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
        gap: 20px;
    }
    .stat-box h3 {
        font-size: 28px;
    }
    .stat-box:nth-child(2) {
        border-right: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* EIT Welcome Section Styles */
.eit-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.eit-feature-card {
    text-align: center;
    padding: 20px;
    transition: 0.3s;
}

.eit-feature-icon {
    width: 90px;
    height: 90px;
    background: #F59E0B; /* Amber/Yellow */
    color: #1E293B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.eit-feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 700;
}

.eit-feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.eit-training-section {
    margin-top: 80px;
    border-top: 1px solid #f1f5f9;
    padding-top: 60px;
    text-align: center;
}

.eit-training-title {
    font-size: 26px;
    color: var(--primary-dark);
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.eit-training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.eit-training-box {
    background: #F8FAFC;
    padding: 25px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
    text-align: left;
}

.eit-training-box:hover {
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.eit-training-icon {
    width: 55px;
    height: 55px;
    background: #F59E0B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.eit-training-box span {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 18px;
}

@media (max-width: 768px) {
    .eit-features-grid, .eit-training-grid {
        grid-template-columns: 1fr;
    }
}
