* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
    background-color: #fff;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-left: 10px;
}
.name-img{
    height: 40px;
    width: 70px;
}
nav.scrolled .logo-text {
    color: #331a5c;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav.scrolled .nav-links a {
    color: #331a5c;
}

.nav-links a:hover {
    color: #9c7bd8;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

nav.scrolled .menu-toggle {
    color: #331a5c;
}

/* Hero Section */
.hero {
    height: 35vh;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 40, 49, 0.555);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 80%;
    max-width: 800px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(46, 40, 49, 0.329);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-logo span {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.logo-img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-position: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    color: #e0d6f5;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Content Section */
.content {
    padding: 10px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.content h2 {
    font-size: 1.8rem;
    color: #331a5c;
    margin-bottom: 30px;
    text-align: center;
}

.content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}





/* New Services Section */
.services-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #b3b3b3;
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

.service-card {
    background: #181818;
    border-radius: 8px;
    padding: 20px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    background: #282828;
}

.card-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    background: #1db954;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.service-card:hover .play-button {
    opacity: 1;
    transform: translateY(0);
}

.play-button i {
    color: #000000;
    font-size: 20px;
    margin-left: 3px;
}

.card-content {
    min-height: 90px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-description {
    font-size: 0.95rem;
    color: #b3b3b3;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 12px;
    color: #b3b3b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .service-card {
        padding: 16px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 0.85rem;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
        bottom: 8px;
        right: 8px;
    }
    
    .play-button i {
        font-size: 16px;
    }
}


/* Campuses Section */
.campuses {
    padding: 80px 40px;
    background: linear-gradient(to bottom, #eef2f7, #ffffff);
}

.campuses-heading {
    text-align: center;
    margin-bottom: 50px;
}

.campuses-heading h2 {
    font-size: 2.5rem;
    color: #331a5c;
    margin-bottom: 15px;
}

.campuses-heading p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.campuses-scroll {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 20px 10px;
    scrollbar-width: thin;
    scrollbar-color: #331a5c #f1f1f1;
    max-width: 1200px;
    margin: 0 auto;
}

.campuses-scroll::-webkit-scrollbar {
    height: 8px;
}

.campuses-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.campuses-scroll::-webkit-scrollbar-thumb {
    background: #331a5c;
    border-radius: 10px;
}

.campus-card {
    flex: 0 0 auto;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    background: white;
}

.campus-card:hover {
    transform: translateY(-5px);
}

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

.campus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campus-info {
    padding: 20px;
}

.campus-name {
    font-size: 1.3rem;
    color: #331a5c;
    margin-bottom: 10px;
    font-weight: 700;
}

.campus-location {
    color: #6c757d;
    display: flex;
    align-items: center;
}

.campus-location i {
    margin-right: 8px;
    color: #6b39c0;
}



.container {
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    padding-bottom: 20px;
    justify-self: center;
}
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 1rem;
    padding: 1rem;
}
.nav-item {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    justify-content: space-around;
    text-decoration: none;
    color: #333;
}

.nav-item:hover {
    transform: translateY(-2px);
}
.nav-item-img {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    margin-right: 1rem;
}
.nav-text {
    /* font-size: 0.7rem; */
    font-weight: 700;
    color: #331a5c;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    margin-top: 1.5rem;
}
.section-title {
    font-weight: 700;
    color: #4b0082;
    border-left: 4px solid #4b0082;
    padding-left: 10px;
}
.see-all {
    font-size: 0.875rem;
    color: #999;
    cursor: pointer;
}
.campus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
}
.campus-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
.campus-item:hover {
    transform: scale(1.05);
}
.campus-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.campus-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-top: 0.5rem;
}
.products-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    scrollbar-width: none; /* Firefox */
}
.products-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.product-item {
    min-width: 140px;
    text-align: center;
}
.product-img {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    background-color: #e0e0e0;
    margin-bottom: 0.5rem;
}
.product-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
}





.news{
    overflow-x: hidden;
    padding: 1rem 0;
}

.news-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
}
.news-grid::-webkit-scrollbar {
    display: none;
}
.news-grid {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 300px;
}

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

/* First Div: Meta */
.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.card-campus {
    color: #666;
    font-weight: 600;
}

.card-date {
    color: #666;
}

/* Second Div: Title and Image */
.title-image-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.card-title {
    margin: 0;
    color: #130f3a;
    font-size: 1.1rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.card-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Third Div: Description */
.card-excerpt {
    margin: 0;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fourth Div: Buttons */
.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.read-more {
    padding: 6px 12px;
    background-color: #34147e;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #2a1066;
}

.share-btn {
    padding: 6px 30px;
    color: #34147e;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.share-btn:hover {
    color: #2a1066;
    background-color: #f0f0f0;
}

@media (min-width: 768px) {
    .news-grid {
        padding: 30px;
    }
    
    .news-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

.event-cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px;
}

.event-card {
    flex: 0 0 auto;
    width: 220px;
    border-radius: 8px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.event-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.event-card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.event-card p {
    font-size: 14px;
    margin: 5px 0;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-button {
    display: inline-block;
    padding: 8px 12px;
    margin-top: 10px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.event-button:hover {
    background-color: #0056b3;
}



.popular-foods {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
}

.food-card {
    flex: 0 0 auto;
    width: 180px;
    height: 280px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    /* Remove link underline */
    color: inherit;
    /* Inherit text color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.food-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #331a5c;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 12px;
    clip-path: polygon(0% 0%, 100% 0%, 85% 50%, 100% 100%, 0% 100%);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}

.food-name {
    position: absolute;
    bottom: 40px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
}

.food-location {
    position: absolute;
    bottom: 10px;
    width: 100%;
    font-size: 14px;
    text-align: center;
    color: #ccc;
}















/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }

    .services, .campuses {
        padding: 60px 30px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 20px;
    }
    
    nav.scrolled {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .nav-links a {
        color: #331a5c;
        display: block;
        padding: 10px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .content {
        padding: 10px 20px;
    }

    .services, .campuses {
        padding: 50px 20px;
    }
    
    .services-heading h2, .campuses-heading h2 {
        font-size: 2.2rem;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .services-heading h2, .campuses-heading h2 {
        font-size: 2rem;
    }
    
    .services-heading p, .campuses-heading p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .campus-card {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 35vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .hero-logo span {
        font-size: 28px;
    }
}
