/* ========================================
   THE NIRAV PATEL PORTFOLIO THEME
   Global Styles
======================================== */



/* ========================================
   HEADER (Logo Left / Menu + CTA Right)
======================================== */

.dashicons {
  font-family: "dashicons";
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  justify-content: center;
  padding: 10px;
}

.site-header .navbar {
  max-width: 1320px;
  width: 100%;
  padding: 0 !important;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  width: 100%;
}
.page-container{
  padding: 50px 0px;
}
/* Logo (Left) */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.navbar-brand img {
  width: 115px;
  height: auto;
  transition: all 0.3s ease;
}
.navbar-brand span {
  font-weight: 600;
  font-size: 20px;
  color: #222;
  letter-spacing: 0.5px;
}

/* Menu (Right) */
#primaryMenu {
  align-items: end;
  justify-content: end !important;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  font-size: 16px;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #007bff;
  transform: translateY(-2px);
}
/* Hover underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* CTA Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 25px;
}
.header-actions .btn {
  background-color: #2b445c;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 22px;
  font-size: 15px;
  border: none;
  transition: all 0.3s ease;
}
.header-actions .btn:hover {
  background-color: #2b445c;
  box-shadow: 0 2px 10px #395b7a;
  transform: translateY(-2px);
}

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1b2a3a 0%, #2b445c 50%, #19232f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-content {
  
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Text Styles */
.hero-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: #fff;
  margin-bottom: 15px;
}
.hero-title .highlight {
  color: #a6a4a7;
}
.hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
}
.hero-text {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Typing Effect (Stable Width) */
#typing-subtitle {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  
  padding-right: 6px;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
  min-width: 280px;
  text-align: left;
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* Hero Buttons (Follow Theme) */
.hero-buttons .btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 26px;
  transition: all 0.3s ease;
}
.hero-buttons .btn-primary {
  background-color: #2b445c;
  color: #fff;
  border: none;
}
.hero-buttons .btn-primary:hover {
  background-color: #395b7a;
  box-shadow: 0 2px 10px rgba(43, 68, 92, 0.3);
  transform: translateY(-2px);
}
.hero-buttons .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.hero-buttons .btn-outline-light:hover {
  background-color: #2b445c;
  color: #fff;
  transform: translateY(-2px);
}

/* ----------------------------------------
   ABOUT SECTION - The Nirav Patel
---------------------------------------- */

.about-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.about-img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(43, 68, 92, 0.2);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2b445c;
}

.about-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #4b6e8f;
}

.about-description {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  font-family: "Roboto", sans-serif;
}

.about-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.about-stat h5 {
  font-size: 24px;
  font-weight: 700;
  color: #2b445c;
  margin-bottom: 5px;
}

.about-stat span {
  font-size: 14px;
  color: #555;
}

.about-section .btn-primary {
  background-color: #2b445c;
  border: none;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 26px;
  transition: all 0.3s ease;
}

.about-section .btn-primary:hover {
  background-color: #395b7a;
  box-shadow: 0 2px 10px rgba(43, 68, 92, 0.3);
  transform: translateY(-2px);
}
/* ----------------------------------------
   ABOUT STATS GRID - Modern Style
---------------------------------------- */

.about-stats-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.about-stat-box {
  flex: 1 1 30%;
  background: #fff;
  padding: 25px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(43, 68, 92, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.about-stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(43, 68, 92, 0.15);
}

.stat-icon {
  font-size: 32px;
  color: #4b6e8f;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 30px;
  font-weight: 700;
  color: #2b445c;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}




/* ========================================
   FOOTER
======================================== */

.site-footer {
  background: linear-gradient(135deg, #1b2a3a 0%, #2b445c 50%, #19232f 100%);
  color: #d1d5db;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 60%),
              radial-gradient(circle at bottom right, rgba(0,0,0,0.15), transparent 70%);
  z-index: 0;
}
.site-footer .container {
  position: relative;
  z-index: 2;
}
.site-footer h6 {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}
.site-footer p {
  font-size: 15px;
  color: #c9ced4;
  line-height: 1.7;
}
/* Footer Links */
.footer-links {
  padding-left: 0;
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #b9c3cc;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}
/* Social Links */
.site-footer .social-links a {
  color: #c5c7cb;
  transition: all 0.3s ease;
}
.site-footer .social-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}
.site-footer .social-links i {
  font-size: 18px;
}
/* Divider & Copyright */
.site-footer hr {
  border-color: rgba(255, 255, 255, 0.08);
}
.site-footer .small {
  font-size: 14px;
  color: #aab0b8;
}
/* Logo */
.site-footer img {
  max-height: 60px;
  margin-bottom: 10px;
}
/* Animated Top Accent Line */
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2b445c, #4b6e8f, #2b445c);
  background-size: 300% 100%;
  animation: gradient-move 10s linear infinite;
}
@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ========================================
   SCROLL TO TOP BUTTON
======================================== */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #2b445c, #4b6e8f);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: linear-gradient(135deg, #4b6e8f, #2b445c);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}
.scroll-to-top i,
.scroll-to-top .dashicons {
  font-size: 20px;
  line-height: 1;
}

/* SERVICE CARDS */
.service-box {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(43, 68, 92, 0.08);
  transition: all 0.3s ease;
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(43, 68, 92, 0.15);
}
.service-icon i {
  font-size: 38px;
  color: #2b445c;
}
.service-title {
  font-size: 20px;
  font-weight: 600;
  color: #2b445c;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 15px;
  color: #555;
  font-family: "Roboto", sans-serif;
}
.service-cats .service-cat {
  display: inline-block;
  background: #2b445c;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  margin-right: 5px;
  text-transform: capitalize;
  transition: 0.3s;
}
.service-cat:hover {
  background: #4b6e8f;
}

/* PAGINATION */
.pagination .page-numbers {
  color: #2b445c;
  padding: 6px 12px;
  margin: 0 3px;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.pagination .current {
  background: #2b445c;
  color: #fff;
}

/* ----------------------------------------
   THEME BUTTON STYLES (Nirav Patel Portfolio)
---------------------------------------- */

/* Solid Theme Button */
.btn-theme {
  display: inline-block;
  background: linear-gradient(135deg, #2b445c, #4b6e8f);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 26px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(43, 68, 92, 0.25);
}

.btn-theme:hover {
  background: linear-gradient(135deg, #4b6e8f, #2b445c);
  box-shadow: 0 5px 18px rgba(43, 68, 92, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

/* Outline Theme Button */
.btn-theme-outline {
  display: block;
    border: 2px solid #2b445c;
    color: #2b445c;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    border-radius: 6px;
    padding: 9px 24px;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s 
ease;
    width: fit-content;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.btn-theme-outline:hover {
  background: linear-gradient(135deg, #2b445c, #4b6e8f);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(43, 68, 92, 0.25);
  transform: translateY(-2px);
}

/* Smaller variant for Learn More buttons */
.btn-theme-outline.btn-sm {
  padding: 7px 18px;
  font-size: 14px;
}

.service-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-box .btn-theme-outline {
  margin-top: auto;
}

/* ----------------------------------------
   PROJECTS SECTION - Nirav Portfolio
---------------------------------------- */

.projects-section {
  background-color: #f9f9f9;
  padding: 100px 0;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(43, 68, 92, 0.15);
}

.project-img img {
  border-bottom: 4px solid #2b445c;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-category {
  display: inline-block;
  background: #2b445c;
  color: #fff;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.project-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #2b445c;
  font-size: 20px;
}

.project-info p {
  font-size: 14px;
  color: #555;
}

.projects-section .btn-theme-outline {
  margin-top: 8px;
}
.project-info{
      padding: 0px 10px 20px;
}


/* Testimonial Carousel Styles */
.home-testimonials-section .section-title {
  font-size: 28px;
  font-weight: 700;
}
.home-testimonials-section .section-subtitle {
  font-size: 14px;
  color: #6c757d;
}

.testimonial-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.testimonial-avatar img, .fallback-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
}
.fallback-avatar {
  background: #eef1f5;
  color: #495057;
  font-weight: 600;
  font-size: 18px;
}
.testimonial-rating {
  color: #f4b400;
  font-size: 14px;
  letter-spacing: 1px;
}
.swiper-button-prev, .swiper-button-next {
  color: #000;
}
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #007bff;
}

/* ----------------------------------------
   SKILLS / TECH STACK
---------------------------------------- */

.skills-section {
  background: #f9f9f9;
  padding: 90px 0;
}

.skills-section .section-title {
  font-family: "Poppins", sans-serif;
  font-size: 34px;
  color: #2b445c;
  margin-bottom: 6px;
}

.skills-section .section-subtitle {
  color: #4b6e8f;
  margin-bottom: 40px;
  font-family: "Poppins", sans-serif;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.skill-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #f6f8fa;
  padding: 6px;
  border: 1px solid rgba(43,68,92,0.04);
}

.skill-icon {
  font-size: 32px;
  color: #2b445c;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fa;
  border-radius: 8px;
  border: 1px solid rgba(43,68,92,0.04);
}

.skill-name {
  font-size: 16px;
  font-weight: 600;
  color: #2b445c;
  margin: 0;
}

.skill-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.skill-bar {
  width: 220px;
  height: 10px;
  background: #eef3f6;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2b445c, #4b6e8f);
  border-radius: 6px;
  transition: width 1.6s cubic-bezier(.22,.9,.32,1);
}

.skill-level {
  font-size: 13px;
  color: #2b445c;
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}
.home-testimonials-section{
  background: #fff;
}

/* Responsive */
@media (max-width: 767px) {
  .skill-bar {
    width: 160px;
  }
  .skill-logo, .skill-icon { width: 44px; height: 44px; font-size: 28px; }
}


/* ----------------------------------------
   CONTACT SECTION
---------------------------------------- */

.contact-section {
  background: #f9f9f9;
  padding: 90px 0;
}

.contact-card, .contact-info {
  background: #fff;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(43,68,92,0.06);
}

.contact-section .section-title {
  font-family: "Poppins", sans-serif;
  color: #2b445c;
  font-size: 32px;
  font-weight: 700;
}

.contact-section .section-subtitle {
  color: #4b6e8f;
  margin-bottom: 18px;
}

.contact-row strong {
  display: inline-block;
  width: 90px;
  color: #2b445c;
}

.contact-row a {
  color: #2b445c;
  text-decoration: none;
}

.contact-map iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
}

/* form styles */
.contact-form .form-label {
  font-weight: 600;
  color: #374151;
}
.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid #e6eef5;
  padding: 10px 12px;
}
.contact-form .form-control:focus {
  box-shadow: 0 4px 20px rgba(43,68,92,0.06);
  border-color: #2b445c;
}

/* form actions */
.contact-form-actions {
  align-items: center;
}

#contact-form-status .alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.services-grid{
  margin: 0px 0px 35px 0px;
}
#service-filters button:hover, #service-filters button.bg-slate-200{
  background-color: #2b445c !important;
    color: #fff;
}
.industries-carousel .industry-card {
  transition: transform 0.3s ease;
}
.industries-carousel .industry-card:hover {
  transform: translateY(-5px);
}
.swiper-button-prev, .swiper-button-next {
  color: #111;
}
.swiper-pagination-bullet-active {
  background: #111;
}
/* Ensure all slides and cards maintain equal height */
.industries-carousel{
  padding: 35px 0px;
}
.industries-carousel .swiper-slide {
  display: flex;
  height: auto;
}

.industries-carousel .industry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 320px; /* adjust as needed */
  text-align: center;
  padding: 20px;
}
.swiper-button-prev, .swiper-button-next {
  display: none !important;
}
/* Consistent icon alignment */
.industries-carousel .industry-icon img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100px;
}

/* Hover polish */
.industries-carousel .industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 991px) {
  .contact-card, .contact-info { padding: 18px; }
  .contact-row strong { width: 80px; display: block; margin-bottom: 6px; }
  .contact-map iframe { height: 200px; }
}


/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
  }
  .navbar-toggler {
    border: none;
    background: none;
  }
  .navbar-toggler-icon {
    filter: invert(40%);
  }
  .navbar-collapse {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }
  .navbar-nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .header-actions {
    flex-direction: column;
    margin: 15px 0 0;
  }
  .header-actions .btn {
    width: 100%;
    max-width: 200px;
    padding: 10px 25px;
  }
  .site-footer {
    text-align: center;
  }
  .site-footer .footer-links {
    padding-left: 0;
  }
  .site-footer .social-links {
    justify-content: center;
    margin-top: 10px;
  }
}
@media (max-width: 767px) {
  .about-section {
    text-align: center;
  }
  .about-stats {
    justify-content: center;
    gap: 20px;
  }
   .about-stats-grid {
    gap: 20px;
  }
  .about-stat-box {
    flex: 1 1 100%;
  }
}