/* Base Styles */
:root {
  --primary-color: #4361ee;
  --primary-light: #5a75f1;
  --primary-dark: #3a56d4;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --success-color: #4bb543;
  --error-color: #ff3333;
  --warning-color: #ffcc00;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-color);
  font-size: 1.1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 15px;
  color: var(--dark-color);
}

.section-header h2 span {
  color: var(--primary-color);
  position: relative;
}

.section-header h2 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(67, 97, 238, 0.2);
  z-index: -1;
  transition: var(--transition);
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--gray-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  gap: 8px;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

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

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

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

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

/*auth-styles*/
.auth-buttons, .user-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}
.user-menu {
    display: none; /* Hidden by default, shown for logged-in users */
}
.nav-links li {
    display: flex;
    align-items: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  
}
#my-account-btn .fa-user-circle {
    color: #4361ee !important;
    margin-right: 8px;
}

/* Header */
.header_for_main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.header_for_main.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header_for_main.nav-hide {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s cubic-bezier(0.4,0,0.2,1);
}

.header_for_main .container_for_main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px; /* Default padding for mobile */
}

/* Responsive adjustment for tablets and larger screens */
@media (min-width: 768px) {
  .header_for_main .container_for_main {
    padding: 20px 60px;
  }
}

/* Responsive adjustment for desktops */
@media (min-width: 1200px) {
  .header_for_main .container_for_main {
    padding: 20px 200px;
  }
}



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

.logo i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none; /* This removes the dots */
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

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

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

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

.nav-links a.nav-link.active::after {
  width: 100%;
  background-color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: var(--transition);
}

.mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Hero Section */
.hero {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray-color);
  text-align: center;
}

.hero-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.hero-image img {
  transition: var(--transition);
}

.hero-image:hover img {
  transform: scale(1.03);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Comparison Table Styles */
.comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--dark-color);
}

.comparison-table .checkmark {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table table {
        width: 100%;
        display: block;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 15px;
        min-width: 100px;
    }
}

/* Solutions Section */
.solutions-section {
    background-color: #f5f7ff;
    position: relative;
  padding-top: 120px; /* Add space for fixed header */
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px 20px;
  margin-top: 32px;
}

.solution-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(67, 97, 238, 0.10), 0 2px 8px rgba(16,185,129,0.08);
  padding: 14px;
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Service cards styling */
}

.solution-card:hover, .solution-card:focus-within {
  border: 2.5px solid #4361ee;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 36px rgba(67, 97, 238, 0.18), 0 4px 16px rgba(16,185,129,0.13);
  z-index: 3;
}

/* Faint, oversized card number in the background */
.solution-card .solution-number {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 1.9rem;
  color: #e0e7ef;
  font-weight: 900;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

.solution-content {
  position: relative;
  z-index: 2;
}

.solution-card h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.solution-card p {
  color: var(--gray-color);
  line-height: 1.45;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

/* Progressive disclosure for service cards: show details on hover/focus (desktop) */
.solution-card .solution-content p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, max-height 0.25s ease, transform 0.2s ease, margin 0.2s ease;
}

.solution-card:hover .solution-content p,
.solution-card:focus-within .solution-content p {
  opacity: 1;
  max-height: 200px;
  margin-top: 8px;
  transform: translateY(0);
}

/* Touch devices: reveal details when card is expanded via tap */
@media (hover: none), (max-width: 768px) {
  .solution-card.expanded .solution-content p {
    opacity: 1;
    max-height: 400px;
    margin-top: 12px;
    transform: none;
  }
}

.solution {
  background-color: rgba(67, 97, 238, 0.05);
  padding: 20px;
  border-left: 4px solid var(--primary-color);
  margin-top: 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.solution-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 3px;
}

.solution-text {
  flex: 1;
}

.solution-text strong {
  color: var(--primary-color);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
  opacity: 0.05;
  z-index: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-card {
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

/* Testimonials Section */
.testimonials-section {
  background-color: white;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
  margin: 20px;
  display: none;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  transition: var(--transition);
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-card:hover::before {
  width: 10px;
}

.testimonial-content {
  position: relative;
  margin-bottom: 30px;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(67, 97, 238, 0.1);
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.rating {
  color: var(--warning-color);
  font-size: 1.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 3px solid var(--light-gray);
  transition: var(--transition);
}

.testimonial-card:hover .author-avatar {
  border-color: var(--primary-color);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  color: var(--gray-color);
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.slider-prev, .slider-next {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(67, 97, 238, 0.1);
}

.slider-prev:hover, .slider-next:hover {
  background-color: rgba(67, 97, 238, 0.2);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
}

/* Simplified Business Solutions Styles */
.problem-card, .solution-card, .how-it-works-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Override for when inside solutions section */
.solutions-section .about-section {
  background: transparent !important;
}

.solutions-section .problem-card, 
.solutions-section .solution-card, 
.solutions-section .how-it-works-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(67, 97, 238, 0.3);
  color: #333;
}

.solutions-section .problem-card h3, 
.solutions-section .solution-card h3, 
.solutions-section .how-it-works-card h3 {
  color: #333;
  text-shadow: none;
}

.solutions-section .problem-card p, 
.solutions-section .solution-card p {
  color: #555;
}

.solutions-section .works-list li {
  color: #555;
}

.solutions-section .works-list li:last-child {
  color: #d4af37;
}

/* Ensure cards display side by side */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.row .col-lg-4 {
  display: flex;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
  margin-bottom: 2rem;
}

.row .col-lg-4:last-child {
  margin-bottom: 0;
}

/* Force horizontal layout on all screen sizes */
@media (min-width: 768px) {
  .row .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 767px) {
  .row .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.problem-card:hover, .solution-card:hover, .how-it-works-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: white;
}

.problem-card .card-icon {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.solution-card .card-icon {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.how-it-works-card .card-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.problem-card h3, .solution-card h3, .how-it-works-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: white;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.problem-card p, .solution-card p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 0;
}

.works-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-list li {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  text-align: left;
}

.works-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ecdc4;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.works-list li:last-child {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: bold;
  color: #ffd700;
  font-size: 1.1rem;
}

.works-list li:last-child:before {
  content: "★";
  color: #ffd700;
  font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .problem-card, .solution-card, .how-it-works-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .problem-card h3, .solution-card h3, .how-it-works-card h3 {
    font-size: 1.4rem;
  }
  
  .works-list li {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .problem-card, .solution-card, .how-it-works-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .problem-card h3, .solution-card h3, .how-it-works-card h3 {
    font-size: 1.3rem;
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .problem-card p, .solution-card p {
    font-size: 1rem;
  }
  
  .works-list li {
    font-size: 0.9rem;
    padding-left: 1.5rem;
  }
}

@media (max-width: 576px) {
  .problem-card, .solution-card, .how-it-works-card {
    padding: 1rem;
  }
  
  .problem-card h3, .solution-card h3, .how-it-works-card h3 {
    font-size: 1.2rem;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  color: var(--gray-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.feature-item span {
  color: var(--dark-color);
}

/* Contact Section */
.contact-section {
  background-color: #f5f7ff;
}

.contact-container {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-10px);
}

.info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-card h4 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

.info-card p {
  color: var(--gray-color);
  line-height: 1.6;
}

.contact-form {
  flex: 1;
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-color);
  font-weight: 500;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-color);
}

.input-with-icon input,
.input-with-icon textarea,
.input-with-icon select {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.input-with-icon textarea {
  min-height: 150px;
  resize: vertical;
  padding: 15px;
}

.input-with-icon input:focus,
.input-with-icon textarea:focus,
.input-with-icon select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

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

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

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.footer-col:hover h3::after {
  width: 70px;
}

.footer-about .logo {
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.footer-about .logo i {
  margin-right: 10px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin: 20px 0;
}

.social-links {
  display: flex;
  gap: 15px;
}

.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);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
}

.back-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(67, 97, 238, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
      flex-direction: column;
  }
  
  .about-content {
      flex-direction: column;
  }
  
  .contact-container {
      flex-direction: column;
  }
  
  .hero-content {
      text-align: center;
      margin-bottom: 50px;
  }
  
  .cta-buttons {
      justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      background-color: white;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
      z-index: 1000;
  }
  
  .nav-links.active {
      right: 0;
  }
  
  .mobile-menu-btn {
      display: block;
  }
  
  .hero {
      padding: 150px 0 60px;
  }
  
  .solutions-grid {
      grid-template-columns: 1fr;
  }
  
  .stats-grid {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
  }
  
  .stat-card {
      padding: 30px 20px;
  }
  
  .stat-number {
      font-size: 2.5rem;
  }
  
  .stat-icon {
      font-size: 2.5rem;
  }
  
  .stat-label {
      font-size: 1rem;
  }
  
  .cta-buttons {
      flex-direction: column;
  }
  
  .btn {
      width: 100%;
  }
}

@media (max-width: 576px) {
  section {
      padding: 70px 0;
  }
  
  .hero {
      padding: 130px 0 50px;
  }
  
  .solution-card {
      padding: 25px;
  }
  
  .stats-grid {
      grid-template-columns: 1fr;
      gap: 15px;
  }
  
  .stat-card {
      padding: 25px 20px;
  }
  
  .stat-number {
      font-size: 2rem;
  }
  
  .stat-icon {
      font-size: 2rem;
  }
  
  .stat-label {
      font-size: 0.9rem;
  }
  
  .testimonial-card {
      padding: 30px 20px;
  }
  
  .footer-grid {
      grid-template-columns: 1fr;
  }

  
}

/* Existing styles assumed to be here */

/* Current Services Section */
.current-services-section {
    padding: 80px 0;
    background-color: #f5f7ff;
}

.current-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 10px;
}

.service-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.change-service-btn {
    text-align: center;
    margin-top: 30px;
}


/* Success and Error Messages */
.success-message,
.error-message {
    position: relative;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    animation: slideIn 0.5s ease-out;
}

.success-message {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.error-message {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
}

.success-content,
.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.success-content i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.error-content i {
    font-size: 3rem;
    color: #f44336;
    margin-bottom: 1rem;
}

.success-content h3,
.error-content h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.error-content h3 {
    color: #c62828;
}

.success-content p,
.error-content p {
    color: #1b5e20;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.error-content p {
    color: #b71c1c;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }

    
    
}

/* --- Client Logos Bar --- */
.client-logos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 24px 0;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 32px;
}

.client-logos .logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 160px;
  padding: 8px 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.07);
  transition: transform 0.2s;
}

.client-logos .logo-item img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.2s, transform 0.2s;
}

.client-logos .logo-item:hover img {
  filter: grayscale(0) brightness(1.1);
  transform: scale(1.07);
}

@media (max-width: 600px) {
  .client-logos {
    gap: 16px;
    padding: 12px 0;
  }
  .client-logos .logo-item {
    min-width: 80px;
    max-width: 100px;
    padding: 4px 6px;
  }
  .client-logos .logo-item img {
    max-height: 32px;
  }

}
/* Reporting Dropdown Styles */
        .reporting-dropdown {
            position: relative;
            display: inline-block;
        }

        .reporting-dropdown .btn-reporting {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .reporting-dropdown .btn-reporting .fa-chevron-down {
            transition: transform 0.3s ease;
        }

        .reporting-dropdown.active .btn-reporting .fa-chevron-down {
            transform: rotate(180deg);
        }

        .reporting-dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            min-width: 300px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-radius: 12px;
            z-index: 1000;
            margin-top: 8px;
            border: 1px solid #e2e8f0;
            overflow: hidden;
        }

        .reporting-dropdown.active .reporting-dropdown-content {
            display: block;
            animation: dropdownFadeIn 0.3s ease;
        }

        @keyframes dropdownFadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .reporting-option {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid #f1f5f9;
            transition: background-color 0.2s ease;
            cursor: pointer;
        }

        .reporting-option:last-child {
            border-bottom: none;
        }

        .reporting-option:hover {
            background-color: #f8fafc;
        }

        .reporting-option-info {
            flex: 1;
        }

        .reporting-option-service {
            font-weight: 600;
            color: #1a202c;
            font-size: 0.95rem;
            margin-bottom: 4px;
        }

        .reporting-option-details {
            font-size: 0.85rem;
            color: #64748b;
        }

        .reporting-option-btn {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .reporting-option-btn:hover {
            background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
            transform: translateY(-1px);
        }

        .reporting-option-btn.shared-access {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            border: 2px solid #ff0000;
        }

        .reporting-option-btn.shared-access:hover {
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
        }

        .reporting-dropdown-header {
            padding: 16px 20px;
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .reporting-dropdown-empty {
            padding: 20px;
            text-align: center;
            color: #64748b;
            font-size: 0.9rem;
        }

        @media (max-width: 767px) {
            .reporting-dropdown-content {
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 90%;
                max-width: 350px;
                max-height: 80vh;
                overflow-y: auto;
            }

            .reporting-option {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            .reporting-option-btn {
                width: 100%;
                justify-content: center;
            }
        }

/* 1. Card touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
  .solution-card:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.18);
  }
}

/* 2. Responsive grid improvements */
@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .solution-card {
    padding: 20px 16px 16px 16px;
  }
}

/* 3. Make the whole card clickable and add border accent on hover/focus */
.solution-card a {
  display: block;
  height: 100%;
  color: inherit;
}
.solution-card {
  cursor: pointer;
  transition: box-shadow 0.22s, transform 0.18s;
}
.solution-card:hover, .solution-card:focus-within {
  border: 2.5px solid #4361ee;
}

/* 4. Micro-interaction: card title color and underline on hover */
.solution-card h3 {
  transition: color 0.18s, text-decoration 0.18s;
}
.solution-card:hover h3 {
  color: #4361ee;
  text-decoration: underline;
}

/* 5. Section header divider */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4361ee 0%, #10b981 100%);
  margin: 0 auto 18px auto;
  border-radius: 2px;
}

.consultation-cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 48px 0 32px 0;
  width: 100%;
  z-index: 2;
}
.consultation-cta {
  font-size: 1.25rem;
  padding: 18px 38px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(67, 97, 238, 0.10);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.consultation-cta:hover, .consultation-cta:focus {
  background: linear-gradient(90deg, #10b981 0%, #4361ee 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(67, 97, 238, 0.18);
}
@media (max-width: 600px) {
  .consultation-cta {
    font-size: 1.05rem;
    padding: 14px 18px;
  }
  .consultation-cta-wrapper {
    margin: 32px 0 18px 0;
  }
}

.consultation-float-cta {
  position: fixed;
  right: 32px;
  bottom: 100px;
  z-index: 1001;
  background: linear-gradient(90deg, #10b981 0%, #4361ee 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 18px 32px;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(67, 97, 238, 0.18);
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.consultation-float-cta:hover, .consultation-float-cta:focus {
  background: linear-gradient(90deg, #4361ee 0%, #10b981 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 40px rgba(67, 97, 238, 0.22);
}
@media (max-width: 600px) {
  .consultation-float-cta {
    right: 16px;
    bottom: 80px;
    font-size: 1rem;
    padding: 13px 18px;
  }
}

/* Unique style for Admin Panel button */
.btn-admin {
  background: #fff !important;
  color: #ef4444 !important;
  border: 2px solid #ef4444 !important;
  box-shadow: none !important;
  transition: background 0.2s, color 0.2s;
}
.btn-admin:hover, .btn-admin:focus {
  background: #ef4444 !important;
  color: #fff !important;
  border: 2px solid #ef4444 !important;
}

/* Profile Dropdown Styles */
.profile-dropdown-btn {
  position: relative;
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  padding: 8px 18px 8px 10px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(67,97,238,0.07);
  transition: box-shadow 0.2s, border 0.2s;
}
.profile-dropdown-btn:hover, .profile-dropdown-btn:focus {
  box-shadow: 0 6px 24px rgba(67,97,238,0.13);
  border-color: var(--primary-dark);
  background: #f5f8ff;
}
#user-profile-image {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e9ecef;
  background: #fff;
  box-shadow: 0 1px 4px rgba(67,97,238,0.08);
}
.profile-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 180px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(67,97,238,0.13);
  padding: 8px 0;
  z-index: 1002;
  list-style: none;
  margin: 0;
  border: 1px solid #e9ecef;
  animation: dropdownFadeIn 0.25s;
}
.profile-dropdown-menu li {
  width: 100%;
}
.profile-dropdown-menu a, .profile-dropdown-menu button.logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 22px;
  background: none;
  border: none;
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.profile-dropdown-menu a:hover, .profile-dropdown-menu button.logout-btn:hover {
  background: #f5f8ff;
  color: var(--primary-color);
}
.profile-dropdown-menu i {
  min-width: 18px;
  text-align: center;
}
.user-menu.open .profile-dropdown-menu {
  display: block;
}
@media (max-width: 900px) {
  .profile-dropdown-menu {
    right: 0;
    left: auto;
    min-width: 150px;
  }
  .profile-dropdown-btn {
    font-size: 0.97rem;
    padding: 8px 10px 8px 6px;
  }
  #user-profile-image {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 600px) {
  .profile-dropdown-menu {
    right: 0;
    left: auto;
    min-width: 120px;
    font-size: 0.95rem;
  }
  .profile-dropdown-btn {
    font-size: 0.93rem;
    padding: 7px 6px 7px 4px;
  }
  #user-profile-image {
    width: 24px;
    height: 24px;
  }
}
