﻿/* Variables for easier theming */
:root {
    --primary-color: #007bff; /* Bootstrap primary blue */
    --secondary-color: #6c757d; /* Bootstrap secondary grey */
    --accent-color: #28a745; /* Green for highlights/buttons */
    --dark-bg: #212529; /* Dark background for footer */
    --light-text: #f8f9fa; /* Light text color */
    --header-bg: linear-gradient(to right, #0056b3, #007bff); /* Gradient for header */
    --footer-bg: #212529; /* Dark solid color for footer */
    --transition-speed: 0.3s;
    --font-poppins: 'Poppins', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-poppins);
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure footer sticks to bottom */
}

/* Wrapper to push footer to bottom */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1; /* Allow main content to take available space */
}

/* --- Header Styles --- */
.main-header {
    background: var(--header-bg);
    color: var(--light-text);
    padding: 1rem 0;
    position: sticky; /* Make header sticky */
    top: 0;
    z-index: 1020; /* Ensure it's above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--light-text) !important;
    display: flex;
    align-items: center;
    transition: transform var(--transition-speed) ease-in-out;
}

    .navbar-brand:hover {
        transform: scale(1.05); /* Slight zoom on hover */
    }

.brand-icon {
    margin-right: 0.5rem;
    font-size: 2rem;
    color: #ffd700; /* Gold color for icon */
    animation: rotateIcon 4s linear infinite; /* Subtle continuous rotation */
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.brand-text {
    /* Optional: individual text animation if desired */
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 0.8rem;
    position: relative;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--light-text) !important;
        transform: translateY(-3px); /* Lift effect on hover */
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--light-text);
        transition: width var(--transition-speed) ease, left var(--transition-speed) ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-item.active .nav-link::after {
        width: 100%;
        left: 0;
    }

.navbar-nav .nav-item.active .nav-link {
    color: var(--light-text) !important;
    font-weight: 600;
}

.animate-button {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

    .animate-button:hover {
        background-color: #218838; /* Darker green on hover */
        border-color: #218838;
        transform: translateY(-2px); /* Slight lift */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

/* --- Footer Styles --- */
.main-footer {
    background-color: var(--footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
    font-size: 0.95rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-heading {
    font-family: var(--font-montserrat);
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block; /* For the underline effect */
}

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 50px; /* Short underline */
        height: 3px;
        background-color: var(--accent-color);
        border-radius: 5px;
    }

.footer-text, .footer-contact {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    padding-left: 0;
}

    .footer-links li {
        margin-bottom: 0.7rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
        display: inline-block;
    }

        .footer-links a:hover {
            color: var(--light-text);
            text-decoration: none;
            transform: translateX(5px); /* Slide effect on hover */
        }

.social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    margin: 0 0.8rem;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    display: inline-block;
}

    .social-icons a:hover {
        color: var(--accent-color);
        transform: scale(1.2) rotate(5deg); /* Pop and slight rotate */
    }

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* General Link Animation (for links outside nav/footer if needed) */
.animate-link {
    transition: all var(--transition-speed) ease;
}

    .animate-link:hover {
        text-decoration: underline;
        opacity: 0.8;
    }

/* Animations for general elements (can be applied to other parts of your site) */
.animate-slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.animate-slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

/* Utility classes for initial state, will be toggled by JS */
.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Media Queries for Responsiveness */
@media (max-width: 991.98px) { /* Lg breakpoint for Bootstrap 4 */
    .navbar-collapse {
        background: var(--primary-color);
        border-radius: 5px;
        margin-top: 10px;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
        text-align: center;
    }

    .navbar-nav .nav-link::after {
        left: 25%; /* Center underline for mobile */
        width: 50%;
    }

    .navbar-nav .nav-item.active .nav-link::after {
        left: 0; /* Reset for active */
        width: 100%;
    }

    .navbar-nav .nav-link:hover::after {
        left: 25%;
        width: 50%;
    }

    .animate-button {
        display: block;
        width: fit-content;
        margin: 1rem auto;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .text-md-left {
        text-align: center !important;
    }
}
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('/Content/bg-education.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}
.animate__delay-1s {
    animation-delay: 0.5s;
}

.animate__delay-2s {
    animation-delay: 0.8s;
}

.animate__delay-3s {
    animation-delay: 1.1s;
}
