/* Examination Syndicate - Public Website Styles */
/* Classic College Website Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Top Bar */
.top-bar {
    background-color: #1a1a2e;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.quick-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.quick-links a:hover {
    background-color: #2d3561;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 180px;
    min-height: 50px;
}

.logo-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.site-logo {
    max-height: 50px;
    max-width: 180px;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo {
    max-height: 80px;
    max-width: 300px;
}

.logo-text h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Times New Roman', serif;
}

.tagline {
    font-size: 18px;
    font-style: italic;
    opacity: 0.9;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation - Inline in Header */
.main-nav-inline {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
    margin-left: 100px;
}

.main-nav-inline .nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: visible;
    gap: 0;
    align-items: center;
}

.main-nav-inline .nav-menu li {
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

.main-nav-inline .nav-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 8px;
    font-size: 14px;
    transition: background-color 0.3s;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.4;
}

.main-nav-inline .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-nav-inline .nav-menu li:last-child a {
    border-right: none;
}

/* Legacy Navigation (for backward compatibility) */
.main-nav {
    background-color: #2d3561;
    border-top: 3px solid #d4af37;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: visible;
}

.main-nav .container {
    position: relative;
    overflow: visible;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: visible;
}

.nav-menu li {
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

.nav-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 16px;
    font-size: 15px;
    transition: background-color 0.3s;
    border-right: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.nav-menu li:last-child a {
    border-right: none;
}

.nav-menu a:hover {
    background-color: #1a1a2e;
}

/* Main Content */
.main-content {
    min-height: 500px;
    padding: 40px 0;
    background-color: #fff;
}

/* Remove top padding when slider is first child */
.main-content > .hero-slider:first-child {
    margin-top: 0;
}

/* Remove top padding from main-content when slider is first element */
.main-content:has(> .hero-slider:first-child) {
    padding-top: 0;
}

/* Remove top padding from main-content when program banner is first element */
.main-content:has(> .cqs-hero-banner:first-child) {
    padding-top: 0;
}

/* Page Content */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-content h1 {
    color: #1a1a2e;
    font-size: 32px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #d4af37;
}

.page-content h2 {
    color: #2d3561;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.page-content ul, .page-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border: 2px solid #ddd;
    padding: 5px;
}

/* Homepage */
.homepage-hero {
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(45, 53, 97, 0.8)), url('<?php echo base_url('assets/images/college-building.jpg'); ?>');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.homepage-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    border: none;
    color: #fff;
}

.homepage-hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.featured-section {
    padding: 40px 0;
    margin: 40px 0;
    background-color: #f9f9f9;
    border-top: 3px solid #d4af37;
    border-bottom: 3px solid #d4af37;
}

.featured-section h2 {
    text-align: center;
    color: #1a1a2e;
    font-size: 28px;
    margin-bottom: 30px;
}

.news-grid, .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-item, .event-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover, .event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-item img, .event-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.news-item h3, .event-item h3 {
    color: #2d3561;
    font-size: 20px;
    margin-bottom: 10px;
}

.news-item .date, .event-item .date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item .excerpt, .event-item .description {
    color: #555;
    margin-bottom: 15px;
}

.news-item a, .event-item a {
    color: #2d3561;
    text-decoration: none;
    font-weight: bold;
}

.news-item a:hover, .event-item a:hover {
    color: #d4af37;
    text-decoration: underline;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.course-item {
    background-color: #fff;
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.course-item:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-item.program-item {
    display: flex;
    flex-direction: column;
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 15px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-item:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-badge {
    display: inline-block;
    background: #2d3561;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.course-item h3 {
    color: #2d3561;
    font-size: 20px;
    margin-bottom: 10px;
}

.course-item h3 a {
    color: #2d3561;
    text-decoration: none;
    transition: color 0.3s;
}

.course-item h3 a:hover {
    color: #d4af37;
}

.course-item .subtitle {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 10px;
}

.course-item .code {
    color: #666;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.course-item .description {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
    flex: 1;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-meta i {
    color: #2d3561;
}

/* Category Navigation */
.category-navigation {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 2px solid #e0e0e0;
}

.category-navigation h3 {
    color: #2d3561;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #fff;
    border: 2px solid #2d3561;
    border-radius: 8px;
    color: #2d3561;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 180px;
    justify-content: center;
}

.category-link:hover {
    background: #2d3561;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 53, 97, 0.3);
}

.category-link i {
    font-size: 20px;
}

/* Category Header */
.category-header {
    text-align: center;
}

.category-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #fff;
}

.category-header .lead {
    font-size: 20px;
    opacity: 0.95;
    color: #fff;
}

/* Programs Category Grid */
.programs-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.program-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.program-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.program-card:hover .program-card-image img {
    transform: scale(1.1);
}

.program-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-card-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.program-card-content h3 a {
    color: #2d3561;
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s;
}

.program-card-content h3 a:hover {
    color: #d4af37;
}

.program-subtitle {
    color: #666;
    font-style: italic;
    font-size: 14px;
    margin-bottom: 15px;
}

.program-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.program-meta i {
    color: #2d3561;
}

.program-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.program-actions .btn {
    flex: 1;
    text-align: center;
}

.btn-outline-secondary {
    background: transparent;
    border: 2px solid #2d3561;
    color: #2d3561;
}

.btn-outline-secondary:hover {
    background: #2d3561;
    color: #fff;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    border: 2px solid #ddd;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2d3561;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d3561;
    box-shadow: 0 0 0 3px rgba(45, 53, 97, 0.1);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #b0b0b0;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #2d3561;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #d4af37;
    color: #1a1a2e;
}

.btn-primary:hover {
    background-color: #b8941f;
    color: #1a1a2e;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 3px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* Footer */
.main-footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 5px;
}

.footer-section-first h3 {
    border-bottom: none;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 10px;
    background-color: #2d3561;
    border-radius: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3561;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .homepage-hero h1 {
        font-size: 32px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section-first {
        order: -1;
    }
}

/* Classic Academic Styling */
.academic-border {
    border: 3px double #2d3561;
    padding: 20px;
    margin: 20px 0;
    background-color: #fafafa;
}

.seal-image {
    max-width: 200px;
    margin: 20px auto;
    display: block;
}

.honor-roll {
    background-color: #fff8dc;
    border-left: 5px solid #d4af37;
    padding: 15px;
    margin: 20px 0;
}

.honor-roll h3 {
    color: #2d3561;
    margin-bottom: 10px;
}

/* Top Utility Bar */
.top-utility-bar {
    background-color: #f0f0f0;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.top-utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.utility-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.utility-links a:hover {
    color: #2d3561;
    text-decoration: underline;
}

.utility-links span {
    color: #999;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #2d3561;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.student-portal-btn:hover {
    background-color: #1a1a2e;
    color: #fff;
}

.student-portal-btn i {
    font-size: 16px;
}

.search-bar-top {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    gap: 5px;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    width: 250px;
}

.search-btn {
    padding: 8px 15px;
    background-color: #2d3561;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.search-btn:hover {
    background-color: #1a1a2e;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-crest {
    display: flex;
    align-items: center;
    justify-content: center;
}

.crest-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d3561 0%, #1a1a2e 100%);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-text h1 {
    font-size: 24px;
    color: #fff;
    margin: 0;
    font-weight: normal;
}

/* Navigation with Damask Pattern */
.main-nav {
    background: #2d3561 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><pattern id="damask" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></pattern><rect width="100" height="100" fill="url(%23damask)"/></svg>');
    background-size: 100px 100px;
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider .hero-slide {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #d4af37;
    border-color: #d4af37;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 350px;
    }
    
    .hero-slider .hero-slide {
        height: 350px;
    }
    
    .hero-text-box h2 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .slider-nav {
        bottom: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

.hero-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(26, 26, 46, 0.3), rgba(45, 53, 97, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-text-box {
    max-width: 1200px;
    text-align: center;
    color: #fff;
    z-index: 1;
    margin: 0 auto;
}

.hero-text-box h2 {
    color: #fff;
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-hero {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d4af37;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    text-shadow: none;
}

.btn-hero:hover {
    background-color: #b8941f;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.highlight-green {
    color: #4caf50;
}

/* Homepage Layout */
.homepage-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 30px;
}

/* Three Column Section */
.three-column-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.column-image-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.column-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.column-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
}

.column-image-item:hover .column-image {
    transform: scale(1.05);
}

.column-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.7), rgba(45, 53, 97, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
    color: #fff;
    transition: background 0.3s ease;
}

.column-image-item:hover .column-overlay {
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.8), rgba(45, 53, 97, 0.95));
}

.column-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #d4af37;
}

.column-overlay h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

.column-overlay p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

.column-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d4af37;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.column-image-item:hover .column-link {
    gap: 12px;
}
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    color: #fff;
}

.column-overlay h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Spotlights Section */
.spotlights-section {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.section-title {
    font-size: 32px;
    color: #2d3561;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2d3561, #d4af37);
    border-radius: 2px;
}

/* Featured Programs Section */
.featured-programs-section {
    margin: 50px 0;
    padding: 40px 0;
}

.featured-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.featured-program-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.featured-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.program-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-program-card:hover .program-card-image img {
    transform: scale(1.1);
}

.program-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-badge {
    display: inline-block;
    background: #2d3561;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    width: fit-content;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
}

.program-card-content h3 {
    font-size: 20px;
    color: #2d3561;
    margin-bottom: 10px;
    font-weight: 600;
}

.program-card-content h3 a {
    color: #2d3561;
    text-decoration: none;
    transition: color 0.3s ease;
}

.program-card-content h3 a:hover {
    color: #d4af37;
}

.program-card-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2d3561;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-view-details:hover {
    color: #d4af37;
    gap: 12px;
}

/* Upcoming Events Section */
.upcoming-events-section {
    margin: 50px 0;
    padding: 40px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 20px;
    position: relative;
}

.event-date-badge {
    position: absolute;
    top: -30px;
    right: 20px;
    background: #d4af37;
    color: #1a1a2e;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.event-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

.event-content h3 {
    font-size: 18px;
    color: #2d3561;
    margin-bottom: 12px;
    margin-top: 10px;
    font-weight: 600;
}

.event-content h3 a {
    color: #2d3561;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-content h3 a:hover {
    color: #d4af37;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2d3561;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.event-link:hover {
    color: #d4af37;
    gap: 12px;
}

.spotlight-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.spotlight-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spotlight-image {
    flex-shrink: 0;
}

.spotlight-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.spotlight-content h3 {
    color: #2d3561;
    font-size: 16px;
    margin-bottom: 8px;
}

.spotlight-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.read-more {
    color: #2d3561;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.read-more:hover {
    color: #4caf50;
    text-decoration: underline;
}

/* News and Events Section */
.news-events-section {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.news-event-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-event-item h3 {
    color: #2d3561;
    font-size: 16px;
    margin-bottom: 8px;
}

.news-event-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.widget-title {
    color: #2d3561;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2d3561;
}

/* Program Finder */
.program-finder h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 15px;
}

.program-finder h4:first-of-type {
    margin-top: 0;
}

.category-form {
    margin-bottom: 20px;
}

.category-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.category-form input[type="checkbox"] {
    margin-right: 8px;
}

.application-check {
    margin-bottom: 20px;
}

.application-check .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
}

.btn-gray {
    background-color: #ccc;
    color: #333;
}

.btn-gray:hover {
    background-color: #bbb;
}

.btn-blue {
    background-color: #2d3561;
    color: #fff;
}

.btn-blue:hover {
    background-color: #1a1a2e;
}

.international-students,
.quick-links-sidebar {
    margin-top: 20px;
}

.quick-links-sidebar ul {
    list-style: none;
    padding: 0;
}

.quick-links-sidebar ul li {
    margin-bottom: 5px;
}

.quick-links-sidebar ul li a {
    color: #2d3561;
    text-decoration: none;
    font-size: 14px;
}

.quick-links-sidebar ul li a:hover {
    text-decoration: underline;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

/* Course Finder */
.course-finder-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.course-finder-form label {
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

.course-finder-form input,
.course-finder-form select {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.course-finder-form input:focus,
.course-finder-form select:focus {
    outline: none;
    border-color: #2d3561;
    box-shadow: 0 0 0 3px rgba(45, 53, 97, 0.1);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

.resident-type-options {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.resident-option {
    cursor: pointer;
    font-weight: 600;
    color: #2d3561;
    flex: 1;
}

.resident-option input {
    display: none;
}

.resident-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #d6d6d6;
    background: #fff;
    transition: all 0.2s ease;
    font-size: 12px;
    min-height: 28px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.resident-option:hover span {
    border-color: #2d3561;
    color: #1a1a2e;
}

.resident-option input:checked + span {
    background: linear-gradient(135deg, #2d3561, #1a1a2e);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 16px rgba(26, 26, 46, 0.25);
}

@media (max-width: 576px) {
    .resident-type-options {
        flex-wrap: wrap;
    }
    
    .resident-option {
        flex: 1 1 100%;
    }
}

/* Footer Updates */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
    max-width: 100%;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
}

/* Legacy styles - keeping for backward compatibility but not used */
.crest-circle-small {
    display: none;
}

.footer-logo-text {
    display: none;
}

.footer-logo-text p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.footer-address {
    margin-bottom: 15px;
}

.footer-address p {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-email {
    margin-bottom: 15px;
}

.footer-email p {
    color: #fff;
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.6;
}

.footer-email-link {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-email-link:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.footer-phone {
    margin-bottom: 15px;
}

.footer-phone p {
    color: #fff;
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.6;
}

.footer-phone-link {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-phone-link:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.footer-social {
    margin-top: 20px;
}

.footer-social h4 {
    color: #d4af37;
    font-size: 16px;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-icons a i {
    font-size: 16px;
    line-height: 1;
    transition: inherit;
}

.social-icons a::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.4), transparent 60%);
    top: -90%;
    left: -20%;
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.social-icons a:hover,
.social-icons a:focus-visible {
    background: linear-gradient(135deg, #f5d269, #d4af37);
    color: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.social-icons a:hover::before,
.social-icons a:focus-visible::before {
    opacity: 1;
}

.footer-email p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.back-to-top {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2d3561;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
}

.back-to-top:hover {
    background-color: #4caf50;
}

/* Site Index */
.site-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.index-item {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.index-item h3 {
    color: #2d3561;
    margin-bottom: 10px;
}

.index-item h3 a {
    color: #2d3561;
    text-decoration: none;
}

.index-item h3 a:hover {
    color: #4caf50;
    text-decoration: underline;
}

/* Search Results */
.search-results {
    margin-top: 30px;
}

.search-results h2 {
    color: #2d3561;
    font-size: 20px;
    margin-bottom: 15px;
}

.search-results ul {
    list-style: none;
    padding: 0;
}

.search-results ul li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.search-results ul li:last-child {
    border-bottom: none;
}

.search-results ul li h3 {
    color: #2d3561;
    margin-bottom: 8px;
}

.search-results ul li h3 a {
    color: #2d3561;
    text-decoration: none;
}

.search-results ul li h3 a:hover {
    color: #4caf50;
    text-decoration: underline;
}

/* Responsive Updates - Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        gap: 20px;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .logo-section {
        order: 1;
        margin-right: 0;
    }
    
    .site-logo {
        max-height: 45px;
        max-width: 160px;
    }
    
    .main-nav-inline {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
        margin-left: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav-inline.mobile-menu-open {
        max-height: 1000px;
        padding: 10px 0;
    }
    
    .main-nav-inline .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0 15px;
    }
    
    .main-nav-inline .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav-inline .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .main-nav-inline .nav-menu a {
        padding: 12px 15px;
        font-size: 15px;
        width: 100%;
        display: block;
    }
    
    .main-nav-inline .nav-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-nav-inline .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0;
        padding: 0;
        width: 100%;
        border-radius: 0;
    }
    
    .main-nav-inline .nav-dropdown:hover .dropdown-menu,
    .main-nav-inline .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .main-nav-inline .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-nav-inline .dropdown-menu a {
        padding: 10px 15px 10px 30px;
        font-size: 14px;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .homepage-layout {
        grid-template-columns: 1fr;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .three-column-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .column-image-item {
        height: 240px;
    }
    
    .column-overlay {
        padding: 20px;
    }
    
    .column-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .column-overlay h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .column-overlay p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .featured-programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .featured-programs-section,
    .upcoming-events-section {
        margin: 30px 0;
        padding: 30px 0;
    }
    
    .top-utility-bar {
        padding: 8px 0;
    }
    
    .utility-links {
        font-size: 12px;
        gap: 8px;
    }
    
    .search-input {
        width: 200px;
    }
    
    .student-portal-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Responsive Updates - Mobile (up to 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .main-header {
        padding: 8px 0;
    }
    
    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        min-height: 45px;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        width: 28px;
        height: 28px;
    }
    
    .logo-section {
        flex-shrink: 0;
        order: 1;
        margin-right: 0;
    }
    
    .site-logo {
        max-width: 120px;
        max-height: 40px;
    }
    
    .main-nav-inline {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
        margin-left: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav-inline.mobile-menu-open {
        max-height: 1000px;
        padding: 10px 0;
    }
    
    .main-nav-inline .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0 10px;
        justify-content: flex-start;
    }
    
    .main-nav-inline .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        white-space: normal;
    }
    
    .main-nav-inline .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .main-nav-inline .nav-menu a {
        padding: 12px 15px;
        font-size: 14px;
        width: 100%;
        display: block;
    }
    
    .main-nav-inline .nav-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-nav-inline .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0;
        padding: 0;
        width: 100%;
        border-radius: 0;
        max-width: 100%;
    }
    
    .main-nav-inline .nav-dropdown:hover .dropdown-menu,
    .main-nav-inline .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .main-nav-inline .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-nav-inline .dropdown-menu a {
        padding: 10px 15px 10px 30px;
        font-size: 13px;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .top-utility-bar {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .top-utility-bar .container {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .utility-links {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 11px;
        gap: 5px;
    }
    
    .utility-links span {
        display: none;
    }
    
    .top-bar-right {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .search-bar-top {
        width: 100%;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .search-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .student-portal-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .page-content {
        padding: 15px;
    }
    
    .page-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .page-content h2 {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .homepage-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .spotlights-section,
    .news-events-section {
        margin-bottom: 20px;
    }
    
    .spotlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .spotlight-image {
        margin-bottom: 10px;
    }
    
    .news-event-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .category-navigation {
        padding: 15px 10px;
    }
    
    .category-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-link {
        min-width: auto;
        width: 100%;
        padding: 12px;
    }
    
    .programs-category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-header h1 {
        font-size: 24px;
    }
    
    .category-header .lead {
        font-size: 14px;
    }
    
    .program-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .program-actions .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .main-nav-inline .nav-dropdown .dropdown-menu {
        position: fixed;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        top: auto;
        margin-top: 0;
    }
}

/* Navigation Dropdown */
.main-nav-inline .nav-dropdown,
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    position: relative;
}

.nav-dropdown:hover > a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.main-nav-inline .nav-dropdown .dropdown-menu,
.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a2e;
    min-width: 250px;
    max-width: 300px;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: none;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: visible;
    white-space: normal;
    border-top: none;
    transform: translateY(0);
    line-height: 1;
}

.main-nav-inline .nav-dropdown:hover .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-dropdown .dropdown-menu li {
    margin: 0;
}

.nav-dropdown .dropdown-menu li:first-child {
    margin-top: 0;
    padding-top: 0;
}

.nav-dropdown .dropdown-menu li:first-child > a,
.nav-dropdown .dropdown-menu li:first-child.dropdown-header {
    border-top: none;
    padding-top: 10px;
}

.nav-dropdown .dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.nav-dropdown .dropdown-menu a:hover {
    background-color: #2d3561;
}

.nav-dropdown .dropdown-menu .dropdown-header {
    padding: 10px 20px;
    font-weight: bold;
    color: #d4af37;
    font-size: 12px;
    text-transform: uppercase;
    background-color: rgba(255,255,255,0.05);
}

.nav-dropdown .dropdown-menu .dropdown-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin: 5px 0;
}

/* CQS Program Page Styles */
.cqs-hero-banner {
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.hero-image-cqs {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content-cqs {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-content-cqs h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: bold;
}

.hero-content-cqs h2 {
    font-size: 24px;
    font-weight: normal;
    color: #fff;
    opacity: 0.95;
}

/* Key Info Box */
.key-info-box {
    background: linear-gradient(135deg, #2d3561 0%, #1a1a2e 100%);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: -50px auto 40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 5px 0;
    row-gap: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.info-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.info-content strong {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.info-content span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Program Sections */
.program-section {
    margin: 40px 0;
    text-align: center;
}

.section-heading {
    color: #2d3561;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4af37;
}

.section-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Key Features Section */
.key-features-section {
    margin: 60px 0;
    padding: 50px 0;
    position: relative;
}

.key-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #d4af37 50%, transparent 100%);
}

.key-features-section .section-heading {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.key-features-section .section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d4af37;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-block {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d3561 0%, #d4af37 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(45, 53, 97, 0.15);
    border-color: #d4af37;
}

.feature-block:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d3561 0%, #1a1a2e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

.feature-block h3 {
    color: #2d3561;
    font-size: 18px;
    margin-bottom: 15px;
    min-height: 50px;
}

.feature-block p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Accordion Section */
.accordion-section {
    margin: 60px 0;
}

.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px 25px;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background: #e9e9e9;
}

.accordion-header h3 {
    color: #2d3561;
    font-size: 20px;
    margin: 0;
}

.accordion-header i {
    color: #2d3561;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header {
    background: #2d3561;
    color: #fff;
}

.accordion-item.active .accordion-header h3 {
    color: #fff;
}

.accordion-item.active .accordion-header i {
    color: #fff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    padding: 25px;
}

.accordion-content h4 {
    color: #2d3561;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.accordion-content h4:first-child {
    margin-top: 0;
}

.accordion-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.accordion-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Program Structure Table */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.program-structure-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.program-structure-table thead {
    background: #2d3561;
    color: #fff;
}

.program-structure-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.program-structure-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.program-structure-table tbody tr:hover {
    background: #f9f9f9;
}

.program-structure-table tbody tr:last-child {
    background: #f5f5f5;
    font-weight: bold;
}

/* Program For List */
.program-for-list {
    list-style: none;
    margin-left: 0;
}

.program-for-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.program-for-list i {
    color: #4caf50;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Career Opportunities */
.career-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.career-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s;
}

.career-item:hover {
    border-color: #2d3561;
}

.career-item i {
    font-size: 36px;
    color: #2d3561;
    margin-bottom: 15px;
}

.career-item h4 {
    color: #2d3561;
    font-size: 18px;
    margin-bottom: 10px;
}

.career-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Assessment Section */
.assessment-section {
    margin: 60px 0;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 10px;
}

.assessment-visual {
    margin-top: 40px;
}

.assessment-chart {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.chart-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.chart-bar {
    width: 200px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.chart-fill {
    height: 100%;
    width: var(--percentage);
    background: var(--color);
    border-radius: 20px;
    transition: width 1s ease-out;
    animation: fillBar 1s ease-out;
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: var(--percentage);
    }
}

.chart-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chart-label strong {
    font-size: 24px;
    color: var(--color);
}

.chart-label span {
    font-size: 14px;
    color: #666;
}

/* CTA Section */
.cta-section {
    margin: 60px 0;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #2d3561 0%, #1a1a2e 100%);
    border-radius: 10px;
    color: #fff;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    min-width: 250px;
}

.btn-secondary {
    background-color: #fff;
    color: #2d3561;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a1a2e;
}

/* Contact Advisor Form */
.contact-advisor-form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-advisor-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-advisor-form .form-group {
    margin-bottom: 20px;
}

.contact-advisor-form label {
    display: block;
    margin-bottom: 8px;
    color: #2d3561;
    font-weight: bold;
}

.contact-advisor-form .required {
    color: #dc3545;
}

.contact-advisor-form input,
.contact-advisor-form select,
.contact-advisor-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Georgia', serif;
}

.contact-advisor-form input:focus,
.contact-advisor-form select:focus,
.contact-advisor-form textarea:focus {
    outline: none;
    border-color: #2d3561;
    box-shadow: 0 0 0 3px rgba(45, 53, 97, 0.1);
}

.contact-advisor-form .error {
    color: #dc3545;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* Responsive Updates for CQS Page */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        row-gap: 12px;
    }
    
    .info-item {
        gap: 12px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }
    
    .info-content strong {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .info-content span {
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .career-opportunities {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        row-gap: 12px;
    }
    
    .info-item {
        gap: 12px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .hero-content-cqs h1 {
        font-size: 28px;
    }
    
    .hero-content-cqs h2 {
        font-size: 18px;
    }
    
    .key-info-box {
        margin-top: 0;
        padding: 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        row-gap: 12px;
    }
    
    .info-item {
        gap: 12px;
    }
    
    .info-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .info-content strong {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .info-content span {
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .career-opportunities {
        grid-template-columns: 1fr;
    }
    
    .chart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chart-bar {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .contact-advisor-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        display: block;
        background: #1a1a2e;
    }
}




