/* =====================
   GLOBAL RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

:root {
  --blue: #1e88e5;
  --blue-light: #e3f2fd;
  --dark-blue: #0d47a1;
  --text-dark: #1f2937;
}

body {
  background: #f8fafc;
  color: var(--text-dark);
}

/* =====================
   SECTION SYSTEM
===================== */
.section-blue {
  background: linear-gradient(135deg, #1e88e5, #1565c0);
  color: #fff;
}

.section-white {
  background: #ffffff;
  color: var(--text-dark);
}

.section-blue h2,
.section-blue h3,
.section-blue h4 {
  color: #ffffff;
}

.section-white h2,
.section-white h3,
.section-white h4 {
  color: var(--dark-blue);
}


a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =====================
   HEADER / NAVBAR
===================== */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 0;
  background: rgba(255,255,255,0.9);
  color: var(--dark-blue);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: 0.3s ease;
}

.main-header.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.9);
  color: var(--dark-blue);
}

.header-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: bold;
}

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

/* NAV */
.nav-links {
    
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-size: 15px;
  opacity: 0.85;
  position: relative;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #8fd3f4;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

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

/* =====================
   HERO SECTION
===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 52px;
  margin-bottom: 15px;
}

.hero-text h1 span {
  color: #8fd3f4;
}

.hero-text h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.hero-text p {
  max-width: 500px;
  line-height: 1.8;
  opacity: 0.9;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 14px;
  transition: 0.3s;
}

.btn.primary {
  background: #8fd3f4;
  color: #3f2238;
}

.btn.secondary {
  border: 1px solid #8fd3f4;
}

.btn:hover {
  transform: translateY(-4px);
}

/* Decorative Circles */
.hero-visual {
  position: relative;
}

.circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(143, 211, 244, 0.15);
}

.circle.small {
  width: 180px;
  height: 180px;
  position: absolute;
  bottom: -40px;
  right: -40px;
}

/* =====================
   MEDICAL ABOUT
===================== */
.medical-about {

   padding: 120px 0;
  display: flex;
  justify-content: center;
}

.medical-container {
   width: 85%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.medical-text h2 {
    
  font-size: 38px;
  margin-bottom: 20px;
  color: #8fd3f4;
}

.medical-text p {
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 15px;
}

.medical-text h3 {
  color: #8fd3f4;
  margin: 25px 0 15px;
}

.medical-text li {
  margin-bottom: 10px;
  opacity: 0.9;
}

/* =====================
   MEDICAL ARTICLES
===================== */
.medical-articles {
  padding: 120px 0;
}

.articles-container {
  width: 85%;
  margin: auto;
  text-align: center;
}

.articles-container h2 {
  font-size: 40px;
  color: #8fd3f4;
}

.articles-intro {
  max-width: 600px;
  margin: 20px auto 60px;
  opacity: 0.9;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.article-card {
  background: rgba(31, 10, 10, 0.08);
  padding: 35px;
  border-radius: 25px;
  transition: 0.4s;
}

.article-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.article-card h3 {
  color: #8fd3f4;
  margin-bottom: 15px;
}

/* =====================
   PRODUCTS SECTION
===================== */
.products-section {
  padding: 120px 0;
  text-align: center;
}

.products-text h2 {
  margin-bottom: 20px;
  color: #8fd3f4;
  font-size: 40px;
  color: #8fd3f4;
}

.products-text h3 {
  margin-top: 10px;
  opacity: 0.9;
}

.product-showcase {
  margin-top: 60px;
  position: relative;
}

.product-glow {
  width: 260px;
  height: 260px;
  background: rgba(143, 211, 244, 0.35);
  filter: blur(80px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-image {
  width: 520px;
  border-radius: 40px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  position: relative;
  z-index: 2;
  transition: 0.4s;
}

.product-image:hover {
  transform: scale(1.08);
}




/* =========================
   WHY MAPLE - CENTERED
========================= */
.why-maple {
  padding: 120px 0;
  display: flex;
  justify-content: center;
  text-align: center;
}

.why-container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
}

.why-container h2 {
  color: #8fd3f4;
  margin-bottom: 60px;
}

/* الكروت */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

 .why-card {
  background: rgba(31, 10, 10, 0.08);
  color: #090d13;
  padding: 35px;
  border-radius: 25px;
  transition: 0.4s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  background: rgba(215, 209, 209, 0.08);
}

.why-card h4 {
  color: #8fd3f4;
  margin-bottom: 15px;
}






/* =====================
   FOOTER
===================== */
/* New Footer Styling */
.main-footer {
  background: #0d47a1;
  color: #fff;
  padding: 60px 20px 30px;
  font-size: 14px;
}

.footer-container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
  color: #8fd3f4;
}

.footer-col p,
.footer-col ul li {
  margin-bottom: 10px;
  opacity: 0.9;
}

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

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #8fd3f4;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #8fd3f4;
  color: #0d47a1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 13px;
  opacity: 0.8;
}

/* =====================
   SOCIAL ICONS
===================== */
.social-icons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-icons .icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #8fd3f4;
  color: #3f2238;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social-icons .icon:hover {
  transform: scale(1.1);
}

