/* =========================
   IMPERIAL COLLEGE v1.0
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#ffffff;
    color:#222;
    line-height:1.7;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

/* ---------- HEADER ---------- */

header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    background:rgba(15,23,51,.92);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:1000;

}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:90px;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
}

.logo img{

    width:75px;
    height:75px;

    object-fit:contain;

    background:white;

    padding:6px;

    border-radius:50%;

}

.logo-text h2{
    color:white;
    font-family:'Poppins',sans-serif;
    font-size:26px;
}

.logo-text p{
    color:#E4AE43;
    font-size:13px;
}

nav ul{
    list-style:none;
    display:flex;
    gap:35px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav a{

position:relative;

}

nav a::after{

content:"";

position:absolute;

left:0;

bottom:-8px;

width:0;

height:2px;

background:#E4AE43;

transition:.35s;

}

nav a:hover{

color:#E4AE43;

}

nav a:hover::after{

width:100%;

}

.btn{

display:inline-flex;

align-items:center;

justify-content:center;

gap:10px;

background:#E4AE43;

color:white;

padding:15px 34px;

border-radius:50px;

font-weight:600;

transition:.35s;

text-decoration:none;

box-shadow:0 12px 30px rgba(228,174,67,.35);

}

.btn:hover{
    background:#F47A35;
}

/* ---------- HERO ---------- */

.hero{

    padding-top:170px;
    padding-bottom:100px;

    background:linear-gradient(
        135deg,
        #0F1733 0%,
        #1B2958 100%
    );

}

.hero-grid{

display:grid;

grid-template-columns:1.05fr .95fr;

align-items:center;

gap:90px;

}

.tagline{

    display:inline-block;
    color:#E4AE43;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:20px;

}

.hero h1{

    color:white;
    font-family:'Poppins',sans-serif;
    font-size:72px;
    line-height:1.1;
    letter-spacing:2px;
    margin-bottom:25px;

}

.hero p{

    color:#dddddd;
    font-size:19px;
    margin-bottom:40px;

}

.hero-buttons{

    display:flex;
    gap:20px;

}

.btn-outline{

    display:inline-block;

    padding:13px 28px;

    border:2px solid white;

    color:white;

    text-decoration:none;

    border-radius:40px;

    transition:.3s;

}

.btn-outline:hover{

    background:white;

    color:#0F1733;

}

.hero-image{

    width:100%;
    max-width:650px;

    aspect-ratio:16/10;

    object-fit:cover;

    border-radius:28px;

    border:8px solid rgba(255,255,255,.12);

    box-shadow:
        0 40px 90px rgba(0,0,0,.45);

    transition:.4s;

    animation:float 5s ease-in-out infinite;

}

.hero-image:hover{

    transform:scale(1.02);

}

@keyframes float{

    0%{transform:translateY(0);}
    50%{transform:translateY(-15px);}
    100%{transform:translateY(0);}

}

/* ---------- Responsive ---------- */

@media(max-width:900px){

.hero-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero-buttons{

justify-content:center;

flex-wrap:wrap;

}

nav{

display:none;

}

.logo-text p{

display:none;

}

.hero h1{

font-size:42px;

}

}
/* ================= ABOUT ================= */

.about{

    padding:100px 0;

    background:#ffffff;

}

.section-title{

    text-align:center;

    max-width:750px;

    margin:auto;

}

.section-title span{

    color:#E4AE43;

    font-weight:700;

    letter-spacing:2px;

}

.section-title h2{

    margin:15px 0;

    font-size:44px;

    color:#0F1733;

    font-family:'Poppins',sans-serif;

}

.section-title p{

    color:#666;

    font-size:18px;

}

.about-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.about-card{

    background:white;

    border-radius:20px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:0 12px 35px rgba(0,0,0,.06);

}

.about-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 45px rgba(0,0,0,.12);

}

.icon{

    width:90px;
    height:90px;

    margin:auto;
    margin-bottom:25px;

    border-radius:50%;

    background:linear-gradient(135deg,#E4AE43,#F47A35);

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    font-size:34px;

    transition:.35s;

}

.about-card:hover .icon{

    transform:rotate(12deg) scale(1.08);

}

.about-card h3{

    margin-bottom:15px;

    color:#0F1733;

    font-family:'Poppins',sans-serif;

}

.about-card p{

    color:#666;

}

@media(max-width:900px){

.about-grid{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:600px){

.about-grid{

grid-template-columns:1fr;

}

.section-title h2{

font-size:34px;

}

}
/*================ COURSES ================*/

.courses{

padding:100px 0;

background:#f7f8fc;

}

.course-grid{

margin-top:60px;

display:grid;

grid-template-columns:repeat(2,1fr);

gap:40px;

}

.course-card{

background:white;

padding:45px;

border-radius:25px;
border-top:6px solid #E4AE43;

box-shadow:0 20px 45px rgba(0,0,0,.08);

transition:.35s;

}

.course-card:hover{

transform:translateY(-12px);

}

.course-card h3{

font-size:30px;

margin-bottom:25px;

font-family:'Poppins',sans-serif;

color:#0F1733;

}

.course-card ul{

list-style:none;

margin-bottom:30px;

}

.course-card li{

padding:12px 0;

font-size:18px;

border-bottom:1px solid #eee;

}

@media(max-width:900px){

.course-grid{

grid-template-columns:1fr;

}

}
/*================ WHY US ================*/

.why-us{

padding:110px 0;

background:#0F1733;

}

.why-us .section-title h2{

color:white;

}

.why-us .section-title p{

color:#c9d0e5;

}

.why-grid{

margin-top:70px;

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}

.why-card{

background:rgba(255,255,255,.05);

padding:40px 30px;

border-radius:20px;

text-align:center;

transition:.35s;

border:1px solid rgba(255,255,255,.08);

}

.why-card:hover{

transform:translateY(-12px);

background:#16224A;

}

.why-card i{

font-size:48px;

color:#E4AE43;

margin-bottom:25px;

}

.why-card h3{

color:white;

margin-bottom:15px;

font-family:'Poppins',sans-serif;

}

.why-card p{

color:#d5d8e2;

line-height:1.8;

}

@media(max-width:900px){

.why-grid{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:600px){

.why-grid{

grid-template-columns:1fr;

}

}
.admission-badge{

display:inline-block;

background:#E4AE43;

color:#fff;

padding:10px 22px;

border-radius:50px;

font-size:15px;

font-weight:600;

margin-bottom:25px;

box-shadow:0 10px 25px rgba(228,174,67,.35);

animation:pulse 2s infinite;

}
@keyframes pulse{

0%{
transform:scale(1);
}

50%{
transform:scale(1.05);
}

100%{
transform:scale(1);
}

}
/* ===========================
   CAMPUS GALLERY
=========================== */

.gallery{

padding:90px 0;

background:#ffffff;

}

.gallery-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

grid-auto-rows:260px;

gap:18px;

}

.gallery-item{

position:relative;

overflow:hidden;

border-radius:20px;

cursor:pointer;

box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.gallery-item.large{

grid-row:span 2;

}

.gallery-item img{

width:100%;

height:100%;

object-fit:cover;

transition:.5s;

}

.gallery-item:hover img{

transform:scale(1.08);

}

.overlay{

position:absolute;

inset:0;

display:flex;

align-items:flex-end;

padding:25px;

background:linear-gradient(to top,
rgba(0,0,0,.75),
rgba(0,0,0,.1));

opacity:0;

transition:.4s;

}

.gallery-item:hover .overlay{

opacity:1;

}

.overlay h3{

color:white;

font-size:22px;

font-weight:600;

margin:0;

}
.container{
    max-width:1300px;
    width:90%;
    margin:auto;
}
.gallery{

padding:100px 0;

border-top:1px solid #ececec;

}
.gallery-item{

box-shadow:
0 15px 40px rgba(0,0,0,.12);

}
/*==================================
        ADMISSION CTA
==================================*/

.admission-cta{

padding:110px 0;

background:linear-gradient(135deg,#17213d,#0f1730);

color:white;

}

.cta-content{

display:grid;

grid-template-columns:2fr 1fr;

gap:70px;

align-items:center;

}

.cta-badge{

display:inline-block;

padding:10px 22px;

background:#E4AE43;

border-radius:40px;

font-weight:600;

margin-bottom:22px;

}

.cta-text h2{

font-size:52px;

margin-bottom:25px;

line-height:1.2;

}

.cta-text p{

font-size:18px;

line-height:1.8;

opacity:.9;

margin-bottom:35px;

}

.cta-features{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.cta-features div{

font-size:18px;

font-weight:500;

}

.cta-features i{

color:#E4AE43;

margin-right:10px;

}

.cta-box{

background:white;

color:#16213e;

padding:45px;

border-radius:24px;

text-align:center;

box-shadow:0 25px 60px rgba(0,0,0,.25);

}

.cta-box h3{

font-size:28px;

margin-bottom:15px;

}

.cta-box p{

margin-bottom:30px;

color:#666;

}

.cta-call{

display:block;

font-size:34px;

font-weight:700;

color:#16213e;

text-decoration:none;

margin-bottom:30px;

}

.cta-box .btn{

display:block;

width:100%;

}
/*==============================
        CONTACT
==============================*/

.contact{

padding:100px 0;

background:#f7f9fc;

}

.contact-grid{

display:grid;

grid-template-columns:1fr 1.2fr;

gap:60px;

align-items:center;

}

.contact-card{

display:flex;

gap:20px;

margin-bottom:30px;

padding:25px;

background:white;

border-radius:18px;

box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.contact-card i{

font-size:28px;

color:#E4AE43;

margin-top:5px;

}

.contact-card h3{

margin-bottom:8px;

color:#16213e;

}

.contact-card p{

color:#555;

line-height:1.8;

}

.contact-card a{

color:#16213e;

text-decoration:none;

font-weight:600;

}

.contact-map iframe{

width:100%;

height:420px;

border:none;

border-radius:22px;

box-shadow:0 15px 35px rgba(0,0,0,.12);

}
/*==============================
          FOOTER
==============================*/

footer{

background:#111933;

color:white;

padding:70px 0 30px;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:40px;

margin-bottom:40px;

}

.footer-logo{

width:70px;

margin-bottom:15px;

}

footer h4{

margin-bottom:18px;

color:#E4AE43;

}

footer ul{

list-style:none;

padding:0;

}

footer li{

margin-bottom:12px;

}

footer a{

color:white;

text-decoration:none;

}

footer a:hover{

color:#E4AE43;

}

footer hr{

border:none;

border-top:1px solid rgba(255,255,255,.15);

margin:30px 0;

}

.copyright{

text-align:center;

opacity:.8;

}