﻿:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;    
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Images */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bg-image-1 {
    background-image: url('../images/bulding.jpg');
    opacity: 1;
}

.bg-image-2 {
    background-image: url('../images/bulding2.jpg');
}

.bg-image-3 {
    background-image: url('../images/bulding.jpg');
}

/* Navigation */
.navbar {
    /*background-color: rgba(44, 62, 80, 0.9) !important;*/
    background-color: #3498db;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: #333 !important;
    }

    .nav-link.active {
        color: #333 !important;
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #2c3e50;
        }

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn-hero {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .btn-hero:hover {
        background-color: #2980b9;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

/* Content Sections */
.content-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    text-align: center;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--secondary-color);
    }

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.institution-card {
    text-align: center;
    padding: 30px 20px;
}

.institution-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.infrastructure-item {
    margin-bottom: 40px;
}

.infrastructure-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background-color: var(--secondary-color);
    }

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

    .footer-links a:hover {
        color: var(--secondary-color);
        padding-left: 5px;
    }

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background-color: #f9f9f9; /* light background to distinguish */
    color: #333;
}

.about-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1 1 40%;
}

    .about-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
    }

.about-content {
    flex: 1 1 50%;
}

    .about-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #2c3e50; /* dark blue / almost navy */
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

.about-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .about-btn:hover {
        background-color: #1a2733;
    }

/* Responsive: mobile */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image, .about-content {
        flex: 1 1 100%;
    }

        .about-content h2 {
            font-size: 2rem;
        }
}


/* Larger, better-proportioned image cards */
.founder-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .founder-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

/* Ensure image fits fully without cutting */
.image-container {
    width: 100%;
    height: 320px; /* you can increase to 350–400px if image tall */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

    .image-container img {
        width: auto;
        height: 100%;
        object-fit: contain; /* full image visible, not cropped */
    }

/* Card title */
.founder-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-container {
        height: 250px;
    }
}


/* Message Box Hidden By Default */
.message-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
}

    /* Show Message */
    .message-box.show {
        max-height: 400px; /* increase if message long */
        opacity: 1;
    }

    /* Optional styling for text */
    .message-box p {
        font-size: 0.95rem;
        color: #333;
        margin-top: 10px;
        background: #f7f9fb;
        border-radius: 8px;
        padding: 12px;
        box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
    }

/* Clickable title hover effect */
.clickable {
    cursor: pointer;
    color: #2c3e50;
    transition: color 0.3s ease;
}

    .clickable:hover {
        color: #3498db;
    }
