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

:root {
    --primary: #003366;
    --secondary: #CC0000;
    --accent: #FFCC00;
    --light: #F5F5F5;
    --dark: #333333;
    --gray: #777777;
}

body {
    background-color: var(--light);
    line-height: 1.6;
    color: var(--dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    width: auto;
}

.department-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.university-name {
    font-size: 1rem;
    color: var(--gray);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    background: var(--light);
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    padding: 8px 12px;
    border: none;
    background: transparent;
    outline: none;
    width: 200px;
}

.search-box button {
    padding: 8px 12px;
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
}

/* Navigation */
nav {
    background: var(--primary);
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-menu > li > a:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    z-index: 1000;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background: var(--light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #002244 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: var(--dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--accent);
}

.btn:hover {
    background: transparent;
    color: var(--accent);
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.program-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.program-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.program-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.program-link:hover {
    color: var(--secondary);
}

/* Research Section */
.research {
    background: var(--light);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.research-card {
    background: white;
    padding: 40px 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.research-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.research-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.research-card p {
    color: var(--gray);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.news-content p {
    color: var(--gray);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li > a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}
.regular-link {
    color: #ffffff !important; /* Dark gray like normal text */
    text-decoration: none;
    cursor: pointer;
}

.regular-link:hover {
    color: #ffffff !important; /* Stay dark */
    text-decoration: underline;
    background-color: #f3f4f6;
}
/* Rules & Regulations Page Styles */

.rules-intro {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #2c3e50;
}

.rules-intro p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.rules-category {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
    border-top: 4px solid #3498db;
}

.rules-category h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rules-category h3 i {
    color: #3498db;
}

.document-list {
    margin-top: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.document-item:hover {
    background-color: #f8f9fa;
}

.document-icon {
    margin-right: 20px;
}

.pdf-icon {
    font-size: 2.5rem;
    color: #e74c3c;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.document-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.document-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 0.85rem;
}

.document-meta i {
    margin-right: 5px;
}

.btn-download {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.btn-download:hover {
    background-color: #2980b9;
    color: white;
}

.important-notes {
    background-color: #fff8e1;
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
    border-left: 4px solid #f39c12;
}

.important-notes h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.important-notes h3 i {
    color: #f39c12;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.note-item {
    display: flex;
    gap: 15px;
}

.note-icon {
    font-size: 1.8rem;
    color: #3498db;
    margin-top: 5px;
}

.note-content h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.note-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .document-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .document-icon {
        margin-bottom: 15px;
    }
    
    .document-action {
        margin-top: 15px;
        width: 100%;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
}