/* ========================================
   FLC — Foreign Language Centre (TAU)
   Modern, Accessible, Responsive
   ======================================== */

/* Base */
:root
{
    --tau-red: #c00;
    --tau-red-light: #e53935;
    --tau-blue: #0b4d7a;
    --tau-blue-light: #1e7ebf;
    --tau-gray: #343a40;
    --tau-light: #f8f9fa;
    --tau-dark: #212529;
    --tau-bg-light: #f1f8ff;
    /* --navbar-height: 72px; */
}

body
{
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--tau-dark);
    padding-top: var(--navbar-height);
}

.font-sans
{
    font-family: 'Inter', sans-serif;
}

/* Scrollbar (optional polish) */
::-webkit-scrollbar
{
    width: 8px;
}

::-webkit-scrollbar-track
{
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb
{
    background: var(--tau-red);
    border-radius: 4px;
}

/* Z-index utility */
.z-1
{
    z-index: 1;
}

/* ================= HERO ================= */
.flc-hero
{
    /* min-height: 80vh;
    position: relative;
    display: flex;
    align-items: flex-end; */
    /* min-height: calc(80vh - var(--navbar-height));
    padding-top: var(--navbar-height);
    padding-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards; */
    min-height: 80vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    :root {
        --navbar-height: 64px;
    }
    .flc-hero {
        min-height: calc(70vh - 0px);
    }
}

.flc-hero__bg
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/5;
}

.flc-hero__overlay
{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
}

/* ================= SECTIONS ================= */
.flc-section
{
    background-color: #fff;
}

.py-6
{
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* ================= DIRECTOR ================= */
.flc-director-img
{
    width: 400px;
    height: 500px;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 20px;
}

.flc-badge
{
    position: absolute;
    bottom: 0;
    right: 10%;
    transform: translateY(50%);
}

.flc-director-card
{
    background-color: var(--tau-bg-light);
    border-left: 4px solid var(--tau-blue);
    transition: transform 0.3s ease;
}

.flc-director-card:hover
{
    transform: translateY(-3px);
}

/* ================= GLOBAL ================= */
.flc-global
{
    background: var(--tau-blue);
    background-image: linear-gradient(135deg, rgba(11, 77, 122, 0.9), rgba(20, 40, 70, 0.95)), url('/images/flc/global-bg.jpg');
    background-size: cover;
    background-position: center;
}

.flc-global__image-wrapper
{
    max-width: 900px;
    margin: 0 auto;
}

/* ================= PROGRAMMES ================= */
.flc-program-card
{
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #eee;
}

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

.flc-program-flag
{
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ================= REACH ================= */
.flc-reach
{
    background-color: #fafafa;
}

.flc-reach__map
{
    position: relative;
}

.flc-reach__pulse
{
    width: 20px;
    height: 20px;
    background: var(--tau-red);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(192, 0, 0, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse
{
    0%
    {
        box-shadow: 0 0 0 0 rgba(192, 0, 0, 0.7);
    }

    70%
    {
        box-shadow: 0 0 0 12px rgba(192, 0, 0, 0);
    }

    100%
    {
        box-shadow: 0 0 0 0 rgba(192, 0, 0, 0);
    }
}

/* ================= INSTRUCTORS ================= */
.flc-instructors-grid
{
    max-width: 1000px;
    margin: 0 auto;
}

/* ================= HORIZON ================= */
.flc-horizon
{
    background: linear-gradient(135deg, var(--tau-blue), #073a5d);
}

/* ================= CONTACT ================= */
.flc-contact
{
    background: var(--tau-dark);
}

.flc-contact-icon
{
    width: 72px;
    height: 72px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px)
{
    .flc-hero
    {
        min-height: 70vh;
    }

    .py-6
    {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .flc-director-img
    {
        width: 140px;
        height: 140px;
    }
}

.navbar.fixed-top {
    z-index: 1100;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Print-friendly */
@media print
{

    .navbar,
    footer,
    .btn
    {
        display: none;
    }

    .flc-contact
    {
        background: white !important;
        color: black !important;
    }
}

/* For the colored borders */
.border-primary
{
    border-color: #0d6efd !important;
}

.border-info
{
    border-color: #0dcaf0 !important;
}

.border-danger
{
    border-color: #dc3545 !important;
}

.border-warning
{
    border-color: #ffc107 !important;
}

.text-primary
{
    color: #0d6efd !important;
}

.text-info
{
    color: #0dcaf0 !important;
}

.text-danger
{
    color: #dc3545 !important;
}

.text-warning
{
    color: #ffc107 !important;
}

/* Optional: subtle hover effect */
.border-start:hover
{
    border-left-width: 6px !important;
    transition: border-left-width 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
    color: #c00 !important;
    font-weight: 600 !important;
}

.navbar.bg-white .nav-link.active {
    color: #c00 !important;
}
.navbar:not(.bg-white) .nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* ===== Mobile Navbar Dropdown (Responsive) ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff !important;
        padding: 1rem 1.5rem !important;
        border-top: 1px solid rgba(0,0,0,0.1);
        margin-top: 0.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .navbar-collapse .nav-link,
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link:focus {
        color: #212529 !important;
        padding: 0.5rem 0 !important;
        font-weight: 500 !important;
    }

    .navbar-collapse .nav-link.active {
        color: #c00 !important;
        background-color: transparent !important;
    }

    .navbar-collapse .nav-link:hover {
        color: #c00 !important;
        background-color: rgba(192, 0, 0, 0.03) !important;
        border-radius: 4px;
    }

    .navbar-collapse .btn-danger {
        background-color: #c00 !important;
        border-color: #a80000 !important;
    }
    .navbar-collapse .btn-danger:hover {
        background-color: #a80000 !important;
        border-color: #900000 !important;
        transform: none !important;
    }
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5) !important;
}
.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.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.bg-white .navbar-toggler {
    border-color: rgba(0,0,0,0.2) !important;
}
.navbar.bg-white .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.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

