/**
* Template Name: Dewi
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: #444444;
}

a {
  color: #ff4a17;
  text-decoration: none;
}

a:hover {
  color: #ff724a;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #ff4a17;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #ff6a40;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ff4a17;
  border-top-color: #ffe9e3;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ======= Section Spacing & Padding ======= */
.about, .about-boxes, .services, .faq-section, .contact {
  padding: 4rem 0;
}

/* ======= About Boxes Section ======= */
.about-boxes .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
  position: relative;
}

.about-boxes .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-boxes .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.about-boxes .card:hover .card-img-top {
  transform: scale(1.05);
}

.about-boxes .card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.about-boxes .card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.about-boxes .card-icon i {
  font-size: 24px;
  color: white;
  transition: all 0.3s ease;
}

.about-boxes .card:hover .card-icon i {
  transform: scale(1.1);
}

.about-boxes .card-body {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.about-boxes .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.about-boxes .card:hover .card-title {
  color: #2563EB;
}

.about-boxes .card-title a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-boxes .card-title a:hover {
  color: #2563EB;
}

.about-boxes .card-text {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Icon animations */
@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.about-boxes .card-icon {
  animation: iconFloat 3s ease-in-out infinite;
}

.about-boxes .card:nth-child(1) .card-icon {
  animation-delay: 0s;
}

.about-boxes .card:nth-child(2) .card-icon {
  animation-delay: 0.5s;
}

.about-boxes .card:nth-child(3) .card-icon {
  animation-delay: 1s;
}

/* Mobile responsive styles for about boxes */
@media (max-width: 767.98px) {
  .about-boxes .card {
    margin-bottom: 2rem;
  }
  
  .about-boxes .card-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }
  
  .about-boxes .card-icon i {
    font-size: 20px;
  }
  
  .about-boxes .card-body {
    padding: 1.5rem;
  }
  
  .about-boxes .card-title {
    font-size: 1.2rem;
  }
  
  .about-boxes .card-text {
    font-size: 0.95rem;
  }
}

/* Ensure all main sections have proper padding */
main section {
  padding: 4rem 0;
}

/* Hero section specific padding */
.hero-section {
  padding-top: calc(100px + 2rem); /* Header height + extra spacing */
  padding-bottom: 4rem;
  margin-top: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  background: rgba(14, 23, 38, 0.88);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(21, 34, 43, 0.85);
  padding: 10px 0;
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
}

#header .logo a {
  color: #fff;
}

#header .logo img {
  max-height: 40px;
  filter: none;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  white-space: nowrap;
  padding: 8px 12px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  padding: 0 3px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: #ff4a17;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #fff;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 4px;
  color: #fff;
  border: 2px solid #fff;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #fff;
  background: #fd3800;
  border-color: #ff4a17;
}

.navbar>ul>li>.getstarted:before {
  visibility: hidden;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #15222b;
  font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #ff4a17;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

/* Hide mobile menu button on desktop */
@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(4, 7, 9, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #15222b;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #ff4a17;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #ff4a17;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") top center;
  background-size: cover;
  position: relative;
  padding: 0;
}

#hero:before {
  content: "";
  background: linear-gradient(180deg, rgba(10,16,22,0.75) 0%, rgba(10,16,22,0.85) 100%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: #fff;
}

#hero h2 {
  color: #eee;
  margin-bottom: 50px;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  display: inline-block;
  padding: 10px 35px 10px 35px;
  border-radius: 4px;
  transition: 0.5s;
  color: #fff;
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
  border: 2px solid transparent;
  box-shadow: 0 10px 20px rgba(37,99,235,0.25);
}

#hero .btn-get-started:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(37,99,235,0.35);
}

#hero .btn-watch-video {
  font-size: 16px;
  display: inline-block;
  transition: 0.5s;
  margin-left: 25px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#hero .btn-watch-video i {
  line-height: 0;
  color: #fff;
  font-size: 32px;
  transition: 0.3s;
  margin-right: 8px;
}

#hero .btn-watch-video:hover i {
  color: #ff4a17;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/* Modern hero gradient and shapes */
#hero { position: relative; }
#hero:before { background: linear-gradient(180deg, rgba(10,16,22,0.75) 0%, rgba(10,16,22,0.85) 100%); }
.hero-shape { position: absolute; width: 120px; height: 120px; border-radius: 50%; filter: blur(30px); opacity: 0.35; animation: floatY 6s ease-in-out infinite; }
.hero-shape-1 { background: #3b82f6; top: 15%; left: 12%; animation-delay: 0.2s; }
.hero-shape-2 { background: #22d3ee; bottom: 18%; right: 18%; animation-delay: 0.6s; }
.hero-shape-3 { background: #a78bfa; top: 30%; right: 10%; animation-delay: 1s; }
@keyframes floatY { 0% { transform: translateY(0); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0); } }

/* Rotating words emphasis */
.rotating-words { color: #fff; border-bottom: 2px solid rgba(255,255,255,0.35); padding-bottom: 2px; }

/* Gradient primary button */
#hero .btn-get-started {
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(37,99,235,0.25);
}
#hero .btn-get-started:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(37,99,235,0.35);
}

/* Services cards micro-interactions */
.services .icon-box {
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 6px;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: visible; /* allow hover lift/shadow to be fully visible */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.services .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
  pointer-events: none; /* allow clicks to pass through overlay */
}

.services .icon-box:hover::before {
  left: 100%;
}

.services .icon-box:hover {
  transform: translateY(-15px) scale(1.05);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.12) 50%, rgba(236, 72, 153, 0.15) 100%);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.services .icon-box i {
  float: left;
  color: #5c8eb0;
  font-size: 40px;
  line-height: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.services .icon-box:hover i {
  transform: scale(1.2) rotate(8deg);
  color: #2563eb;
}

.services .icon-box h4 {
  margin-left: 70px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.services .icon-box h4 a {
  color: #365870;
  transition: 0.3s;
  text-decoration: none;
}

.services .icon-box:hover h4 a {
  color: #2563eb;
}

.services .icon-box p {
  margin-left: 70px;
  line-height: 24px;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.services .icon-box:hover p {
  transform: translateY(-1px);
  color: #374151;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: url("../img/testimonials-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(13, 20, 26, 0.7);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: #eee;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #a1bdd1;
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ff4a17;
  opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #444444;
  margin: 0 3px 10px 3px;
  transition: all ease-in-out 0.3s;
  background: #e5edf3;
  border-radius: 4px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: #ff4a17;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
  overflow: hidden;
}

.portfolio .portfolio-item img {
  position: relative;
  top: 0;
  transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -50px;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: #ff4a17;
  padding: 15px 20px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-item .portfolio-info p {
  color: #fff;
  font-size: 14px;
  margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: white;
  transition: ease-in-out 0.3s;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #ffc1b0;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 15px;
}

.portfolio .portfolio-item:hover img {
  top: -30px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #ff4a17;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ff4a17;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(21, 34, 43, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  position: relative;
}

.team .container {
  position: relative;
  z-index: 10;
}

.team .member {
  margin-bottom: 80px;
  position: relative;
}

.team .member .pic {
  overflow: hidden;
}

.team .member .member-info {
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  background: #fff;
  padding: 20px 15px;
  color: #15222b;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  color: #15222b;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #7fa5c0;
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: #477392;
}

.team .member .social a:hover {
  color: #ff4a17;
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

@media (max-width: 992px) {
  .team .member {
    margin-bottom: 110px;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #ff4a17;
  border-radius: 50%;
  padding: 8px;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #ff4a17;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #ff4a17;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #ff5e31;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f0f4f8;
  min-height: 40px;
  margin-top: 78px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #263d4d;
  content: "/";
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 52px;
  }

  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #121d24;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #15222b;
  border-bottom: 1px solid #1d303c;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 28px;
  margin: 0 0 15px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #ff4a17;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ff5e31;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #ff4a17;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #ff4a17;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #ff5e31;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

#footer .credits a {
  transition: 0.3s;
}

/* Accessibility utilities */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

/* Subtle hero text animation */
@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
#hero h2 { animation: heroFadeUp 800ms ease 120ms both; }
#hero .d-flex { animation: heroFadeUp 900ms ease 240ms both; }

/* IDS requested scheme: Header/Footer #0A0F1E, Footer gradient to #1E293B, Accent #2563EB, White text in header/footer */
:root {
  --ids-primary: #2563eb;
  --ids-primary-2: #2563eb;
  --ids-accent: #2563eb;
  --ids-navy-900: #0a0f1e;
  --ids-navy-800: #0a0f1e;
  --ids-navy-700: #1e293b;
  --ids-muted: #9fb6cd;
  --ids-heading: #ffffff;
  --ids-body: #1f2937;
}

/* Header: switch to white navbar with dark text */
#header { background: #ffffff !important; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
#header.header-scrolled, #header.header-inner-pages { background: #ffffff !important; }
#header .logo a, #header .logo { color: #0f172a; }
.navbar a, .navbar a:focus { color: #0f172a !important; }
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover>a { color: var(--ids-primary) !important; }
.navbar>ul>li>a:before { background-color: var(--ids-primary); }
.mobile-nav-toggle { color: #0f172a; }

/* Footer: dark navy with gradient */
#footer { background: var(--ids-navy-900) !important; }
#footer .footer-top { background: linear-gradient(180deg, var(--ids-navy-900) 0%, var(--ids-navy-700) 100%) !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
#footer, #footer .footer-top, #footer .footer-top .footer-info p, #footer .footer-top .footer-info h3 { color: #ffffff; }
#footer .footer-top .footer-links ul a { color: #ffffff; }
#footer .footer-top .footer-links ul a:hover { color: var(--ids-primary); }
#footer .footer-top .footer-links ul i { color: var(--ids-primary); }
#footer .credits a { color: var(--ids-primary); }

/* Links and buttons accents */
a { color: var(--ids-primary); }
a:hover { color: #3b82f6; }
#hero .btn-get-started { background: var(--ids-primary); border-color: var(--ids-primary); }
#hero .btn-get-started:hover { background: #3b82f6; border-color: #3b82f6; }
.contact .php-email-form button[type=submit] { background: var(--ids-primary); }
.contact .php-email-form button[type=submit]:hover { background: #3b82f6; }

/* Ensure About stats and content remain readable on light background */
.about .content h3 { color: #0f2a3e !important; }
.about .content { color: #264960; }
.about .count-box span { color: #0f2a3e !important; }
.about .count-box p { color: #244055 !important; }
.about .count-box i { color: var(--ids-primary) !important; }

/* Unified Inner Hero */
.inner-hero { position: relative; padding: 96px 0; background-size: cover; background-position: center; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.75) 100%); }
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h2, .inner-hero .title { color: #ffffff; font-size: 44px; font-weight: 800; letter-spacing: 0.2px; margin: 0; }
.inner-hero p, .inner-hero .subtitle { color: #e6ecf5; margin-top: 10px; font-size: 19px; max-width: 820px; margin-left: auto; margin-right: auto; }

/* Subtle abstract pattern for inner hero (no image asset needed) */
.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1200px 600px at 80% 20%, rgba(37,99,235,0.20), transparent 60%),
    radial-gradient(900px 500px at 20% 80%, rgba(124,58,237,0.18), transparent 60%),
    radial-gradient(2px 2px at 10% 30%, rgba(255,255,255,0.12) 50%, transparent 51%),
    radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.10) 50%, transparent 51%),
    radial-gradient(2px 2px at 70% 40%, rgba(255,255,255,0.08) 50%, transparent 51%);
  background-repeat: no-repeat, no-repeat, repeat, repeat, repeat;
  opacity: 0.12;
}

/* Tweak inner hero spacing under white header */
.inner-hero { padding-top: 96px; padding-bottom: 96px; }

@media (max-width: 767.98px) {
  .inner-hero { padding-top: 112px; padding-bottom: 72px; }
  .inner-hero h2, .inner-hero .title { font-size: 32px; }
  .inner-hero p, .inner-hero .subtitle { font-size: 16px; }
}
#header { position: fixed; top: 0; left: 0; right: 0; }

/* Rich content spacing */
.section-rich { padding: 80px 0; }
.section-rich .lead { font-size: 18px; color: #244055; }

/* Section dividers */
.services.section-bg { position: relative; }
.services.section-bg::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(37,99,235,0), rgba(37,99,235,0.25), rgba(37,99,235,0));
}
.services + .services::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(37,99,235,0), rgba(37,99,235,0.2), rgba(37,99,235,0));
}

/* Bullet badges */
.services ul { padding-left: 0; list-style: none; }
.services ul li { position: relative; padding-left: 36px; margin-bottom: 10px; }
.services ul li::before {
  content: "\f26e"; /* bx-check-double */
  font-family: "boxicons";
  position: absolute;
  left: 0; top: 2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff; font-size: 14px;
  box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}

/* Service illustrations: subtle float + glow */
.service-illustration {
  display: block;
  will-change: transform, filter;
  transition: transform 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease;
  animation: serviceImgFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}

.service-illustration:hover {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 14px 36px rgba(37,99,235,0.35));
}

.service-illustration.in-view {
  filter: drop-shadow(0 18px 48px rgba(37,99,235,0.28)) drop-shadow(0 0 0 rgba(0,0,0,0));
}

@keyframes serviceImgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Image helpers */
.img-raised { border-radius: 8px; box-shadow: 0 20px 50px rgba(9,13,26,0.18); }

/* WhatsApp Floating Action Button */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 9999;
  text-decoration: none;
}
.whatsapp-fab i { font-size: 28px; line-height: 1; }
.whatsapp-fab:hover { filter: brightness(1.05); transform: translateY(-2px); transition: transform .2s ease; }
@media (max-width: 575.98px){ .whatsapp-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; } }

/* Chat Contact Card */
.chat-contact-card {
  background: linear-gradient(135deg, #0A0F1E 0%, #1E293B 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
}

.chat-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #3B82F6, #60A5FA);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.chat-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  animation: pulse 2s ease-in-out infinite;
}

.chat-avatar i {
  font-size: 24px;
  color: white;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.chat-info h4 {
  color: white;
  margin: 0 0 5px 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.chat-info p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

.chat-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

.status-text {
  color: #10B981;
  font-size: 0.85rem;
  font-weight: 500;
}

.chat-options {
  margin-bottom: 25px;
}

.chat-option {
  display: flex;
  align-items: center;
  padding: 15px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.chat-option:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateX(5px);
}

.option-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.chat-option:hover .option-icon {
  background: rgba(37, 99, 235, 0.3);
  transform: scale(1.1);
}

.option-icon.whatsapp-icon {
  background: rgba(37, 211, 102, 0.2);
}

.chat-option:hover .option-icon.whatsapp-icon {
  background: rgba(37, 211, 102, 0.3);
}

.option-icon i {
  font-size: 18px;
  color: #2563EB;
}

.option-icon.whatsapp-icon i {
  color: #25D366;
}

.option-content {
  flex: 1;
}

.option-content h5 {
  color: white;
  margin: 0 0 3px 0;
  font-size: 1rem;
  font-weight: 600;
}

.option-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.85rem;
}

.chat-option .btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
}

.chat-option .btn:hover {
  transform: scale(1.05);
}

.chat-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.benefit-item i {
  color: #10B981;
  font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .chat-contact-card {
    padding: 20px;
  }
  
  .chat-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .chat-status {
    margin-left: 0;
  }
  
  .chat-option {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .option-icon {
    margin-right: 0;
  }
  
  .chat-benefits {
    text-align: center;
  }
}

/* ======= Modern Hero Section ======= */
.hero-section {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  overflow: visible;
  background: linear-gradient(135deg, #0A0F1E 0%, #1E293B 50%, #0F172A 100%);
  padding-top: 12rem; /* increased top padding for better spacing */
  padding-bottom: 4rem;
}

/* Dynamic height management for different platforms */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
    height: 100vh;
    align-items: center;
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
    height: auto;
    align-items: center;
    padding-top: 12rem;
    padding-bottom: 5rem;
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .hero-section {
    min-height: 100vh;
    height: auto;
    align-items: center;
    padding-top: 12rem;
    padding-bottom: 4rem;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

/* Floating Shapes Animation */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 25%;
  animation-delay: 2s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 3s;
}

.shape-5 {
  width: 40px;
  height: 40px;
  top: 80%;
  left: 60%;
  animation-delay: 4s;
}

.shape-6 {
  width: 90px;
  height: 90px;
  bottom: 40%;
  right: 10%;
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Hero Content */
.hero-section .container {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 10rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem; /* Additional container padding for badge clearance */
}

/* Ensure proper hero section layout */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-section .row {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-section .col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Ensure hero content is always visible */
.hero-content {
  position: relative;
  z-index: 15;
  width: 100%;
  max-width: 100%;
}

/* Ensure proper spacing for mobile */
@media (max-width: 767.98px) {
  .hero-section {
    padding-top: calc(80px + 3rem) !important; /* Mobile header height + spacing */
    padding-bottom: 4rem;
    min-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .hero-section .row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 10rem);
  }
  
  .hero-content {
    order: 1;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    text-align: center;
    padding: 0 1rem;
  }
  
  .hero-visual {
    order: 2;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    justify-content: center;
  }
  
  .tech-stack {
    margin: 0 auto;
    justify-content: center;
  }
  
  /* Mobile hero badge styling */
  .hero-badge {
    margin-bottom: 1.5rem !important;
    padding-top: 0 !important;
    display: block;
    text-align: center;
  }
  
  /* Mobile hero title styling */
  .hero-title {
    font-size: 2.2rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center;
    line-height: 1.3;
  }
  
  /* Mobile hero subtitle styling */
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
    text-align: center;
    padding: 0 0.5rem;
  }
  
  /* Mobile hero CTA styling */
  .hero-cta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
  }
}

/* Fix hero section layout alignment */
.hero-section .row {
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  text-align: left;
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  left: 0;
}

.hero-visual {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  right: 0;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 320px;
  margin-left: auto;
  justify-items: center;
  position: relative;
  right: 0;
  width: 100%;
  height: auto;
}

/* Ensure tech items are properly aligned */
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Additional mobile fixes for hero content visibility */
@media (max-width: 767.98px) {
  .hero-section {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section .container {
    overflow: visible;
    height: auto;
    min-height: calc(100vh - 9rem);
  }
  
  .hero-content {
    overflow: visible;
    height: auto;
  }
}

.hero-content {
  color: #FFFFFF;
  position: relative;
  z-index: 15;
}

.hero-badge {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 15;
  padding-top: 2rem; /* Extra padding to ensure visibility */
  margin-top: 1rem; /* Additional top margin for clearance */
}

.badge-text {
  display: inline-block;
  background: linear-gradient(45deg, #2563EB, #7C3AED);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideInLeft 1s ease-out;
}

/* Hero title positioning to prevent overlap with tech boxes */
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  z-index: 10;
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Ensure hero buttons are always visible */
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 15;
  width: 100%;
  max-width: 100%;
}

.hero-cta .btn {
  position: relative;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-title .rotating-text {
  display: inline-block;
  min-height: 4.2rem;
  margin-right: 0.5rem;
  position: relative;
  z-index: 10;
}

.hero-title .rotating-text .text-item {
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.hero-title .rotating-text .text-item:nth-child(1) { animation-delay: 0s; }
.hero-title .rotating-text .text-item:nth-child(2) { animation-delay: 2s; }
.hero-title .rotating-text .text-item:nth-child(3) { animation-delay: 4s; }
.hero-title .rotating-text .text-item:nth-child(4) { animation-delay: 6s; }

@keyframes rotateText {
  0%, 20%, 100% {
    opacity: 0;
    transform: translateY(20px);
  }
  25%, 45% {
    opacity: 1;
    transform: translateY(0);
  }
  50%, 100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.6s both;
  position: relative;
  z-index: 15;
}

.title-continuation { 
  display: inline-block; 
  margin-top: 0.5rem; 
  position: relative;
  z-index: 10;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.9s both;
  position: relative;
  z-index: 15;
}

.hero-cta .btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-cta .btn-primary {
  background: linear-gradient(45deg, #2563EB, #7C3AED);
  border: none;
  color: white;
}

.hero-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.hero-cta .btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.hero-cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.btn-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.hero-cta .btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  animation: fadeInUp 1s ease-out 1.2s both;
  position: relative;
  z-index: 15;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2563EB;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Hero Visual - Tech Stack */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

/* Mobile layout adjustments */
@media (max-width: 767.98px) {
  .hero-section .row {
    flex-direction: column;
  }
  
  .hero-section .col-lg-6 {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Ensure proper content distribution on mobile */
  .hero-section {
    overflow-y: auto; /* enable vertical scrolling */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  }
  
  /* Better spacing for mobile content */
  .hero-content > * {
    margin-bottom: 1.5rem;
  }
  
  .hero-content > *:last-child {
    margin-bottom: 0;
  }
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 350px;
  width: 100%;
  position: relative;
  z-index: 5;
}

/* Enhanced Tech Box Backgrounds - More Modern & Attractive */
.tech-item {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.1) 0%, 
    rgba(124, 58, 237, 0.08) 50%, 
    rgba(236, 72, 153, 0.1) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out both;
  transform: translateY(20px);
  opacity: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(37, 99, 235, 0.15), 
    rgba(124, 58, 237, 0.15), 
    transparent);
  transition: left 0.6s ease;
}

.tech-item:hover::before {
  left: 100%;
}

.tech-item:nth-child(1) { 
  animation-delay: 0.1s; 
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
}
.tech-item:nth-child(2) { 
  animation-delay: 0.2s; 
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(147, 51, 234, 0.1) 100%);
}
.tech-item:nth-child(3) { 
  animation-delay: 0.3s; 
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(244, 63, 94, 0.1) 100%);
}
.tech-item:nth-child(4) { 
  animation-delay: 0.4s; 
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
}
.tech-item:nth-child(5) { 
  animation-delay: 0.5s; 
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
}
.tech-item:nth-child(6) { 
  animation-delay: 0.6s; 
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.tech-item.animate-in {
  transform: translateY(0);
  opacity: 1;
}

.tech-item:hover {
  transform: translateY(-15px) scale(1.08);
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.25) 0%, 
    rgba(124, 58, 237, 0.2) 50%, 
    rgba(236, 72, 153, 0.25) 100%);
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 
    0 25px 50px rgba(37, 99, 235, 0.3),
    0 0 0 1px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tech-item:active {
  transform: translateY(-8px) scale(1.04);
  transition: all 0.1s ease;
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tech-item:hover .tech-icon {
  transform: scale(1.2) rotate(8deg);
  filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.4));
}

.tech-item:active .tech-icon {
  transform: scale(1.1) rotate(4deg);
  transition: all 0.1s ease;
}

.tech-name {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.2;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tech-item:hover .tech-name {
  color: #2563EB;
  text-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

/* Pulse animation for tech boxes */
@keyframes techPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.tech-item:hover {
  animation: techPulse 2s infinite;
}

/* Floating animation for tech boxes */
@keyframes techFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.tech-item {
  animation: techFloat 3s ease-in-out infinite;
}

.tech-item:nth-child(1) { animation-delay: 0s; }
.tech-item:nth-child(2) { animation-delay: 0.5s; }
.tech-item:nth-child(3) { animation-delay: 1s; }
.tech-item:nth-child(4) { animation-delay: 1.5s; }
.tech-item:nth-child(5) { animation-delay: 2s; }
.tech-item:nth-child(6) { animation-delay: 2.5s; }

/* Glow effect on hover */
.tech-item::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #2563EB, #7C3AED, #EC4899, #2563EB);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-item:hover::after {
  opacity: 0.4;
}

/* Click ripple effect */
.tech-item.ripple {
  position: relative;
  overflow: hidden;
}

.tech-item.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.tech-item.ripple:active::before {
  width: 300px;
  height: 300px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
  animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, #2563EB, transparent);
  margin: 0 auto 0.5rem;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.scroll-text {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Animation Keyframes */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (min-width: 992px) {
  .hero-section {
    padding-top: 11rem; /* increased desktop header clearance */
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 8rem 0 4rem; /* increased top padding for tablet */
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section .container {
    min-height: calc(100vh - 8rem);
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-title .rotating-text {
    min-height: 3.5rem;
  }
  
  .hero-subtitle {
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
  }
  
  .tech-stack {
    margin-top: 2rem;
    max-width: 300px;
    gap: 1.2rem;
  }
  
  .tech-item {
    padding: 1.2rem;
    min-height: 100px;
  }
  
  .tech-icon {
    font-size: 2rem;
  }
  
  .tech-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 9rem 0 5rem; /* increased top padding for mobile */
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 10rem; /* extra top space for fixed header */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section .container {
    padding-top: 2rem; /* additional top spacing */
    padding-bottom: 3rem; /* additional bottom spacing */
    min-height: calc(100vh - 9rem);
  }
  
  /* Ensure hero content is always visible on mobile */
  .hero-content {
    margin-bottom: 2rem;
    padding-top: 1rem;
    text-align: center;
  }
  
  .hero-badge {
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
  }
  
  .hero-title {
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero-title .rotating-text {
    display: block;
    min-height: 3rem;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .title-continuation {
    display: block;
    margin-top: 0;
  }
  
  .hero-subtitle {
    margin-bottom: 2rem;
    display: block;
    text-align: center;
    font-size: 1rem;
  }
  
  .hero-cta {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 1rem 1.5rem;
  }
  
  .hero-stats {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    display: flex;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .tech-stack {
    grid-template-columns: repeat(2, 1fr);
    max-width: 280px;
    gap: 1rem;
    margin: 2rem auto 0;
    justify-content: center;
  }
  
  .tech-item {
    padding: 1rem;
    min-height: 90px;
  }
  
  .tech-icon {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
  }
  
  .tech-name {
    font-size: 0.75rem;
  }
  
  .hero-badge {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Ensure hero content elements have proper spacing on mobile */
  .hero-content > * {
    margin-bottom: 1.5rem;
  }
  
  .hero-content > *:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: calc(80px + 4rem) !important; /* Small mobile header + spacing */
    padding-bottom: 6rem;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section .container {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    min-height: calc(100vh - 10rem);
  }
  
  /* Ensure all hero content is visible on small mobile */
  .hero-content {
    padding-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-badge {
    margin-bottom: 1.5rem !important;
    padding-top: 0 !important;
    display: block;
    text-align: center;
  }
  
  .hero-title {
    margin-bottom: 1.5rem !important;
    display: block;
    text-align: center;
    font-size: 1.8rem !important;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    margin-bottom: 2rem !important;
    display: block;
    text-align: center;
    font-size: 0.9rem !important;
    padding: 0 0.5rem;
  }
  
  .hero-cta {
    margin-bottom: 2.5rem !important;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100% !important;
    max-width: 250px !important;
    justify-content: center;
    padding: 0.9rem 1.3rem !important;
    font-size: 0.95rem !important;
  }
  
  .hero-stats {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .hero-title .rotating-text {
    min-height: 2.8rem;
  }
  
  .hero-stats {
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  
  .stat-item {
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .tech-stack {
    max-width: 250px;
    gap: 0.8rem;
    margin-top: 2rem;
  }
  
  .tech-item {
    padding: 0.8rem;
    min-height: 80px;
  }
  
  .tech-icon {
    font-size: 1.5rem;
  }
  
  .tech-name {
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .hero-section {
    padding-top: calc(80px + 5rem) !important; /* Very small mobile header + spacing */
    padding-bottom: 6.5rem;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section .container {
    padding-top: 3rem;
    padding-bottom: 4.5rem;
    min-height: calc(100vh - 10.5rem);
  }
  
  /* Hero content visibility for very small mobile */
  .hero-content {
    padding-top: 2rem;
    margin-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-badge {
    margin-bottom: 1.5rem !important;
    padding-top: 0 !important;
    display: block;
    text-align: center;
  }
  
  .hero-title {
    margin-bottom: 1.5rem !important;
    display: block;
    text-align: center;
    font-size: 1.7rem !important;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    margin-bottom: 2rem !important;
    display: block;
    text-align: center;
    font-size: 0.95rem !important;
    padding: 0 0.5rem;
  }
  
  .hero-cta {
    margin-bottom: 2.5rem !important;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100% !important;
    max-width: 240px !important;
    justify-content: center;
    padding: 0.85rem 1.2rem !important;
    font-size: 0.9rem !important;
  }
  
  .hero-stats {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  
  .hero-title .rotating-text { min-height: 2.4rem; }
  .tech-stack { max-width: 240px; gap: 0.75rem; margin-top: 2rem; }
  .tech-item { min-height: 76px; padding: 0.7rem; }
  .tech-icon { font-size: 1.4rem; }
  .tech-name { font-size: 0.68rem; }
  .scroll-indicator { display: none; }
  
  /* Hero content spacing for very small mobile */
  .hero-content > * {
    margin-bottom: 1.2rem;
  }
  
  .hero-content > *:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 360px) {
  .hero-section {
    padding-top: calc(80px + 6rem) !important; /* Tiny mobile header + spacing */
    padding-bottom: 7rem;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section .container {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
    min-height: calc(100vh - 11rem);
  }
  
  /* Hero content visibility for tiny mobile */
  .hero-content {
    padding-top: 2.5rem;
    margin-bottom: 3.5rem;
  }
  
  .hero-badge {
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
  }
  
  .hero-title {
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    font-size: 1.55rem;
  }
  
  .hero-subtitle {
    margin-bottom: 2rem;
    display: block;
    text-align: center;
    font-size: 0.9rem;
  }
  
  .hero-cta {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .hero-stats {
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .hero-title { font-size: 1.55rem; margin-bottom: 0.8rem; }
  .hero-title .rotating-text { min-height: 2.2rem; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .hero-cta { margin-bottom: 2rem; }
  .hero-cta .btn { max-width: 220px; }
  .hero-stats { margin-bottom: 2rem; }
  .tech-stack { max-width: 220px; gap: 0.6rem; margin-top: 2rem; }
  .tech-item { min-height: 70px; padding: 0.6rem; }
  .tech-icon { font-size: 1.3rem; }
  .tech-name { font-size: 0.65rem; }
  
  /* Hero content spacing for tiny mobile */
  .hero-content > * {
    margin-bottom: 1rem;
  }
  
  .hero-content > *:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 320px) {
  .hero-section {
    padding-top: calc(80px + 7rem) !important; /* Smallest mobile header + spacing */
    padding-bottom: 7.5rem;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section .container {
    padding-top: 4rem;
    padding-bottom: 5.5rem;
    min-height: calc(100vh - 11.5rem);
  }
  
  /* Hero content visibility for smallest mobile */
  .hero-content {
    padding-top: 3rem;
    margin-bottom: 4rem;
  }
  
  .hero-badge {
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
  }
  
  .hero-title {
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    font-size: 1.45rem;
  }
  
  .hero-subtitle {
    margin-bottom: 2rem;
    display: block;
    text-align: center;
    font-size: 0.85rem;
  }
  
  .hero-cta {
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .hero-stats {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
  }
  
  .hero-title { font-size: 1.45rem; margin-bottom: 0.8rem; }
  .hero-title .rotating-text { min-height: 2rem; }
  .hero-subtitle { margin-bottom: 1.5rem; }
  .hero-cta { margin-bottom: 2rem; }
  .hero-cta .btn { max-width: 200px; padding: 0.8rem 1rem; }
  .hero-stats { margin-bottom: 2rem; }
  .tech-stack { max-width: 200px; gap: 0.5rem; margin-top: 2rem; }
  .tech-item { min-height: 64px; }
  
  /* Hero content spacing for smallest mobile */
  .hero-content > * {
    margin-bottom: 0.8rem;
  }
  
  .hero-content > *:last-child {
    margin-bottom: 0;
  }
}

/* Ensure smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Critical fix for hero section content visibility */
.hero-section {
  overflow: visible !important;
}

.hero-section .container {
  overflow: visible !important;
}

.hero-content {
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force hero content to be visible on all devices */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta,
.hero-stats {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.hero-cta {
  display: flex !important;
}

.hero-stats {
  display: flex !important;
}

/* Device-specific height management */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    height: auto;
    padding-top: 8rem;
    padding-bottom: 2rem;
  }
  
  .hero-section .container {
    min-height: calc(100vh - 8rem);
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
}

@media (orientation: portrait) and (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    height: auto;
    padding-top: 10rem;
    padding-bottom: 4rem;
  }
  
  .hero-section .container {
    min-height: calc(100vh - 10rem);
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}

/* Final fallback to ensure hero content is always visible */
@media (max-width: 1200px) {
  .hero-section {
    overflow: visible !important;
    height: auto !important;
  }
  
  .hero-section .container {
    overflow: visible !important;
    height: auto !important;
  }
  
  .hero-content {
    overflow: visible !important;
    height: auto !important;
    position: relative !important;
    z-index: 999 !important;
  }
}

/* Service Cards Animation Effects - Same as Hero Tech Boxes */
.services .icon-box {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.03) 50%, rgba(236, 72, 153, 0.05) 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.services .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.services .icon-box:hover::before {
  left: 100%;
}

.services .icon-box:hover {
  transform: translateY(-15px) scale(1.05);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.12) 50%, rgba(236, 72, 153, 0.15) 100%);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.services .icon-box:active {
  transform: translateY(-8px) scale(1.02);
  transition: all 0.1s ease;
}

.services .icon-box i {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 2;
}

.services .icon-box:hover i {
  transform: scale(1.2) rotate(8deg);
  filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.4));
  color: #2563EB;
}

.services .icon-box:active i {
  transform: scale(1.1) rotate(4deg);
  transition: all 0.1s ease;
}

.services .icon-box h4 {
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.services .icon-box:hover h4 {
  color: #2563EB;
  text-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.services .icon-box h4 a {
  transition: all 0.3s ease;
}

.services .icon-box:hover h4 a {
  color: #2563EB;
}

.services .icon-box p {
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.services .icon-box:hover p {
  transform: translateY(-1px);
  color: #374151;
}

/* Service Box Floating Animation */
.services .icon-box {
  animation: serviceFloat 4s ease-in-out infinite;
}

.services .icon-box:nth-child(1) { animation-delay: 0s; }
.services .icon-box:nth-child(2) { animation-delay: 0.5s; }
.services .icon-box:nth-child(3) { animation-delay: 1s; }
.services .icon-box:nth-child(4) { animation-delay: 1.5s; }

/* Ensure service cards have proper spacing and hover effects work on all devices */
.services .icon-box {
  margin-bottom: 30px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.services .icon-box:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

/* Service card responsive adjustments */
@media (max-width: 768px) {
  .services .icon-box {
    margin-bottom: 20px;
    padding: 25px;
  }
  
  .services .icon-box:hover {
    transform: translateY(-10px) scale(1.03);
  }
}

@media (max-width: 576px) {
  .services .icon-box {
    margin-bottom: 15px;
    padding: 20px;
  }
  
  .services .icon-box:hover {
    transform: translateY(-8px) scale(1.02);
  }
}
.services .icon-box:nth-child(5) { animation-delay: 2s; }
.services .icon-box:nth-child(6) { animation-delay: 2.5s; }

/* Service card hover state management */
.services .icon-box:focus {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

.services .icon-box:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

@keyframes serviceFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Service Box Glow Effect */
.services .icon-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #2563EB, #7C3AED, #EC4899, #2563EB);
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none; /* ensure glow layer doesn't block links */
}

.services .icon-box:hover::after {
  opacity: 0.1;
  animation: serviceGlow 3s ease-in-out infinite;
}

/* Ensure CTA buttons are above decorative overlays */
.services .icon-box .btn {
  position: relative;
  z-index: 2;
}

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

/* Service Box Ripple Effect */
.services .icon-box.ripple {
  position: relative;
}

.services .icon-box.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(37, 99, 235, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 3;
}

.services .icon-box.ripple:active::before {
  width: 300px;
  height: 300px;
}

/* Service Box Staggered Entrance Animation */
.services .icon-box {
  opacity: 1; /* ensure visible by default to avoid hover-hide bug */
  transform: none; /* no initial offset to prevent flicker */
  animation: none; /* disable entrance animation that conflicts on hover */
}

.services .icon-box:nth-child(1) { animation-delay: 0.1s; }
.services .icon-box:nth-child(2) { animation-delay: 0.2s; }
.services .icon-box:nth-child(3) { animation-delay: 0.3s; }
.services .icon-box:nth-child(4) { animation-delay: 0.4s; }
.services .icon-box:nth-child(5) { animation-delay: 0.5s; }
.services .icon-box:nth-child(6) { animation-delay: 0.6s; }

@keyframes serviceEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service Box Pulse Animation on Hover */
.services .icon-box:hover {
  /* remove pulse animation to avoid overriding initial state on early hover */
}

@keyframes servicePulse {
  0%, 100% {
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3), 0 0 0 1px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* Ensure service cards are not clipped on hover */
.services,
.services .row {
  overflow: visible !important;
}

.services .icon-box {
  position: relative;
  z-index: 1;
  overflow: visible !important; /* allow lifted card/shine to be visible */
  will-change: transform, box-shadow; /* smoother animations */
  transform: translateZ(0); /* create own layer to avoid cropping glitches */
}

.services .icon-box:hover {
  z-index: 999; /* keep hovered card above neighbors */
}

/* Strengthen anti-clipping for all grid wrappers (home + blog) */
.services .container, .services .col-md-6, .services .col-lg-6, .services .col-lg-8, .services .col-lg-4 {
  overflow: visible !important;
}

/* Ensure blog article cards behave like service cards */
section.services article.icon-box {
  position: relative;
  overflow: visible;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

section.services article.icon-box:hover {
  transform: translateY(-12px) scale(1.03);
  z-index: 12;
  box-shadow: 0 24px 48px rgba(37,99,235,0.2);
}

/* Randomized blog card icon styling */
.blog-card-icon {
  float: left;
  font-size: 40px;
  line-height: 0;
  margin-right: 15px;
  color: #5c8eb0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  animation: blogIconFloat 4s ease-in-out infinite;
}

@keyframes blogIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* FAQ Page Styling */
.faq-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq-category {
  margin-bottom: 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Software Development FAQ - Blue Theme */
.software-dev-faq {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-left: 5px solid #2563eb;
}

.software-dev-faq .category-header {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.software-dev-faq .category-header h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.software-dev-faq .category-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: #93c5fd;
}

/* AI/ML FAQ - Purple Theme */
.ai-ml-faq {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  border-left: 5px solid #7c3aed;
}

.ai-ml-faq .category-header {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.ai-ml-faq .category-header h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.ai-ml-faq .category-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: #c4b5fd;
}

/* Cloud & DevOps FAQ - Green Theme */
.cloud-devops-faq {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-left: 5px solid #16a34a;
}

.cloud-devops-faq .category-header {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.cloud-devops-faq .category-header h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.cloud-devops-faq .category-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: #86efac;
}

/* UI/UX Design FAQ - Pink Theme */
.ui-ux-faq {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  border-left: 5px solid #ec4899;
}

.ui-ux-faq .category-header {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.ui-ux-faq .category-header h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.ui-ux-faq .category-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: #f9a8d4;
}

/* Consulting FAQ - Orange Theme */
.consulting-faq {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  border-left: 5px solid #ea580c;
}

.consulting-faq .category-header {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.consulting-faq .category-header h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.consulting-faq .category-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: #fb923c;
}

/* General FAQ - Gray Theme */
.general-faq {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-left: 5px solid #475569;
}

.general-faq .category-header {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.general-faq .category-header h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.general-faq .category-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: #94a3b8;
}

/* Accordion Styling */
.faq-category .accordion {
  padding: 2rem;
}

.faq-category .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-category .accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-category .accordion-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
  border-radius: 12px 12px 0 0;
  transition: all 0.3s ease;
}

.faq-category .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.95);
  color: #2563eb;
  box-shadow: none;
}

.faq-category .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-category .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: all 0.3s ease;
}

.faq-category .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

.faq-category .accordion-body {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 0 0 12px 12px;
  line-height: 1.7;
}

.faq-category .accordion-body p {
  color: #475569;
  margin-bottom: 1rem;
}

.faq-category .accordion-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-category .accordion-body li {
  color: #475569;
  margin-bottom: 0.5rem;
}

.faq-category .accordion-body strong {
  color: #1e293b;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0a0f1e 0%, #1e293b 100%);
  color: white;
  text-align: center;
}

.cta-section h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  color: white;
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.cta-buttons .btn-outline-primary {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.cta-buttons .btn-outline-primary:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-category .category-header {
    padding: 1.5rem;
  }
  
  .faq-category .category-header h3 {
    font-size: 1.5rem;
  }
  
  .faq-category .category-header i {
    font-size: 2rem;
  }
  
  .faq-category .accordion {
    padding: 1.5rem;
  }
  
  .faq-category .accordion-button {
    padding: 1.25rem;
    font-size: 1rem;
  }
  
  .faq-category .accordion-body {
    padding: 1.25rem;
  }
  
  .cta-section h3 {
    font-size: 2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  /* Responsive section padding */
  main section {
    padding: 3rem 0;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .faq-section {
    padding: 2rem 0;
  }
  
  .faq-category {
    margin-bottom: 2rem;
  }
  
  .faq-category .category-header {
    padding: 1rem;
  }
  
  .faq-category .accordion {
    padding: 1rem;
  }
  
  .cta-section {
    padding: 2rem 0;
  }
  
  .cta-section h3 {
    font-size: 1.75rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
  
  /* Responsive section padding for small mobile */
  main section {
    padding: 2rem 0;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
}

/* Homepage FAQ Section Styling */
#faq.faq-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0;
}

#faq .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

#faq .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 1rem;
}

#faq .section-title p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

#faq .accordion {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

#faq .accordion-item {
  border: none;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

#faq .accordion-item:first-child {
  border-radius: 20px 20px 0 0;
}

#faq .accordion-item:last-child {
  border-radius: 0 0 20px 20px;
  margin-bottom: 0;
}

#faq .accordion-item:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
}

#faq .accordion-item:hover {
  background-color: #f8fafc;
}

#faq .accordion-button {
  background: white;
  border: none;
  padding: 1.5rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
}

#faq .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  box-shadow: none;
}

#faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

#faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: all 0.3s ease;
  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(202deg) brightness(118%) contrast(119%);
}

#faq .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

#faq .accordion-body {
  background: white;
  padding: 1.5rem 2rem;
  line-height: 1.7;
  color: #475569;
}

#faq .accordion-body p {
  margin-bottom: 0;
  font-size: 1rem;
}

#faq .text-center {
  padding: 2rem;
}

#faq .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  color: white;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

#faq .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  color: white;
}

/* Responsive Design for Homepage FAQ */
@media (max-width: 768px) {
  #faq .section-title h2 {
    font-size: 2rem;
  }
  
  #faq .section-title p {
    font-size: 1.1rem;
  }
  
  #faq .accordion-button {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  #faq .accordion-body {
    padding: 1.25rem 1.5rem;
  }
}

@media (max-width: 576px) {
  #faq.faq-section {
    padding: 2rem 0;
  }
  
  #faq .section-title {
    margin-bottom: 2rem;
  }
  
  #faq .section-title h2 {
    font-size: 1.75rem;
  }
  
  #faq .section-title p {
    font-size: 1rem;
  }
  
  #faq .accordion-button {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  
  #faq .accordion-body {
    padding: 1rem 1.25rem;
  }
  
  #faq .btn-primary {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }
}