
/* Header Styles */

.social {
  display: flex;
  justify-content: center; /* center horizontally */
  gap: 10px; /* spacing between icons */
  margin-top: 10px;
}


.header {
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
  box-shadow: 0 2px 8px rgba(30,60,114,0.08);
  transition: height 0.3s, background 0.3s;
  z-index: 1000;
}

.header .container-xl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.site-logo {
  height: 48px;
  max-width: 180px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.3s;
}
.logo:hover .site-logo {
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(30,60,114,0.10));
}
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* Navmenu Styles (unchanged) */
.navmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.navmenu li {
  position: relative;
}
.navmenu > ul > li > a,
.navmenu .dropdown > a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.navmenu a.active,
.navmenu a:hover {
  background: #fff;
  color: #2a5298;
}
.navmenu .dropdown ul {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 210px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30,60,114,0.12);
  border-radius: 8px;
  z-index: 999;
  padding: 0.5rem 0;
}
.navmenu .dropdown:hover > ul,
.navmenu .dropdown:focus-within > ul {
  display: block;
}
.navmenu .dropdown ul li a {
  color: #2a5298;
  background: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
}
.navmenu .dropdown ul li a:hover {
  background: #eaf0fa;
  color: #1e3c72;
}

/* Search Styles (unchanged) */
.search-container {
  position: relative;
  margin-left: 2rem;
}
.search-box {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border-radius: 24px;
  border: none;
  background: #f4f7fa;
  font-size: 1rem;
  width: 180px;
  transition: width 0.3s;
}
.search-box:focus {
  width: 250px;
  outline: 2px solid #2a5298;
}
.search-container::before {
  content: "\f52a";
  font-family: "Bootstrap Icons";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #2a5298;
  font-size: 1.2rem;
  pointer-events: none;
}
.search-results {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(30,60,114,0.12);
  z-index: 1001;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .header .container-xl {
    padding: 0.5rem 1rem;
  }
  .navmenu ul {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    padding: 2rem 1rem;
    display: none;
    gap: 1rem;
  }
  .navmenu.active ul {
    display: flex;
  }
  .navmenu li a {
    color: #2a5298;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .search-container {
    margin-left: 0;
    margin-top: 1rem;
  }
  .site-logo {
    height: 40px;
    max-width: 120px;
  }
}
@media (max-width: 500px) {
  .header .container-xl {
    padding: 0.5rem 0.5rem;
  }
  .site-logo {
    height: 32px;
    max-width: 90px;
  }
}

/* Sticky Header */
.header.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* Shrink header on scroll */
.header.shrink {
  padding: 0.2rem 0;
  background: linear-gradient(90deg, #1e3c72 80%, #2a5298 100%);
}


.hero-clear-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}
.carousel-inner, .carousel-item, .hero-bg {
  min-height: 100vh;
  height: 100vh;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.hero-content-clear {
  position: relative;
  z-index: 2;
  height: 100vh;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-text-bg {
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(44,62,80,0.11);
  padding: 2.2rem 1.2rem;
  max-width: 700px;
  width: 100%;
  text-align: center;
}
.hero-text-bg h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 1.1rem;
  color: #232946;
}
.hero-text-bg p {
  font-size: 1.18rem;
  font-weight: 400;
  color: #34495e;
  margin-bottom: 1.7rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  background: linear-gradient(90deg, #3498db 0%, #9b59b6 100%);
  border: none;
  font-weight: 700;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #9b59b6 0%, #3498db 100%);
  transform: scale(1.05);
}
.carousel-control-prev, .carousel-control-next {
  width: 5vw;
}
.carousel-indicators {
  bottom: 2rem;
}
.carousel-indicators li,
.carousel-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, #3498db 0%, #9b59b6 100%);
  opacity: 0.35;
  border: 2px solid #fff;
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
  margin: 0 3px;
  font-size: 0 !important;   /* Hide numbers if any */
  color: transparent !important;
}
.carousel-indicators li::before,
.carousel-indicators li::after {
  display: none !important;
}
.carousel-indicators .active,
.carousel-indicators [aria-current="true"] {
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 0 10px #9b59b6cc;
}
@media (max-width: 991.98px) {
  .hero-text-bg h1 { font-size: 2rem; }
  .hero-text-bg p { font-size: 1.05rem; }
}
@media (max-width: 767.98px) {
  .hero-text-bg { padding: 1.1rem 0.2rem; }
  .hero-text-bg h1 { font-size: 1.3rem; }
  .hero-text-bg p { font-size: 0.98rem; }
  .btn-primary { font-size: 1rem; }
}
@media (max-width: 575.98px) {
  .hero-content-clear { padding-top: 2vh; padding-bottom: 2vh; }
  .carousel-indicators { bottom: 0.5rem; }
}



/* Background gradient shapes for depth */
.about-bg-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
}
.about-bg-shape-1 {
  top: 10%;
  left: -6%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, #3498db 0%, #9b59b6 100%);
  border-radius: 50%;
  filter: blur(32px);
}
.about-bg-shape-2 {
  bottom: 0;
  right: -8%;
  width: 270px;
  height: 270px;
  background: radial-gradient(circle at 70% 70%, #16a085 0%, #e9f5ff 100%);
  border-radius: 50%;
  filter: blur(28px);
}

.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9f5ff 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.section-title {
  position: relative;
  z-index: 2;
  text-align: center;
}
.about-title {
  color: #2c3e50;
  position: relative;
  display: inline-block;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 0.7rem;
  font-size: 2.4rem;
  background: none;
}
.about-underline {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
  width: 90px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #3498db 0%, #9b59b6 100%);
  animation: aboutUnderlineAnim 2.2s infinite alternate;
  box-shadow: 0 0 16px #9b59b6, 0 0 8px #3498db;
}
@keyframes aboutUnderlineAnim {
  0% { width: 60px; opacity: 0.7; }
  100% { width: 110px; opacity: 1; }
}
.about-subtitle {
  color: #7f8c8d;
  font-size: 1.18rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
  z-index: 2;
  position: relative;
}
.about-glass-card {
  background: rgba(255,255,255,0.80);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(44,62,80,0.13);
  border: 1.5px solid rgba(52, 152, 219, 0.13);
  backdrop-filter: blur(10px);
  padding: 2.2rem 1.6rem 1.7rem 1.6rem;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
}
.about-glass-card:hover {
  box-shadow: 0 16px 48px 0 rgba(52,152,219,0.18);
  border: 2.5px solid #3498db;
  transform: translateY(-8px) scale(1.025);
}
.about-welcome {
  color: #2980b9;
  margin-bottom: 1.6rem;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
}
.about-img-3d {
  perspective: 800px;
  margin-bottom: 1.8rem;
  border-radius: 1.5rem;
}
.about-img-3d img {
  border-radius: 1.2rem;
  border: 6px solid #fff;
  box-shadow: 0 15px 40px rgba(44,62,80,0.15);
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s;
  will-change: transform;
}
.about-img-3d:hover img {
  transform: rotateY(8deg) scale(1.04);
  box-shadow: 0 24px 60px rgba(52,152,219,0.22);
}
.about-glass-card p {
  color: #34495e;
  line-height: 1.85;
  font-size: 1.08rem;
  margin-bottom: 1.1rem;
}
.about-glass-card-list {
  padding-top: 1.3rem;
}
.about-highlight {
  background: #e3f2fd;
  padding: 18px 20px;
  border-left: 5px solid #2980b9;
  color: #2c3e50;
  font-size: 1.13rem;
  border-radius: 6px;
  font-style: italic;
  margin-bottom: 1.3rem;
}
.about-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.2rem;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 1.1rem;
  color: #34495e;
  font-size: 1.07rem;
}
.about-list li i {
  color: #27ae60;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 3px;
  filter: drop-shadow(0 0 6px #2ecc71aa);
}
.about-video-wrap {
  position: relative;
  margin-top: 2.2rem;
  border-radius: 1.2rem;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-video-wrap img {
  border: 6px solid #fff;
  box-shadow: 0 15px 40px rgba(44,62,80,0.13);
  border-radius: 1.2rem;
  width: 100%;
  transition: transform 0.3s;
}
.about-video-wrap:hover img {
  transform: scale(1.04) rotate(-2deg);
}
.about-play-btn {
  background: linear-gradient(135deg, #e74c3c 70%, #f9eaea 100%);
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 22px 6px #e74c3c99;
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 2;
  cursor: pointer;
  animation: aboutPulse 2.5s infinite;
}
.about-play-btn:hover {
  background: linear-gradient(135deg, #c0392b 70%, #e74c3c 100%);
  box-shadow: 0 0 30px 10px #e74c3cbb;
}
.about-play-btn i {
  color: #fff;
  font-size: 2.2rem;
  margin-left: 5px;
  z-index: 3;
}
.about-play-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #e74c3c77 0%, transparent 80%);
  animation: aboutPulseOuter 2.5s infinite;
  z-index: 1;
  left: 0; top: 0;
  pointer-events: none;
}
@keyframes aboutPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);}
  50% { transform: translate(-50%, -50%) scale(1.13);}
}
@keyframes aboutPulseOuter {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
/* Responsive Styles */
@media (max-width: 991.98px) {
  .about-section {
    padding: 36px 0;
  }
  .about-title {
    font-size: 2rem;
  }
  .about-glass-card, .about-glass-card-list {
    padding: 1.3rem 1rem 1rem 1rem;
  }
  .about-welcome {
    font-size: 1.13rem;
  }
}
@media (max-width: 767.98px) {
  .about-section {
    padding: 18px 0;
  }
  .about-title {
    font-size: 1.4rem;
  }
  .about-subtitle {
    font-size: 1.01rem;
  }
  .about-glass-card, .about-glass-card-list {
    padding: 0.8rem 0.5rem 0.6rem 0.5rem;
    border-radius: 13px;
  }
  .about-welcome {
    font-size: 1.01rem;
  }
  .about-img-3d img, .about-video-wrap img {
    border-radius: 0.8rem;
  }
  .about-play-btn {
    width: 52px;
    height: 52px;
  }
  .about-play-btn i {
    font-size: 1.2rem;
    margin-left: 2px;
  }
}


.consulting-section {
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  position: relative;
  padding: 0 0 64px 0;
  overflow: hidden;
}
.consulting-wave-top {
  position: absolute;
  top: 0; left: 0; width: 100%; z-index: 1;
  pointer-events: none;
}
.consulting-section > .container {
  position: relative;
  z-index: 2;
  padding-top: 48px;
}
.consulting-title {
  color: #232946;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-align: left;
}
.gradient-text {
  background: linear-gradient(90deg, #3498db 30%, #9b59b6 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.consulting-desc {
  color: #7f8c8d;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 0;
}
.consulting-glass {
  background: rgba(255,255,255,0.96);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(44,62,80,0.15);
  border: 1.5px solid rgba(52, 152, 219, 0.10);
  backdrop-filter: blur(10px);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
}
.consulting-glass:hover {
  box-shadow: 0 16px 48px 0 rgba(52,152,219,0.23);
  border: 2.5px solid #3498db;
  transform: translateY(-8px) scale(1.025);
}
.consulting-card {
  align-items: center !important;
  text-align: center;
  justify-content: flex-start !important;
  padding-top: 2.2rem !important;
  min-height: 340px;
  border-top: 0;
  border-width: 0 0 0 0;
  border-style: solid;
  position: relative;
  background: rgba(255,255,255,0.97);
  margin-bottom: 0;
  box-shadow: 0 4px 24px rgba(44,62,80,0.09);
  overflow: hidden;
  border-radius: 22px;
  transition: box-shadow 0.35s, transform 0.35s;
}
.consulting-card:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 16px 48px 0 rgba(52,152,219,0.25);
  z-index: 2;
}
.consulting-feature-title {
  font-size: 1.21rem;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.consulting-card p {
  color: #7f8c8d;
  font-size: 1.07rem;
  line-height: 1.7;
  margin-bottom: 0;
  text-align: center;
}
.glassy-card {
  background: rgba(255,255,255,0.93);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(44,62,80,0.13);
  border: 2.5px solid transparent;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
}
.border-animated-purple {
  border-top: 4px solid transparent;
  animation: borderGlowPurple 2.5s linear infinite alternate;
}
.border-animated-green {
  border-top: 4px solid transparent;
  animation: borderGlowGreen 2.5s linear infinite alternate;
}
.border-animated-red {
  border-top: 4px solid transparent;
  animation: borderGlowRed 2.5s linear infinite alternate;
}
@keyframes borderGlowPurple {
  0% { border-top-color: #9b59b6; }
  100% { border-top-color: #3498db; }
}
@keyframes borderGlowGreen {
  0% { border-top-color: #2ecc71; }
  100% { border-top-color: #3498db; }
}
@keyframes borderGlowRed {
  0% { border-top-color: #e74c3c; }
  100% { border-top-color: #3498db; }
}
/* Floating, Glowing Icon Styles */
.consulting-icon {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  font-size: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 4px 24px rgba(44,62,80,0.18);
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: visible;
  background: transparent;
  animation: floatIcon 2.8s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-12px);}
}
.consulting-icon .icon-glow {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  left: -10%;
  top: -10%;
  border-radius: 50%;
  z-index: 0;
  filter: blur(16px);
  opacity: 0.75;
  transition: opacity 0.3s, filter 0.3s;
}
.icon-purple .icon-glow {
  background: radial-gradient(circle, #9b59b6 0%, #fff 90%);
}
.icon-green .icon-glow {
  background: radial-gradient(circle, #2ecc71 0%, #fff 90%);
}
.icon-red .icon-glow {
  background: radial-gradient(circle, #e74c3c 0%, #fff 90%);
}
.icon-purple i { color: #9b59b6; position: relative; z-index: 2;}
.icon-green i { color: #2ecc71; position: relative; z-index: 2;}
.icon-red i { color: #e74c3c; position: relative; z-index: 2;}
.consulting-card:hover .consulting-icon {
  box-shadow: 0 8px 32px 0 rgba(52,152,219,0.22), 0 0 16px 2px rgba(52,152,219,0.18);
  transform: scale(1.18) rotate(-6deg);
  animation: none;
}
.consulting-card:hover .icon-glow {
  opacity: 1;
  filter: blur(22px);
}
@media (max-width: 991.98px) {
  .consulting-glass {
    min-height: 1px;
    padding: 1.5rem 1.1rem 1.1rem 1.1rem;
  }
  .consulting-card {
    min-height: 1px;
    padding-top: 1.2rem !important;
  }
}
@media (max-width: 767.98px) {
  .consulting-glass {
    min-height: 1px;
    padding: 1.1rem 0.8rem 0.7rem 0.8rem;
    margin-bottom: 0.7rem;
  }
  .consulting-title, .consulting-desc {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .consulting-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 575.98px) {
  .consulting-section > .container {
    padding-top: 24px;
  }
  .consulting-glass {
    padding: 0.7rem 0.5rem 0.5rem 0.5rem;
    border-radius: 13px;
  }
  .consulting-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }
}

/* Background and SVG wave */
.expertise-section {
  background: linear-gradient(120deg, #f8f9fa 60%, #e4f0fb 100%);
  position: relative;
  padding: 0 0 64px 0;
}
.expertise-wave-top {
  position: absolute;
  top: 0; left: 0; width: 100%; z-index: 1;
  pointer-events: none;
}
.expertise-section > .container.section-title {
  position: relative;
  z-index: 2;
  padding-top: 48px;
}

/* Section Title */
.expertise-title {
  color: #232946;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 10px;
}
.expertise-desc {
  color: #7f8c8d;
  font-size: 1.13rem;
  text-align: center;
  margin-bottom: 38px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards Grid */
.expertise-cards {
  position: relative;
  z-index: 2;
}

/* Glassmorphism Card Style */
.glass-card {
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(44,62,80,0.10);
  border: 1.5px solid rgba(52, 152, 219, 0.10);
  backdrop-filter: blur(6px);
  padding: 2.2rem 1.3rem 1.6rem 1.3rem;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
}
.glass-card:hover {
  box-shadow: 0 16px 48px 0 rgba(52,152,219,0.18);
  border: 2.5px solid #3498db;
  transform: translateY(-8px) scale(1.035);
}

/* Floating Icon with Glow */
.glass-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 22px;
  font-size: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(44,62,80,0.12);
  position: relative;
  z-index: 2;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: floatIcon 2.8s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-10px);}
}
.glass-card:hover .glass-icon {
  box-shadow: 0 8px 32px 0 rgba(52,152,219,0.18), 0 0 16px 2px rgba(52,152,219,0.12);
  transform: scale(1.12) rotate(-8deg);
  animation: none;
}
.expertise-icon-blue { background: linear-gradient(135deg, #3498db 40%, #2c3e50 100%);}
.expertise-icon-red { background: linear-gradient(135deg, #e74c3c 40%, #c0392b 100%);}
.expertise-icon-green { background: linear-gradient(135deg, #2ecc71 40%, #27ae60 100%);}
.expertise-icon-purple { background: linear-gradient(135deg, #9b59b6 40%, #8e44ad 100%);}
.expertise-icon-orange { background: linear-gradient(135deg, #f39c12 40%, #d35400 100%);}
.expertise-icon-teal { background: linear-gradient(135deg, #1abc9c 40%, #16a085 100%);}
.glass-icon i { color: #fff; }

/* Card Headings and Text */
.expertise-card h3 {
  color: #232946;
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 12px;
  margin-top: 0;
}
.expertise-card p {
  color: #7f8c8d;
  font-size: 1.07rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Accessibility: visually hidden for screen readers */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .glass-card {
    min-height: 1px;
    padding: 2rem 1.1rem 1.3rem 1.1rem;
  }
}
@media (max-width: 767.98px) {
  .expertise-cards {
    gap: 1.5rem 0;
  }
  .glass-card {
    min-height: 1px;
    padding: 1.6rem 0.8rem 1.1rem 0.8rem;
    margin-bottom: 0.7rem;
  }
  .expertise-title, .expertise-desc {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 575.98px) {
  .expertise-section > .container.section-title {
    padding-top: 24px;
  }
  .glass-card {
    padding: 1.1rem 0.5rem 0.7rem 0.5rem;
    border-radius: 13px;
  }
  .glass-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
}

.topics-title {
  color: #22223b;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 4px 24px rgba(52, 58, 64, 0.08);
}
.topics-desc {
  color: #4a4e69;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 36px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.portfolio-filters li {
  cursor: pointer;
  padding: 10px 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.25);
  color: #22223b;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(52, 58, 64, 0.06);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  backdrop-filter: blur(6px);
  border: 1px solid transparent;
}
.portfolio-filters li.filter-active,
.portfolio-filters li:hover {
  background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(100, 125, 238, 0.15);
  border-color: #647dee;
  transform: scale(1.07);
}

/* Portfolio Cards */
.portfolio-content {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44,62,80,0.10);
  background: rgba(255,255,255,0.55);
  position: relative;
  border-top: none;
  transition: box-shadow 0.3s, transform 0.3s;
  backdrop-filter: blur(8px);
}
.portfolio-content:hover {
  box-shadow: 0 16px 48px rgba(100,125,238,0.18);
  transform: translateY(-10px) scale(1.03);
}
.portfolio-content img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
}
.portfolio-content:hover img {
  transform: scale(1.07) rotate(-1deg);
}

/* Portfolio Info Glassmorphism */
.portfolio-info {
  background: rgba(100, 125, 238, 0.80);
  padding: 28px 18px 20px 18px;
  border-radius: 0 0 18px 18px;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  box-shadow: 0 -4px 24px rgba(100,125,238,0.10);
  transition: background 0.3s;
}
.portfolio-info h4 a {
  color: #fff;
  font-weight: 700;
  font-size: 1.22rem;
  text-decoration: none;
  transition: color 0.2s;
}
.portfolio-info h4 a:hover {
  color: #ffe066;
  text-shadow: 0 2px 8px rgba(255,224,102,0.18);
}
.portfolio-info p {
  color: #f8f9fa;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
}
.portfolio-links a {
  color: #ffe066;
  font-size: 1.6rem;
  margin-left: 5px;
  transition: color 0.2s, transform 0.2s;
}
.portfolio-links a:hover {
  color: #fff;
  transform: scale(1.2);
}


.team-flip-card {
  background: none;
  width: 100%;
  perspective: 1200px;
  min-height: 420px;
  margin-bottom: 0;
}
.team-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  transition: transform 0.8s cubic-bezier(.4,2,.6,1);
  transform-style: preserve-3d;
}
.team-flip-card:hover .team-flip-card-inner {
  transform: rotateY(180deg);
}
.team-flip-card-front, .team-flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(44,62,80,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.team-flip-card-front {
  z-index: 2;
  padding: 30px 15px 20px 15px;
}
.team-flip-card-back {
  transform: rotateY(180deg);
  z-index: 3;
  padding: 30px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.member-img-glow {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 0 0 8px rgba(52,152,219,0.10), 0 4px 24px rgba(52,152,219,0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: box-shadow 0.4s;
}
.team-flip-card:hover .member-img-glow {
  box-shadow: 0 0 0 12px rgba(52,152,219,0.18), 0 8px 32px rgba(52,152,219,0.18);
}
.member-img-glow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.member-info {
  text-align: center;
}
.member-info h4 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.22rem;
}
.member-info span {
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0;
}
.member-info-back {
  text-align: center;
}
.member-info-back p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 400;
}
.social {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.3rem;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.social a:hover {
  background: #fff;
  color: #3498db;
  transform: scale(1.18) rotate(-8deg);
}
@media (max-width: 991px) {
  .team-flip-card, .team-flip-card-inner, .team-flip-card-front, .team-flip-card-back {
    min-height: 440px;
  }
}
@media (max-width: 767px) {
  .team-flip-card, .team-flip-card-inner, .team-flip-card-front, .team-flip-card-back {
    min-height: 380px;
  }
}

/* General Section Styling */
.contact.section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2eafc 100%);
  padding: 60px 0;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(60, 80, 120, 0.08);
  position: relative;
  overflow: hidden;
}

/* Title Styling */
.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.section-title p {
  color: #3a3a3a;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Info Card Styling */
.info-wrap {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(30, 60, 90, 0.09);
  padding: 32px 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s;
}
.info-wrap:hover {
  box-shadow: 0 8px 32px rgba(30, 60, 90, 0.15);
}
.info-item {
  margin-bottom: 28px;
  align-items: flex-start;
}
.info-item i {
  font-size: 2.2rem;
  color: #3949ab;
  margin-right: 18px;
  background: #e3e7fd;
  border-radius: 50%;
  padding: 12px;
  transition: background 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
}
.info-item:hover i {
  background: #3949ab;
  color: #fff;
}
.info-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}
.info-item p, .info-item a {
  color: #555;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.info-item a:hover {
  color: #3949ab;
  text-decoration: underline;
}

/* Google Map Styling */
.info-wrap iframe {
  border-radius: 14px;
  margin-top: 16px;
  box-shadow: 0 2px 12px rgba(60, 80, 120, 0.07);
}

/* Contact Form Styling */
.php-email-form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(30, 60, 90, 0.09);
  padding: 32px 24px;
}
.php-email-form input,
.php-email-form textarea {
  border-radius: 8px;
  border: 1px solid #cfd8dc;
  padding: 12px 16px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #f7faff;
  transition: border 0.3s;
}
.php-email-form input:focus,
.php-email-form textarea:focus {
  border: 1.5px solid #3949ab;
  outline: none;
  background: #fff;
}
.php-email-form button[type="submit"] {
  background: linear-gradient(90deg, #3949ab 0%, #5c6bc0 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 36px;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(60, 80, 120, 0.08);
}
.php-email-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #5c6bc0 0%, #3949ab 100%);
  box-shadow: 0 4px 16px rgba(60, 80, 120, 0.13);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .info-wrap, .php-email-form {
    padding: 24px 12px;
  }
  .section-title h2 {
    font-size: 2rem;
  }
}
@media (max-width: 767px) {
  .contact.section {
    padding: 32px 0;
    border-radius: 0;
  }
  .info-wrap, .php-email-form {
    border-radius: 12px;
    box-shadow: none;
  }
}

  /* Footer General Styles */
  .footer a {
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  /* Footer Headings */
  .footer-heading {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
  }
  
  .footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #a1c4fd 0%, #c2e9fb 100%);
    border-radius: 3px;
  }
  
  /* Footer Menu Links */
  .footer-menu {
    list-style: none;
    padding: 0;
  }
  
  .footer-menu li {
    margin-bottom: 12px;
  }
  
  .footer-menu a {
    color: #c9d6ff;
    display: flex;
    align-items: center;
    padding: 6px 0;
  }
  
  .footer-menu a i {
    margin-right: 10px;
    font-size: 0.7rem;
    color: #a1c4fd;
    transition: all 0.3s;
  }
  
  .footer-menu a:hover {
    color: #fff;
    transform: translateX(5px);
  }
  
  .footer-menu a:hover i {
    color: #fff;
    margin-right: 12px;
  }
  
  /* Social Icons */
  .social-links {
    gap: 12px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
  }
  
  .social-icon.linkedin { background: #0077b5; }
  .social-icon.twitter { background: #1DA1F2; }
  .social-icon.facebook { background: #4267B2; }
  .social-icon.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
  .social-icon.whatsapp { background: #25D366; }
  
  .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  /* Newsletter Form */
  .newsletter-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(161, 196, 253, 0.25);
    background: rgba(255,255,255,0.15);
  }
  
  .btn-subscribe {
    transition: all 0.3s;
  }
  
  .btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 196, 253, 0.4);
  }
  
  /* WhatsApp Float */
  .whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
  }
  
  .whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .footer-heading {
      font-size: 1.2rem;
    }
    
    .footer-menu a {
      font-size: 0.9rem;
    }
    
    .whatsapp-float {
      width: 50px;
      height: 50px;
      bottom: 20px;
      right: 20px;
    }
    
    .whatsapp-float i {
      font-size: 1.5rem;
    }
  }

  /* Search Container Styles */
  .search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 15px;
  }

  /* Initial search toggle button */
  .search-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
  }

  .search-toggle:hover {
    color: #3498db;
    transform: scale(1.1);
  }

  /* Expandable search area - hidden by default */
  .search-expandable {
    position: absolute;
    right: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  /* When search is active */
  .search-active .search-expandable {
    width: 300px;
  }

  .search-active .search-toggle {
    display: none;
  }

  /* Search box styles */
  .search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    transition: all 0.3s ease;
  }

  .search-box:focus-within {
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    border-color: #3498db;
  }

  .search-icon {
    color: #7f8c8d;
    font-size: 18px;
    margin-right: 10px;
    transition: all 0.3s ease;
  }

  .search-box:focus-within .search-icon {
    color: #3498db;
  }

  .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 15px;
    color: #34495e;
    outline: none;
    transition: all 0.3s ease;
  }

  .search-clear {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
  }

  .search-clear.visible {
    opacity: 1;
    visibility: visible;
  }

  .search-clear:hover {
    color: #e74c3c;
  }

  /* Search Results Styles - Now positioned below */
  .search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    border: 1px solid #eee;
    border-top: none;
    animation: fadeIn 0.3s ease;
    z-index: 1000;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .search-results a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #34495e;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
  }

  .search-results a:hover {
    background-color: #f8f9fa;
    color: #3498db;
    padding-left: 25px;
  }

  .search-results a i {
    margin-right: 12px;
    font-size: 16px;
    color: #7f8c8d;
    width: 20px;
    text-align: center;
    transition: all 0.2s ease;
  }

  .search-results a:hover i {
    color: #3498db;
  }

  .search-results a:last-child {
    border-bottom: none;
  }

  .no-results {
    padding: 15px;
    color: #7f8c8d;
    text-align: center;
    font-style: italic;
  }

  /* Category headers in results */
  .result-category {
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #3498db;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .search-active .search-expandable {
      width: 250px;
    }
    
    .search-results {
      max-height: 300px;
    }
  }

  @media (max-width: 480px) {
    .search-active .search-expandable {
      width: 200px;
    }
    
    .search-box {
      padding: 6px 12px;
      border-radius: 20px;
    }
    
    .search-input {
      font-size: 14px;
    }
    
    .search-results a {
      padding: 10px 15px;
      font-size: 14px;
    }
  }



    /* Custom styles for buck-boost converter page */
    .hero-section {
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      padding: 60px 0 40px;
      margin-bottom: 30px;
      border-bottom: 1px solid #e1e1e1;
    }
    
    .content-section {
      padding: 30px 0;
    }
    
    .converter-image {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 20px auto;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }
    
    .converter-image:hover {
      transform: scale(1.02);
    }
    
    .feature-box {
      background: #fff;
      border-radius: 8px;
      padding: 25px;
      margin-bottom: 30px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      border-left: 4px solid #dc3545;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .feature-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    .mode-diagram {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 8px;
      margin: 20px 0;
      text-align: center;
    }
    
    .waveform-container {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 8px;
      margin: 30px 0;
      text-align: center;
    }
    
    .advantages-list, .disadvantages-list {
      padding-left: 20px;
    }
    
    .advantages-list li, .disadvantages-list li {
      margin-bottom: 10px;
      position: relative;
      padding-left: 30px;
    }
    
    .advantages-list li:before {
      content: "✓";
      color: #28a745;
      font-weight: bold;
      position: absolute;
      left: 0;
    }
    
    .disadvantages-list li:before {
      content: "⚠";
      color: #dc3545;
      font-weight: bold;
      position: absolute;
      left: 0;
    }
    
    @media (max-width: 768px) {
      .hero-section {
        padding: 40px 0 20px;
      }
      
      .section-title {
        font-size: 28px !important;
      }
      
      .feature-box {
        padding: 15px;
      }
    }
    
    /* Animation for section titles */
    .section-title {
      position: relative;
      display: inline-block;
      margin-bottom: 20px;
    }
    
    .section-title:after {
      content: '';
      position: absolute;
      width: 50px;
      height: 3px;
      background: #dc3545;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
    }
    
    /* Responsive table for specifications */
    .specs-table {
      width: 100%;
      margin: 30px 0;
      border-collapse: collapse;
    }
    
    .specs-table th, .specs-table td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid #ddd;
    }
    
    .specs-table th {
      background-color: #f8f9fa;
      font-weight: 600;
    }
    
    .specs-table tr:hover {
      background-color: #f5f5f5;
    }
    
    @media (max-width: 600px) {
      .specs-table {
        display: block;
        overflow-x: auto;
      }
    }
  


/* FAQ Styles */

.faq-section {
  margin-top: 20px;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #dc3545;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.2s;
}

.faq-question[aria-expanded="true"] {
  color: #343a40;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 1rem;
  color: #444;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 10px 0;
}
