/* NUTECH Website Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Top Bar */
.top-bar {
    background: #fff;
    padding: 10px 0;
}

.top-links {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.top-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.top-btn.yellow { background: #D4A017; }
.top-btn.red { background: #8B0000; }
.top-btn.green { background: #228B22; }
.top-btn.blue { background: #4169E1; }

.badge {
    background: #dc3545;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-family: Georgia, serif;
    font-size: 28px;
    color: #8B0000;
    letter-spacing: 2px;
}

.logo span {
    font-size: 11px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 5px;
}

.main-nav a {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a:hover {
    color: #8B0000;
}

.main-nav .fa-chevron-down {
    font-size: 10px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    border-top: 2px solid #8B0000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    font-weight: 400;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 15px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
}

.placeholder-content {
    text-align: center;
}

.placeholder-logo {
    width: 80px;
    height: 80px;
    background: #8B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    font-family: Georgia, serif;
    margin: 0 auto 15px;
}

.placeholder-content p {
    color: #666;
    font-size: 18px;
}

.placeholder-content span {
    color: #999;
    font-size: 14px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.hero-logo {
    margin-bottom: 20px;
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.logo-circle span {
    width: 70px;
    height: 70px;
    background: #8B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-family: Georgia, serif;
}

.hero-content h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}

.hero-content h2 {
    font-family: Georgia, serif;
    font-size: 56px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #8B0000;
}

/* Quick Links */
.quick-links {
    background: #fff;
    padding: 30px 0;
    margin-top: -40px;
    position: relative;
    z-index: 100;
}

.quick-links-inner {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.quick-btn.yellow { background: #D4A017; }
.quick-btn.red { background: #8B0000; }
.quick-btn.green { background: #228B22; }
.quick-btn.blue { background: #4169E1; }

.quick-btn i {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Title */
.section-title {
    font-family: Georgia, serif;
    font-size: 36px;
    color: #8B0000;
    text-align: center;
    margin-bottom: 40px;
}

/* Programs Section */
.programs {
    padding: 60px 0;
    background: #fff;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.program-image {
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 100%);
}

.placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.placeholder-small i {
    font-size: 48px;
    color: #8B0000;
    opacity: 0.3;
    margin-bottom: 10px;
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #8B0000;
    margin-bottom: 15px;
}

.program-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8B0000;
    font-size: 14px;
    font-weight: 500;
}

.read-more:hover {
    gap: 12px;
}

/* Schools Section */
.schools {
    padding: 60px 0;
    background: #f5f5f5;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.school-card {
    display: block;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.school-card.blue { background: #1e3a5f; }
.school-card.red { background: #8B0000; }
.school-card.green { background: #2e7d32; }
.school-card.purple { background: #6a1b9a; }
.school-card.orange { background: #e65100; }

.school-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.school-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.school-card p {
    font-size: 13px;
    opacity: 0.9;
}

.school-card p.subtitle {
    font-weight: 500;
    opacity: 1;
}

/* Rector Message */
.rector-message {
    padding: 60px 0;
    background: #fff;
}

.rector-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.rector-image {
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
}

.rector-photo {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-rector {
    text-align: center;
    color: #666;
}

.rector-letter {
    width: 80px;
    height: 80px;
    background: rgba(139,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B0000;
    font-size: 36px;
    font-family: Georgia, serif;
    margin: 0 auto 15px;
}

.rector-name {
    background: #8B0000;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.rector-name h4 {
    font-family: Georgia, serif;
    font-size: 18px;
    margin-bottom: 5px;
}

.rector-name p {
    font-size: 13px;
    opacity: 0.8;
}

.rector-content h2 {
    font-family: Georgia, serif;
    font-size: 32px;
    color: #8B0000;
    margin-bottom: 25px;
}

.rector-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.rector-content strong {
    color: #8B0000;
}

.rector-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0 15px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #8B0000;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #6B0000;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 2px solid #8B0000;
    color: #8B0000;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #8B0000;
    color: #fff;
}

.feedback-text {
    font-size: 13px;
    color: #666;
}

/* News Section */
.news {
    padding: 60px 0;
    background: #f5f5f5;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.nav-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #8B0000;
    background: transparent;
    color: #8B0000;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.arrow-btn:hover {
    background: #8B0000;
    color: #fff;
}

.news-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 350px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 100%);
}

.placeholder-news {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.placeholder-news span {
    width: 50px;
    height: 50px;
    background: rgba(139,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B0000;
    font-size: 20px;
    font-family: Georgia, serif;
    margin-bottom: 10px;
}

.news-content {
    padding: 20px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.news-content h3 {
    font-family: Georgia, serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content h3:hover {
    color: #8B0000;
}

.news-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.see-all {
    text-align: center;
    margin-top: 30px;
}

/* Events Section */
.events {
    padding: 60px 0;
    background: #fff;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.event-image {
    height: 180px;
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 100%);
}

.placeholder-event {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.placeholder-event i {
    width: 50px;
    height: 50px;
    background: rgba(139,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B0000;
    font-size: 20px;
    margin-bottom: 10px;
}

.event-content {
    padding: 20px;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.event-content h3 {
    font-family: Georgia, serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-content h3:hover {
    color: #8B0000;
}

.event-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-family: Georgia, serif;
    font-size: 18px;
    color: #D4AF37;
    margin-bottom: 20px;
}

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

.footer-column ul li a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #D4AF37;
}

.social-links {
    display: flex;
    gap: 10px;
}

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

.social-links a:hover {
    background: #8B0000;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
}

.contact-list li i {
    color: #D4AF37;
    margin-top: 3px;
}

.contact-list li a {
    color: #ccc;
}

.contact-list li a:hover {
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 20px;
    font-family: Georgia, serif;
}

.logo-text {
    color: #D4AF37;
    font-family: Georgia, serif;
}

.copyright {
    text-align: right;
}

.copyright p {
    color: #999;
    font-size: 13px;
}

.copyright a {
    color: #D4AF37;
}

/* Side Buttons */
.side-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.side-btn {
    display: block;
    padding: 12px 8px;
    background: #8B0000;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    margin-bottom: 5px;
    border-radius: 4px 0 0 4px;
    transition: padding 0.3s;
}

.side-btn:hover {
    padding-right: 15px;
}

.side-btn-left {
    position: fixed;
    left: 0;
    top: 40%;
    padding: 12px 8px;
    background: #8B0000;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 0 4px 4px 0;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-small {
    background: #dc3545;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 9px;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .programs-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .rector-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-links {
        justify-content: center;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .programs-grid,
    .events-grid,
    .schools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .copyright {
        text-align: center;
    }
    
    .side-buttons,
    .side-btn-left {
        display: none;
    }
    
    .rector-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 28px;
    }
}
