﻿/* Modern CSS Custom Variables */
:root {
    --primary-blue: #0e4d92;
    --secondary-teal: #1abc9c;
    --dark-navy: #062a52;
    --soft-bg: #f4f7f6;
    --text-dark: #2c3e50;
    --accent-gold: #f39c12;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* Top Sticky Navbar */
.navbar-custom {
    background-color: var(--dark-navy);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 12px 0;
}

    .navbar-custom .navbar-brand {
        font-weight: 700;
        font-size: 1.4rem;
        letter-spacing: 0.5px;
        color: #ffffff;
    }

        .navbar-custom .navbar-brand i {
            color: var(--secondary-teal);
        }

    .navbar-custom .nav-link {
        color: rgba(255, 255, 255, 0.85);
        font-weight: 500;
        font-size: 0.95rem;
        margin: 0 8px;
        padding: 6px 12px;
        border-radius: 4px;
        transition: all 0.25s ease;
    }

        .navbar-custom .nav-link:hover,
        .navbar-custom .nav-link.active {
            color: #ffffff;
            background-color: rgba(26, 188, 156, 0.15);
        }

    .navbar-custom .nav-link-app {
        border: 1px solid var(--secondary-teal);
        color: var(--secondary-teal) !important;
    }

        .navbar-custom .nav-link-app:hover {
            background-color: var(--secondary-teal) !important;
            color: #ffffff !important;
        }

/* Hero Section */
.hero-static {
    position: relative;
    min-height: 550px;
    background: url('/SourceFb/imgCr01.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 42, 82, 0.85) 0%, rgba(14, 77, 146, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 15px;
    max-width: 900px;
}

    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 0;
        opacity: 0.95;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

/* Metrics Grid */
.metric-card-custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

    .metric-card-custom:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

    .section-header h2 {
        font-weight: 700;
        color: var(--primary-blue);
        font-size: 2.3rem;
        position: relative;
        display: inline-block;
        margin-bottom: 15px;
    }

        .section-header h2::after {
            content: '';
            width: 60px;
            height: 3px;
            background-color: var(--secondary-teal);
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
        }

    .section-header p {
        color: #6c757d;
        font-size: 1.1rem;
    }

/* Gallery Grid */
.gallery-grid {
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    aspect-ratio: 4/3;
    background-color: #eaeaea;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.gallery-overlay-custom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 77, 146, 0.85);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay-custom {
    opacity: 1;
}

.gallery-text {
    color: #ffffff;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-text {
    transform: translateY(0);
}

.gallery-text h5 {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--secondary-teal);
}

.gallery-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Scrollable Gallery with View More */
.gallery-scroll {
    max-height: 690px;
    overflow-y: auto;
    padding: 4px;
    border-radius: 12px;
    scroll-behavior: smooth;
}

    .gallery-scroll--expanded {
        max-height: none;
        overflow: visible;
    }

    .gallery-scroll::-webkit-scrollbar {
        width: 10px;
    }

    .gallery-scroll::-webkit-scrollbar-track {
        background: #e9ecef;
        border-radius: 10px;
    }

    .gallery-scroll::-webkit-scrollbar-thumb {
        background: var(--secondary-teal);
        border-radius: 10px;
    }

    .gallery-scroll::-webkit-scrollbar-thumb:hover {
        background: var(--primary-blue);
    }

.gallery-view-more {
    display: block;
    margin: 25px auto 0;
}

/* Tool Cards Section */
.tool-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: block;
    height: 100%;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .tool-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-blue), var(--secondary-teal));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .tool-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(14, 77, 146, 0.15);
        border-color: rgba(14, 77, 146, 0.15);
    }

        .tool-card:hover::before {
            transform: scaleX(1);
        }

.tool-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 12px;
}

.tool-desc {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.tool-link-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-teal);
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tool-card:hover .tool-link-text {
    color: var(--primary-blue);
}

/* Facebook Section Styling */
.fb-post-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.25s ease;
}

    .fb-post-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    }

.fb-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f0f3f6;
}

.fb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
}

.fb-author-info {
    line-height: 1.2;
}

.fb-author-name {
    font-weight: 700;
    color: #1c1e21;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.fb-post-date {
    font-size: 0.8rem;
    color: #65676b;
}

.fb-post-content {
    padding: 15px;
    font-size: 0.92rem;
    color: #1c1e21;
    line-height: 1.5;
}

.fb-post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #e1e8ed;
}

.fb-footer {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    background-color: #f8f9fa;
    font-size: 0.85rem;
    color: #65676b;
    border-top: 1px solid #f0f3f6;
}

.fb-footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #65676b;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .fb-footer-item:hover {
        color: var(--primary-blue);
    }

/* YouTube Container aspect ratio helper */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.video-playlist-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

    .video-playlist-item:hover {
        background-color: var(--soft-bg);
        border-left-color: var(--secondary-teal);
    }

/* Standard Text Links Custom Style */
.text-link-custom {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

    .text-link-custom:hover {
        color: var(--secondary-teal);
        transform: translateX(4px);
    }

/* Info alert block */
.custom-alert {
    background: rgba(26, 188, 156, 0.08);
    border-left: 5px solid var(--secondary-teal);
    border-radius: 8px;
    padding: 25px;
}

/* Contact Details Styles */
.contact-info-link {
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .contact-info-link:hover {
        color: var(--secondary-teal);
    }
