/* Global Styles */
:root {
    --primary-color: #2D368E;
    --secondary-color: #6d6d6d;
    --background-color: #ffffff;
    --text-color: #333333;
    --dark-blue: #2D368E;
}

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

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 1rem 1.5rem;
}

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

/* Mobile Menu Styles */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
        display: block !important;
        height: auto !important;
        z-index: 1000;
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-item {
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s ease-out;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.4s; }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    color: var(--dark-blue);
    font-weight: 700;
}

/* Subsidiary Cards */
.subsidiary-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.subsidiary-card:hover {
    transform: translateY(-5px);
}

/* Images */
.img-fluid {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    object-fit: cover;
    height: 300px; /* Fixed height for all images */
    width: 100%;
}

.img-fluid:hover {
    transform: scale(1.02);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #eee;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    section {
        padding: 40px 0;
    }

    .navbar-collapse {
        background: white;
        padding: 15px;
    }

    .order-lg-1 {
        order: 2;
    }

    .order-lg-2 {
        order: 1;
    }

    .img-fluid {
        margin-bottom: 30px;
        height: 200px;
    }
}


/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #eee;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}
