:root {
  --primary-color: #d11e22; /* Red from the logo */
  --secondary-color: #1a1a1a;
  --dark-color: #0d0d0d;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --gold: #d4af37; /* from the package image */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden; /* Prevent horizontal scroll from AOS */
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--white); }
.bg-dark { background-color: var(--dark-color); color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #f02328, var(--primary-color));
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(209, 30, 34, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #333333, var(--secondary-color));
  color: var(--white);
  border: none;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-full {
  width: 100%;
  display: block;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo-img {
  height: 55px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(209, 30, 34, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 50px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero .highlight {
  color: var(--primary-color);
  background: linear-gradient(to right, #ff4e50, #f9d423);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: #dddddd;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
  border: 4px solid rgba(255,255,255,0.05);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Features / ISPKhata App */
.features {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.app-feature-grid {
  display: flex;
  align-items: center;
  gap: 60px;
}

.app-text {
  flex: 1;
}

.app-text h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-list {
  list-style: none;
  margin: 30px 0;
}

.feature-list li {
  margin-bottom: 15px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  color: var(--text-color);
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.app-store-btn img {
  height: 65px;
  transition: transform 0.3s ease;
}

.app-store-btn:hover img {
  transform: translateY(-5px) scale(1.02);
}

.app-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.app-image::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: -1;
}

.app-img {
  max-width: 320px;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  border: 5px solid white;
}

/* Packages */
.packages-overview {
  padding: 100px 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.package-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.05);
}

.package-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.package-card.popular {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  background: linear-gradient(to bottom, #ffffff, #fff9f9);
}

.package-card.popular:hover {
  transform: scale(1.05) translateY(-15px);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color), #ff4e50);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(209, 30, 34, 0.3);
}

.package-speed {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.package-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1;
}

.package-price span {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 500;
}

.package-desc {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.package-features {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
}

.package-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
}

.package-features li::before {
  content: '✓';
  color: var(--white);
  background-color: var(--primary-color);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 800;
}

.footer h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul a {
  color: #aaaaaa;
  transition: all 0.3s;
}

.footer ul a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer p {
  color: #aaaaaa;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 25px;
  color: #888;
  font-size: 1rem;
}

.footer-bottom a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Pages generic headers */
.page-header {
  background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--light-color);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .app-feature-grid {
    flex-direction: column;
    text-align: center;
  }
  .hero-buttons, .app-buttons {
    justify-content: center;
  }
  .feature-list li {
    justify-content: center;
  }
  .feature-list li::before {
    display: none; /* Hide bullets if centered */
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .package-card.popular {
    transform: scale(1);
  }
  .package-card.popular:hover {
    transform: translateY(-10px);
  }
  .section-header h2 {
    font-size: 2.2rem;
  }
}

/* Inner pages styles */
.content-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 20px;
  transition: transform 0.3s;
}
.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Table Styles for Packages */
.packages-table-container {
  overflow-x: auto;
  margin-top: 40px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.packages-table {
  width: 100%;
  border-collapse: collapse;
}

.packages-table th, .packages-table td {
  padding: 20px 25px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1.1rem;
}

.packages-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.packages-table tr:hover {
  background-color: #fafafa;
}
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}
