:root{
  --main:#0f2a5c;
  --blue:#1d4ed8;
  --orange:#ff8c00;
}

/* RESET */
body{
  margin:0;
  font-family:'Poppins',sans-serif;
}

/* ================= TOPBAR ================= */
.topbar{
  position:fixed;
  top:0;
  width:100%;
  z-index:1050;

  background:linear-gradient(270deg,#0f2a5c,#1d4ed8,#ff8c00);
  background-size:300%;
  animation:moveBg 8s linear infinite;

  color:#fff;
  padding:8px 0;
}

@keyframes moveBg{
  0%{background-position:0%}
  100%{background-position:300%}
}

.topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

/* CONTACT */
.topbar .left{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.topbar .left span{
  background:rgba(255,255,255,0.15);
  padding:6px 12px;
  border-radius:20px;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:6px;
  transition:.3s;
}

.topbar .left span:hover{
  background:#fff;
  color:#0f2a5c;
}

/* BUTTONS */
.topbar .right{
  display:flex;
  gap:10px;
}

.btn-login{
  background:#fff;
  color:#0f2a5c;
  padding:6px 16px;
  border-radius:20px;
  font-size:13px;
  text-decoration:none;
  transition:.3s;
}

.btn-login:hover{
  background:#ffd700;
}

.btn-register{
  background:#ff8c00;
  color:#fff;
  padding:6px 16px;
  border-radius:20px;
  font-size:13px;
  text-decoration:none;
  transition:.3s;
}

.btn-register:hover{
  background:#ff6a00;
  transform:translateY(-2px);
}

/* ================= NAVBAR ================= */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  z-index:1040;

  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);

  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

/* LINKS */
.nav-link{
  position:relative;
  font-weight:500;
  color:#333!important;
  padding:8px 12px;
}

/* UNDERLINE */
.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0%;
  height:2px;
  background:#ff8c00;
  transition:.3s;
}

.nav-link:hover::after{
  width:100%;
}

/* ================= DROPDOWN ================= */
.dropdown-toggle::after{
  display:none;
}

/* DESKTOP */
@media(min-width:992px){

  .dropdown-menu{
    display:block;
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:all .25s ease;

    border:none;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
    margin-top:10px;
  }

  .nav-item.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

}

/* ITEMS */
.dropdown-item{
  padding:10px 18px;
  transition:.2s;
}

.dropdown-item:hover{
  background:#f1f5ff;
  color:#ff8c00;
  transform:translateX(4px);
}

/* ICON */
.menu-icon{
  transition:.3s;
}

.nav-item.dropdown:hover .menu-icon{
  transform:rotate(180deg);
}

/* ================= MOBILE ================= */
@media(max-width:991px){

  .topbar .container{
    flex-direction:column;
    text-align:center;
    gap:6px;
  }

  .topbar .left,
  .topbar .right{
    justify-content:center;
  }

  .navbar-collapse{
    background:#fff;
    padding:15px;
    border-radius:10px;
    margin-top:10px;
  }

  .nav-link{
    border-bottom:1px solid #eee;
    padding:12px 0;
  }

  /* MOBILE DROPDOWN FIX */
  .dropdown-menu{
    display:none;
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
    box-shadow:none;
    padding-left:10px;
  }

  .dropdown-menu.show{
    display:block;
    max-height:500px;
  }

}

/* END HEADER AND TOP HEADER */

/* HERO */
.hero{
background:linear-gradient(135deg,#0f2a5c,#1d4ed8);
color:white;
padding:100px 0;
}

.hero h1{
font-size:clamp(32px,5vw,50px);
font-weight:700;
}

.hero img{
max-width:100%;
animation:float 6s infinite ease-in-out;
}

@keyframes float{
0%{transform:translateY(0)}
50%{transform:translateY(-20px)}
100%{transform:translateY(0)}
}

/* SECTION */
.section-title{
font-weight:700;
margin-bottom:40px;
text-align:center;
}

/* SERVICES */
/* CARD */
.service-card{
    background:#fff;
    padding:30px 25px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    transition:all .4s ease;
    text-align:center;
    height:100%;
    position:relative;
    overflow:hidden;
}

/* TOP BORDER ANIMATION */
.service-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#1d4ed8,#ff8c00,#1d4ed8);
    background-size:200%;
    animation:borderMove 3s linear infinite;
}

@keyframes borderMove{
    0%{background-position:0%}
    100%{background-position:200%}
}

/* HOVER EFFECT */
.service-card:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 20px 50px rgba(0,0,0,0.12);
}

/* ICON CIRCLE */
.service-icon{
    width:75px;
    height:75px;
    margin:0 auto 18px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    color:#fff;
    position:relative;
    background:linear-gradient(135deg,#1d4ed8,#ff8c00);
    transition:0.4s;
}

/* ICON PULSE EFFECT */
.service-icon::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    border-radius:50%;
    background:inherit;
    opacity:0.4;
    animation:pulse 2s infinite;
    z-index:-1;
}

@keyframes pulse{
    0%{transform:scale(1);opacity:0.5;}
    70%{transform:scale(1.5);opacity:0;}
    100%{opacity:0;}
}

/* ICON ROTATE ON HOVER */
.service-card:hover .service-icon i{
    transform:rotate(360deg);
    transition:0.6s;
}

/* ICON GLOW ON HOVER */
.service-card:hover .service-icon{
    box-shadow:0 0 20px rgba(29,78,216,0.5);
}

/* TEXT */
.service-card h5{
    font-weight:600;
    margin-bottom:10px;
}

.service-card p{
    font-size:14px;
    color:#6c757d;
}

/* FADE UP ANIMATION */
.service-card{
    opacity:0;
    transform:translateY(30px);
}

.service-card.show{
    opacity:1;
    transform:translateY(0);
    transition:0.6s ease;
}

/* COUNT DOWN */

.counter-section{
    margin-top:60px;
}

/* CARD */
.counter-box{
    background:#ffffff;
    padding:25px 20px;
    border-radius:12px;
    border:1px solid #eef2f7;
    text-align:center;
    transition:all .3s ease;
}

/* HOVER (clean subtle) */
.counter-box:hover{
    transform:translateY(-5px);
    border-color:#1d4ed8;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

/* NUMBER */
.counter{
    font-size:34px;
    font-weight:700;
    color:#0f2a5c;
    margin-bottom:6px;
}

/* TEXT */
.counter-box p{
    margin:0;
    font-size:14px;
    color:#6b7280;
}

/* SMALL LINE UNDER NUMBER */
.counter-box::after{
    content:"";
    display:block;
    width:30px;
    height:3px;
    background:#1d4ed8;
    margin:10px auto 0;
    border-radius:2px;
    transition:.3s;
}

.counter-box:hover::after{
    width:50px;
}

/* about us */
.about-section{
background:#fff;
}

.about-img img{
transition:0.5s;
}

.about-img img:hover{
transform:scale(1.07) rotate(1deg);
}

.about-img{
animation:slideLeft 1s ease;
}

.about-text{
animation:slideRight 1s ease;
}

@keyframes slideLeft{
from{opacity:0;transform:translateX(-40px)}
to{opacity:1;transform:translateX(0)}
}

@keyframes slideRight{
from{opacity:0;transform:translateX(40px)}
to{opacity:1;transform:translateX(0)}
}

/* products */
.products-section{
background:#f6f8ff;
}

.product-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
transition:0.4s;
height:100%;
}

.product-card:hover{
transform:translateY(-10px);
}

.product-img{
position:relative;
overflow:hidden;
}

.product-img img{
width:100%;
height:220px;
object-fit:cover;
transition:0.5s;
}

.product-card:hover img{
transform:scale(1.1);
}

.product-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(15,42,92,0.7);
display:flex;
justify-content:center;
align-items:center;
opacity:0;
transition:0.4s;
}

.product-card:hover .product-overlay{
opacity:1;
}

.product-content{
padding:20px;
}

/* Contact */
.contact-section{
background:#ffffff;
}

.contact-info{
padding:30px;
background:#f6f8ff;
border-radius:12px;
animation:fadeLeft 1s ease;
}

.contact-form{
padding:30px;
background:white;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
animation:fadeRight 1s ease;
}

.info-box{
display:flex;
gap:15px;
margin-bottom:20px;
align-items:flex-start;
}

.info-box i{
font-size:22px;
color:#1d4ed8;
}

.form-control{
border-radius:8px;
padding:12px;
}

.btn-primary{
background:#1d4ed8;
border:none;
padding:12px;
border-radius:8px;
}

@keyframes fadeLeft{
from{opacity:0;transform:translateX(-40px)}
to{opacity:1;transform:translateX(0)}
}

@keyframes fadeRight{
from{opacity:0;transform:translateX(40px)}
to{opacity:1;transform:translateX(0)}
}

/* footer */
.main-footer{
background:#0f2a5c;
color:#d1d9f0;
padding:60px 0 20px;
}

.footer-title{
color:#ffffff;
font-weight:600;
margin-bottom:20px;
}

.footer-text{
color:#cbd5f1;
line-height:1.6;
}

.footer-links{
list-style:none;
padding:0;
margin:0;
}

.footer-links li{
margin-bottom:12px;
}

.footer-links a{
color:#cbd5f1;
text-decoration:none;
display:flex;
align-items:center;
gap:6px;
transition:0.3s;
}

.arrow{
font-size:18px;
transition:0.3s;
}

.footer-links a:hover{
color:#ffffff;
}

.footer-links a:hover .arrow{
transform:translateX(6px);
color:#60a5fa;
}

.footer-contact{
list-style:none;
padding:0;
}

.footer-contact li{
margin-bottom:12px;
display:flex;
gap:10px;
align-items:center;
color:#cbd5f1;
}

.footer-contact i{
color:#60a5fa;
font-size:18px;
}

.social-icons{
margin-top:20px;
}

.social-icons a{
display:inline-flex;
align-items:center;
justify-content:center;
width:38px;
height:38px;
border-radius:50%;
background:#1d4ed8;
color:white;
margin-right:10px;
transition:0.3s;
font-size:16px;
}

.social-icons a:hover{
background:white;
color:#0f2a5c;
transform:translateY(-5px);
}

.footer-divider{
border-color:rgba(255,255,255,0.15);
margin-top:40px;
}

.footer-bottom{
margin-top:15px;
font-size:14px;
color:#9ca3af;
}

/* hero */
.hero-slider{
background:linear-gradient(135deg,#0f2a5c,#1d4ed8);
color:white;
padding:80px 0;
overflow:hidden;
}

.hero-row{
min-height:420px;
}

.hero-text h1{
font-size:clamp(32px,5vw,52px);
font-weight:700;
margin-bottom:20px;
}

.hero-text p{
font-size:18px;
margin-bottom:25px;
animation:fadeUp 1.2s ease;
}

.hero-btn{
padding:12px 28px;
border-radius:30px;
font-weight:600;
animation:fadeUp 1.4s ease;
}

.hero-img{
max-width:420px;
animation:float 6s infinite ease-in-out;
}

/* image floating */
@keyframes float{
0%{transform:translateY(0)}
50%{transform:translateY(-18px)}
100%{transform:translateY(0)}
}

/* text animation */
@keyframes fadeUp{
from{
opacity:0;
transform:translateY(30px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* responsive */
@media(max-width:991px){
.hero-text{
text-align:center;
margin-bottom:30px;
}
.hero-img{
max-width:300px;
}
}

/* title typing */

.hero-animated-title{

font-size:clamp(32px,5vw,52px);
font-weight:800;

background:linear-gradient(45deg,#ffffff,#ff8c00,#ffd700,#ffffff);
background-size:250%;

-webkit-background-clip:text;
-webkit-text-fill-color:transparent;

animation:
titleSlide 1s ease,
gradientMove 6s linear infinite,
titleGlow 2.5s ease-in-out infinite alternate;

}

/* Slide animation */

@keyframes titleSlide{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* Gradient moving */

@keyframes gradientMove{

0%{background-position:0%;}
100%{background-position:250%;}

}

/* Glow effect */

@keyframes titleGlow{

from{
filter:drop-shadow(0 0 6px rgba(255,200,0,0.4));
}

to{
filter:drop-shadow(0 0 18px rgba(255,140,0,0.8));
}

}

/* body fixed */

html, body{
  overflow-x:hidden;
}

.topbar, .navbar{
  left:0;
  right:0;
}

.row{
  margin-left:0;
  margin-right:0;
}


/* COUNT DOWN */
