body {
  font-family: "Segoe UI", sans-serif;
}

/* ===== LOGO ===== */
.navbar-brand .logo-Eurika {
  width: 170px;
  height: auto;
  margin-left: -18px;
}



#navMenu {
  margin-right: -20px;
}


/* ===== NAVBAR ===== */
.main-nav {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid orangered;
}

/* ===== NAV LINKS ===== */
.nav-link {
  position: relative;
  transition: 0.3s;
  font-weight: 600;
  font-size: 17px;
  color: orangered;
  display: inline-block;
}

.nav-item:hover {
  cursor: pointer;
}

/* TOP LINE ON HOVER */
.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: #0272b3;
  transition: 0.3s;
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:hover {
  color: #0272b3;
}

/* ===== DROPDOWN MENU ===== */
.nav-item.dropdown:hover>.dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  display: none;
  margin-top: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 180px;
}

.dropdown-menu li a {
  color: orangered;
  font-weight: 600;
  font-size: 17px;
  padding: 10px 20px;
  position: relative;
  display: inline-block;
  transition: 0.3s;
}

/* TOP LINE ON DROPDOWN ITEMS */
.dropdown-menu li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #0272b3;
  transition: 0.3s;
}

.dropdown-menu li a:hover::before {
  width: 100%;
}

.dropdown-menu li a:hover {
  color: #0272b3;
  background: rgba(255, 255, 255, 0.2);
}

/* REMOVE DROPDOWN ICON */
.navbar-nav .dropdown-toggle::after {
  display: none;
}

/* SHOW DROPDOWN ON MOBILE WHEN .show CLASS ADDED */
.nav-item.dropdown.show>.dropdown-menu {
  display: block !important;
}

/* REMOVE BOTTOM LINE ON DROPDOWN ITEMS */
.dropdown-menu li a {
  text-decoration: none;
  /* remove underline */
  border-bottom: none;
  /* remove any bottom border */
}

.dropdown-menu li a:hover::before {
  width: 100%;
  /* only top line will show */
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #0272b3;
}

/* SHOW DROPDOWN ON HOVER */
.nav-item.dropdown:hover>.dropdown-menu {
  display: block;
}

.nav-item.dropdown.show>.dropdown-menu {
  display: block !important;
  /* mobile pe JS toggle ke liye */
}


.btn-danger {
  background: orangered;
  border: none;
  border-radius: 40px;
  align-items: center;
  font-weight: 500;
}



/* ===== RESPONSIVE ===== */
@media(max-width:992px) {
  .navbar-nav {
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
  }

  .nav-item.dropdown:hover>.dropdown-menu {
    display: none;
    /* disable hover on mobile */
  }

  .dropdown-menu {
    position: static !important;
    float: none;
    box-shadow: none;
  }
}

@media(max-width:768px) {
  .navbar-brand .logo-Eurika {
    margin-left: 0;
    width: 140px;
  }

  #navMenu {
    margin-right: 0;
  }
}

@media(max-width:992px) {
  .nav-item.dropdown:hover>.dropdown-menu {
    display: none;
    /* disable hover on mobile */
  }

  .dropdown-menu {
    position: static !important;
    float: none;
    box-shadow: none;
  }
}

.nav-item.dropdown.show>.dropdown-menu {
  display: block !important;
}


/* ===== SUB DROPDOWN ===== */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0;
  display: none;
}

/* Hover show */
.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

/* Arrow spacing fix */
.dropdown-submenu>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile fix */
@media (max-width: 992px) {
  .dropdown-submenu>.dropdown-menu {
    position: static;
    display: none;
  }

  .dropdown-submenu.show>.dropdown-menu {
    display: block;
  }
}





/* HERO */
.hero {
  position: relative;
  height: 80vh;
  background: #138D9A;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CANVAS */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;

  width: 90%;          /* ✅ same width */
  max-width: 1200px;   /* ✅ portfolio style */
  margin: auto;
}

/* TEXT */
.hero h1 {
  font-size: clamp(2rem, 6vw, 80px);
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .hero-content {
    padding: 10px;
  }

  .hero h1 {
    font-size: 36px;
  }
}






/* CONTACT FORM CSS */
/* BACKGROUND */
.sk{
  min-height:100vh;
  /* background:linear-gradient(135deg,#4d6ac7,#be3d3d); */
  display:flex;
  align-items:center;
  justify-content:center;
}

/* MAIN WRAPPER */
.contact-wrapper{
  width:90%;
  max-width:1100px;
  background:#fff;
  border-radius:20px;
  display:flex;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,0.15);
  animation:scaleIn 0.8s ease;
}

@keyframes scaleIn{
  from{opacity:0;transform:scale(0.95);}
  to{opacity:1;transform:scale(1);}
}

/* LEFT SIDE */
.contact-left{
  flex:1;
  background-color: #138D9A;
  color:#fff;
  padding:60px 50px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.contact-left h1{
  font-size:2.8rem;
  margin-bottom:15px;
}

.contact-left p{
  font-size:1.05rem;
  opacity:0.9;
  margin-bottom:40px;
}

.info-box{
  display:flex;
  align-items:center;
  margin-bottom:25px;
}

.info-box i{
  font-size:1.6rem;
  margin-right:15px;
}

.socials a{
  color:#fff;
  font-size:1.4rem;
  margin-right:15px;
  transition:0.3s;
}
.socials a:hover{opacity:0.7}

/* RIGHT SIDE */
.contact-right{
  flex:1;
  padding:60px 50px;
}

.contact-right h2{
  font-size:2.2rem;
  margin-bottom:10px;
  color:#111827;
}

.contact-right span{
  display:block;
  color:#6b7280;
  margin-bottom:35px;
}

/* FORM */
.input-group{
  position:relative;
  margin-bottom:25px;
}

.input-group i{
  position:absolute;
  top:50%;
  left:15px;
  transform:translateY(-50%);
  color: #138D9A;
}

input, textarea{
  width:100%;
  padding:15px 15px 15px 45px;
  border:1px solid #d1d5db;
  border-radius:10px;
  font-size:1rem;
  background:#f9fafb;
  transition:0.3s;
}

textarea{resize:none}

label{
  position:absolute;
  top:50%;
  left:45px;
  transform:translateY(-50%);
  color:#9ca3af;
  pointer-events:none;
  transition:0.3s;
}

input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label{
  top:-9px;
  font-size:0.75rem;
  color: #138D9A;
  background:#fff;
  padding:0 6px;
}

input:focus, textarea:focus{
  border-color: #138D9A;
  box-shadow:0 0 0 4px rgba(99,102,241,0.15);
  outline:none;
}

.eee{
  width:100%;
  padding:15px;
  border:none;
  border-radius:12px;
  background: #138D9A;
  color:#fff;
  font-size:1rem;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

.eee:hover{
  background: #138D9A;
  transform:translateY(-2px);
}

/* RESPONSIVE */
@media(max-width:900px){
  .contact-wrapper{
    flex-direction:column;
  }
}





/* ////////////////////////////////////////////////////////////FOOTER  */





.footer{
  /* background:#f5f5f5; */
  padding:60px 80px;
  position:relative;
  overflow:hidden;
}


.footer{
  max-width:1450px;   /* 👈 width kam */
  margin:40px auto;   /* 👈 center + top/bottom space */
  border-radius:10px; /* 👈 optional (nice look) */
}



/* watermark */
.footer::after{
  content:"";
  position:absolute;
  right: 60px;
  top:  50px;
  width:500px;
  height:500px;
  background:url('img/favicon.jpg.png') no-repeat center;
  background-size:contain;
  opacity:0.05;

  pointer-events: none; /* ✅ IMPORTANT FIX */
}

/* LOGO */
.logo{
  margin-bottom:40px;
  margin-left: -14px;
}
.logo img{
  width:220px;
}

/* GRID */
.footer-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:40px;
}

/* LINKS */
.footer a{
  text-decoration:none;
  color:#333;
  transition:0.3s;
}

.footer a:hover{
  color: orangered;
}

/* HEADINGS */
.footer h3{
  font-size:24px;
  margin-bottom:15px;
}

.footer h3::after{
  content:"";
  display:block;
  width:30px;
  height:3px;
  background:orangered;
  margin-top:8px;
}

/* LIST */
.footer ul{
  list-style:none;
  padding:0;
}

.footer ul li{
  margin:10px 0;
  font-size:14px;
}

/* NEWSLETTER */
.newsletter p{
  margin-bottom:15px;
}

.input-box{
  display:flex;
  align-items:center;
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  border:1px solid #ddd;
}

.input-box input{
  border:none;
  padding:12px;
  flex:1;
  outline:none;
}

.input-box button{
  background: orangered;
  border:none;
  color:#fff;
  padding:12px 16px;
  cursor:pointer;
  border-radius:0 30px 30px 0;
}



/* SOCIAL */
.social-icons i{
  margin-right:15px;
  font-size: 30px;
  cursor:pointer;
  transition:0.3s;
}

.social-icons i:hover{
  color: orangered;
}

/* TABLET */
@media(max-width:1024px){
  .footer-grid{
    grid-template-columns: repeat(2, 1fr);
    gap:40px;
  }
}

/* MOBILE */
@media(max-width:600px){
  .footer{
    padding:40px 20px;
  }
  .footer-grid{
    grid-template-columns:1fr;
  }
}