/* MediO'Rise Premium Website Styles */

:root {
  --primary: #0D1B2A;
  --secondary: #0FF3D6;
  --accent: #C7CCD4;
  --background: #222831;
  --light-bg: #F8F9FA;
  --text-dark: #0D1B2A;
  --text-light: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #0D1B2A 0%, #1E3A5F 100%);
  --gradient-secondary: linear-gradient(135deg, #0FF3D6 0%, #00C9B7 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.stat-number {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  letter-spacing: 2px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.cta-btn {
  background: var(--gradient-secondary);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 243, 214, 0.3);
}

.cta-btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--secondary);
}

.cta-btn-outline:hover {
  background: var(--secondary);
  color: var(--text-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-primary);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(15, 243, 214, 0.1), transparent);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-content .highlight {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1.8;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease 0.8s backwards;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--background);
  color: var(--text-light);
}

.section-light {
  background: var(--light-bg);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--accent);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Why MediO'Rise Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.why-card {
  background: rgba(15, 243, 214, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(15, 243, 214, 0.1);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(15, 243, 214, 0.2);
}

.why-card i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: var(--gradient-primary);
  border-radius: 20px;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(15, 243, 214, 0.3);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  color: var(--secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--accent);
  font-size: 0.9rem;
}

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

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 1.75rem;
  color: var(--text-dark);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* Case Studies Section */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.case-image {
  height: 250px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(15, 243, 214, 0.2), transparent);
}

.case-image i {
  font-size: 4rem;
  color: var(--secondary);
  z-index: 1;
}

.case-content {
  padding: 2rem;
}

.case-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.case-subtitle {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-results {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

.result-item i {
  color: var(--secondary);
}

.case-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.case-link:hover {
  gap: 1rem;
  color: var(--secondary);
}

/* Process Section */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  width: 2px;
  height: calc(100% + 3rem);
  background: var(--secondary);
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  flex-shrink: 0;
  z-index: 1;
}

.process-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--accent);
  line-height: 1.6;
}

/* About Section */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.founder-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.founder-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--secondary);
}

.founder-image i {
  font-size: 3rem;
  color: var(--secondary);
}

.founder-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.founder-title {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.testimonial-position {
  color: var(--secondary);
  font-size: 0.95rem;
}

/* CTA Strip Section */
.cta-strip {
  background: var(--gradient-primary);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 243, 214, 0.1), transparent);
}

.cta-strip h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

.submit-btn {
  width: 100%;
  background: var(--gradient-secondary);
  color: var(--text-dark);
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 243, 214, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.info-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: #555;
}

.info-content a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: var(--primary);
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 2rem 0;
  text-align: center;
}

footer p {
  color: var(--accent);
}

footer a {
  color: var(--secondary);
  text-decoration: none;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
  }
  
  nav ul.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats-bar {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(15, 243, 214, 0.3);
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
  
  .cta-strip h2 {
    font-size: 1.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
}

/* Smooth Scrolling Enhancement */
.scroll-smooth {
  scroll-behavior: smooth;
}

/* Loading State */
.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Success Message */
.success-message {
  background: #4CAF50;
  color: white;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

.error-message {
  background: #f44336;
  color: white;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}
