:root{
    --primary-blue:#1e3a8a;
    --dark-blue:#172554;
    --accent-blue:#2563eb;
    --light-blue:#eff6ff;
    --text-dark:#1f2937;
    --text-muted:#4b5563;
    --bg-light:#f5f7fb;
    --white:#ffffff;
    --border:#e5e7eb;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:white;
    color:var(--text-dark);
    line-height:1.7;
}

.container{
    width:92%;
    max-width:1200px;
    margin:auto;
}


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

header:not(.site-header){
    background:#fff;
    border-bottom:1px solid var(--border);
    padding:8px 0;
    position:sticky;
    top:0;
    z-index:1000;
}

.header-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.logo-container{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo-container img{
    height:38px;
    width:auto;
    object-fit:contain;
}

.legacy-page-nav{
    display:flex;
    align-items:center;
    gap:18px;
}

.legacy-page-nav a{
    color:var(--text-dark);
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    transition:.25s;
}

.legacy-page-nav a:hover{
    color:var(--accent-blue);
}


/* DROPDOWN */

.dropdown{
    position:relative;
    list-style:none;
}

.dropdown-content{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:250px;
    background:white;
    border:1px solid var(--border);
    border-radius:8px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    padding:8px 0;
}

.dropdown-content a{
    display:block;
    padding:10px 15px;
    font-size:13px;
}

.dropdown-content a:hover{
    background:var(--light-blue);
}

.dropdown:hover .dropdown-content{
    display:block;
}


/* BUTTON */

.btn{
    display:inline-block;
    padding:11px 22px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    transition:.3s;
}

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

.btn-blue:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}


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

.hero{
    min-height:560px;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;

    background:
        linear-gradient(
            90deg,
            rgba(15,23,42,.94),
            rgba(30,58,138,.78),
            rgba(30,58,138,.45)
        ),
        url("../../images/uni-pages/old-tbilisi.webp")
        center/cover;
}

.hero-content{
    max-width:850px;
    color:white;
    animation:heroIn 1s ease;
}

.hero-label{
    color:#93c5fd;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:3px;
    font-weight:700;
    margin-bottom:15px;
}

.hero h1{
    font-size:58px;
    line-height:1.1;
    margin-bottom:22px;
}

.hero h1 span{
    color:#93c5fd;
}

.hero p{
    font-size:18px;
    max-width:760px;
    color:#e5e7eb;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

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

.btn-white:hover{
    background:#eff6ff;
    transform:translateY(-2px);
}

@keyframes heroIn{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* =====================================================
   INTRO
===================================================== */

.section{
    padding:80px 0;
}

.section-light{
    background:var(--bg-light);
}

.section-blue{
    background:var(--light-blue);
}

.section-heading{
    text-align:center;
    max-width:800px;
    margin:0 auto 50px;
}

.section-heading h2{
    color:var(--primary-blue);
    font-size:38px;
    line-height:1.2;
    margin-bottom:15px;
}

.section-heading p{
    color:var(--text-muted);
    font-size:16px;
}

.two-column{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.intro-image{
    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
    transition:.5s;
}

.intro-image:hover{
    transform:scale(1.02);
}

.content h2{
    color:var(--primary-blue);
    font-size:35px;
    margin-bottom:18px;
}

.content p{
    color:var(--text-muted);
    margin-bottom:18px;
    font-size:15px;
}

.highlight{
    margin-top:25px;
    padding:20px 22px;
    background:var(--light-blue);
    border-left:5px solid var(--accent-blue);
    border-radius:8px;
}

.highlight strong{
    color:var(--primary-blue);
}


/* =====================================================
   FEATURE CARDS
===================================================== */

.card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.card{
    background:white;
    border:1px solid var(--border);
    border-radius:15px;
    padding:30px;
    transition:.35s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.10);
}

.card-icon{
    width:52px;
    height:52px;
    border-radius:12px;
    background:var(--light-blue);
    color:var(--accent-blue);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    margin-bottom:20px;
}




/* =====================================================
   DEPARTMENTS
===================================================== */

.department-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.department{
    background:white;
    border:1px solid var(--border);
    border-radius:12px;
    padding:22px;
    display:flex;
    align-items:center;
    gap:15px;
    transition:.3s;
}

.department:hover{
    border-color:#93c5fd;
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.07);
}

.department-number{
    width:38px;
    height:38px;
    flex-shrink:0;
    border-radius:50%;
    background:var(--light-blue);
    color:var(--accent-blue);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.department h3{
    color:var(--primary-blue);
    font-size:16px;
}


/* =====================================================
   OBSERVERSHIP PROCESS
===================================================== */

.timeline{
    max-width:900px;
    margin:auto;
}

.timeline-item{
    display:grid;
    grid-template-columns:80px 1fr;
    gap:25px;
    margin-bottom:35px;
}

.timeline-number{
    width:60px;
    height:60px;
    background:var(--accent-blue);
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:18px;
    box-shadow:0 8px 20px rgba(37,99,235,.25);
}

.timeline-content{
    background:white;
    padding:25px;
    border-radius:12px;
    border:1px solid var(--border);
}

.timeline-content h3{
    color:var(--primary-blue);
    margin-bottom:7px;
}

.timeline-content p{
    color:var(--text-muted);
    font-size:14px;
}


/* =====================================================
   CV SECTION
===================================================== */

.cv-box{
    background:var(--primary-blue);
    color:white;
    padding:60px;
    border-radius:20px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.cv-box h2{
    font-size:35px;
    margin-bottom:18px;
}

.cv-box p{
    color:#dbeafe;
    font-size:15px;
}

.cv-list{
    list-style:none;
}

.cv-list li{
    margin-bottom:15px;
    color:#eff6ff;
    position:relative;
    padding-left:28px;
}

.cv-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:#93c5fd;
    font-weight:bold;
}


/* =====================================================
   IMPORTANT INFORMATION
===================================================== */

.notice{
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:30px;
    max-width:950px;
    margin:auto;
}

.notice h3{
    color:var(--primary-blue);
    margin-bottom:15px;
}

.notice p{
    font-size:18px;
    margin-bottom:14px;
}


/* =====================================================
   QUOTE
===================================================== */

.quote{
    background:
        linear-gradient(
            135deg,
            var(--primary-blue),
            var(--dark-blue)
        );
    color:white;
    text-align:center;
    padding:85px 20px;
}

.quote-mark{
    font-size:65px;
    color:#93c5fd;
    line-height:.7;
    margin-bottom:25px;
}

.quote h2{
    font-size:38px;
    margin:auto auto 18px;
}

.quote p{
    max-width:700px;
    margin:auto;
    color:#dbeafe;
}


/* =====================================================
   FAQ
===================================================== */

.faq{
    max-width:900px;
    margin:auto;
}

details{
    background:white;
    border:1px solid var(--border);
    border-radius:10px;
    margin-bottom:12px;
    padding:20px 22px;
}

summary{
    cursor:pointer;
    color:var(--primary-blue);
    font-weight:700;
}

details p{
  
    margin-top:15px;
    font-size:18px;
}


/* =====================================================
   FINAL CTA
===================================================== */

.final-cta{
    padding:90px 20px;
    text-align:center;
    color:white;

    background:
        linear-gradient(
            rgba(30,58,138,.94),
            rgba(23,37,84,.95)
        ),
        url("../../images/uni-pages/city-life.jpg")
        center/cover;
}

.final-cta h2{
    font-size:42px;
    margin-bottom:15px;
}

.final-cta p{
    max-width:720px;
    margin:0 auto 30px;
    color:#dbeafe;
}


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

footer:not(.site-footer){
    background:#0f172a;
    color:#94a3b8;
    padding:60px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:35px;
    margin-bottom:40px;
}

.footer-col h4{
    color:white;
    margin-bottom:15px;
}

.footer-col p{
    font-size:14px;
}

.footer-col ul{
    list-style:none;
}

.footer-col li{
    margin-bottom:8px;
}

.footer-col a{
    color:#94a3b8;
    text-decoration:none;
}

.footer-col a:hover{
    color:white;
}

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


/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:1000px){

    .legacy-page-nav{
        gap:10px;
    }

    .legacy-page-nav a{
        font-size:12px;
    }

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

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

}

@media(max-width:800px){

    .header-container{
        flex-wrap:wrap;
    }

    .legacy-page-nav{
        display:none;
    }

    .hero{
        min-height:500px;
    }

    .hero h1{
        font-size:40px;
    }

    .two-column,
    .cv-box{
        grid-template-columns:1fr;
    }

    .card-grid,
    .department-grid{
        grid-template-columns:1fr;
    }

    .intro-image{
        height:350px;
    }

    .cv-box{
        padding:35px 25px;
    }

    .quote h2{
        font-size:28px;
    }

    .final-cta h2{
        font-size:32px;
    }

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

}

/* CSP-safe: converted inline style attributes */
.csp-cli-1{margin-top:8px}
.csp-cli-2{margin-top:15px}
.csp-cli-3{margin-top:10px}



