/* ====== BASE STYLES ====== */
:root {
  /* Main color palette */
  --color-primary: #0070f3;
  --color-primary-rgb: 0, 112, 243;
  --color-secondary: #6c757d;
  --color-accent: #ff9800;
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  
  /* Background and text colors */
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-text: #333333;
  --color-text-light: #6c757d;
  --color-heading: #212529;
  
  /* Border colors */
  --color-border: #e9ecef;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Other */
  --border-radius: 0.25rem;
  --transition-speed: 0.3s;
}

/* Dark theme */
[data-theme="dark"] {
  --color-primary: #3490dc;
  --color-primary-rgb: 52, 144, 220;
  --color-bg: #1a1a1a;
  --color-bg-alt: #2c2c2c;
  --color-text: #e2e2e2;
  --color-text-light: #a0a0a0;
  --color-heading: #ffffff;
  --color-border: #444444;
}

/* ====== HEADER & LAYOUT FIXES ====== */
/* Fix for space issue - based on console solution */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Key fix: set padding-top to 0 on main content container */
main#content-container {
  padding-top: 70px; /* Match header height */
  width: 100%;
}

/* Remove default margins that might be causing spaces */
section, div, h1, h2, h3, p {
  margin-top: 0;
}

/* Fixed header styling */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg, #ffffff);
  color: var(--color-text, #333333);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  top: 0;
  left: 0;
  height: 70px;
  display: flex;
  align-items: center;
}

/* Fix spacing issues between sections */
#home-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#home-section .hero {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-top: none !important;
}

.content-section {
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure no space on services page */
.page-header {
  margin-top: 0 !important;
  padding-top: 60px !important;
}

/* Hero element styling */
.hero {
  background: linear-gradient(135deg, #0a0a29 0%, #111155 100%);
  color: white;
  padding: 8rem 0 5rem;
  margin-top: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.5;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(rgba(47, 73, 255, 0.15), transparent 60%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-text {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.hero-text strong,
.hero-text a {
  color: #4d85ff;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hero-cta .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  min-width: 200px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.hero-cta .btn-primary {
  background-color: #4d85ff;
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(77, 133, 255, 0.3);
}

.hero-cta .btn-primary:hover {
  background-color: #3a75ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(77, 133, 255, 0.4);
}

.hero-cta .btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-cta .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Add proper spacing between sections */
#home-section-about,
#services,
#home-section-testimonials,
#contact {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ====== SERVICES SECTION STYLING ====== */
.service-details-section {
  padding: 5rem 0;
  background-color: var(--color-bg-alt);
  position: relative;
}

.section-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--color-text);
}

/* Large card-style detailed services */
.detailed-services {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.detailed-service {
  background-color: var(--color-bg);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  padding: 3.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: none;
  transform: translateZ(0);
}

/* Card gradient border effect */
.detailed-service::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 4px; /* Border width */
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.detailed-service:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Card background pattern */
.detailed-service::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(var(--color-primary-rgb), 0.05) 0%, transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(var(--color-primary-rgb), 0.05) 0%, transparent 25%);
  z-index: 0;
  opacity: 0.8;
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.service-icon {
  font-size: 2.5rem;
  margin-right: 2.5rem;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: linear-gradient(135deg, 
                             rgba(var(--color-primary-rgb), 0.15) 0%,
                             rgba(var(--color-primary-rgb), 0.05) 100%);
  border-radius: 24px;
  flex-shrink: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.15);
}

.detailed-service:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, 
                             rgba(var(--color-primary-rgb), 0.25) 0%,
                             rgba(var(--color-primary-rgb), 0.1) 100%);
  box-shadow: 0 10px 25px rgba(var(--color-primary-rgb), 0.2);
}

.service-title {
  flex-grow: 1;
}

.service-title h3 {
  margin: 0 0 1.2rem;
  font-size: 2.2rem;
  color: var(--color-heading);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.service-title h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.detailed-service:hover .service-title h3:after {
  width: 80px;
}

.service-summary {
  margin: 0;
  color: var(--color-text);
  font-size: 1.3rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 90%;
}

.service-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .service-content {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
  }
  
  .service-action {
    grid-column: 1 / -1;
  }
}

.service-description p {
  margin: 0;
  line-height: 1.9;
  color: var(--color-text);
  font-size: 1.15rem;
}

.service-benefits {
  margin-bottom: 1.5rem;
  background-color: rgba(var(--color-primary-rgb), 0.04);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: inset 0 0 25px rgba(var(--color-primary-rgb), 0.05);
}

.service-benefits h4 {
  margin: 0 0 1.8rem;
  font-size: 1.6rem;
  color: var(--color-heading);
  position: relative;
  padding-bottom: 1.2rem;
}

.service-benefits h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.detailed-service:hover .service-benefits h4::after {
  width: 80px;
}

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

.benefits-list li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  padding: 0.8rem 0;
  transition: transform 0.3s ease;
}

.benefits-list li:hover {
  transform: translateX(8px);
}

.benefit-icon {
  color: var(--color-primary);
  margin-right: 1.2rem;
  font-size: 1.3rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.service-action {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.service-action .btn {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s ease;
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 10px 25px rgba(var(--color-primary-rgb), 0.3);
}

.service-action .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(var(--color-primary-rgb), 0.4);
}

/* Remove service separator */
.service-separator {
  display: none;
}

/* Process section spacing */
#implementation-process {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--color-border);
}

/* ====== MOBILE MENU STYLES ====== */
/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
  z-index: 1001;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

/* Basic header and navigation styles */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg, #ffffff);
  color: var(--color-text, #333333);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  top: 0;
  left: 0;
  height: 70px;
  display: flex;
  align-items: center;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text, #333333);
}

header .logo h2 {
  margin-left: 10px;
}

/* Desktop menu styles */
header #menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

header #menu li {
  margin: 0 15px;
}

header #menu a {
  color: var(--color-text, #333333);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

header #menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile styles - Fixed to ensure menu is hidden by default and links are clickable */
@media (max-width: 768px) {
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: block;
  }
  
  /* Mobile menu styling - ensure it's hidden by default */
  header #menu {
    position: fixed;
    top: 0;
    right: -280px; /* Start off-screen */
    width: 280px;
    height: 100vh;
    background-color: var(--color-primary);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 20px 20px;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transform: translateX(0); /* Reset any transforms */
    visibility: hidden; /* Hide by default */
    opacity: 0; /* Make transparent by default */
    pointer-events: none; /* Disable interactions when hidden */
  }
  
  /* When menu is shown */
  header #menu.show {
    right: 0;
    visibility: visible; /* Show when .show class is applied */
    opacity: 1; /* Make fully visible when .show class is applied */
    pointer-events: auto; /* Enable interactions when visible */
  }
  
  /* Mobile menu items */
  header #menu li {
    margin: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  header #menu a {
    display: block;
    padding: 15px 10px;
    font-size: 1.2rem;
    width: 100%;
    text-align: left;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  header #menu a:hover,
  header #menu a:active {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Semi-transparent overlay */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: -1;
    transition: background-color 0.3s ease;
    pointer-events: none;
  }
  
  body.menu-open::after {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    pointer-events: auto;
  }
} 

/* Main CSS with fixed theme variable usage */

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

html {
  font-size: 90%; /* Set base font size (15px if default is 16px) */
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

ul {
  list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-heading);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

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

.btn-consultation {
  background-color: var(--color-secondary);
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--color-bg, #ffffff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: var(--color-header-scrolled);
}

header .container {
  padding: 0.5rem 15px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text, #333333);
}

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

.logo h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

#menu {
  display: flex;
  gap: 2rem;
}

#menu li a {
  color: var(--color-text, #333333);
  font-weight: 500;
  position: relative;
}

#menu li a:hover {
  color: var(--color-primary);
}

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

#menu li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text, #333333);
}

/* Main Content Container */
main#content-container {
  flex: 1;
  margin-top: 0;
  padding-top: 0;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--color-bg-alt);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-text h2 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.mission-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.mission, .vision {
  flex: 1;
  min-width: 250px;
  padding: 1.5rem;
  background-color: var(--color-bg-card);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.mission h3, .vision h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--color-bg-card);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Services Section */
.services {
  padding: 5rem 0;
}

.services h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--color-bg-card);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.service-card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--color-bg-alt);
}

.testimonials h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.testimonials-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-bg-card);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: var(--color-primary);
  opacity: 0.2;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
}

.contact h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-form {
  flex: 2;
  min-width: 300px;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--color-form-border);
  background-color: var(--color-form-bg);
  color: var(--color-form-text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-detail i {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-detail div {
  flex: 1;
}

.contact-detail h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  text-align: center;
  color: white;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta .btn {
  background-color: white;
  color: var(--color-primary) !important;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
}

.cta .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
  background-color: var(--color-footer-bg, #111);
  color: var(--color-footer-text, #ccc);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-logo {
  text-align: left;
}

.footer-logo a {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-logo p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

.footer-nav-buttons {
  display: flex;
  gap: 0.8rem;
}

/* Add small modifier for modern buttons if needed */
.btn-modern.small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.btn-modern.small i {
  margin-right: 0.4rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  header .container {
    padding: 0.5rem 10px;
  }
  
  .logo h2 {
    font-size: 1.2rem;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  #menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-header-bg);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5rem;
    transition: right 0.3s ease;
    z-index: 99;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  #menu.show {
    right: 0;
  }
  
  #menu li {
    margin: 1rem 0;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .about-content,
  .contact-wrapper {
    flex-direction: column;
  }
  
  .footer-content {
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

.zoom-in {
  animation: zoomIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.highlight-animation {
  animation: highlight 2s ease;
}

@keyframes highlight {
  0% {
    background-color: transparent;
  }
  30% {
    background-color: rgba(var(--color-primary-rgb), 0.2);
  }
  100% {
    background-color: transparent;
  }
} 