:root {
    --primary-dark: #0a2463;
    --primary-medium: #1e3888;
    --primary-light: #3a5ba0;
    --accent-yellow: #ffcc00;
    --accent-yellow-light: #ffe066;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-section: #f0f2f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: var(--primary-dark);
    padding: 0;
    /* Let navbar handle padding */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--accent-yellow) !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 1rem !important;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-yellow) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: var(--text-light);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://lh3.googleusercontent.com/sitesv/AAzXCkcRxKBVIpjKVlGwyL0aXaTiyA5nJQpGD4MXc8I2G90UtM5Mv6PZG0-0dvQ4xH9m0k-Gupj5UwgeMwE4jJhD4MYBEkgU-a_q730yIuDT3IWFNzBx88ENXtQFBFE4Vrri57_hZJQt4ivg3PvmjIPsWOZ7DCfLl3t7zKJw6nyWhZGgX_4EuDYbI-O_Jb0=w1280') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-image {
    border: 5px solid var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-title {
    color: var(--accent-yellow);
    font-weight: bold;
    margin-bottom: 20px;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-title {
    color: var(--primary-dark);
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--accent-yellow);
}

.section-bg-light {
    background-color: var(--bg-section);
}

/* Card Styles */
.custom-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    background: white;
}

.card-header-custom {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 15px;
}

.card-body-custom {
    padding: 20px;
}

/* Image Gallery */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    /* Focus on top (faces) */
    transition: transform 0.3s;
}

.gallery-item {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

/* Animation Keys */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    /* Hidden initially for animation */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--accent-yellow);
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 45%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-yellow);
    border: 4px solid var(--primary-dark);
}

/* Contact Section */
.contact-info {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 800px;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-icon {
    color: var(--accent-yellow);
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 24px;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 30px 0;
    margin-top: auto;
}

.social-icon {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--accent-yellow);
}

/* Custom Buttons */
.btn-custom {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-custom:hover {
    background-color: var(--accent-yellow-light);
    color: var(--primary-dark);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-dot {
        left: 30px;
    }

    .profile-sidebar {
        position: static;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .section {
        padding: 40px 0;
    }

    .contact-info {
        margin: 0 15px;
    }

    .gallery-img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0;
    }

    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .timeline-content {
        padding: 15px;
    }

    .contact-info {
        padding: 20px;
    }
}

/* =========================================
   Corporate Profile Redesign Styles
   ========================================= */

/* Corporate Hero */
.corporate-hero {
    background: linear-gradient(135deg, #0a2463 0%, #001233 100%);
    padding: 80px 0 60px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.corporate-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-yellow);
}

.corporate-hero h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.corporate-hero .lead {
    font-weight: 300;
    opacity: 0.9;
    font-size: 1.2rem;
}

/* Profile Sidebar */
.profile-sidebar {
    position: sticky;
    top: 100px;
    /* Adjust based on navbar height */
}

.profile-img-container {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-img-container img {
    width: 100%;
    display: block;
}

.sidebar-section {
    margin-bottom: 2.5rem;
}

.sidebar-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: start;
}

.sidebar-list li i {
    color: var(--primary-medium);
    margin-right: 10px;
    margin-top: 4px;
}

/* Stat Cards */
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
}

/* Modern Timeline */
.modern-timeline {
    position: relative;
    padding-left: 30px;
}

.modern-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.mt-item {
    position: relative;
    margin-bottom: 3rem;
}

.mt-item::after {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-yellow);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary-dark);
}

.mt-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-medium);
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
}

.mt-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.mt-org {
    font-size: 1rem;
    color: #495057;
    font-style: italic;
    margin-bottom: 1rem;
}

.mt-content ul {
    list-style-type: none;
    padding-left: 0;
}

.mt-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
}

.mt-content ul li::before {
    content: '•';
    color: var(--accent-yellow);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Map */
.map-container {
    position: relative;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-card-modern {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-item-modern {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon-modern {
    background-color: rgba(10, 36, 99, 0.1);
    color: var(--primary-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Video Gallery */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Card Icon Styles */
.card-icon-wrapper {
    height: 200px;
    background-color: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-dark);
}

.card-icon {
    transition: transform 0.3s;
}

.custom-card:hover .card-icon {
    transform: scale(1.1);
}