/* Custom CSS Variables */
:root {
  --primary-color: #2563eb;
  --secondary-color: #06b6d4;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --border-radius: 0.75rem;
  --transition: all 0.3s ease;
}

html, body {
  overflow-x: hidden;
}

/* whatsapp */
/* .wa-expand {
  position: fixed;
  bottom: 30px;    /* distance from bottom */
  /* left: 20px;      stick to left side */
  /* background: #25d366;
  color: white;
  padding: 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0;
  width: 55px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 16px;
  text-decoration: none;
  transition: width 0.4s ease, gap 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.wa-expand i {
  font-size: 22px;
}

.wa-expand span {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wa-expand:hover {
  width: 180px;
  gap: 10px;
}

.wa-expand:hover span {
  opacity: 1;
} */

.whatsapp-float {
    position: fixed;
    bottom: 20px;  /* adjust distance from bottom */
    left: 20px;    /* adjust distance from left */
    z-index: 999;
}

.whatsapp-float img {
    width: 55px;    /* size of the button */
    height: 55px;
    border-radius: 15px; /* gives the rounded square look */
    background: #25D366; /* WhatsApp green */
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Move Tidio chat widget to right-center */
#tidio-chat {
  bottom: auto !important;       /* disable default bottom stick */
  top: 45% !important;           /* adjust higher (lower % = higher up) */
  right: 0px !important;        /* keep aligned with right side */
  transform: translateY(-50%) !important;
  z-index: 999999 !important;
}

/* Hover effect */
.whatsapp-float img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Navigation Styles */
.custom-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.brand-icon i {
  color: white;
  font-size: 1.5rem;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.nav-link.vactive {
  color: var(--primary-color);
  font-weight: bold;
  border-bottom: 2px solid var(--primary-color);
}

/* Custom Dropdown Menu */
.custom-dropdown {
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
  min-width: 220px;
  transition: all 0.3s ease;
}

/* Dropdown Items */
.custom-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  color: #374151;
  /* text-gray-700 */
  transition: all 0.2s ease;
}

/* Hover / Active */
.custom-dropdown .dropdown-item:hover,
.custom-dropdown .dropdown-item:focus {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

/* Icons inside dropdown */
.custom-dropdown .dropdown-item i {
  font-size: 1rem;
  opacity: 0.8;
}

/* Divider */
.custom-dropdown .dropdown-divider {
  border-color: rgba(0, 0, 0, 0.08);
}

/* First & Last Item Padding Fix */
.custom-dropdown li:first-child .dropdown-item {
  margin-top: 0.2rem;
}

.custom-dropdown li:last-child .dropdown-item {
  margin-bottom: 0.2rem;
}



/* Custom Buttons */
.custom-btn {
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.custom-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.custom-btn-outline {
  border: 2px solid rgba(148, 163, 184, 0.5);
  color: rgba(148, 163, 184, 0.9);
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: var(--transition);
}

.custom-btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
}

.custom-btn-light {
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.custom-btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: #f8fafc;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.mt-5 {
  margin-top: 7rem !important;
}

.hero-background,
.hero-overlay {
  transform: translateZ(0);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 50%, rgba(30, 41, 59, 0.8) 100%);
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Force GPU compositing for smoother rendering */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-content {
  padding-top: 15%;
  position: relative;
  z-index: 2;
  color: white;
}

.hero-badge {
  background: rgba(37, 99, 235, 0.2);
  color: rgba(147, 197, 253, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(203, 213, 225, 0.9);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Stats Section */
.stats-section {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat-item {
  cursor: pointer;
  transition: var(--transition);
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #9333ea 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f5f0fd 0%, rgba(243, 242, 248, 0.3) 100%);
}

.section-badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.125rem;
  /* color: var(--text-secondary); */
  line-height: 1.7;
  margin-right: 1.5rem ;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.achievement-item:hover {
  transform: scale(1.05);
}

.achievement-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.achievement-item:hover .achievement-icon {
  transform: scale(1.1);
}

.achievement-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.achievement-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.achievement-item:hover .achievement-number {
  color: var(--primary-color);
}

.achievement-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.about-image-wrapper {
  position: relative;
}

.about-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border-radius: 1.5rem;
  transform: rotate(3deg);
  z-index: 0;
}

.about-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.about-card .card-img-top {
  height: 24rem;
  object-fit: cover;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
}

.service-card {
  border: 2px solid #e5e7eb;
  /* Light gray */
  border-radius: 16px;
  transition: all 0.3s ease;
}

/* .service-card {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  overflow: hidden;
} */

.service-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* .service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
} */

/* .service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
} */

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.service-card:hover .service-title {
  color: var(--primary-color);
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.service-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.service-features i {
  color: #10b981;
}

.service-details {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
  text-align: left;
}

/* Events Preview Section */
.events-preview-section {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
}

.testimonial-card {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: 1rem;
  margin-right: 0.25rem;
}

.testimonial-content {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-company {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Problem-solutions */
.problem-solution-section {
  background: var(--bg-light);
}

.section-title {
  /* font-size: 2rem; */
  font-weight: 700;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.custom-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.custom-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.problem-icon {
  background: #ffff;
  border: 2px solid #dc3545;
  color: #dc3545;
}

.solution-icon {
  background: #f0fff4;
  border: 2px solid #28a745;
  color: #28a745;
}


/* Why Choose Us Section */
.why-choose-us {
  padding: 5rem 0;
  background-color: hsl(260, 23%, 95%);
}

.why-choose-card {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.why-choose-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.why-choose-card .card-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.why-choose-card p.lead {
  font-weight: 500;
  color: var(--text-primary);
}


/* CTA Section */
.cta-section {
  position: relative;
  background: var(--gradient-secondary);
  color: white;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(147, 197, 253, 0.9);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer-section {
  background: var(--text-primary);
  color: white;
}

.footer-brand {
  display: flex;
  align-items: center;
}

/* .footer-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #8BC53F 0%, #29ABE2 100%);
} */

.footer-brand .brand-name {
  background: linear-gradient(to right, #8BC53F, #29ABE2);
  /* green to blue like logo */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  font-size: 1.25rem;
  /* slightly bigger */
}

.footer-brand .brand-icon i {
  font-size: 1rem;
}

.footer-description {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(71, 85, 105, 0.5);
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Company overview */
.hover-pop {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-pop:hover {
  transform: scale(1.03);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.company-overview {
  padding: 5rem 0;
}

.company-overview h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.company-overview p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  /* .section-title {
    font-size: 2rem;
  } */

  .cta-title {
    font-size: 2rem;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn,
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Dropdown hover effect for desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
}


/* Loading Animation */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Technologies Section */
.tech-section {
  padding: 5rem 0;
}

.gradient-text {
  /* background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-item {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-item:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(145deg, #ffffff, #f3f4f6);
}

.tech-item i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tech-item:hover i {
  transform: scale(1.2) rotate(5deg);
  color: #0d6efd;
  /* Bootstrap primary as hover highlight */
}

.tech-item h6 {
  font-weight: 600;
  color: #333;
  margin: 0;
  transition: color 0.3s ease;
}

.tech-item:hover h6 {
  color: #0d6efd;
}
