/* =====================================================
   LIBYAN CENTRE WEBSITE
   GLOBAL STYLES
===================================================== */

/* ==========================
   GOOGLE FONTS
========================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================
   CSS RESET
========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#F8FAFC;
    color:#1F2937;
    line-height:1.7;
    overflow-x:hidden;
}

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

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

button,
input,
textarea{
    font:inherit;
    border:none;
    outline:none;
}

button{
    cursor:pointer;
}

section{
    padding:80px 0;
}

/* ==========================
   CSS VARIABLES
========================== */


  :root{

    /* Brand Colors */

    --primary:#0F4C5C;

    --secondary:#2A6F77;

    /* Red Accent Instead Of Orange */
    --accent:#C62828;

    --accent-light:#E57373;


    --white:#ffffff;

    --background:#F8FAFC;


    --text:#1F2937;

    --text-light:#6B7280;


    --border:#E5E7EB;


    --radius-sm:8px;

    --radius-md:12px;

    --radius-lg:18px;

    --radius-xl:28px;


    --shadow-sm:0 2px 8px rgba(0,0,0,.05);

    --shadow-md:0 8px 25px rgba(0,0,0,.08);

    --shadow-lg:0 20px 50px rgba(0,0,0,.12);


    --transition:.3s ease;


    --container:1200px;

}
/* ==========================
   CONTAINER
========================== */

.container{

    width:100%;
    max-width:var(--container);

    margin:auto;

    padding-inline:20px;

}

/* ==========================
   TYPOGRAPHY
========================== */

h1,
h2,
h3,
h4,
h5,
h6{

    color:var(--primary);

    line-height:1.2;

    font-weight:700;

}

h1{

    font-size:56px;

}

h2{

    font-size:40px;

}

h3{

    font-size:28px;

}

p{

    color:var(--text-light);

    margin-top:16px;

}

/* ==========================
   UTILITIES
========================== */

.text-center{

    text-align:center;

}

.mt-1{

    margin-top:20px;

}

.mt-2{

    margin-top:40px;

}

.mt-3{

    margin-top:60px;

}

.mb-1{

    margin-bottom:20px;

}

.mb-2{

    margin-bottom:40px;

}

.mb-3{

    margin-bottom:60px;

}

/* =====================================================
   BUTTONS
===================================================== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:14px 30px;

    border-radius:var(--radius-md);

    font-weight:600;

    transition:var(--transition);

    cursor:pointer;
}
/* ==========================
   BUTTONS
========================== */

.btn-primary{

    background:#C62828;

    color:#ffffff;

    border-radius:8px;

    padding:14px 32px;

    font-weight:600;

    transition:.3s ease;

}


.btn-primary:hover{

    background:#A61B1B;

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(198,40,40,.25);

}



.btn-outline{

    border:2px solid #C62828;

    color:#C62828;

    background:transparent;

    border-radius:8px;

    padding:14px 32px;

}



.btn-outline:hover{

    background:#C62828;

    color:white;

}

/* =====================================================
   SECTION TITLE
===================================================== */

.section-header{
    text-align:center;
    max-width:700px;
    margin:0 auto 60px;
}

.section-header span{
    display:inline-block;
    color:var(--accent);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:10px;
}

.section-header h2{
    margin-bottom:15px;
}

/* =====================================================
   GRID
===================================================== */

.grid{
    display:grid;
    gap:30px;
}

.grid-2{
    grid-template-columns:repeat(2,1fr);
}

.grid-3{
    grid-template-columns:repeat(3,1fr);
}

.grid-4{
    grid-template-columns:repeat(4,1fr);
}

/* =====================================================
   CARD
===================================================== */

.card{
    background:var(--white);
    border-radius:var(--radius-lg);
    padding:30px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
    border:1px solid var(--border);
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.card h3{
    margin-bottom:15px;
}

.card p{
    margin:0;
}

/* =====================================================
   PAGE HERO
===================================================== */

.page-hero{
    background:linear-gradient(
        rgba(15,76,92,.90),
        rgba(15,76,92,.90)
    );
    color:white;
    padding:120px 0 80px;
    text-align:center;
}

.page-hero h1{
    color:white;
    margin-bottom:20px;
}

.page-hero p{
    color:rgba(255,255,255,.85);
    max-width:700px;
    margin:auto;
}

/* =====================================================
   BREADCRUMB
===================================================== */

.breadcrumb{
    margin-top:20px;
    display:flex;
    justify-content:center;
    gap:10px;
    font-size:.95rem;
    color:rgba(255,255,255,.75);
}

/* =====================================================
   SPACING HELPERS
===================================================== */

.py-80{
    padding:80px 0;
}

.py-120{
    padding:120px 0;
}

.mb-4{
    margin-bottom:80px;
}

.mb-5{
    margin-bottom:120px;
}

/* =====================================================
   SIMPLE ANIMATIONS
===================================================== */

.fade-up{
    animation:fadeUp .8s ease forwards;
}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(30px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* =====================================================
   HEADER
===================================================== */

.header{

    position:sticky;
    top:0;
    z-index:1000;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    border-bottom:1px solid var(--border);

}

.navbar{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:85px;

}

.logo img{

    height:58px;

    width:auto;

}

.nav{

    flex:1;

    display:flex;

    justify-content:center;

}

.nav-links{

    display:flex;

    align-items:center;

    gap:28px;

}

.nav-links a{

    font-size:.95rem;

    font-weight:500;

    color:var(--text);

    transition:var(--transition);

    position:relative;

}

.nav-links a:hover{

    color:var(--primary);

}

.nav-links a.active{

    color:var(--primary);

}

.nav-links a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:2px;

    background:var(--accent);

}

.nav-actions{

    display:flex;

    align-items:center;

    gap:15px;

}

.lang-btn{

    padding:10px 18px;

    border:1px solid var(--primary);

    background:transparent;

    color:var(--primary);

    border-radius:50px;

    font-weight:600;

    transition:var(--transition);

}

.lang-btn:hover{

    background:var(--primary);

    color:white;

}

.menu-toggle{

    display:none;

    font-size:30px;

    background:none;

    color:var(--primary);

}

/* =====================================================
   HERO SECTION
===================================================== */

.hero{

    min-height:85vh;

    display:flex;
    align-items:center;

    background:
        linear-gradient(
            rgba(15,76,92,.82),
            rgba(15,76,92,.82)
        ),
        url("../assets/images/hero/hero.jpg");

    background-size:cover;
    background-position:center;

    color:white;

}

.hero-content{

    max-width:1000px;

}

.hero-badge{

    display:inline-block;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    padding:10px 18px;

    border-radius:50px;

    margin-bottom:25px;

    font-size:.9rem;

    letter-spacing:1px;

}

.hero h1{

    color:white;

    font-size:64px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero p{

    color:rgba(255,255,255,.88);

    font-size:1.15rem;

    max-width:620px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}
/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section{

    background:#ffffff;

}

.card{

    text-align:center;

}

.card-icon{

    width:82px;
    height:82px;

    margin:0 auto 30px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:#EEF5F6;

    color:#C62828;

    transition:.35s;

}

.card-icon svg{

    width:36px;
    height:36px;

    transition:.35s;

}

.card:hover .card-icon{

    background:#C62828;

    color:white;

    transform:translateY(-4px);

}

.card:hover .card-icon svg{

    transform:scale(1.1);

}

.card:hover .card-icon{

    transform:rotate(10deg) scale(1.08);

    background:#C62828;

    color:#fff;

}

.card h3{

    margin-bottom:15px;

}

.card p{

    margin:0;

}

/* =========================================
   RESEARCH SECTION
========================================= */

.research-section{

    background:#F8FAFC;

}

.research-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:var(--radius-lg);

    padding:35px;

    transition:var(--transition);

    box-shadow:var(--shadow-sm);

}

.research-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}

.research-card h3{

    margin:25px 0 15px;

    font-size:1.35rem;

}

.research-card p{

    margin:0;

}

.research-card .card-icon{

    margin:0;

}
/* =========================================
   WORK SECTION
========================================= */

.work-section{

    background:#ffffff;

}

.work-grid{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:70px;

    align-items:center;

}

.section-tag{

    display:inline-block;

    margin-bottom:15px;

    color:var(--accent);

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.work-content h2{

    margin-bottom:25px;

}

.work-list{

    margin:45px 0;

    display:flex;

    flex-direction:column;

    gap:25px;

}

.work-item{

    display:flex;

    gap:20px;

    align-items:flex-start;

}

.work-number{

    width:58px;

    height:58px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    flex-shrink:0;

}

.work-item h3{

    margin-bottom:8px;

    font-size:1.2rem;

}

.work-image img{

    width:100%;

    border-radius:24px;

    box-shadow:var(--shadow-lg);

    object-fit:cover;

}
/* =========================================
   CORE PILLARS
========================================= */

.pillars{

    background:#F8FAFC;

}

.pillars-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

.pillar{

    background:#fff;

    padding:40px;

    border-radius:20px;

    border:1px solid var(--border);

    transition:var(--transition);

}

.pillar:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}

.pillar-number{

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    margin-bottom:25px;

}

.pillar h3{

    margin-bottom:15px;

}

/* =========================================
   CALL TO ACTION
========================================= */

.cta{

    padding:120px 0;

    background:
    linear-gradient(
#083b424a,
    #0c393fcb
    ),
    url("../assets/images/backgrounds/cta.jpg");

    background-size:cover;
    background-position:center;

    text-align:center;

}

.cta-content{

    max-width:850px;

    margin:auto;

}

.cta h2{

    color:#fff;

    margin:20px 0;

    font-size:48px;

}

.cta p{

    color:rgba(255,255,255,.85);

    margin-bottom:40px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn-light{

    border:2px solid rgba(255,255,255,.4);

    color:white;

}

.btn-light:hover{

    background:white;

    color:var(--primary);

}
/* =========================================
   FOOTER
========================================= */

.footer{

background:#083B42;
    color:#fff;

    padding:80px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

    margin-bottom:50px;

}

.footer-logo{

    width:170px;

    margin-bottom:20px;

}

.footer h4{

    color:white;

    margin-bottom:20px;

}

.footer ul{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer a{

    color:rgba(255,255,255,.8);

    transition:.3s;

}

.footer a:hover{

    color:white;

}

.footer p{

    color:rgba(255,255,255,.75);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.1);

    padding-top:25px;

    text-align:center;

}