/* MTU Brands Colors */
:root {
    --primary: #8BC34A; /* Lemon Green */
    --secondary: #6C006D; /* Purple */
    --accent: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --background: #FFFFFF;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --section-padding: 80px 5%;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.highlight {
    color: var(--primary);
}

.highlight-secondary {
    color: var(--secondary);
}

.section-container {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.header-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 0 auto 20px;
}

.bg-light {
    background-color: var(--light-gray);
}

/* Navigation System */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--secondary);
    box-shadow: var(--shadow);
    color: var(--white);
    padding: 15px 5%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Branding System */
.logo-container, .footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 7px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-circle-small {
    width: 50px;
    height: 50px;
}

.brand-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.university-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-transform: none;
}

.footer-brand {
    margin-bottom: 25px;
    gap: 10px;
}

.footer-brand .logo-link {
    gap: 10px;
}

.footer-brand .university-name {
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 400;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--primary);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    color: var(--white);
}

.btn-contact:hover {
    background-color: var(--white);
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 10%;
    position: relative;
    margin-top: 100px; 
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    min-height: 12rem; /* Increased to allow for multi-line wrap and prevent jumping */
    color: var(--white);
}

.cursor {
    color: var(--primary);
    animation: blink 0.7s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-button.primary {
    background-color: var(--primary);
    color: var(--white);
}

.cta-button.secondary {
    border: 2px solid var(--primary);
    color: var(--white);
}

.cta-button.primary:hover {
    background-color: var(--white);
    color: var(--secondary);
}

.cta-button.secondary:hover {
    background-color: var(--primary);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px 10%;
    background-color: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-bottom: 5px solid var(--secondary);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
}

.program-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.program-category {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

/* About Section Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-box {
    width: 100%;
    height: 400px;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    border-radius: 15px;
}

.features-list {
    margin-top: 25px;
}

.features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Footer Styles */
.main-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 10% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-links h4, .footer-newsletter h4 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    flex-grow: 1;
}

.newsletter-form button {
    background-color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu logic to come */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        padding: 20px;
    }
    .menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
    }
}
