/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* ========== NAVBAR ========== */
nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  animation: glow 2s infinite alternate;
  cursor: pointer;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #1e90ff, 0 0 30px #1e90ff;
  }
  to {
    text-shadow: 0 0 20px #ff6ec4, 0 0 30px #ff6ec4, 0 0 40px #ff6ec4;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  gap: 50px;
}

.nav-links li {
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideIn 0.6s forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.2s; }
.nav-links li:nth-child(2) { animation-delay: 0.4s; }
.nav-links li:nth-child(3) { animation-delay: 0.6s; }
.nav-links li:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links a {
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #ffdd57;
  text-shadow: 0 0 8px #ffdd57, 0 0 15px #ffdd57;
}

.nav-links li::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: #ffdd57;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-links li:hover::after {
  width: 100%;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 15px 30px;
  }

  .nav-links {
    margin-top: 10px;
    flex-direction: column;
    gap: 20px;
  }
}

/* ========== HOME SECTION ========== */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10% 100px; /* padding-top extra for navbar */
  min-height: 100vh;
  background: linear-gradient(135deg, #eef2f3, #d9e4f5);
}

.home-text {
  flex: 1;
}

.home-text h3 {
  font-family: 'Pacifico', cursive;
  font-size: 40px;
  animation: slideInLeft 1s ease-out;
}

.home-text h1 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 30px;
  color: #1e3c72;
  margin-bottom: 20px;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-text p {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Right image */
.home-img {
  flex: 1;
  text-align: right;
}

.home-img img {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  animation: float 3s infinite ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* Responsive Home */
@media (max-width: 900px) {
  .home {
    flex-direction: column;
    text-align: center;
  }
  .home-text { margin-bottom: 30px; }
  .home-img { text-align: center; }
}

/* ========== BUTTON STYLE ========== */
.btn-quote {
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 600;
  color: #1e3c72;
  background: transparent;
  border: 2px solid #1e3c72;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-quote a{
  text-decoration: none;
}

.btn-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 77, 77, 0.3), transparent);
  transition: 0.5s;
}

.btn-quote:hover::before {
  left: 100%;
}

.btn-quote:hover {
  color: #fff;
  background: #ffdd57;
  box-shadow: 0 8px 20px rgba(255, 221, 87, 0.4);
  transform: scale(1.05);
}

/* ========== ABOUT SECTION ========== */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  min-height: 100vh;
  gap: 60px;
}

.about-img {
  flex: 1;
  text-align: left;
  position: relative;
}

.about-img img {
  max-width: 500px;
  width: 100%;
  height: 450px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateX(-50px);
  opacity: 0;;
  animation: slideInRight 1s forwards;
  
}

.about-img img:hover {
  transform: scale(1.05) rotate(2deg);
  transition: 0.5s ease-in-out;
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
  color: #1e3c72;
  margin-bottom: 20px;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ff4d4d;
  border-radius: 5px;
}

.about-text p {
  font-size: 17px;
  margin-bottom: 30px;
  color: #444;
}

/* Progress Bars */
.progress {
  margin-bottom: 20px;
}

.progress h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #222;
}

.progress-bar {
  background: #ddd;
  border-radius: 50px;
  overflow: hidden;
  height: 14px;
  position: relative;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  width: 0;
  animation: fillBar 2s forwards;
}

.progress-bar.html span { width: 90%; }
.progress-bar.css span { width: 75%; }
.progress-bar.js span { width: 60%; }

@keyframes fillBar {
  from { width: 0; }
}

/* Responsive About */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
    text-align: center;
  }
  .about-img { text-align: center; }
  .about-text { margin-top: 30px; }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #333;
}

/* Service Section */
.services {
  padding: 100px 10%;
  text-align: center;
  background: #fff;
}

.service-header h2 {
  font-size: 36px;
  color: #1e3c72;
  margin-bottom: 10px;
  position: relative;
}

.service-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff4d4d;
  border-radius: 5px;
}

.service-header p {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

/* Service Container */
.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .service-container {
    grid-template-columns: repeat(3, 1fr); /* Desktop → 3 per row */
  }
}


/* Each Service Box */
.service-box {
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-box img {
  width: 80px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.service-box h3 {
  font-size: 18px;
  color: #222;
}

/* Hover Effects */
.service-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.service-box:hover img {
  transform: rotate(10deg) scale(1.1);
}

/* Glowing animation on hover */
.service-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(#ff6ec4, #7873f5, #ff6ec4);
  animation: spin 6s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

.service-box:hover::before {
  opacity: 1;
}

@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

.service-box::after
{
  content: "";
  position:absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 20px;
  filter: blur(30px);
  z-index: -1;
  opacity: 0;
  transition: opacity0.5;

}
/* Quote Section */
.quote-section {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3c72, #8e44ad);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* Animated Background */
.quote-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 10%, transparent 10.01%);
  background-size: 60px 60px;
  animation: moveBg 10s linear infinite;
  z-index: 0;
}

@keyframes moveBg {
  from { transform: translate(0,0); }
  to { transform: translate(60px,60px); }
}

.quote-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.sub-heading {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff9;
}

.main-heading {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  margin-bottom: 30px;
  
}

/* Form Styles */
.quote-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.quote-form input {
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  outline: none;
  font-size: 16px;
  width: 250px;
  transition: 0.3s;
}

.quote-form input:focus {
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

.quote-btn {
  padding: 15px 30px;
  background: #1e3c72;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quote-btn:hover {
  background: #ff856c;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.quote-btn-links{
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideIn 0.6s forwards;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(135deg, #f0f4ff, #d9e4ff);
  padding: 80px 20px;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.contact-header p {
  color: #555;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

/* ===== CONTACT CARDS ===== */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.card {
  background: linear-gradient(135deg, #6c63ff, #a29bfe);
  color: #fff;
  width: 250px;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
  transition: all 0.4s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.5);
}

.card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 20px;
  border-radius: 15px;
  border: 2px solid #ddd;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1e3c72;
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.3);
}

.contact-form button {
  background: #1e3c72;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #1e3c72;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
}
/* ===== FOOTER SECTION ===== */
#footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

#footer .footer h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

#footer .footer h1 span {
  color: #6c63ff;
}

#footer h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ccc;
  margin-bottom: 30px;
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-icons a {
  display: inline-block;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 10px #6c63ff);
}

/* ===== COPYRIGHT ===== */
#footer p {
  font-size: 0.9rem;
  color: #aaa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  #footer .footer h1 {
    font-size: 2rem;
  }
  .social-icons a {
    width: 40px;
    height: 40px;
  }
}

/* ...existing code... */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
  margin-left: auto;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hamburger visible on small screens */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background :#2a5298;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 150px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 100;
    padding-left: 30px;
  }

  .nav-links.active {
    display: flex;
  }
  nav {
    position: relative;
  }
}
/* ...existing code... */


/* ...existing code... */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-text,
.about-text {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
/* ...existing code... */
