body,
html {
  font-family: 'Open Sans', sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
  font-size: 20px;
}
h2,
h3,
h4 {
  font-family: 'Raleway', sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
/* Navigation */
#menu {
  padding: 18px 25px;
  transition: all 0.5s ease;
}
#menu.navbar-default {
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

#menu a.navbar-brand {
  font-family: 'Poppins', sans-serif; /* Updated font */
  font-size: 28px;
  font-weight: 700;
  color: #222;
  text-transform: none;
  letter-spacing: -0.5px;
}

#menu.navbar-default .navbar-nav > li > a {
  font-family: 'Inter', sans-serif; /* Updated font */
  text-transform: none;
  color: #444;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 4px;
  margin: 8px 22px 0;
  position: relative;
}

#menu.navbar-default .navbar-nav > li > a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, #6366f1, #3b82f6, #06b6d4);
  border-radius: 2px;
  transition: width 0.3s ease;
}

#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a:after {
  width: 100%;
}

.navbar-toggle {
  border-radius: 6px;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #f3f4f6;
  border-color: #6366f1;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #6366f1;
}

/* Show dropdown on hover */
.navbar-nav > li.dropdown:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown base styling */
.navbar-default .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

/* Dropdown items */
.navbar-default .dropdown-menu > li > a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #555;
  padding: 12px 20px;
  border-radius: 6px;
  position: relative;
  transition:
    background-color 0.2s,
    color 0.2s;
}

/* Gradient hover underline for dropdown items */
.navbar-default .dropdown-menu > li > a::after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #6366f1, #3b82f6, #06b6d4);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.navbar-default .dropdown-menu > li > a:hover {
  color: #222;
  background-color: #f9fafb;
}

.navbar-default .dropdown-menu > li > a:hover::after {
  width: calc(100% - 40px);
}

.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: '';
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #5ca9fb;
  background-image: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #6372ff;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* Projects button */
.btn-projects {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #28a745;
  background-image: linear-gradient(to right, #28a745 0%, #218838 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}

.btn-projects:hover,
.btn-projects:focus {
  background-image: none;
  background-color: #218838;
  color: #fff;
}

/* Ideas button */
.btn-ideas {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #ff7f50;
  background-image: linear-gradient(to right, #ff7f50 0%, #ff6347 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}

.btn-ideas:hover,
.btn-ideas:focus {
  background-image: none;
  background-color: #ff6347;
  color: #fff;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
/* Header Section */
.intro {
  position: relative;
  height: 100vh; /* reduced height */
  background: url(../img/intro-bg.jpg) center center no-repeat;
  background-size: cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
/* Pair layers and fade them */
.bg-pair {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  pointer-events: none; /* don't block pointer events */
  will-change: opacity;
}

.bg-pair.show {
  opacity: 1;
}

/* Keep existing .blur and .bg behavior */
.bg-pair .blur,
.bg-pair .bg {
  width: 100%;
  height: 100%;
  pointer-events: none; /* ensure pointer events go to .slider/.block */
}

/* legacy fade helper (kept for compatibility) */
.fade-bg {
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

.fade-bg:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.blur,
.bg {
  background-size: cover;
  background-position: center;
}

.slider {
  width: 100%;
  height: 100vh;
  position: relative;
}
/* ---------- Responsive Fix for Slider (Final Version) ---------- */

/* General tablet scaling */
@media (max-width: 1024px) {
  .slider {
    height: 80vh;
  }

  .slider .block {
    width: 90%;
    height: auto;
    padding: 30px 20px;
  }

  .slider .block h2 {
    font-size: 4vw; /* scales with screen width */
  }

  .slider .block p {
    font-size: 1.6vw;
  }

  .slider .btn {
    font-size: 1.4vw;
    padding: 12px 28px;
  }
}

/* Tablet and small laptop */
@media (max-width: 768px) {
  .slider {
    height: 75vh;
  }

  .slider .block {
    width: 90%;
    padding: 20px;
  }

  .slider .block h2 {
    font-size: 5vw; /* responsive heading */
  }

  .slider .block p {
    font-size: 2vw;
  }

  .slider .btn {
    margin: 6px;
    font-size: 1.8vw;
    padding: 10px 24px;
  }
}

/* Phone optimization */
@media (max-width: 500px) {
  .slider {
    height: 60vh;
  }

  /* Crop and center images */
  .slider .bg,
  .slider .blur {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll; /* disable parallax on mobile */
  }

  .slider .block {
    width: 95%;
    height: auto;
    border-radius: 20px;
    padding: 16px;
  }

  .slider .block .text {
    padding: 10px;
  }

  .slider .block h2 {
    font-size: 6vw; /* smaller titles that scale nicely */
    line-height: 1.2;
  }

  .slider .block p {
    font-size: 3.5vw; /* readable body text */
    line-height: 1.5;
  }

  .slider .btn {
    font-size: 3.5vw;
    padding: 8px 18px;
    margin: 4px;
  }

  .slider-btn {
    font-size: 1.5rem;
    padding: 6px 10px;
  }

  .slider .navigations .dots li {
    width: 8px;
    height: 8px;
  }
}

/* ensure hover on slider triggers blur even though bg layers are separate */
.slider:hover .bg {
  opacity: 0.2; /* equivalent of your old .item:hover .bg */
}

/* show blur only for the visible bg-pair when slider is hovered */
.slider:hover .bg-pair.show .blur {
  opacity: 0.5; /* only half visible */
}

/* Keep items-group & item layout */
.slider .items-group {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider .item {
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  transition: all 0.5s ease; /* smoother */
  visibility: hidden;
  padding: 50px 20px;
  position: absolute;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.slider .item.active {
  opacity: 1;
  visibility: visible;
}

/* Background layers */
.slider .bg {
  top: 0;
  left: 0;
  opacity: 1;
  z-index: -1;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  position: absolute;
  transform: scale(1.03);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* BLUR LAYER — hidden by default, shown on slider hover for the visible pair */
.slider .blur {
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  transition: opacity 0.45s ease;
  filter: blur(0.01px); /* less intense */
  opacity: 0; /* hidden by default */
  position: absolute;
  transform: scale(1.03);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  /* Add a subtle dark overlay so whites don't blow out */
  background-blend-mode: multiply;
}

/* Hover effects on content (block) */
.slider .block {
  max-width: none;
  max-height: none;
  width: 1200px;
  min-width: 300px;
  height: 300px;
  padding: 20px;
  color: #ffffff;
  transition: box-shadow 0.5s;
  overflow: visible;
  border-radius: 40px;
  transform: scale(1.03);
  box-sizing: border-box;
  background-color: #1d1a1ac5;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  box-shadow: none;
  position: relative;
  z-index: 2; /* ensure block stays above bg layers */
}
.slider .block {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center;
  text-align: center;
  width: 95%;
  max-width: 1200px;
  padding: 20px;
  height: auto; /* auto so text fits */
  min-height: 200px; /* optional minimum height */
}

.slider .block .circleLight {
  top: 0;
  left: 0;
  opacity: 0;
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  transition: 0.5s;
  position: absolute;
  border-radius: 40px;
  background: radial-gradient(circle at 80px 40px, #b10000ff, transparent);
  pointer-events: none; /* ensures links/buttons inside are clickable */
  z-index: 1; /* stays below text/buttons */
}

.slider .block .text {
  width: 100%;
  height: 100%;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #f0f0f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
}
.slider .block .text,
.slider .block a.btn {
  pointer-events: auto;
  z-index: 2;
}
.slider-btn {
  z-index: 10; /* always above .block */
}

.slider .navigations .dots li {
  cursor: pointer;
  pointer-events: auto;
}
.bg-pair,
.bg-pair .blur,
.bg-pair .bg {
  pointer-events: none;
}
.slider .block h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(
    20px,
    6vw,
    60px
  ); /* min 20px, max 60px, scales with viewport */
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.slider .block p {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(
    12px,
    3.5vw,
    20px
  ); /* min 12px, max 20px, scales with viewport */
  color: #ddd;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.slider .block:hover {
  box-shadow: 0px 0px 70px #111;
}

.slider .block:hover .circleLight {
  opacity: 0.4;
}

/* Navigation dots */
.slider .navigations {
  bottom: 0;
  width: 100%;
  position: absolute;
}

.slider .navigations .dots {
  height: 20px;
  padding: 10px 0;
  text-align: center;
}

.slider .navigations .dots li {
  width: 10px;
  height: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.slider .navigations .dots li + li {
  margin-left: 10px;
}

.slider .navigations .dots li:hover {
  filter: blur(2px);
}

.slider .navigations .dots li.active {
  width: 15px;
  height: 15px;
}

.slider .navigations .dots li.active:hover {
  filter: blur(0px);
}
@media (max-width: 400px) {
  .slider .block {
    padding: 10px;
  }
}

/* Slider arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: clamp(10px, 3vw, 16px);
  padding: clamp(6px, 1.5vw, 12px) clamp(12px, 3vw, 28px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.6);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.intro h1 {
  font-family: 'Raleway', sans-serif;
  color: #fff;
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 350px;
  padding-bottom: 200px;
  text-align: center;
}
/* Features Section */
#features {
  padding-top: 120px;
  margin-top: -100px; /* compensate so layout doesn't change visually */
}
#features {
  background: #f6f6f6;
}
#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
/* About Section */
#about {
  padding: 100px 0;
}
#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#about h2::after {
  position: absolute;
  content: '';
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}
.about-text p {
  white-space: pre-line;
}
#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}
#about .about-text li:before {
  content: '\f00c';
  font-family: 'FontAwesome';
  color: #5ca9fb;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}
.about-image {
  max-width: 100%;
  height: auto;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  border-radius: 12px;
  will-change: transform;
}

.about-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about p {
  line-height: 24px;
  margin: 30px 0;
}
/* Services Section */
#services {
  padding: 100px 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  color: #fff;
}
#services .service-desc {
  margin: 10px 10px 20px;
}
#services h2 {
  color: #fff;
}
#services .section-title h2::after {
  position: absolute;
  content: '';
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
#services .service-icon i {
  font-size: 42px;
  line-height: 120px;
}
#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #fff;
}
#services p {
  color: rgba(255, 255, 255, 0.75);
}
#services .service-desc {
  margin-bottom: 40px;
}
#services .service-icon {
  font-size: 42px;
  width: 120px;
  height: 120px;
  line-height: 120px;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  transition: all 0.5s ease;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
  margin: 0 auto 20px;
}

#services .service-icon:hover {
  background-image: none;
  background-color: #6372ff;
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease-in-out;
}
#services .service-box {
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

#services .service-box:hover .service-icon {
  background-image: none;
  background-color: #6372ff;
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

#services .service-box:hover .service-icon i {
  color: #e0e0e0;
}
/* Portfolio Section */
#portfolio {
  padding: 100px 0;
}
.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(99, 114, 255, 0.8) 0%,
    rgba(92, 169, 251, 0.8) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}
.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.hover-bg:hover .hover-text {
  opacity: 1;
}
/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}
#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}
.testimonial {
  position: relative;
  padding: 20px;
}
.testimonial-image {
  float: left;
  margin-right: 15px;
}
.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.testimonial-content {
  position: relative;
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}
/* Team Section */
#team {
  padding: 100px 0;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  border-radius: 40px;
  will-change: transform;
}

#team .team-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}
/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  color: rgba(255, 255, 255, 0.75);
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: '';
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}
/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}
#team .thumbnail {
  padding: 20px;
  border: none;
  background: none;
}

.team-img {
  width: 100%;
  border-radius: 50%;
  max-width: 200px;
  height: auto;
}

.caption h4 {
  margin-top: 15px;
  font-weight: bold;
}

.caption p {
  color: gray;
}

/* Add to App.css or global stylesheet */
.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.project-details p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.5;
}
.project-details p strong {
  display: inline-block;
  width: 160px;
  color: #333;
}

.vision-intro-box {
  background-color: rgba(91, 141, 11, 0.466);
  padding: 20px;
  border-radius: 8px;
  width: 100%; /* full width of container */
  max-width: none; /* no max-width */
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
@media (max-width: 500px) {
  .intro .square-box {
    width: 100%;
    height: auto;
  }

  .intro .square-box .btn {
    flex: 1;
  }
}
.idea-step-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 30px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  flex-wrap: wrap;
  cursor: default;
}

/* Alternate block backgrounds */
.idea-step-block:nth-child(odd) {
  background-color: #f9f9f9;
}

.idea-step-block:nth-child(even) {
  background-color: #e8f0fe;
}

/* Hover effect on the whole block */
.idea-step-block:hover {
  background-color: #d0e2ff;
}

/* Reverse row for alternate blocks */
.idea-step-block.image-left {
  flex-direction: row-reverse;
}

.idea-step-image {
  flex: 0 0 auto;
  padding: 20px;
  transition: transform 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

/* Image styling */
.idea-step-image img {
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: block;
}

/* Image hover effect: zoom in */
.idea-step-image:hover img {
  transform: scale(1.1);
}

/* Text styling */
.idea-step-text {
  flex: 1;
  padding: 20px;
}

.idea-step-text h4 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.idea-step-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}
/* === Base Reset === */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* prevent white strip or scroll */
  margin: 0;
  padding: 0;
}

/* === Fix Header Overlap & Slider Spacing on Mobile === */
@media (max-width: 768px) {
  /* Push header/slider below fixed navbar */
  header,
  #header,
  .intro,
  .slider {
    margin-top: 70px; /* match navbar height */
  }

  /* Slightly more space on smaller phones */
  @media (max-width: 500px) {
    header,
    #header,
    .intro,
    .slider {
      margin-top: 80px;
    }
  }
}

/* === Extra Fix for Very Small Screens (≤400px) === */
@media (max-width: 400px) {
  html,
  body {
    overflow-x: hidden;
  }

  .slider,
  .slider .item,
  .slider .bg,
  .slider .blur {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }

  * {
    box-sizing: border-box;
  }
}
