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

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#050816;
    overflow-x:hidden;
    color:white;
}

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

.top-header{
    width:100%;
    background:linear-gradient(135deg,#4f6df5,#7b4cc9);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 5%;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.left-logo img,
.right-logo img{
    width:90px;
    height:90px;
    object-fit:contain;
    border-radius:12px;
}

.header-text{
    text-align:center;
    width:70%;
}

.header-text h1{
    font-size:32px;
    color:#ffffff;
    line-height:1.4;
    font-weight:600;
}

.header-text p{
    color:#e5e5e5;
    font-size:18px;
    margin-top:8px;
}

/* ================= NAVBAR ================= */

.navbar{
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    padding:18px;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
    position:relative;
    z-index:1000;
}

.navbar a{
    text-decoration:none;
    color:#222;
    font-size:18px;
    position:relative;
    transition:0.3s;
    font-weight:500;
}

.navbar a:hover,
.navbar .active{
    color:#4f6df5;
}

/* UNDERLINE EFFECT */

.navbar a::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    background:#4f6df5;
    left:0;
    bottom:-6px;
    transition:0.4s;
}

.navbar a:hover::after{
    width:100%;
}

/* ================= DROPDOWN ================= */

.dropdown{
    position:relative;
}

.dropdown-content{
    display:none;
    position:absolute;
    top:35px;
    left:0;
    background:white;
    min-width:180px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.dropdown-content a{
    display:block;
    padding:14px 18px;
    color:#222;
    transition:0.3s;
}

.dropdown-content a:hover{
    background:#0077b6;
    color:#fbfbfc;
}

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

/* ================= SLIDER ================= */

.slider{
    position:relative;
    height:90vh;
}

.slider::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
    z-index:1;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ================= SLIDER TEXT ================= */

.slider-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:white;
    text-align:center;
    z-index:2;
}

.slider-text h1{
    font-size:55px;
    margin-bottom:15px;
}

.slider-text p{
    font-size:22px;
    max-width:800px;
}

/* ================= ARROWS ================= */

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:35px;
    color:white;
    cursor:pointer;
    z-index:2;
    padding:10px;
}

.prev{
    left:20px;
}

.next{
    right:20px;
}

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

.about-section{
    text-align:center;
    padding:80px 20px;
    background:#f1f2f3;
}

.about-section p{
    max-width:850px;
    margin:auto;
    color:#555;
    font-size:18px;
    line-height:1.8;
}

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

.about-cards{
    display:flex;
    justify-content:center;
    gap:30px;
    margin-top:50px;
    flex-wrap:wrap;
}

.about-card{
    background:rgb(143,191,245);
    padding:35px;
    width:280px;
    border-radius:14px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    transition:0.3s;
}

.about-card:hover{
    transform:translateY(-10px);
}

.about-card h3{
    margin-bottom:15px;
    color:#111;
    font-size:24px;
}

.about-card p{
    color:#222;
    font-size:16px;
}

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

.footer{
    background:#002147;
    color:white;
    text-align:center;
    padding:18px;
    font-size:16px;
}

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

@media(max-width:900px){

    .top-header{
        flex-direction:column;
        gap:15px;
    }

    .header-text{
        width:100%;
    }

    .header-text h1{
        font-size:24px;
    }

    .navbar{
        flex-wrap:wrap;
        gap:20px;
    }

    .slider-text h1{
        font-size:38px;
    }

    .slider-text p{
        font-size:18px;
    }
}