/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Custom Properties */
  :root {
    /* Colors */
    --primary-color: #4db8ff;
    --primary-dark: #3aa0e9;
    --secondary-color: #333;
    --accent-color: #ff3333;
    --background-light: #f9f9f9;
    --background-white: #ffffff;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --safety-yellow: #ffcc00;
    --success: #4CAF50;
    --error: #f44336;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    
    /* Effects */
    --transition-fast: all 0.2s ease;
    --transition-standard: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    /* Layout */
    --container-max-width: 1280px;
    --header-height: 80px;
  }


  /* Base Styles */
  body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--background-white);
    font-size: 16px;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    font-weight: 600;
  }
  
  h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
  }
  
  h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    border-radius: 3px;
  }
  
  h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }
  
  p {
    margin-bottom: var(--space-md);
  }
  
  a {
    text-decoration: none;
    transition: var(--transition-standard);
  }
  
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  section {
    padding: var(--space-xxl) 0;
  }
  
  .container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

    /* Utility Classes */
  .text-center {
    text-align: center;
  }
  .mt-1 { margin-top: var(--space-xs); }
  .mt-2 { margin-top: var(--space-sm); }
  .mt-3 { margin-top: var(--space-md); }
  .mt-4 { margin-top: var(--space-lg); }
  .mt-5 { margin-top: var(--space-xl); }
  .mt-6 { margin-top: var(--space-xxl); }
  
  .mb-1 { margin-bottom: var(--space-xs); }
  .mb-2 { margin-bottom: var(--space-sm); }
  .mb-3 { margin-bottom: var(--space-md); }
  .mb-4 { margin-bottom: var(--space-lg); }
  .mb-5 { margin-bottom: var(--space-xl); }
  .mb-6 { margin-bottom: var(--space-xxl); }

 /* Button Styles */
 .btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-standard);
    font-size: 1rem;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
  }
  
  .btn-submit {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-standard);
    border: none;
    cursor: pointer;
  }
  
  .btn-submit:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
  }

/* Featured Section Styles */
.featured-section {
    padding: 80px 6%;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-header:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4db8ff;
}

.featured-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.03);
}

.featured-content {
    flex: 1;
    padding: 0 20px;
}

.featured-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.featured-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background-color: #4db8ff;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(77, 184, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0088cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(77, 184, 255, 0.5);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background-light);
    text-align: center;
  }
  
  .swiper-testimonials {
    padding: var(--space-xl) 0;
  }
  
  .testimonial-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .client-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-md);
  }
  
  .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
  }
  
  .client-info h4 {
    margin-bottom: var(--space-xs);
  }
  
  .client-info p {
    color: var(--text-light);
    margin-bottom: 0;
  }
  
  .swiper-pagination {
    position: relative;
    margin-top: var(--space-lg);
  }
  
  /* Benefits Section with Animated Stats */
  .benefits-section {
    text-align: center;
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
  }
  
  .benefit-card {
    padding: var(--space-lg);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-standard);
  }
  
  .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
  }
  
  .stat-counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: inline-block;
  }
  
  .percent {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
  }

   /* Support Chat */
   .support-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 1000;
    transform: translateY(calc(100% - 60px));
    transition: var(--transition-standard);
  }
  
  .support-chat.open {
    transform: translateY(0);
  }
  
  .chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .chat-header h3 {
    margin: 0;
    color: white;
  }
  
  .minimize-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
  }
  
  .chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: var(--space-md);
  }
  
  .message {
    margin-bottom: var(--space-md);
    display: flex;
  }
  
  .message.bot {
    justify-content: flex-start;
  }
  
  .message.user {
    justify-content: flex-end;
  }
  
  .message-content {
    max-width: 80%;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-lg);
  }
  
  .message.bot .message-content {
    background-color: var(--background-light);
  }
  
  .message.user .message-content {
    background-color: var(--primary-color);
    color: white;
  }
  
  .chat-input {
    display: flex;
    padding: var(--space-md);
    border-top: 1px solid #eee;
  }
  
  .chat-input input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    margin-right: var(--space-sm);
  }
  
  .chat-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    width: 40px;
    cursor: pointer;
  }

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: var(--space-xxl) 0 var(--space-lg);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }
  
  .footer-column h3 {
    color: white;
    margin-bottom: var(--space-lg);
    position: relative;
  }
  
  .footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: var(--space-sm);
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
  }
  
  .footer-links a:hover {
    color: white;
    padding-left: 5px;
  }
  
  .social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition-standard);
  }
  
  .social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .fade-in {
    animation: fadeIn 1s ease forwards;
  }
  
  .slide-up {
    animation: slideUp 0.8s ease forwards;
  }
  
  .pulse {
    animation: pulse 2s infinite;
  }

  /* Responsive styles */
@media screen and (max-width: 768px) {
    .featured-container {
        flex-direction: column;
    }
    
    .featured-image, .featured-content {
        flex: none;
        width: 100%;
    }
    
    .featured-image {
        margin-bottom: 30px;
    }
    
    .section-header {
        font-size: 2rem;
    }
    
    .featured-content h3 {
        font-size: 1.5rem;
    }
    .support-chat {
        width: 100%;
        right: 0;
        bottom: 0;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
      }
}
