/* GENERAL */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
  background: linear-gradient(270deg, #e3baff, #b9d3ff, #f3caef);
  background-size: 600% 600%;
  animation: gradientBG 20s ease infinite;
}

/* Gradient keyframes */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  padding: 12px 50px; 
  background: #001f3f;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 90px; 
}

header nav ul {
  list-style:none;
  display:flex;
  gap:20px;
  margin:0;
  padding:0;
}

header nav ul li a {
  color: white;
  font-size: 1.2rem; 
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
header nav ul li a:hover {
  color:#7bfffd;
}
.btn {
  background: #007BFF;
  color: white;
  padding: 12px 24px; 
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1rem; 
  transition: 0.3s;
}

.btn:hover {
  background: #0056b3;
  transform: scale(1.05);
}
/* Header logo */
.logo img {
  height: 90px; 
  width: auto;
  cursor: pointer;
  display: block;
  margin-top: -10px;  
  margin-bottom: -10px; 
  transition: none;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

/* Layered Hero Images */
.hero-images {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Layered Hero Images with 3D Zoom + Gentle Wind Flow + Horizontal Sway */
.hero-images .layer {
  position: absolute;
  width: 120%;
  top: 0;
  left: -10%;
  object-fit: cover;
  border-radius: 5px;
  z-index: 0;
  transform: perspective(1000px) translateZ(0);
  animation: breezeSway 20s ease-in-out infinite alternate; /* slower zoom + sway */
}

/* Different timings for depth to create natural parallax */
.hero-images .layer1 { animation-duration: 18s; z-index: 1; }
.hero-images .layer2 { animation-duration: 20s; z-index: 2; }
.hero-images .layer3 { animation-duration: 22s; z-index: 3; }

@keyframes breezeSway {
  0% {
    transform: perspective(1000px) translateZ(0) scale(1) translate(0,0) rotate3d(0,0,0,0deg);
  }
  20% {
    transform: perspective(1000px) translateZ(20px) scale(1.04) translate(10px,-5px) rotate3d(0,1,0,2deg);
  }
  40% {
    transform: perspective(1000px) translateZ(40px) scale(1.08) translate(-15px,10px) rotate3d(0,1,0,4deg);
  }
  60% {
    transform: perspective(1000px) translateZ(30px) scale(1.06) translate(15px,5px) rotate3d(1,0,0,3deg);
  }
  80% {
    transform: perspective(1000px) translateZ(15px) scale(1.03) translate(-10px,3px) rotate3d(0,1,0,1deg);
  }
  100% {
    transform: perspective(1000px) translateZ(0) scale(1) translate(0,0) rotate3d(0,0,0,0deg);
  }
}

/* Animated Gradient Overlay */
.hero-gradient {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: linear-gradient(120deg,#6a11cb,#0d3b8a,#6a11cb,#2575fc,#6a11cb);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  opacity: 0.5;
  z-index:2;
  border-radius:5px;
}

@keyframes gradientMove {
  0% { background-position:0% 50%; }
  50% { background-position:100% 50%; }
  100% { background-position:0% 50%; }
}

/* Floating Logos */
.floating-logos {
  position: absolute; top:0; left:0;
  width:100%; height:100%;
  pointer-events:none;
  z-index:4;
}
.floating-logos img {
  position:absolute;
  width:60px;
  opacity:0.85;
  animation: floatBounce linear infinite;
  transition: transform 0.3s;
}
@keyframes floatBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
  100% { transform: translateY(0); }
}

/* Floating logos positions */
.floating-logos img:nth-child(1){ top:10%; left:10%; animation-duration:6s; }
.floating-logos img:nth-child(2){ top:20%; left:70%; animation-duration:5s; }
.floating-logos img:nth-child(3){ top:35%; left:10%; animation-duration:7s; }
.floating-logos img:nth-child(4){ top:60%; left:80%; animation-duration:6.5s; }
.floating-logos img:nth-child(5){ top:75%; left:20%; animation-duration:5.5s; }
.floating-logos img:nth-child(6){ top:75%; left:50%; animation-duration:6.2s; }
.floating-logos img:nth-child(7){ top:30%; left:85%; animation-duration:5.8s; }
.floating-logos img:nth-child(8){ top:15%; left:40%; animation-duration:7.2s; }

/* New logos */
.floating-logos img:nth-child(9){ top:30%; left:60%; animation-duration:6.8s; } /* MongoDB */
.floating-logos img:nth-child(10){ top:55%; left:15%; animation-duration:7.5s; } 
.floating-logos img:nth-child(11){ top:10%; left:55%; animation-duration:6.3s; } 
.floating-logos img:nth-child(12){ top:30%; left:25%; animation-duration:6.3s; } 
.floating-logos img:nth-child(13){ top:75%; left:70%; animation-duration:7.5s; } 
.hero-overlay {
  position: relative;
  z-index:5;
  max-width:900px;
}
.typing-text {
  font-size:2.7rem;
  font-weight:700;
  margin-bottom:15px;
  font-family: 'Poppins', sans-serif;
  color: #ABDCF2
  ; /* Bright blue for hero title */
  text-shadow: 2px 2px 12px rgba(0,0,0,0.7);
}
.subheading {
  font-size:1.4rem;
  margin-bottom:20px;
  color: #cce6ff; /* Light blue for subheading */
  text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
}
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0b012e; /* Dark blue */
  color: #fff;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #004080; /* Slightly darker blue on hover */
  transform: scale(1.05);
}


/* SECTIONS */

/* ABOUT SECTION */
.about {
  text-align: center;
  padding: 100px 50px;
  
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #001f3f;}

/* Stylish About Section Paragraph Card */
.about > p {
  max-width: 900px;
  font-size: 1.1rem;
  margin: 40px auto;
  line-height: 1.9;
  color: #001f3f;
  background: rgba(255, 255, 255, 0.97);
  padding: 35px 40px;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  text-align: justify;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpCard 1s ease forwards;
}

/* Gradient glow border effect */
.about > p::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6a11cb, #2575fc, #00C9FF);
  z-index: -1;
  opacity: 0.2;
  transition: 0.4s ease;
}

/* Hover effect: soft glow + lift */
.about > p:hover {
  transform: translateY(-4px) scale(1.01); /* smaller movement */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10); /* softer shadow */
}


.about > p:hover::before {
  opacity: 0.45;   /* reduced glow (was 0.7) */
  filter: blur(3px); /* lighter blur (was 5px) */
}
/* Fade-up animation */
@keyframes fadeUpCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.about-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 30px;
}

.highlight-item {
  background: linear-gradient(135deg, #d9f0ff, #b3cfff, #e0ccff);/* soft light blue gradient */
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* removed background transition */
  color: #001f3f; /* dark text for contrast on light gradient */
}

.highlight-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.highlight-item i {
  font-size: 2rem;
  color: #9508a2;; /* blue icon for light background */
  margin-bottom: 15px;
}

.highlight-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #001f3f; /* dark heading */
}


/* Responsive layout for About highlights */
@media (max-width: 768px) {
  .about-highlights {
    flex-direction: column;
    align-items: center;
  }
  .highlight-item {
    width: 90%;
  }
}

.services, .work, .about, .contact { padding:80px 20px; text-align:center; }
.service-cards { display:flex; gap:40px; flex-wrap:wrap; justify-content:center; }
/* What We Do Cards - Blue Gradient like Our Work */
.service-card {
 
  width: 350px;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
}


.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;          /* ✅ removes bottom inline gap */
  border-radius: inherit; /* ✅ full top + bottom curve */

}
.service-card:hover {
  transform: scale(1.05); 
 
}
.services h2,
.work h2,
.about h2,
.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #001f3f;
}




.services-desc-card {
  background: linear-gradient(135deg, #cce6ff, #99ccff); /* Light blue gradient */
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  max-width: 1000px;
  width: calc(100% - 40px); 
  margin: 0 auto 40px; /* Center and spacing */
  transition: 0.3s ease;
  position: relative;
  color: #001f3f; /* Dark blue text for readability */
  font-weight: 500;
}

.services-desc-card p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
}

.services-desc-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* Modal container */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

/* Show modal */
.service-modal.show {
  display: flex;
}

.service-modal-content {
  background: linear-gradient(135deg,#cce6ff,#99ccff);
  padding: 30px 25px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  color: #001f3f;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-modal.show .service-modal-content {
  transform: scale(1);
  opacity: 1;
}

.work-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 120px;
  justify-content: center;
}
/* Individual Work Item */
.work-item {
  width: 470px; /* same as card */
  text-align: center;
}
/* Heading above card */
.work-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #001f3f;
}
.work-card {
 
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 470px;
  height: 320px;



}
.work-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}



.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  
}



/* Description below card */
.work-desc {
  font-size: 1.2rem;
  margin-top: 15px;
  color: #001f3f;
  font-weight: 500;
  line-height: 1.5;
}
.works-desc-card {
  background: linear-gradient(135deg, #cce6ff, #99ccff); /* Light blue gradient */
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  max-width: 1000px;
  width: calc(100% - 40px); 
  margin: 0 auto 40px; /* Center and spacing */
  transition: 0.3s ease;
  position: relative;
  color: #001f3f; /* Dark blue text for readability */
  font-weight: 500;
}

.works-desc-card p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
}

.works-desc-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* ===============================
   WHY CHOOSE US – FLIP CARDS
================================ */

.services-highlight {
  padding: 80px 8%;
  text-align: center;
}

.services-highlight h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #001f3f;
}

/* Cards Wrapper */
.highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.flip-card {
  perspective: 1200px;
  height: 300px; /* total card height */
}

/* Inner Rotation */
.flip-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back – Shared */
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
  text-align: center;
  overflow: hidden; /* Important for neon border */
}

/* =====================
   NEON BORDER (NO MASK)
===================== */



@keyframes neonMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =====================
   FRONT (COLORED)
===================== */
/* FRONT */
/* Front card layout */
.flip-card-front {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: #001f3f;
  border: 2px solid #001f3f; /* solid border */
  color: #ffffff;
  padding: 0;
  height: 100%;
}
/* Icon */

/* Image inside card */
/* Image inside card */
.card-img {
  width: 100%;
  height: 80%;      /* occupy 80% of card height */
  object-fit: cover; 
  border-radius: 0; /* flush to edges */
}


@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.flip-card-front h3 {
  font-size: 1.3rem;
  margin-top: auto;       /* pushes it to bottom of flex column */
  margin-bottom: 25px;    /* more bottom space so long titles don’t get cut */
  padding: 0 10px;        /* optional: give horizontal padding for very long titles */
  color: #ffffff;
  text-align: center;
  line-height: 1.3;       /* adjust line height if needed */
  word-wrap: break-word;   /* ensures long words wrap */
}

/* =====================
   BACK (WHITE)
===================== */
/* BACK */
/* BACK */
.flip-card-back {
  background: #ffffff; /* Plain white background */
  color: #001f3f;
  border: 2px solid #001f3f;
  transform: rotateY(180deg);
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 600; /* makes text slightly bold */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
  backface-visibility: hidden;
}




/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  .highlight-cards {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: 200px;
  }
}





/* CONTACT */
.contact { background:transparent; padding:100px 20px; }
.contact-container { display:flex; flex-wrap:wrap; gap:40px; justify-content:center; align-items:flex-start; }
.contact-text { flex:1; min-width:280px; }
.contact-text h2 { font-size:2.5rem; color:#12054d; margin-bottom:10px; }
.contact-text p { font-size:1.2rem; color:#06041ae5; }
.contact-form { flex:1.2; min-width:320px; background:white; padding:30px; border-radius:12px; box-shadow:0px 8px 20px rgba(0,0,0,0.1); }
.form-row { display:flex; gap:20px; margin-bottom:20px; flex-wrap:wrap; }
.form-row.full-width { flex-direction:column; }
.contact-form input, .contact-form textarea { flex:1; padding:15px 20px; border:2px solid #007BFF; border-radius:8px; font-size:1rem; outline:none; transition:0.3s; }
.contact-form input:focus, .contact-form textarea:focus { border-color:#0056b3; background:#f0f8ff; }
.contact-form textarea { min-height:150px; resize:vertical; }
.contact-form button { background:linear-gradient(135deg,#007BFF,#00C9FF); color:white; border:none; padding:15px 40px; border-radius:8px; font-size:1.1rem; cursor:pointer; transition:0.3s; }
.contact-form button:hover { transform:scale(1.05); background:linear-gradient(135deg,#0056b3,#0099cc); }
.error {
  color: red;
  font-size: 0.85rem;
  margin-top: 2px;
}

.success-message {
  color: green;
  font-size: 0.9rem;
  margin: 10px 0;
  text-align: center;
}
.technologies-section {
  padding: 60px 20px;
 
  text-align: center;
  }
  
  
  .tech-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #001f3f;
  }
  
  
  .tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
  }
  
  
  .tech-card {
  padding: 20px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(160, 200, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  
  .tech-card:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 0 30px rgba(120, 170, 255, 0.7);
  }
  
  
  .tech-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  animation: floatLogo 3s ease-in-out infinite;
  }
  
  
  .tech-card p {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  }
  
  
  @keyframes floatLogo {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
  }
footer {
  background: #111;
  color: #ccc;
  padding: 15px 8%;  
  font-family: 'Poppins', sans-serif;
}
/* Footer Logo */
.footer-logo img {
  height: 60px;            
  width: auto;             
  display: block;
  margin-bottom: 10px;      
  transition: transform 0.3s ease;
  cursor: pointer;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* First Column */
.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 8px;
  margin-left: 100px;  
}

.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}
.footer-links a:hover {
  color: #00c6ff;
}

/* Second Column: Contact Info */
.footer-info p {
  margin: 4px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.footer-info i {
  margin-right: 6px;
  color: #00c6ff;
  font-size: 1rem;
}

/* Third Column: Follow Us */
.footer-socials .follow-label {
  font-weight: bold;
  margin-bottom: 6px;
  color: white;
  font-size: 1.2rem;   
}

.footer-socials .social-icons {
  display: flex;
  gap: 14px;
}

.footer-socials .social-icons a {
  font-size: 1.6rem;   
  color: #00c6ff;
  transition: 0.3s;
}
.footer-socials .social-icons a:hover {
  color: #0099cc;
  transform: scale(1.15); 
}

/* Bottom */
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  margin-top: 12px;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-socials .social-icons {
    justify-content: center;
  }
}




