/* 
* Yuscohtech College of Health Sciences and Technology
* Custom CSS Styles
*/

:root {
    --primary-color: #0a6e31; /* Deep green as the primary color */
    --primary-light: #128a3e;
    --primary-dark: #085526;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-color: #ffffff;
    --gray-color: #6c757d;
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

.section-title h6 {
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-success {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-success:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-success {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: var(--transition);
}

.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: var(--light-color);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--light-color) !important;
}

.navbar.scrolled {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 110, 49, 0.9), rgba(10, 110, 49, 0.8)), url('https://via.placeholder.com/1920x1080') no-repeat center center;
    background-size: cover;
    padding: 12rem 0 8rem;
    position: relative;
}

/* Stats Section */
.stats {
    background-color: var(--light-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.stat-item h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* About Section */
.about {
    background-color: var(--light-color);
}

/* Programs Section */
.programs {
    background-color: var(--secondary-color);
}

.program-icon {
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 110, 49, 0.1);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.card {
    transition: var(--transition);
    border-radius: 0.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Facilities Section */
.facilities {
    background-color: var(--light-color);
}

.facility-item {
    background-color: var(--light-color);
    transition: var(--transition);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-color);
}

.testimonial-item {
    background-color: var(--light-color);
    border-radius: 0.5rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Apply Section */
.apply {
    background-color: var(--light-color);
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-weight: 700;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
}

.contact-info {
    background-color: var(--light-color);
    transition: var(--transition);
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.map-container {
    height: 100%;
    min-height: 400px;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--light-color);
    text-decoration: none;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 99;
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--light-color);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    color: var(--light-color);
}

.back-to-top i {
    font-size: 24px;
    line-height: 0;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .navbar-collapse {
        background-color: var(--primary-dark);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }
    
    .navbar-nav .btn {
        margin-top: 0.5rem;
        display: block;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 8rem 0 4rem;
        text-align: center;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Animation Styles */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}
