/* Base Styles */
:root {
  --primary-color: #004aad;
  --primary-hover: #0056a3;
  --secondary-color: #0a2885;
  --accent-color: #4cc9f0;
  --text-color: #333;
  --text-light: #666;
  --text-white: #fff;
  --bg-light: #f9fbfe;
  --bg-white: #fff;
  --bg-gradient: linear-gradient(to right, #0066b3, #0a2885);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 66, 179, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font-family: 'Inter', sans-serif;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: rgba(67, 97, 238, 0.1);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--bg-white);
  color: var(--primary-color);
}

.btn-light:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--text-white);
  color: var(--text-white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 8px 15px;
  font-size: 1rem;
}

/* Header Styles */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 40px;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 1rem 0 1rem 0;
  background: linear-gradient(135deg, #f4f8ff, #eef4ff);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: var(--bg-gradient);
  opacity: 0.03;
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  max-width: 90%;

}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.trust-badges {
  display: flex;
  gap: 1.5rem;
}

.trust-badges span {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #000;
}

.trust-badges i {
  margin-right: 0.5rem;
  color: #4ade80;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
}


.hero-stat {
  position: absolute;
  bottom: 5px;
  left: -1.5rem;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.stat-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.stat-text {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Section Title Styles */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.section-title span {
  display: inline-block;
  position: relative;
  padding: 0 2rem;
}

.section-title span::before,
.section-title span::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 1px;
  width: 100px;
  background-color: rgba(67, 97, 238, 0.2);
}

.section-title span::before {
  right: 100%;
}

.section-title span::after {
  left: 100%;
}

/* Popular Products Section */
.popular-products,
.insurance-investment {
  padding: 2.5rem 0;
  background-color: var(--bg-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(67, 97, 238, 0.2);
}

.tag {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #4ade80;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 var(--radius-sm) 0;
}

.product-info {
  flex: 1;
}

.product-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.product-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link-arrow i {
  transition: transform 0.3s ease;
}

.link-arrow:hover i {
  transform: translateX(4px);
}

.product-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon img {
  max-width: 100%;
  max-height: 100%;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 5rem 0;
  background-color: var(--bg-light);
  text-align: center;
}

.why-choose-us h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(240, 240, 240, 0.9);

}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 179, 0.1);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(10, 40, 133, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--bg-gradient);
  color: var(--text-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
  padding: 2.5rem 0;
  background-color: var(--bg-white);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.testimonials .section-subtitle {
  margin-bottom: 3rem;
}

.testimonial-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0.5rem;
  margin: 0 -0.5rem;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  border: 1px solid rgba(240, 240, 240, 0.8);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 179, 0.1);
}

.rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-style: normal;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--text-color);
}

.author-info p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.control-prev,
.control-next {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 102, 179, 0.2);
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary-color);
}

.control-prev:hover,
.control-next:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.control-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #e5e7eb;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: var(--bg-gradient);
  color: var(--text-white);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
footer {
  background-color: #1e293b;
  color: #94a3b8;
  padding-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-col h3 {
  color: var(--text-white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.app-links h4 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.app-buttons {
  display: flex;
  gap: 0.5rem;
}

.app-buttons img {
  height: 2.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--text-white);
}

/* Media Queries */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .hero-text p {
    display: none;
  }

  .contact-card {
    flex-direction: column;
  }

  .section-title span::before,
  .section-title span::after {
    width: auto;
  }

  .main-nav {
    display: none;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .nav-buttons {
    display: none;
  }

  .filter-container {
    gap: 8px !important;
  }

  .section-title span {
    font-size: 16px;
  }

  .filter-container span {
    font-size: 13px;
  }

  .hero-content .filter-container {
    display: none;
  }

  .filter-container:first {
    display: none !important;
  }

  .popular-products,
  .insurance-investment {
    padding: 15px 0;
  }

  .section-title {
    margin-bottom: 16px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .trust-badges {
    display: none;
  }

  .btn-lg {
    font-size: 13px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 0.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: row;
    gap: 0.75rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scale-in {
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-in {
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(240, 240, 240);
  z-index: 9999;
  padding: 30px;
  transition: 0.3s;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu .btn {
  display: block;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width:768px) {
  .hero-image {
    display: none;
  }

  .product-card p,
  .link-arrow {
    display: none;
  }

  .product-card {
    flex-direction: column-reverse;
    gap: 8px;
    padding: 12px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .product-icon{
    width: 28px;
    height: 28px;
  }
  .product-card h3{
    font-size: 10px;
    margin-bottom: 0;
    line-height: 12px;
  }
  .insurance-investment .tag{
   display: none;
  }
  .why-choose-us p{
    display: none;
  }
  .why-choose-us h3{
    font-size: 12px;
  }
  .benefits-grid{
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .benefit-icon{
    width: 30px;
    height: 30px;
  }
}



/* css sprites */


#sprite0{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -7px -11px no-repeat;
  }
  
  #sprite2{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -2px -72px no-repeat;
  }
  
  #sprite3{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -5px -135px no-repeat;
  }
  
  #sprite4{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -77px -10px no-repeat;
  }
  
  #sprite5{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -71px -72px no-repeat;
  }
  
  #sprite6{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -72px -135px no-repeat;
  }
  
  #sprite7{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -143px -10px no-repeat;
  }
  
  #sprite8{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -139px -73px no-repeat;
  }
  
  #sprite9{
  height:56px;
  width:56px;
  background:url(../images/css_sprite.png) -142px -138px no-repeat;
  }
  