:root{
--navy:#2E2A63;
--red:#E21B23;
--light:#f4f6fb;
--green:#25D366;
}

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

body{
background:#ffffff;
color:#333;
overflow-x:hidden;
}

/* NAVBAR */
:root {
  --navy: #0b1e4f;
  --red: #dc3545;
}

/* Navbar main */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 3%;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
  z-index: 1000;
}

.logo img {
  height: 60px;
  transform: translateY(0) scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}


.nav-links a {
  margin: 0 18px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--red);
}

.apply-btn {
  border: 2px solid ;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  background: linear-gradient(45deg, var(--navy), var(--red));
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}


.apply-btn:hover {
 transform: translateY(-5px) scale(1.05);
  background: linear-gradient(45deg, var(--red), var(--navy)); /* reverse gradient */
  box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
  color: white;
}
/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}


/* CONSTRUCTION BANNER */
.construction{
height:75vh;
background:
linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
url('../images/const.jpeg');
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
margin-top:90px;
padding:20px;
}

.construction h1{
font-size:52px;
font-weight:800;
letter-spacing:2px;
}

.construction p{
margin-top:15px;
font-size:20px;
opacity:0.9;
}

/* SECTION */
section{
padding:100px 8%;
text-align:center;
}

/* SERVICES */
.services{
background:var(--light);
}

.services h2{
font-size:38px;
color:var(--navy);
margin-bottom:60px;
}

.service-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:35px;
}

.card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    
    opacity:0;
    transform:translateY(40px);
    
    transition: 
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.6s ease;
    will-change: transform;
}


.card img{
width:100%;
height:230px;
object-fit:cover;
transition: transform 0.6s ease;
}
.card:hover img{
    transform: scale(1.08);
}
.card-content{
padding:25px;
}

.card h3{
color:var(--navy);
margin-bottom:12px;
}

.card:hover{
    transform:translateY(-10px) scale(1.02);
    box-shadow:0 20px 50px rgba(0,0,0,0.18);
}

/* SUCCESS */
.success h2{
color:var(--navy);
margin-bottom:50px;
}

.success-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.success-box{
background:white;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
opacity:0;
transform:translateY(40px);
transition:0.6s;
}
.success-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}



.success-box img{
width:100%;
height:230px;
object-fit:cover;
transition: transform 0.6s ease;
}
.success-box:hover img {
    transform: scale(1.05);
}

.success-box p{
padding:20px;
font-weight:600;
}

/* TIMER */
.timer{
background:var(--navy);
color:white;
}

.time-boxes{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
margin-top:30px;
}

.time{
background:white;
color:var(--navy);
padding:25px;
border-radius:15px;
min-width:120px;
font-weight:600;
}

.time span{
display:block;
font-size:28px;
color:var(--red);
}

/* CONTACT */
.contact a{
  background: linear-gradient(45deg, var(--navy), var(--red));
  color: whitesmoke;
  padding: 15px 40px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  margin-top: 25px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 🔥 Premium Hover */
.contact a:hover{
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(45deg, var(--red), var(--navy)); /* reverse gradient */
  box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
  color: white;
}

/* FOOTER */
footer {
  background: #0b1e4f; /* navy blue background */
  color: #fff;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

footer .social{
margin:20px 0;
}

footer .social img{
width:40px;
margin:0 10px;
transition:0.3s;
}

footer .social img:hover{
transform:scale(1.2);
}

.footer-logo,
.footer-address,
.footer-social {
  line-height: 1.6;
}

.footer-social .social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 20px;
  transition: transform 0.3s, color 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ffdd57; /* golden accent on hover */
  transform: scale(1.2);
}

.copy {
  text-align: center;
  border-top: 1px solid #223366; /* darker navy border */
  padding-top: 15px;
  font-size: 14px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social .social-icons a {
    margin: 0 10px;
  }
}
/* Responsive */

/* Responsive for mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: 0.3s;
    z-index: 999;
  }

  .nav-links a {
    margin: 0;
    font-size: 18px;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social .social-icons a {
    margin: 0 10px;
  }
}


/* WHATSAPP FLOAT */
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--green);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp img {
  width: 35px;
  transition: transform 0.3s ease;
}

/* ✅ Correct hover (no space) */
.whatsapp:hover {
  transform: translateY(-5px) scale(1.1);
  background: #1ebe5d; /* slightly darker green */
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5); /* green glow */
}

/* Optional: small icon bounce */
.whatsapp:hover img {
  transform: rotate(10deg);
}
/* POPUP */.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* prevents edge touching on small screens */
  z-index: 2000;
}

.popup-content {
  background: white;
  width: 100%;
  max-width: 420px;
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  animation: popupFade 0.3s ease;
}

/* Mobile Optimization */
@media (max-width: 480px) {
  .popup-content {
    width: 100%;
    max-width: 100%;
    padding: 25px 20px;
    border-radius: 16px;
  }

  .popup-content h3 {
    font-size: 18px;
  }

  .popup-content p {
    font-size: 14px;
  }

  .green-btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }
}

/* Smooth popup animation */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 🔥 New Attractive Close Button */
.close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--red);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.close:hover {
  background: #b02a37; /* darker red */
  transform: scale(1.1) rotate(90deg);
}

@media (max-width: 838px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: flex;              /* IMPORTANT */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: 0.3s;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }
}

.green-btn {
  background-color:  #218838; /* nice green */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.green-btn:hover {
  background-color: var(--green); /* darker green on hover */
}

.construction{
    display: flex;
    flex-direction: column;
    justify-content: center;
  align-items: center;
    
}


nav a{
    text-decoration:none;
    color:var(--navy);
    margin-left:25px;
    font-weight:600;
    transition:0.3s;
}

nav a:hover{
    color:var(--red);
}

.red-btn {
  background-color: #dc3545; /* bright red */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.red-btn:hover {
  background-color: #c82333; /* darker red on hover */
}
