html{
    font-family: 'Poppins', 'sans-serif';
    scroll-behavior: smooth;
}
body{
    margin: 0;
    padding-top: 0px;
    background: #f4f7fb;
    color: #0B1F5B;
    overflow-x: hidden;
}
#navbar{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    position: fixed;
    backdrop-filter: blur(18px);
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(9, 24, 68, .76), rgba(9, 24, 68, .14));
    height: 96px;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    padding: 0 40px;
    box-shadow: none;
    transition: height .35s ease, background .35s ease, box-shadow .35s ease;
}
#navbar.scrolled{
    height: 75px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 18px rgba(0,0,0,.15);
}
.nav-left{
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    list-style-type: none;
}
.nav-right{
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    list-style: none;
}

#navbar a{
    color: white;
    text-decoration: none;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
    transition: color .3s ease, transform .3s ease, text-shadow .3s ease;

}
#navbar.scrolled a{
    color: #0B1F5B;
    text-shadow: none;
}
#navbar a:hover{
    color: #FFD700;
    transform: translateY(-2px);
}
#navbar.scrolled a:hover{
    color: #D62828;
}
#navbar a::after{
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: #FFD700;
    transition: .3s;
}
#navbar a:hover::after{
    width: 100%;
}
.logo img{
    width: 108px;
    display: block;
    position: relative;
    left: 20px;
    transition: .4s;

}
#navbar.scrolled .logo img{
    width: 92px;
}

.menu-btn{
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: color .3s ease;
}
#navbar.scrolled .menu-btn{
    color: #0B1F5B;
}

.mobile-menu{
    position: fixed;
    top: 96px;
    left: -100%;
    width: 30%;
    height: 100vh;
    overflow-y:scroll;
    background-color: white;
    display: flex;
    flex-direction: column;
    transition: .4s;
    transform: translateX(-100);
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    z-index: 998;
   
}
#navbar.scrolled + .mobile-menu{
    top: 75px;
}
.mobile-menu a{
    padding: 18px;
    text-decoration: none;
    color: #0B1F5B;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    
}
.mobile-menu a:hover{
    color: #D62828;
    transition: .3s;
    
}

.menu-btn.active i::before{
    content:"\f00d";
}
.hero{
   position: relative;
   width: 100%;
   height: 100vh;
   min-height: 620px;
   overflow: hidden;
   background: #0B1F5B;
}
.slides{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.6s ease, transform 6s ease;
    pointer-events: none;
}
.slides img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slides.active{
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.slides.active img{
    animation: cinematicZoom 7s ease forwards;
}
.overlay{
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(8, 24, 65, .62), rgba(12, 35, 83, .28) 48%, rgba(8, 24, 65, .46)),
        linear-gradient(0deg, rgba(8, 24, 65, .66), rgba(8, 24, 65, .03) 48%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 2;
}
.hero-content{
    max-width: 850px;
    padding: 116px 20px 20px;
}
.hero-content h1{
    font-family: 'Merriweather', Georgia, serif;
    font-size: 60px;
    font-weight: 900;
    line-height: 1.16;
    margin: 0 0 28px;
    text-shadow: 0 8px 28px rgba(0,0,0,.38);
}
.hero-content p{
    font-size: 22px;
    margin: 0 0 34px;
}
.hero-content h1,
.hero-content p,
.hero-buttons{
    opacity: 0;
    animation: slideUpFade .85s ease both;
}
.hero-content h1{
    animation-delay: .18s;
}
.hero-content p{
    animation-delay: .36s;
}
.hero-buttons{
    animation-delay: .56s;
}
.hero-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-buttons a{
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 18px;
    border: 2px solid transparent;
    border-radius: 50px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    box-shadow: 0 18px 34px rgba(0,0,0,.22);
    transition: transform .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.hero-buttons a::before{
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,.36), transparent);
    transform: skewX(-18deg);
    transition: left .55s ease;
}
.hero-buttons a:hover::before{
    left: 125%;
}
.btn-one{
    --btn-bg: #FFD700;
    --btn-fg: #0B1F5B;
}
.btn-two{
    --btn-bg: rgba(255,255,255,.08);
    --btn-fg: white;
    border-color: white;
}
.btn-one:hover{
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(0,0,0,.26);
}
.btn-two:hover{
    background: #ffffff;
    color: #0B1F5B;
    border-color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(0,0,0,.26);
}
.prev,
.next{
    position: absolute;
    top: 50%;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    transition: transform .3s ease, background .3s ease;
    user-select: none;
    z-index: 4;
}
.prev:hover,
.next:hover{
    background: rgba(255,255,255,.28);
    transform: translateY(-50%) scale(1.08);
}
.prev{
    left: 20px;
}
.next{
    right: 20px;
}
.dots{
    position: absolute;
    bottom: 78px;
    width: 100%;
    text-align: center;
    z-index: 4;
}
.dot{
    height: 10px;
    width: 34px;
    display: inline-block;
    background: rgba(255,255,255,.58);
    border-radius: 999px;
    margin: 5px;
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}
.dot.active{
    background: #FFD700;
    width: 54px;
}
.scroll-indicator{
    position: absolute;
    left: 50%;
    bottom: 24px;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 999px;
    transform: translateX(-50%);
    z-index: 5;
}
.scroll-indicator span{
    position: absolute;
    top: 9px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #FFD700;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollPulse 1.8s ease-in-out infinite;
}
.hero-wave{
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
    z-index: 3;
    pointer-events: none;
}
.hero-wave svg{
    display: block;
    width: 100%;
    height: 100%;
}
.hero-wave path{
    fill: #f4f7fb;
}
.welcome-section{
    padding: 70px 20px 90px;
    background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}
.welcome-inner{
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: center;
}
.welcome-inner h2{
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.2;
}
.welcome-inner p{
    margin: 0 auto;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.7;
    color: #546078;
}
.site-footer{
    background: #071946;
    color: #f5f8ff;
}
.footer-main{
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 42px;
    display: grid;
    grid-template-columns: 1.4fr .9fr 1fr;
    gap: 42px;
}
.footer-brand img{
    width: 82px;
    height: auto;
    margin-bottom: 16px;
}
.footer-brand h3,
.footer-links h4,
.footer-contact h4{
    margin: 0 0 16px;
}
.footer-brand h3{
    font-family: 'Merriweather', Georgia, serif;
    font-size: 24px;
    line-height: 1.25;
}
.footer-brand p,
.footer-contact p{
    margin: 0 0 12px;
    color: #cbd5ea;
    line-height: 1.6;
}
.footer-socials{
    display: flex;
    gap: 12px;
    margin-top: 22px;
}
.footer-socials a{
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #071946;
    background: #FFD700;
    text-decoration: none;
    transition: transform .3s ease, background .3s ease;
}
.footer-socials a:hover{
    background: white;
    transform: translateY(-4px);
}
.footer-links{
    display: flex;
    flex-direction: column;
}
.footer-links a{
    width: fit-content;
    margin-bottom: 10px;
    color: #cbd5ea;
    text-decoration: none;
    transition: color .3s ease, transform .3s ease;
}
.footer-links a:hover{
    color: #FFD700;
    transform: translateX(4px);
}
.footer-contact i{
    width: 22px;
    color: #FFD700;
}
.footer-bottom{
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 18px 20px;
}
.footer-bottom p{
    margin: 0;
    color: #bdc8df;
    font-size: 14px;
}
.footer-bottom .developer-credit{ margin-top: 7px; color: #eef3ff; font-size: 13px; }
.developer-credit strong{ color: #ffd75a; }
.developer-credit a{ color: #fff; font-weight: 700; text-decoration: none; }
.developer-credit a:hover{ color: #ffd75a; text-decoration: underline; }
@keyframes cinematicZoom{
    from{
        transform: scale(1);
    }
    to{
        transform: scale(1.1);
    }
}
@keyframes slideUpFade{
    from{
        opacity: 0;
        transform: translateY(34px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scrollPulse{
    0%{
        opacity: 0;
        transform: translate(-50%, 0);
    }
    35%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: translate(-50%, 22px);
    }
}

@media(max-width:1200px){
    #navbar{
        display: flex;
        justify-content: space-between;
        padding: 0 25px;
    }
    .nav-left,
    .nav-right{
        display: none;
    }
    .mobile-menu.show{
        left: 0;
        align-items: left;
        transform: translateX(0);
    }   
    .hero{
        height: 680px;
        min-height: 620px;
    }
    .hero-content h1{
        font-size: 40px;
    }
    .hero-content p{
        font-size: 18px;
    }
    .hero-buttons a{
        padding: 12px 25px;
        font-size: 16px;
    }
    .prev,
    .next{
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    .dots{
        bottom: 72px;
    }
    .overlay.show{
        opacity:1;
        visibility:visible;
    }
    .menu-btn{
        display: block;
    }
    .logo{
        padding-right: 80px;
    }
    .footer-main{
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand{
        grid-column: 1 / -1;
    }
}

@media(max-width:650px){
    .mobile-menu{
        width: 78%;
    }
    .hero{
        height: 660px;
        min-height: 660px;
    }
    .hero-content{
        padding: 106px 54px 22px;
    }
    .hero-content h1{
        font-size: 32px;
    }
    .hero-buttons{
        gap: 12px;
    }
    .hero-buttons a{
        width: 100%;
        max-width: 240px;
        padding: 12px 18px;
    }
    .prev{
        left: 10px;
    }
    .next{
        right: 10px;
    }
    .welcome-inner h2{
        font-size: 28px;
    }
    .footer-main{
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 46px;
    }
    .footer-socials a{
        width: 40px;
        height: 40px;
    }
}

@media(max-width:480px){
    #navbar{
        height: 82px;
        padding: 0 16px;
    }
    #navbar.scrolled{
        height: 70px;
    }
    .logo{
        padding-right: 48px;
    }
    .logo img,
    #navbar.scrolled .logo img{
        width: 78px;
        left: 0;
    }
    .menu-btn{
        font-size: 26px;
    }
    .mobile-menu{
        top: 82px;
        width: 86%;
    }
    #navbar.scrolled + .mobile-menu{
        top: 70px;
    }
    .hero{
        height: 620px;
        min-height: 620px;
    }
    .hero-content{
        padding: 96px 42px 22px;
    }
    .hero-content h1{
        font-size: 27px;
        line-height: 1.22;
    }
    .hero-content p{
        font-size: 16px;
        margin-bottom: 22px;
    }
    .prev,
    .next{
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    .dots{
        bottom: 66px;
    }
    .dot{
        width: 24px;
    }
    .dot.active{
        width: 40px;
    }
    .welcome-section{
        padding: 48px 16px 64px;
    }
}

@media(prefers-reduced-motion: reduce){
    *,
    *::before,
    *::after{
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
