/* Slideshow Images */
/* Reset some default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background-color: #f9f9f9;
  line-height: 1.6;
}


/* Innovation Section with Video Background */
.innovation-section {
  position: relative;
  height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

#typewriter-heading {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(0,0,0,0.7);
}

/* Hero Title */
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #222;
  text-align: center;
  margin: 40px 20px 20px 20px;
  letter-spacing: 2px;
}

.hero-title .dot {
  color: #ff5722;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Slideshow Container */
.hero-image-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 0 20px 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-image {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.hero-image.active,
.hero-image:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}

/* About Us Section */
.about-us {
  max-width: 900px;
  background: white;
  padding: 40px 30px;
  margin: 0 auto 60px auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  /* text-align:center; */
}

.about-us h1 {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.about-us p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
  letter-spacing: 0.5px;
  text-align: justify;
  
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
    margin: 30px 10px 15px 10px;
  }

  #typewriter-heading {
    font-size: 2.2rem;
  }

  .hero-image {
    width: 140px;
    height: 100px;
  }

  .about-us {
    padding: 30px 20px;
    margin: 30px 15px 50px 15px;
  }

  .about-us h1 {
    font-size: 2.2rem;
  }

  .about-us p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
    margin: 25px 10px 10px 10px;
  }

  #typewriter-heading {
    font-size: 1.6rem;
  }

  .hero-image {
    width: 100px;
    height: 70px;
  }

  .about-us {
    padding: 20px 15px;
    margin: 20px 10px 40px 10px;
  }

  .about-us h1 {
    font-size: 1.8rem;
  }

  .about-us p {
    font-size: 0.9rem;
  }
}

/* trusted by */
.trusted-section {
  padding: 60px 20px;
  background-color: #f4f7f9;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 80px auto;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.trusted-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
  letter-spacing: 1.5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.trusted-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: #ff5722;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Logo container */
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

/* Individual logos */
.trusted-logos img {
  max-height: 60px;
  width: auto;
  filter: grayscale(70%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 0.8s ease forwards;
}

/* Stagger animation delay for logos */
.trusted-logos img:nth-child(odd) {
  animation-delay: 0.2s;
}
.trusted-logos img:nth-child(even) {
  animation-delay: 0.4s;
}

/* Hover effect */
.trusted-logos img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
  border-radius: 8px;
}

/* Animation keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 0.7;
    transform: translateY(0);
  }
}



   
/* Freelancer */

.freelancer-section {
  background: linear-gradient(135deg, #0d3b66, #61c9a8);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 20px rgba(188, 181, 237, 0.1);
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.freelancer-section h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.freelancer-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #FFFFFF;
}

.freelancer-section .btn-apply {
  background: white;
  color: #2168a9;
  padding: 14px 28px;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.freelancer-section .btn-apply:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .freelancer-section h2 {
    font-size: 2rem;
  }
  .freelancer-section p {
    font-size: 1rem;
  }
}


/* ======= Common Styling ======= */

h2 {
  font-size: 2.6rem;
  margin-bottom: 8px;
  text-align: center;
  font-weight: 700;
  color: #043a71;
  position: relative;
  letter-spacing: 1.1px;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #3498db;
  margin: 12px auto 0;
  border-radius: 3px;
}

p {
  max-width: 600px;
  margin: 10px auto 40px;
  text-align: center;
  font-size: 1.1rem;
  color: #7f8c8d;
  font-style: italic;
}

/* ======= Client Testimonials Section ======= */

.testimonial-section {
  background: #ecf0f1;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 60px 30px;
}

.testimonial-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
  padding: 25px 30px;
  max-width: 350px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(52, 152, 219, 0.3);
}

.testimonial-text {
  font-style: normal;
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 25px;
  flex-grow: 1;
  line-height: 1.5;
  position: relative;
}

/* Quote styling */
.testimonial-text::before {
  content: '“';
  font-size: 3rem;
  color: #3498db;
  position: absolute;
  left: -20px;
  top: -10px;
  font-weight: 700;
  font-family: serif;
  opacity: 0.2;
  pointer-events: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #3498db;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-author img {
  transform: scale(1.1);
}

.testimonial-author div h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #34495e;
}

.testimonial-author div p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: #7f8c8d;
  font-style: normal;
}

/* ======= Associates Review Section ======= */

.testimonial-wrapper {
  margin-top: 80px;
  padding: 50px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.07);
}

.testimonial-heading {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2c3e50;
  text-align: center;
}

.testimonial-intro {
  font-size: 1.1rem;
  color: #95a5a6;
  max-width: 650px;
  margin: 0 auto 40px;
  font-style: italic;
  text-align: center;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  padding: 0 10px;
}

.testimonial-block {
  background: #f7f9fa;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  position: relative;
  transition: background 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.testimonial-block:hover {
  background: #dff0fc;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1rem;
  color: #34495e;
  margin-bottom: 12px;
  line-height: 1.4;
  position: relative;
  padding-left: 20px;
}

.testimonial-quote::before {
  content: '“';
  font-size: 2.4rem;
  color: #3498db;
  position: absolute;
  left: 0;
  top: -6px;
  font-weight: 700;
  font-family: serif;
  opacity: 0.25;
  pointer-events: none;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #7f8c8d;
  text-align: right;
  margin-top: auto;
}

/* ======= Animations ======= */

.testimonial-card,
.testimonial-block {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.testimonial-card:nth-child(1),
.testimonial-block:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2),
.testimonial-block:nth-child(2) {
  animation-delay: 0.3s;
}

.testimonial-card:nth-child(3),
.testimonial-block:nth-child(3) {
  animation-delay: 0.5s;
}

/* Fade in up animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======= Responsive ======= */

@media (max-width: 900px) {
  .testimonial-grid {
    flex-direction: column;
    gap: 25px;
  }

  .testimonial-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-author div h4 {
    font-size: 1.1rem;
  }

  .testimonial-author div p {
    font-size: 0.85rem;
  }
  
  .testimonial-intro {
    font-size: 1rem;
    padding: 0 10px;
  }
}


/* Celebration Section */
.celebration-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  text-align: center;
  background: #fefefe;
}

.celebration-section h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #222;
  text-transform: uppercase;
  position: relative;
}

.celebration-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ff6f61;
  margin: 12px auto 0;
  border-radius: 2px;
}

.subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

/* Journey Grid */
.journey-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Journey Item */
.journey-item {
  position: relative;
  background: #fff;
  width: 320px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.journey-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

/* Front content */
.front-content {
  position: relative;
  z-index: 5;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  transition: background 0.4s ease;
}

.journey-item:hover .front-content {
  background: rgba(255, 255, 255, 0.6);
}

/* Journey Image */
.journey-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Titles and description */
.journey-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 15px 0 8px;
  color: #333;
}

.journey-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
}

/* Behind image overlay in front */
.behind-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  z-index: 10; /* ABOVE front content */
  opacity: 0.25;
  transition: opacity 0.4s ease;
  pointer-events: none; /* allow clicks through */
}

.behind-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.2);
  user-select: none;
  pointer-events: none;
}

.journey-item:hover .behind-image {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .celebration-section {
    padding: 40px 15px;
  }

  .journey-grid {
    gap: 20px;
  }

  .journey-item {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .celebration-section h2 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .journey-item {
    width: 100%;
  }

  .journey-image img {
    height: 150px;
  }
}


/* Footer */

/* ======= Footer Styling ======= */

.footer {
  background-color: #130447;
  color: #e1e8f0;
  padding: 50px 20px 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-about,
.footer-links,
.footer-social {
  flex: 1 1 280px;
  min-width: 250px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 3px rgba(69, 69, 164, 0.7));
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.1);
}

.footer-about h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #3498db;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 6px 0;
  color: #cbd5e1;
}

/* Quick Links */

.footer-links h3,
.footer-social h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: #55aaff;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #3498db;
  padding-bottom: 6px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #b0c7e3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #3498db;
  text-decoration: underline;
}

/* Social Icons */

.footer-social .social-icons {
  display: flex;
  gap: 20px;
}

.footer-social .social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: #2c3e50;
  border-radius: 50%;
  color: #e1e8f0;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.4s ease, transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.footer-social .social-icons a:hover {
  background-color: #3498db;
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5);
}

/* FontAwesome icons fallback size adjustment */
.footer-social .social-icons i {
  pointer-events: none;
}

/* Footer Bottom */

.footer-bottom {
  border-top: 1px solid #2c3e50;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #7a8a9f;
  user-select: none;
  font-weight: 400;
}

/* ======= Responsive ======= */

@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-social {
    min-width: auto;
    flex: none;
  }

  .footer-links ul {
    display: inline-block;
    padding-left: 0;
  }

  .footer-links ul li {
    display: inline;
    margin: 0 15px 12px 0;
  }
}

@media (max-width: 480px) {
  .footer-about h2 {
    font-size: 1.5rem;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 1.2rem;
  }

  .footer-social .social-icons {
    justify-content: center;
  }
}



@media (max-width: 1024px) {

  .team-heading,
  .collab-header h2,
  .testimonial-section h2,
  .testimonial-heading {
    font-size: 40px;
  }

  .testimonial-subtitle,
  .testimonial-intro,
  .collab-header p {
    font-size: 24px;
  }

  .testimonial-grid,
  .testimonial-container,
  .journey-grid,
  .collab-logos {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }




  .info-card {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 20px;
    height: auto;
    box-shadow: none;
  }

  .journey-item {
    width: 90%;
    height: auto;
  }

  .testimonial-card,
  .testimonial-block {
    font-size: 18px;
  }

  .collab-logos img {
    height: 50px;
  }
}