* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
  height: 100%;
  scroll-behavior: smooth;
}

  /* Fonts & Colors */
 body {
  font-family: 'Poppins', sans-serif;
}
  body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f5f5f5 url('https://www.transparenttextures.com/patterns/paper-fibers.png') repeat;
      color: #333;
      animation: fadeIn 1s ease forwards;
      opacity: 0;
      position: relative;
      min-height: 100vh;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .background-shapes {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 0;
      overflow: hidden;
      filter: blur(60px); /* 70% blur effect applied */
      pointer-events: none;
    }

    .background-shapes span {
      position: absolute;
      display: block;
      border-radius: 50%;
      opacity: 0.3;
      animation: float 20s infinite ease-in-out;
    }

    .background-shapes span:nth-child(1) {
      width: 400px; height: 400px;
      background: #edae11;
      top: 10%; left: 5%;
      opacity: 10%;
    }
    .background-shapes span:nth-child(2) {
      width: 560px; height: 560px;
      background: #f46401;
      top: 2%; left: 70%;
      opacity: 10%;
    }
    .background-shapes span:nth-child(3) {
      width: 300px; height: 300px;
      background: #47ccdb;
      top: 90%; left: 25%;
      opacity: 10%;
    }
    .background-shapes span:nth-child(4) {
      width: 600px; height: 600px;
      background: #edae11;
      top: 75%; left: 80%;
      opacity: 10%;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) translateX(0); }
      50% { transform: translateY(-20px) translateX(10px); }
    }

input,
textarea,
button,
select {
  font-family: 'Poppins', sans-serif;
}

.services,
.work-section,
.contact-section {
  padding: 60px 20px;
}

:root {
  --primary: #ff6b6b;
  --dark-bg: #1e1e2f;
  --text-color: #1e1e2f;
  --light-bg: #f9f9f9;
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}


.about {
  padding-top: 100px;
  padding-bottom: 100px;
}

.scroll-offset {
  scroll-margin-top: 80px;
}

.contact-form input,
.contact-form textarea,
.submit-btn {
  font-family: 'Poppins', sans-serif;
}
h1, h2, h3 {
  font-weight: 600;
}

p, input, textarea {
  font-weight: 400;
}

button {
  font-weight: 500;
  letter-spacing: 0.03em;
}
main {
  padding-top: 80px; /* Adjust based on your header height */
}
  
  /* HEADER NAVIGATION STYLES */
  header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #1e1e2f; /* Change this to any color you like */
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Optional subtle shadow */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-height: 70px;
  height: auto;
  margin-right: auto;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

/* Hamburger Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 80px;
    right: 0; /* align to right edge */
    background-color: #1e1e2f;
    width: 180px; /* minimal width */
    padding: 1rem 1rem;
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    width: 100%;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: #ff6b6b;
  }
  .nav-links.active {
    display: flex;
  }
}

  .hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 80px;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 80px);
}

.hero-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  gap: 40px;
  height: calc(100vh - 80px);
}

.hero-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


.hero-text, .hero-image {
  flex: 1 1 50%;
}

.hero-text {
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1A1A1A;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #444444;
}

.hero-btn {
  display: inline-block;
  background-color: #f97316;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: #f93a16 ;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
/* Move and animate */
  position: relative;
  top: 0;
  left: 0;
  transition: transform 0.4s ease;
  animation: float 4s ease-in-out infinite;
}
/* Optional float/hover effect */
.hero-image img:hover {
  transform: translateY(-10px) scale(1.05);
}
.hero-text {
  z-index: 2;
  position: relative;
}

.hero-image {
  z-index: 1;
  position: relative;
}
.swiper {
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text, .hero-image {
    flex: unset;
    max-width: 100%;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}

  /* Footer */
  footer {
    text-align: center;
    padding: 2rem;
    background-color: #1e1e2f;
    color: white;
    font-size: 0.9rem;
  }
  .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* About */
.about {
  color: #1e1e2f;
  padding: 60px 20px;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: left;
  color: #222;
}

.about-content {
  display: flex;
  align-items: left;
  justify-content: left;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image img {
  width: 250px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

.about-text strong {
  color: #f97316;
}

.about-text em {
  font-style: italic;
  color: #444;
}

.about-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #f97316;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.about-btn:hover {
  background-color: #f93a16;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    padding: 0 10px;
  }
}

/* Services */
/* Services Section */
.services {
  color: #1e1e2f;
  padding-bottom: 5rem;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Services Flip Cards */
.flip-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.flip-card {
  perspective: 1000px;
  width: 260px;
  height: 270px;
  overflow: hidden;
  box-sizing: border-box;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-sizing: border-box;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  background-color: white;
  color: #1e1e2f;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

.flip-front {
  background-color: #1e1e2f;
  color: white;
}

.flip-front h3 {
  font-size: 1.3rem;
  margin-top: 0.5rem;
}

.lottie-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  pointer-events: none;
}

.flip-back {
  transform: rotateY(180deg);
  background-color: #faf9f6; /* deep slate */
  color: #1e1e2f;
  border: 2px solid #f97316;
  border-radius: 10px;
  padding: 1rem 1rem;
  padding-top: 1.5rem;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;

}

.flip-back p {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  color: #1e1e2f;
  text-align: left;
  justify-content: left;
  padding-left: 1rem;
  padding-right: 1rem;
  word-wrap: break-word;  /* Add this to prevent long words or URLs overflowing */
  overflow-wrap: break-word;
}

.divider {
  width: 60%;
  margin: 0.95rem auto;
  border: none;
  border-top: 2px solid rgba(5, 1, 31, 0.15);
}

.custom-bullets {
  list-style: none;
  padding-left: 1.5rem;
}

.custom-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-bullets li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #1e1e2f;
  text-align: left;
}

.flip-card:hover .flip-back {
  box-shadow: 0 0 15px rgba(240, 198, 116, 0.4);
}
/* Custom bullets */
.custom-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f97316; /* orange matching theme */
  font-size: 1rem;
  line-height: 0.75;
}
.flip-back p {
  margin-bottom: 0.25rem; /* reduce bottom margin from 0.5rem to 0.25rem */
}

.flip-back ul.custom-bullets {
  margin-top: 0.25rem; /* reduce top margin (if any) */
}

 /* Portfolio Section */
/* Work Section */
.work-section {
  padding: 60px 20px 30px;
  text-align: center;
}
.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  margin: 0 auto;
  color: #333;
}
.section-title {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center; /* if used in centered layouts */
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;           /* distance below text */
  left: 50%;
  transform: translateX(-50%);
  width: 80px;             /* dash width */
  height: 5px;             /* dash thickness */
  background-color: #ff6e00;
  
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Each tile is now square */
.work-tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1; /* square */
  cursor: pointer;
  animation: fadeInUp 0.6s ease forwards;
}

/* Ensure image fills the tile */
.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-tile:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 110, 0, 0.4); /* Subtle orange shadow */
  z-index: 5; /* To make the image pop over neighbors */
}

/* Hover tint overlay with orange and blur */
.tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 110, 0, 0.75); /* stronger orange tint */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  text-align: center;
}

/* Show overlay on hover */
.work-tile:hover .tile-overlay {
  opacity: 1;
  background-color: rgba(255, 110, 0, 0.85);
  backdrop-filter: blur(6px);
}

.work-tile:nth-child(1) { animation-delay: 0.1s; }
.work-tile:nth-child(2) { animation-delay: 0.3s; }
.work-tile:nth-child(3) { animation-delay: 0.5s; }

.tile-overlay h3,
.tile-overlay p {
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  padding: 0 10px;
}

.tile-overlay h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tile-overlay p {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.3;
}
/* Title */
.tile-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Description paragraph */
.tile-description {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Read More button with icon */
.tile-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 2px solid white;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tile-button:hover {
  background-color: white;
  color: #ff6e00; /* orange */
}

/* Search icon styling */
.search-icon {
  display: inline-block;
  font-size: 1.1rem;
  /* optional: add more styling or use fontawesome */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .work-grid {
    grid-template-columns: 1fr;
    padding: 20px 10px; 
  }
}

/* Contact Section */
.contact-section {
  padding: 30px 20px 60px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 20px;
}

/* Contact container layout */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Left: Image */
.contact-image {
  flex: 1 1 50%;
  background-color: #e6f0fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* Right: Form */
.contact-form {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  background: #fafafa;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
  outline: none;
}

.submit-btn {
  background-color: #1a73e8;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #155dc1;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}

.social-links img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.15);
}

.testimonial {
  margin-top: 40px;
  font-style: italic;
  color: #333;
  font-size: 1rem;
}

/* Responsive: Stack on small screens */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-image,
  .contact-form {
    flex: 1 1 100%;
    padding: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

.site-footer {
  background-color: #1e1e2f;
  color: #ffffff;
  padding: 40px 20px 10px;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
}

.footer-branding p {
  font-size: 0.95rem;
  color: #bbbbbb;
}

.footer-links h4,
.footer-socials h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #cccccc;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ff6b6b;
}

.social-icons a {
  font-size: 1.5rem;
  color: #cccccc;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff6b6b;
}

.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #222;
  padding-top: 10px;
  font-weight: 300;
}

.site-footer {
  background-color: #1e1e2f;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;  /* vertically center logo and text */
  gap: 20px;            /* spacing between logo and text */
  max-width: 500px;
}

.footer-left p {
  margin: 0;            /* remove default margin */
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.4;
}


.footer-logo {
  width: 140px;
  object-fit: contain;
}

.footer-left p {
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-right h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
}

.social-icons a {
  display: inline-block;
  margin-right: 20px;
  font-size: 1.6rem;
  color: #bbb;
  transition: color 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  border: 2px solid transparent;
}

.social-icons a:last-child {
  margin-right: 0;
}

.social-icons a:hover {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.1);
}


@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right {
    margin-top: 20px;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.spacer-20 { margin-top: 20px; }
.spacer-40 { margin-top: 40px; }
.spacer-60 { margin-top: 60px; }
.spacer-30 {
  margin-top: 30px;
}