/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f5f7fa;
  color: #0a0f1e;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar-modern {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 0 !important;
  transition: all 0.3s;
  z-index: 99999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

.navbar-modern.scrolled {
  background: #ffffff !important;
  padding: 8px 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.navbar-logo {
  height: 50px !important;
  width: auto !important;
  max-height: 50px !important;
}

.navbar-toggler {
  display: none !important;
}

.navbar-modern .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
}

.navbar-collapse {
  display: flex !important;
  flex: 1 !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
}

.navbar-nav .nav-item {
  display: inline-block !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.navbar-modern .nav-link {
  color: #0a0f1e !important;
  font-weight: 500;
  padding: 8px 12px !important;
  position: relative;
  font-size: 15px !important;
  white-space: nowrap !important;
  display: inline-block !important;
  transition: color 0.3s;
}

.navbar-modern .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #20c997, #0a2540);
  transition: width 0.3s;
}

.navbar-modern .nav-link:hover::before,
.navbar-modern .nav-link.active::before {
  width: 100%;
}

.navbar-modern .nav-link.active {
  color: #20c997 !important;
  font-weight: 600;
}

.btn-gradient {
  background: linear-gradient(135deg, #20c997, #0a2540);
  color: white;
  border: none;
  padding: 8px 18px !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(32, 201, 151, 0.3);
  color: white;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0fa0da 0%, #317435 50%, #ff6b6b 100%);
  padding-top: 100px;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.2), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideLeft 1s ease;
}

.banner-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  max-width: 500px;
  margin: 0 auto;
  animation: slideRight 1s ease 0.2s both;
}

/* ===== SERVICES CARDS ===== */
.services-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #f0f4ff, #e6f0fa);
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h6 {
  color: #20c997;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(32, 201, 151, 0.1);
  border-radius: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 0.5rem;
}

.section-title h2 span {
  background: linear-gradient(135deg, #667eea, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(102, 126, 234, 0.15);
  border-color: #20c997;
}

.service-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #ff6b6b);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-size: 1.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #4a5568;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  flex-grow: 1;
}

.service-btn {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: linear-gradient(135deg, #20c997, #0a2540);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s;
  margin-top: auto;
  align-self: center;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px #20c997;
  color: white;
}

/* ===== FEATURED SERVICES ===== */
.featured-section {
  padding: 40px 0;
  background: white;
  scroll-margin-top: 80px;
}

.featured-container {
  background: #f8fafc;
  border-radius: 25px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  scroll-margin-top: 80px;
}

.featured-container:hover {
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.1);
  border-color: #20c997;
}

.featured-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.featured-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.featured-header h3 span {
  background: linear-gradient(135deg, #667eea, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.featured-item {
  background: white;
  border-radius: 15px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
}

.featured-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.featured-item h4 i {
  color: #20c997;
}

.featured-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.featured-item ul li {
  color: #4a5568;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.featured-item ul li i {
  color: #20c997;
  font-size: 0.7rem;
}

.featured-item p {
  color: #4a5568;
  font-size: 0.85rem;
  line-height: 1.4;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tech-tag {
  padding: 0.2rem 0.8rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-box {
  background: linear-gradient(135deg, #667eea, #ff6b6b);
  border-radius: 15px;
  padding: 1rem;
  color: white;
  text-align: center;
}

.pricing-box h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.pricing-box .price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.3rem 0;
}

.cta-small {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: white;
  color: #0a0f1e;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.cta-small:hover {
  background: #20c997;
  color: white;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0f1e;
  padding: 40px 0 20px;
}

.footer h4, .footer h5 {
  color: white;
}

.footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s;
}

.footer a:hover {
  color: #20c997;
}

/* Contact Info - Side by Side (FIXED) */
.footer .contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer .contact-info i {
  width: 20px;
  color: #20c997;
  flex-shrink: 0;
}

.footer .contact-info a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
}

.footer .contact-info a:hover {
  color: #20c997;
}

.social-icon {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(32,201,151,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #20c997;
  color: #0a0f1e;
  transform: translateY(-3px);
}

/* ===== FLOATING BUTTONS ===== */
.float-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-buttons a {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #20c997, #0a2540);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.float-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(32, 201, 151, 0.4);
}

#whatsappBtn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

#backToTop {
  background: linear-gradient(135deg, #0a2540, #20c997);
}

/* ===== ANIMATIONS ===== */
.slide-left {
  animation: slideLeft 1s ease forwards;
}

@keyframes slideLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

.slide-right {
  animation: slideRight 1s ease forwards;
}

@keyframes slideRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

.fade-up {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navbar-modern .nav-link {
    padding: 6px 8px !important;
    font-size: 13px !important;
  }
  .btn-gradient {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .navbar-logo {
    height: 40px !important;
  }
}

@media (max-width: 768px) {
  .navbar-modern .container {
    overflow-x: auto !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    padding: 0 10px !important;
    margin: 0 10px !important;
  }
  
  .navbar-modern .nav-link {
    padding: 5px 6px !important;
    font-size: 11px !important;
  }
  
  .btn-gradient {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }
  
  /* ===== BANNER SECTION - FIX (Heading Top Se Margin) ===== */
  .page-banner {
    min-height: 28vh !important;
    padding-top: 90px !important;
    padding-bottom: 30px !important;
  }
  
  .banner-content h1 {
    font-size: 2.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }
  
  .banner-content p {
    font-size: 0.9rem !important;
    margin-top: 0 !important;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .page-banner {
    margin-top: 65px;
  }
  
  .footer .col-lg-4,
  .footer .col-lg-2,
  .footer .col-lg-3 {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .footer .contact-info {
    justify-content: center;
  }
  
  .footer .d-flex {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .navbar-modern .nav-link {
    padding: 4px 5px !important;
    font-size: 10px !important;
  }
  
  .btn-gradient {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }
  
  .navbar-logo {
    height: 40px !important;
  
  }
  
  /* ===== BANNER SECTION - SMALL PHONE (Heading Top Se Margin) ===== */
  .page-banner {
    min-height: 28vh !important;
    padding-top: 70px !important;
    padding-bottom: 30px !important;
    margin-top: 0 !important;
  }
  
  .banner-content h1 {
    font-size: 2rem !important;
  }
  
  .banner-content p {
    font-size: 0.85rem !important;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .service-card {
    min-height: 250px;
    padding: 1rem;
  }
  
  .float-buttons {
    bottom: 20px;
    right: 20px;
    gap: 8px;
  }
  
  .float-buttons a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}






/* ===== HAMBURGER BUTTON WITH CROSS EFFECT ===== */

.navbar-toggler {
  border: none !important;
  background: transparent !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  margin-left: auto !important;
  display: block !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}

.navbar-toggler-icon {
  background-image: none !important;
  position: relative !important;
  width: 28px !important;
  height: 2px !important;
  background: #0a0f1e !important;
  border-radius: 2px !important;
  display: block !important;
  transition: all 0.3s ease !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '' !important;
  position: absolute !important;
  width: 28px !important;
  height: 2px !important;
  background: #0a0f1e !important;
  border-radius: 2px !important;
  transition: all 0.3s ease !important;
  left: 0 !important;
}

.navbar-toggler-icon::before {
  top: -8px !important;
}

.navbar-toggler-icon::after {
  bottom: -8px !important;
}

/* Jab menu CLOSED ho - ☰ Three Lines */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background: #0a0f1e !important;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  top: -8px !important;
  transform: none !important;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  bottom: -8px !important;
  transform: none !important;
}

/* Jab menu OPEN ho - ✕ Cross */
.navbar-toggler.collapsed .navbar-toggler-icon {
  background: transparent !important;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
  transform: rotate(45deg) !important;
  top: 0 !important;
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
  transform: rotate(-45deg) !important;
  bottom: 0 !important;
}

/* Menu Logo - Top Center */
.menu-logo {
  text-align: center !important;
  margin-bottom: 30px !important;
  padding-bottom: 15px !important;
  border-bottom: 2px solid rgba(32, 201, 151, 0.3) !important;
}

.menu-logo img {
  height: 50px !important;
  width: auto !important;
}

/* Mobile Quote Button */
.mobile-quote-btn {
  display: none !important;
}

.desktop-quote-btn {
  display: inline-block !important;
}

/* Overlay Background */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

.menu-overlay.show {
  display: block;
}

/* ===== MOBILE VIEW - LEFT SIDE SLIDE ===== */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block !important;
  }
  
  .desktop-quote-btn {
    display: none !important;
  }
  
  .mobile-quote-btn {
    display: inline-block !important;
    margin-top: 20px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  /* Menu - LEFT SE SLIDE OPEN */
  @media (max-width: 991px) {
  .navbar-collapse {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: -280px !important;
    width: 280px !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1) !important;
    transition: left 0.3s ease !important;
    z-index: 1050 !important;
    padding: 20px 20px 30px !important;  /* 80px se 20px kar diya */
    overflow-y: auto !important;
  }
}
  
  .navbar-collapse.show {
    display: block !important;
    left: 0 !important;
  }
  
  /* Show logo inside menu on mobile */
  .menu-logo {
    display: block !important;
  }
  
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .navbar-nav .nav-item {
    width: 100% !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  
  .navbar-modern .nav-link {
    padding: 12px 0 !important;
    font-size: 18px !important;
    display: block !important;
    color: #0a0f1e !important;
  }
  
  .navbar-modern .nav-link.active {
    color: #20c997 !important;
  }
  
  .navbar-modern .nav-link::before {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
  }
  
  .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
  }
  
  .navbar-nav {
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 0 !important;
  }
  
  .navbar-nav .nav-item {
    width: auto !important;
    border-bottom: none !important;
  }
  
  .navbar-modern .nav-link {
    padding: 8px 12px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    color: #0a0f1e !important;
    position: relative !important;
  }
  
  .navbar-modern .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #20c997, #0a2540);
    transition: width 0.3s;
  }
  
  .navbar-modern .nav-link:hover::before,
  .navbar-modern .nav-link.active::before {
    width: 100%;
  }
  
  .navbar-modern .nav-link.active {
    color: #20c997 !important;
  }
  
  .desktop-quote-btn {
    display: inline-block !important;
    margin-left: 8px !important;
  }
  
  .mobile-quote-btn {
    display: none !important;
  }
  
  .menu-overlay {
    display: none !important;
  }
  
  .menu-logo {
    display: none !important;
  }
}

.btn-gradient {
  background: linear-gradient(135deg, #20c997, #0a2540);
  color: white;
  border: none;
  padding: 8px 18px !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(32, 201, 151, 0.3);
  color: white;
}