/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: #333;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #004494;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: white;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.otu-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
}

.carousel-item {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    bottom: 20%;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About Section Styles */
.about-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Programs Section Styles */
.programs-section h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* News & Events Section Styles */
.news-card {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.card-date {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.card-link {
    font-weight: 500;
    color: var(--primary-color);
}

.card-link:hover {
    text-decoration: underline;
}

/* Stats Section Styles */
.stats-section {
    background-color: var(--primary-color);
}

.stat-item i {
    color: var(--accent-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Testimonials Section Styles */
.testimonial-card {
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* CTA Section Styles */
.cta-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: white;
}

.footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

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

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-bottom-links li {
    margin-left: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .footer-bottom-links li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    
    .carousel-caption h1 {
        font-size: 1.75rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Page Banner Styles */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    position: relative;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-banner .breadcrumb-item.active {
    color: var(--accent-color);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 160px;
}

.timeline-year {
    position: absolute;
    left: 0;
    width: 100px;
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.timeline-content {
    position: relative;
    padding: 1.5rem;
    background: white;
    border-radius: 0.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 15px;
    left: -30px;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
}

/* Value Items Styles */
.value-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 0.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Leadership Card Styles */
.leadership-card {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.leadership-card img {
    height: 280px;
    object-fit: cover;
}

.leadership-card .card-title {
    margin-bottom: 0.25rem;
}

/* Partners Styles */
.partner-logo {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Stats animation */
.animate-stat {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scrolled state */
.navbar-scrolled {
    background-color: rgba(0, 86, 179, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

/* Menu open state on mobile */
.menu-open {
    background-color: var(--dark-color);
} 