/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}
 
header {
  position: fixed;
  width: 100%;
  background: linear-gradient(90deg, #4f46e5, #9333ea);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
/* Navbar Base */
.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  position: relative;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.7rem;
  color: #ffffff;
}

.logo img {
  height: 60px;   /* smaller size for balance */
  width: auto;
  display: block;
}

.logo i {
  color: #ffffff !important;
  font-size: 1.9rem;
}

/* Nav Links (Desktop) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active {
  background: #fff;
  color: #4f46e5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: #111827; /* dark background */
    padding: 20px 0;
    gap: 15px;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
    animation: slideDown 0.4s ease forwards;
  }

  .menu-toggle {
    display: block;
  }
}

/* Mobile Nav Slide Animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* CTA Button */
.btn-top {
  background: #fff;
  color: #4f46e5;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.btn-top:hover {
  background: #f3f4f6;
  color: #3730a3;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.7);
}

/* Hero */
.hero {
  height: 100vh;
  background: url("images/img3.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: flex-start; /* push content to left */
  align-items: center;
  text-align: left;            /* align text left */
  color: #ffffff;
  padding: 0 20px;
  padding-top: 120px; /* keeps content below topbar + navbar */
}

/* Gradient Overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    rgba(79, 70, 229, 0.75),
    rgba(147, 51, 234, 0.75)
  );
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 50px; /* spacing from left edge */
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
}
/* Hero button */
.btn-hero {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #4f46e5, #9333ea);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
  background: linear-gradient(90deg, #4338ca, #7e22ce);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}
/* Sections */
.section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}
.section.gray {
  background: #f9fafb;
}
.section h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #4f46e5;
}

/* Cards */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card i {
  font-size: 40px;
  color: #4f46e5;
  margin-bottom: 10px;
}

/* Why choose us */
.why-list {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: auto;
}
.why-list li {
  margin: 10px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}
.why-list i {
  color: #4f46e5;
  margin-right: 10px;
  font-size: 1.3rem;
}

/* Contact */
/* Section Wrapper */
.contact-section {
  padding: 60px 8%;
  background: url('your-bg.jpg') no-repeat center center/cover;
  color: #fff;
}

/* Flex container */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Left Box */
.contact-info {
  flex: 1 1 300px;
  background: #00bfb3;
  padding: 40px;
  color: #0d1b2a;
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info hr {
  width: 40px;
  border: 2px solid #0d1b2a;
  margin: 10px 0 20px;
}

.contact-info p {
  font-size: 1rem;
  margin: 10px 0;
}

.contact-info .icon {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Right Box */
.contact-form {
  flex: 2 1 400px;
  background: #0d1b2a;
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 25px;
}

.contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  margin-bottom: 20px;
  background: #1a2a3a;
  color: #fff;
  font-size: 0.95rem;
}

.contact-form input {
  flex: 1;
  min-width: 150px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #00bfb3;
  color: #0d1b2a;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #00e6d3;
}
/* Contact Header */
.contact-header {
padding-top:80px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #05bbaa;
}

.contact-header h2 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 15px;
}

.contact-header p {
  font-size: 1rem;
  color: black;
}


/* Footer */
/* Pre-Footer Section */
.pre-footer {
  background: #0b1a2d;
  padding: 50px 20px;
  color: #fff;
}

.pre-footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  position: relative;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #00d4c6; /* highlight color */
}

/* Social Links */
.social-links li {
  display: flex;
  align-items: center;
}

/* Main Footer */
.main-footer {
  background: #07111f;
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 0.9rem;
}


/* Two Column Gradient Box */
.planning-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 50px;
  margin: 60px auto;
  max-width: 1100px;

  background: linear-gradient(90deg, #05bbaa, #800080);
  border-radius: 8px;
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;

  position: relative; /* ✅ Needed for divider line */
}

/* Left Column */
.planning-left,
.planning-right {
  flex: 1;
  padding: 0 30px;
}

/* Vertical Divider */
.planning-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 15%;      /* shorten from top */
  bottom: 15%;   /* shorten from bottom */
  width: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
}

.planning-box p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Make left text bigger/bolder for emphasis */
.planning-left p {
  font-size: 1.5rem;
  font-weight: 500;
}

/* About Section */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 10%;
  background: #31013F; /* dark navy background */
  color: #e5e7eb;
  gap: 60px;
}

.about-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-left img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.about-right {
  flex: 1.2;
}

.about-right h5 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #22d3ee; /* cyan accent */
  margin-bottom: 12px;
  text-transform: uppercase;
}

.about-right h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-right p {
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 600px;
}
/* Rotating Image */
.rotate-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;

  animation: spin 20s linear infinite; /* slow, smooth rotation */
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* AI Section */
.ai-section {
  position: relative;
  background: url("images/img4.jpg") no-repeat center center/cover;
  color: #fff;
  text-align: center;
  min-height: 100vh; /* full screen height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-overlay {
  background: rgba(0, 0, 0, 0.6);
  flex: 1; /* let overlay take available height */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 20px;
}
.ai-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 15px;
  line-height: 1.3;
}

.ai-content p {
  font-size: 1.1rem;
  color: #e5e7eb;
  margin-bottom: 30px;
}

.play-btn {
  width: 70px;
  height: 70px;
  background: #05bbaa;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  background:#800080;
  color: #fff;
}

/* Stats Bar */
.ai-stats {
  display: flex;
  justify-content: space-around;
    background: linear-gradient(90deg, #05bbaa, #800080);
  padding: 30px 10%;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  margin: 10px 20px;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-item span {
  font-size: 0.9rem;
  color: #f0fdf4;
}

/* Services section */
.services {
  padding: 150px 10%;
  text-align: center;
  background:#1C5789;
}

.services-header {
  max-width: 800px;
  margin: 0 auto 50px;
}

.subtitle {
  color: #05bbaa;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.services-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.services-header .desc {
  color: #d3d3d3;
  font-size: 1rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background-color: #00bfa6;
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #009688;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* Flip Card */
.service-card {
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 250px;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  
  border-radius: 10px;
  padding: 30px 20px;
  box-sizing: border-box;
}

.card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
background: linear-gradient(170deg, #05bbaa, #800080);
}

.card-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
background-color: #0b1623;
}

.icon {
  margin-bottom: 15px;
}

.card-front h3 {
  color: #00e6d3;
  font-size: 1.2rem;
}

.service-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-choose-us {
  text-align: center;
  padding: 80px 20px;
  background-color: #0d1b2a;
  color: #ffffff;
}

.section-subtitle {
  font-size: 14px;
  letter-spacing: 2px;
  color: #00c9a7;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-description {
  max-width: 800px;
  margin: 0 auto 50px;
  color: #d0d6e1;
  font-size: 1rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 columns */
  gap: 30px;
  justify-items: center; /* Center items horizontally */
  text-align: center;
  margin-top: 40px;
}


.icon-hex {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #00c9a7;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;   /* smooth animation */
}

.icon-hex i {
  font-size: 24px;
  color: #ffffff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature-item:hover .icon-hex {
  background: linear-gradient(135deg, #00c9a7, #0099ff);
  transform: scale(1.1);      /* zoom effect */
  box-shadow: 0 8px 20px rgba(0, 201, 167, 0.4); /* glowing shadow */
}

.feature-item:hover .icon-hex i {
  transform: rotate(10deg) scale(1.2);  /* slight twist + enlarge */
  color: #ffffff;
}


.testimonials {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, #00c9a7, #0099ff, #6a11cb);
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
  color: #fff;
  text-align: center;
}

/* Animate gradient flow */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.overlay {
  background: rgba(0, 0, 0, 0.7);
  padding: 80px 20px;
}

.section-subtitle {
  font-size: 14px;
  letter-spacing: 2px;
  color: #00c9a7;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeSlide 1s ease-in-out;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 201, 167, 0.2);
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #e6f2f2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #00c9a7;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #a5c9ca;
}

/* Carousel controls */
.carousel-controls {
  margin-top: 25px;
}

.carousel-controls span {
  cursor: pointer;
  font-size: 2.5rem;
  margin: 0 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.carousel-controls span:hover {
  color: #00c9a7;
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.carousel-dots {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: #888;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dots .dot.active {
  background: #00c9a7;
  transform: scale(1.2);
}


.faqs {
  padding: 100px 20px;
  background: linear-gradient(135deg, #6a11cb, #2575fc, #00c9a7);
  background-size: 300% 300%;
  animation: gradientFlow 12s ease infinite;
  color: #fff;
  text-align: center;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
  text-align: left;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: none;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 201, 167, 0.2);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg); /* turns plus into minus */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.05);
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 18px 22px;
}
