
/* =====================================================
GAMBIA TALENT HUB - FOOTBALL SCOUTING AGENCY
Modern Professional Theme - Consolidated Master Styles
===================================================== */

:root{
    --primary: #F36C21;
    --secondary: #041E42;
    --white: #FFFFFF;
    --light: #F5F7FA;
    --dark: #111827;
    --text: #4B5563;
    --accent: #10B981;
    --gray: #6B7280;
}

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

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* =====================================================
    CONTAINER & BUTTONS
===================================================== */
.container{
    width: 92%;
    max-width: 1280px;
    margin: auto;
}

.btn{
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary{
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(243, 108, 33, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

/* =====================================================
    HEADER & NAVIGATION
===================================================== */
.main-header{
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--secondary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.main-header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo{
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.logo img{
    height: 65px;
    width: auto;
}

.logo-text h2{
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.logo-text span{
    font-size: 0.75rem;
    opacity: 0.9;
}

.main-nav ul{
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-nav a{
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active{
    color: var(--primary);
}

.main-nav a::after{
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after{
    width: 100%;
}

.mobile-menu-btn{
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* =====================================================
    HERO, HOVERS, & HEADINGS
===================================================== */
.hero,
.page-header{
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(rgba(4,30,66,0.85), rgba(4,30,66,0.75)), url('../images/HERO.jpg') center center/cover no-repeat;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(4, 30, 66, 0.9), rgba(2, 17, 38, 0.85));
    z-index: 1;
}

.hero-content,
.page-header-content{
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1,
.page-header-content h1{
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p,
.page-header-content p{
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.club-badge {
    display: inline-block;
    background: rgba(243, 108, 33, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
    font-weight: 800;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* =====================================================
    HOMEPAGE SECTIONS (INDEX.PHP)
===================================================== */
.trust-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 4px solid var(--primary);
}

.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.why-gambia {
    padding: 100px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}

.why-gambia h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 800;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h2 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: #cbd5e1;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1f3c6d 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 800;
}

/* =====================================================
    PLAYERS DIRECTORY COMPONENTS
===================================================== */
.players-section{
    padding: 100px 0;
    background: var(--light);
}

.featured-players {
    padding: 100px 0;
    background: var(--light);
}

.filters-bar{
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box input{
    padding: 14px 24px;
    width: 340px;
    max-width: 100%;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    font-size: 1rem;
}

select{
    padding: 14px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    background-color: white;
}

.players-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.player-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.player-info {
    padding: 20px;
}

.player-info span {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin: 5px 0 15px;
}

.player-card img{
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.player-card:hover{
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

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

/* =====================================================
    ABOUT PAGE LAYOUTS (ABOUT.PHP)
===================================================== */
.about-main-section {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.sub-title {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text);
}

.about-placeholder-img {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a365d 100%);
    height: 400px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    border-bottom: 6px solid var(--primary);
    box-shadow: 0 20px 40px rgba(4,30,66,0.1);
}

.mission-section {
    padding: 100px 0;
    background: var(--light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.process-section {
    padding: 100px 0;
    background: var(--white);
}

.process-timeline {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.timeline-step {
    flex: 1;
    position: relative;
    padding-top: 30px;
    border-top: 3px solid var(--light);
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--gray);
    border-radius: 50%;
    transition: 0.3s;
}

.timeline-step:hover {
    border-top-color: var(--primary);
}

.timeline-step:hover::before {
    background: var(--primary);
    transform: scale(1.3);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(4, 30, 66, 0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.timeline-step h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.timeline-step p {
    font-size: 0.95rem;
    color: var(--text);
}

/* =====================================================
    CONTACT PAGE SPECIFIC LAYOUTS (CONTACT.PHP)
===================================================== */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

/* Form Structural Framework */
.contact-form-box {
    background: var(--light);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.contact-form-box h2 {
    color: var(--secondary);
    margin-bottom: 30px;
    font-weight: 800;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box select,
.contact-form-box textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--dark);
    transition: all 0.3s ease;
}

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 108, 33, 0.1);
}

.contact-form-box .btn {
    width: 100%;
    margin-top: 10px;
}

/* Info Box Typography Framework */
.contact-info-box {
    padding: 20px 10px;
}

.contact-info-box h3 {
    color: var(--secondary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info-box > p {
    color: var(--text);
    margin-bottom: 35px;
}

.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    font-size: 1.8rem;
    width: 55px;
    height: 55px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p, 
.info-item a {
    color: var(--text);
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.info-item a:hover {
    color: var(--primary);
}

.contact-notice-card {
    background: rgba(4, 30, 66, 0.03);
    border-left: 4px solid var(--secondary);
    padding: 25px;
    border-radius: 0 12px 12px 0;
}

.contact-notice-card h4 {
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-notice-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
}


/* =====================================================
    PLAYER PROFILE SPECIFIC LAYOUTS (PLAYER-PROFILE.PHP)
===================================================== */
.player-profile-section {
    padding: 60px 0 100px;
    background: var(--light);
}

.profile-back-nav {
    margin-bottom: 30px;
}

.profile-back-nav a {
    color: var(--gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.profile-back-nav a:hover {
    color: var(--primary);
}

/* Master Layout Framework Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 50px;
    align-items: start;
}

/* Left Sidebar Sticky Layout Elements */
.profile-card-sticky {
    position: sticky;
    top: 120px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.profile-image-container {
    position: relative;
    background: var(--dark);
}

.profile-image-container img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-stats-bar {
    display: flex;
    border-bottom: 1px solid #edf2f7;
    background: #fafbfd;
}

.q-stat {
    flex: 1;
    text-align: center;
    padding: 15px 5px;
    border-right: 1px solid #edf2f7;
}

.q-stat:last-child {
    border-right: none;
}

.q-stat strong {
    display: block;
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 800;
}

.q-stat span {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 600;
}

.sidebar-action-card {
    padding: 30px 25px;
}

.sidebar-action-card h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 700;
}

.sidebar-action-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 20px;
}

.sidebar-action-card .btn {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    font-size: 0.95rem;
}

.btn-outline-dark {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline-dark:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Right Side Main Profile Layout Elements */
.profile-header-block {
    margin-bottom: 35px;
}

.profile-header-block h1 {
    font-size: 3rem;
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

.scout-tagline {
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 500;
}

.data-block-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin-bottom: 30px;
}

.data-block-card h3 {
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light);
    padding-bottom: 12px;
}

/* Metrics Grid Alignment Structure */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-item {
    font-size: 1rem;
    color: var(--gray);
}

.metric-item strong {
    color: var(--secondary);
    display: inline-block;
    width: 150px;
}

.metric-item span {
    color: var(--dark);
    font-weight: 600;
}

/* Scouting Analytical Badges */
.scout-notes {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 25px;
}

.strengths-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.strength-tag {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Aspect Ratio Video Scaler */
.video-subtext {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: -15px;
    margin-bottom: 20px;
}

.video-frame-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Perfect 16:9 Aspect Ratio Rule */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.video-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* =====================================================
    SERVICES PAGE LAYOUTS (SERVICES.PHP)
===================================================== */
.services-main-section {
    padding: 100px 0;
    background: var(--white);
}

.services-block-group {
    margin-bottom: 60px;
}

.services-block-group:last-child {
    margin-bottom: 0;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 80px 0;
}

/* Detailed Functional Grid */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-detail-card {
    background: var(--light);
    padding: 45px 35px;
    border-radius: 16px;
    border-bottom: 4px solid var(--secondary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail-card.player-track {
    border-bottom-color: var(--primary);
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(4, 30, 66, 0.06);
}

.service-icon-box {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.service-detail-card h3 {
    color: var(--secondary);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.service-detail-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

/* Dark Pipeline Process Block Styles */
.pipeline-section {
    padding: 100px 0;
    background: #021126; /* Dark slate thematic match */
    position: relative;
}

.pipeline-flow {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.pipe-step {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 14px;
    position: relative;
}

.pipe-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.85;
}

.pipe-step h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.pipe-step p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =====================================================
    GALLERY SECTION SPECIFIC LAYOUTS (GALLERY.PHP)
===================================================== */
.gallery-section {
    padding: 80px 0 100px;
    background: var(--light);
}

/* Tab Segment Selection Row Styling */
.gallery-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    color: var(--secondary);
    border: 2px solid #e2e8f0;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

/* Grid Matrix Distribution */
.gallery-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.gallery-item-card {
    transition: opacity 0.3s, transform 0.3s;
}

.gallery-media-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--dark);
    height: 260px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.gallery-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Layer Overlays and Badges */
.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2, 17, 38, 0.95) 10%, rgba(4, 30, 66, 0.4) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.media-type-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-type-tag.video-tag {
    background: rgba(243, 108, 33, 0.25);
    color: #ffd8bf;
    border: 1px solid rgba(243, 108, 33, 0.4);
}

.video-play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    padding-left: 4px;
    box-shadow: 0 4px 15px rgba(243, 108, 33, 0.4);
    z-index: 1;
    transition: transform 0.3s ease;
}

.gallery-hover-overlay h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-hover-overlay p {
    color: #cbd5e1;
    font-size: 0.85rem;
}

/* Hover State Changes */
.gallery-media-wrapper:hover img {
    transform: scale(1.08);
}

.gallery-media-wrapper:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-media-wrapper:hover .video-play-indicator {
    transform: translate(-50%, -50%) scale(1.15);
}

/* Lightbox Modal Structure Overlay Layers */
.gallery-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 17, 38, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 30px;
}

.gallery-lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.modal-content-container img {
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-close-trigger {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close-trigger:hover {
    color: var(--primary);
}

#modalCaption {
    color: var(--white);
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
}

#modalCaption span {
    color: #94a3b8;
    font-size: 0.9rem;
}
/* =====================================================
    FOOTER SYSTEM
===================================================== */
.main-footer{
    background: #021126;
    color: #cbd5e1;
    padding: 80px 0 30px;
}

.footer-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img{
    height: 70px;
    margin-bottom: 15px;
}

.footer-widget h3{
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-widget a{
    color: #cbd5e1;
    transition: 0.3s;
}

.footer-widget a:hover{
    color: var(--primary);
}

.social-links{
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover{
    background: var(--primary);
    transform: translateY(-3px);
}

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

/* =====================================================
    RESPONSIVE MEDIA QUERIES (TABLETS & LAPTOPS)
===================================================== */
@media(max-width: 991px){
    .main-nav{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary);
        display: none;
        padding: 20px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        z-index: 999;
    }

    .main-nav.active{
        display: block;
    }

    .main-nav ul{
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-nav a{
        display: block;
        padding: 10px 0;
    }

    .mobile-menu-btn{
        display: block;
    }

    .footer-grid{
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline-step {
        padding-top: 0;
        padding-left: 25px;
        border-top: none;
        border-left: 3px solid var(--light);
    }
    
    .timeline-step::before {
        top: 0;
        left: -6px;
    }
    
    .timeline-step:hover {
        border-top-color: transparent;
        border-left-color: var(--primary);
    }
}

@media(max-width: 768px){
    .hero{
        min-height: 70vh;
    }

    .page-header{
        min-height: 40vh;
    }

    .hero-content,
    .page-header-content{
        padding: 0 15px;
    }

    .footer-grid{
        grid-template-columns: 1fr;
    }

    .filters-bar{
        flex-direction: column;
        align-items: stretch;
    }

    .search-box input{
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-heading h2, 
    .why-gambia h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-card-sticky {
        position: static; /* Disables sticky logic on phone stacks */
    }
    
    .profile-image-container img {
        height: 450px;
    }

    .pipeline-flow {
        flex-direction: column;
        gap: 25px;
    }
    
    .services-detailed-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .gallery-media-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .gallery-media-wrapper {
        height: 220px;
    }
    
    .modal-close-trigger {
        top: 15px;
        right: 25px;
        font-size: 2.5rem;
    }
}

/* =====================================================
    RESPONSIVE MEDIA QUERIES (MOBILE PHONES)
===================================================== */
@media(max-width: 480px){
    .container{
        width: 95%;
    }

    .logo{
        gap: 8px;
    }

    .logo img{
        height: 50px;
    }

    .logo-text h2{
        font-size: 1rem;
    }

    .logo-text span{
        font-size: 0.65rem;
    }

    .btn{
        width: 100%;
        padding: 14px;
    }

    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }
    
    .about-placeholder-img {
        height: 280px;
    }

    .hero-content h1,
    .page-header-content h1{
        font-size: 1.85rem;
        line-height: 1.2;
    }
    
    .hero-content p,
    .page-header-content p{
        font-size: 1rem;
    }
    
    .page-header{
        min-height: 50vh;
    }
    
    section{
        position: relative;
        overflow: hidden;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form-box {
        padding: 40px 25px;
    }

    .profile-header-block h1 {
        font-size: 2.2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .metric-item strong {
        display: block;
        margin-bottom: 2px;
    }
    
    .profile-image-container img {
        height: 320px;
    }
    
    .data-block-card {
        padding: 25px 20px;
    }

    .service-detail-card {
        padding: 30px 20px;
    }
    
    .services-main-section {
        padding: 60px 0;
    }
    
    .section-divider {
        margin: 50px 0;
    }

    .gallery-filter-bar {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        width: 100%; /* Stacks filter inputs flat on base mobile viewports */
        border-radius: 8px;
    }
    
    .gallery-media-grid {
        grid-template-columns: 1fr;
    }
}