:root {
  --primary: #3b2c83;
  --secondary: #ff8c64;
  --light-bg: #f6f6fa;
  --dark-text: #23213a;
  --muted: #727272;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}
body {
  background: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.2;
}
a {
  text-decoration: none;
}
.container {
  width: 90%;
  margin: 0 auto;
}
/* Header/Nav */
.site-header {
  background: #1d213e;
  box-shadow: 0 2px 12px rgba(60, 40, 130, 0.07);
  z-index: 10;
  position: sticky;
  top: 0;
}
.nav-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0px;
  position: relative;
}
.logo img {
  width: 100px;
}
.nav-menu {
  display: flex;
  gap: 30px;
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover {
  color: #ff8c64;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 11;
}

/* hero section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("images/hero-back.jfif") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for contrast */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}
.btn-primary {
  background: var(--secondary);
  color: #fff;
  padding: 12px 29px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 28px;
  cursor: pointer;
  transition: background 0.25s;
}
.btn-primary:hover {
  background: #e66c3a;
}

main section {
  margin: 55px auto;
  background: #fff;
  border-radius: 18px;
  padding: 40px 28px;
  box-shadow: 0 4px 20px rgba(60, 40, 130, 0.04);
}

h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 18px;
  text-align: center;
}
/* about us */

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-content {
  max-width: 600px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #555;
}

.about-content a {
  display: inline-block;
}

/* Features (Why Us) */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 25px;
}
.feature {
  flex: 1 1 180px;
  min-width: 160px;
  background: linear-gradient(145deg, #f7f6ff, #f1f0fa);
  padding: 30px 24px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(60, 40, 130, 0.05);
}

.feature:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 12px 25px rgba(60, 40, 130, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 18px;
}

.feature strong {
  color: var(--primary);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}
/* Services: Cards Layout */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.service-card {
  background: #faf8fe;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(60, 40, 130, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(60, 40, 130, 0.12);
}
.service-card .icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
}
.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}
.service-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Slick Slider Customization */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 40px; /* Increased size for better touch access */
  height: 40px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: var(--primary); /* Branded background */
  border-radius: 50%;
  z-index: 5;
  transition: background 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
  background: var(--secondary); /* Hover color */
}

.slick-prev {
  left: -50px; /* Position outside the slider */
}

.slick-next {
  right: -50px; /* Position outside the slider */
}

.slick-prev:before,
.slick-next:before {
  font-family: "Font Awesome 5 Free"; /* Using Font Awesome for icons */
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  opacity: 1;
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-prev:before {
  content: "\f053"; /* Font Awesome angle-left icon */
}

.slick-next:before {
  content: "\f054"; /* Font Awesome angle-right icon */
}

/* Dots Styling */
.slick-dots {
  position: absolute;
  bottom: -45px; /* Position dots below the slider */
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slick-dots li button:before {
  font-size: 30px; /* Larger dots */
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: "•";
  text-align: center;
  opacity: 0.25;
  color: var(--primary); /* Branded dots color */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: var(--secondary); /* Branded active dot color */
}

/* Media query for smaller screens */
@media (max-width: 900px) {
  .slick-prev {
    left: -10px; /* Bring arrows closer on mobile */
  }
  .slick-next {
    right: -10px; /* Bring arrows closer on mobile */
  }
  .testimonial-card {
    min-width: 0; /* Let slick handle the width */
  }
}

/* Timeline: How We Work */
#work {
  margin: 50px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

/* The timeline container */
.timeline-container {
  position: relative;
  margin-top: 20px;
}

/* The central vertical line */
.timeline-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #e9ecef;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-step {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

/* Positioning steps on the left and right */
.timeline-step.left {
  left: 0;
}

.timeline-step.right {
  left: 50%;
}

/* The circle on the timeline */
.timeline-step::after {
  content: "";
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: white;
  border: 4px solid #3498db; /* Default color */
  z-index: 1;
}

.timeline-step.left::after {
  right: -12px;
}

.timeline-step.right::after {
  left: -12px;
}

/* Color coding for each step */
.timeline-step:nth-child(1)::after {
  border-color: #e74c3c;
}
.timeline-step:nth-child(2)::after {
  border-color: #3498db;
}
.timeline-step:nth-child(3)::after {
  border-color: #2ecc71;
}
.timeline-step:nth-child(4)::after {
  border-color: #f39c12;
}

.timeline-content {
  padding: 25px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for content */
.timeline-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.timeline-content strong {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 10px;
  color: #2c3e50;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
  color: #555;
}

/* Testimonials: Carousel Look */
.testimonials-row {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-bottom: 20px;
}
.testimonial-card {
  background: linear-gradient(145deg, #f9f8fc, #f1f0fa);
  border-radius: 15px;
  padding: 30px;
  color: #434371;
  box-shadow: 0 8px 20px rgba(60, 40, 130, 0.09);
  position: relative;
  margin: 10px;
}
.testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.08;
}
.testimonial-card .quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  z-index: 2;
  position: relative;
}
.testimonial-card .author {
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
  text-align: right;
}

/* Contact Section */
/* Remove old contact styles and add these */
#contact {
  background: linear-gradient(135deg, var(--primary), #5a43c2);
  border-radius: 18px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(60, 40, 130, 0.2);
}

#contact h2 {
  color: #fff;
  text-align: left;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Left Side (Info) */
.contact-info {
  color: #f0f0f0;
}
.contact-info p {
  margin: 15px 0 30px 0;
  line-height: 1.7;
  font-size: 1.05rem;
}
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.info-item i {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-right: 15px;
}

/* Right Side (Form) */
.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.contact-form h3 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 25px;
  text-align: center;
}
.form-group {
  position: relative;
  margin-bottom: 25px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--dark-text);
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  outline: none;
  transition: border-color 0.3s;
  position: relative;
  z-index: 1;
}
.form-group textarea {
  resize: none;
}
.form-group label {
  position: absolute;
  top: 12px;
  left: 0;
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.3s ease;
}
/* Floating label effect */
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--primary);
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -16px;
  left: 0;
  font-size: 0.85rem;
  color: var(--primary);
}

.contact-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 14px 28px;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.contact-form button:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  #contact h2 {
    text-align: center;
  }
  .contact-info {
    text-align: center;
  }
  .info-item {
    justify-content: center;
  }
}

/* Footer */
.site-footer {
  background-color: #2c215d; /* Darker shade of primary for contrast */
  color: #dcd9f0;
  padding: 60px 0 0 0;
  margin-top: 68px;
  font-size: 1rem;
}

.footer-container {
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column {
  line-height: 1.7;
}

.footer-column h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
/* Underline effect for headings */
.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-brand p {
  margin-bottom: 20px;
}

.footer-socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
  color: #dcd9f0;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: center;
}
.footer-contact i {
  color: var(--secondary);
  margin-right: 12px;
  width: 20px;
  text-align: center;
}
.footer-contact a:hover {
  color: #fff;
}

/* Newsletter Form */
.newsletter-form {
  position: relative;
  display: flex;
  margin-top: 10px;
}
.newsletter-form input {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px 0 0 5px;
  color: #fff;
  outline: none;
  font-size: 1rem;
}
.newsletter-form input::placeholder {
  color: #aaa;
}
.newsletter-form button {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 0 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}
.newsletter-form button:hover {
  background: #e66c3a;
}

.footer-bottom-bar {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content h2 {
    font-size: 2rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-contact li {
    justify-content: center;
  }
  main section {
    padding: 28px 18px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 12px rgba(60, 40, 130, 0.07);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu a {
    padding: 1rem;
    color: #1d213e;
    text-align: center;
    border-bottom: 1px solid var(--light-bg);
  }
  .nav-menu a:last-child {
    border-bottom: none;
  }

  .testimonials-row {
    flex-direction: column;
  }
  .contact-section {
    flex-direction: column;
  }
  .footer-links {
    gap: 28px;
  }

  .logo,
  .footer-logo {
    font-size: 1.2rem;
  }
  header.hero h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.3rem;
  }

  .testimonial-card {
    min-width: 0;
  }
  .timeline-container::before {
    display: none;
  }
  .timeline-step:nth-child(1)::after {
    display: none;
  }
  .timeline-step:nth-child(2)::after {
    display: none;
  }
  .timeline-step:nth-child(3)::after {
    display: none;
  }
  .timeline-step:nth-child(4)::after {
    display: none;
  }
  .timeline-step {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }
  .timeline-step.right {
    left: 0;
  }
}
