/*
Theme Name: Troodos University
Theme URI: 
Author: Your Name
Description: Professional University Theme
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: #003366;
    color: white;
    padding: 10px 0;
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.quick-links {
    display: flex;
    gap: 20px;
}

.quick-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
}

/* Top Bar Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ========== MAIN HEADER ========== */
.main-header {
    background: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.custom-logo {
    max-height: 70px;
    width: auto;
}

.logo-text strong {
    font-size: 22px;
    color: #003366;
    display: block;
}

.logo-text small {
    font-size: 11px;
    color: #666;
    letter-spacing: 1px;
}

/* ========== NAVIGATION MENU ========== */
.primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
    margin: 0;
}

.nav-menu a {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    border: 2px solid #003366;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #003366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    background: #003366;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #003366;
}

/* ========== SEARCH ========== */
.search-wrapper {
    position: relative;
    flex-shrink: 0;
}

.search-icon {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    color: #333;
    transition: all 0.3s ease;
}

.search-icon:hover {
    color: #003366;
    transform: scale(1.1);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: none;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1001;
}

.search-dropdown.active {
    display: block;
}

.search-dropdown input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-dropdown button {
    width: 100%;
    padding: 10px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
    background: #003366;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: #003366;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #003366;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ========== PROGRAMS SECTION ========== */
.programs {
    padding: 80px 0;
}

.programs-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.program-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    flex: 1;
    min-width: 250px;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.program-card h3 {
    margin-bottom: 10px;
    color: #003366;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    font-weight: bold;
    color: #003366;
}

.testimonial-title {
    font-size: 13px;
    color: #888;
}

/* ========== CTA SECTION ========== */
.cta {
    background: #003366;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta .btn-primary {
    background: white;
    color: #003366;
    display: inline-block;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #0a2540;
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    color: white;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4a90e2;
}

.footer-col p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 14px;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    color: #cccccc;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.footer-social .social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #888;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .features-grid,
    .programs-grid,
    .testimonials-grid {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .quick-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin: 5px 0;
    }
    
    .quick-links a {
        display: inline-block;
        padding: 5px 10px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        font-size: 12px;
    }
    
    .social-icons {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 5px;
    }
    
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .primary-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    
    .primary-nav.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .nav-menu a {
        display: block;
        text-align: center;
        width: 200px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social .social-icon {
        justify-content: center;
    }
}