/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import 'realisations.css';
@import 'process.css';
@import 'hero.css';
@import 'navbar.css';

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #f97316;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background-color: #ffffff;
  overflow-x: hidden;
  padding-top: 0;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h4 {
  font-weight: 700;
  font-size: 1.4rem;
}

.highlight {
  color: var(--primary);
  font-weight: 800;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background-color: #f8fafc;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.section-header p.lead {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gray);
}

/* Buttons */
.btn {
  transition: var(--transition);
  border-radius: 50px;
  font-weight: 600;
  padding: 0.8rem 2rem;
}

.btn-primary {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 80%);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.9rem 2rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

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

/* Problem Cards */
.problem-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.problem-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  background-color: rgba(99, 102, 241, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: var(--transition);
}

.problem-card:hover .card-icon {
  background-color: var(--primary);
  color: white;
  transform: rotate(10deg);
}

/* Service Cards */
.service-card {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2rem;
  color: var(--primary);
  background-color: rgba(99, 102, 241, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: white;
}

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

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -150px;
  left: -150px;
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  bottom: -100px;
  right: -100px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.cta-section .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(99, 102, 241, 0.05) 100%
  );
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.contact-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.03) 0%,
    rgba(99, 102, 241, 0.01) 100%
  );
  z-index: 0;
}

.contact-section h2 {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg,
    var(--primary) 0%,
    var(--primary-dark) 50%,
    var(--primary) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-section .lead {
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.contact-form-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--dark);
}

.contact-form .form-control {
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f8fafc;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background-color: white;
}

.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  padding: 0.9rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-form .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  z-index: -1;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

@media (max-width: 767.98px) {
  .contact-form-container {
    padding: 2rem;
  }
}

/* Responsive Styles */
@media (max-width: 767.98px) {
  .service-card {
    flex-direction: column;
  }

  .service-icon {
    margin-bottom: 1.5rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
