@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&display=swap');

:root {
  --primary: #6c63ff;
  --secondary: #5a54d4;
  --accent: #00e0ff;
  --dark: #2a2d3e;
  --light: #f0f2ff;
  --success: #00d68f;
  --warning: #ffb545;
  --info: #0095ff;
  --danger: #ff4757;
  --gradient: linear-gradient(135deg, #6c63ff, #b066ff, #00e0ff);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}

body.body {
  background-color: #161b30;
  color: var(--light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  padding-top: 120px !important;
  flex: 1;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

/* Header */
.desktop-header {
  background: var(--gradient) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 5%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 100px;
  aspect-ratio: 1/1;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--light);
  font-weight: 500;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.mobile-header {
  display: none;
  background: var(--gradient) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0 1rem;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--light);
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 270px;
  height: 100vh;
  background: var(--gradient);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  transition: left 0.3s ease;
  padding: 1.5rem;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.sidebar-logo img {
  width: 70px;
  aspect-ratio: 1/1;
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--light);
  cursor: pointer;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-links a {
  text-decoration: none;
  color: var(--light);
  font-weight: 500;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar-links a:hover {
  background: rgba(108, 99, 255, 0.1);
  color: var(--accent);
}

.sidebar-links a svg,
.sidebar-links a i {
  margin-right: 15px !important;
  font-size: 1.2rem;
}
.language-selector {
  display: flex;
  gap: 10px;
}

.language-icon img {
  border-radius: 50%; 
  transition: transform 0.3s ease;
}

.language-icon:hover img {
  transform: scale(1.1); 
}
/* calculator */

.calculator-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.calculator-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.calculator-header h1::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 10px;
  background: var(--gradient);
  bottom: -10px;
  left: 15%;
  border-radius: 5px;
  filter: blur(5px);
  opacity: 0.7;
}

.calculator-header p {
  font-size: 1.3rem;
  color: var(--light);
  max-width: 800px;
  margin: 0 auto;
}

.animated-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  filter: blur(70px);
  opacity: 0.15;
  background: radial-gradient(circle at center, var(--accent), var(--primary), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 8s infinite alternate;
}

/* 
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.15;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.2;
  }
} */
/* .calculator-container {
  perspective: 1000px;
} */

.calculator-card {
  background: rgba(32, 37, 61, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform-style: preserve-3d;
  margin-bottom: 4rem;
}

.calculator-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.4);
}

.calculator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 1;
}

.card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

@media (max-width: 992px) {
  .card-inner {
    grid-template-columns: 1fr;
  }
}

.card-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  z-index: 0;
}

.card-decoration-1 {
  background: var(--accent);
  top: -150px;
  right: -100px;
}

.card-decoration-2 {
  background: var(--primary);
  bottom: -150px;
  left: -100px;
}

.calculator-info {
  padding: 3rem;
  position: relative;
  z-index: 1;
}

.info-header {
  margin-bottom: 2.5rem;
  position: relative;
}

.info-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.info-header span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-header p {
  color: #b0b7c3;
  line-height: 1.8;
  font-size: 1.1rem;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(108, 99, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(108, 99, 255, 0.3);
}

.info-item-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.info-item-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: white;
}

.info-item-text p {
  color: #b0b7c3;
  line-height: 1.7;
  font-size: 1rem;
}

.calculator-form {
  background: rgba(25, 29, 49, 0.8);
  padding: 3rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-header h2 i {
  font-size: 1.8rem;
  color: var(--accent);
}

.form-header p {
  color: #b0b7c3;
  font-size: 1.1rem;
}

.form-3d-container {
  position: relative;
  perspective: 1000px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pregnancy {
  max-width: 100% !important;
  overflow: hidden !important;
}

.form-3d {
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
}

.form-control {
  width: 100%;
  background: rgba(22, 27, 48, 0.8);
  border: 2px solid rgba(108, 99, 255, 0.3);
  color: white;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.calc-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  z-index: 1;
}

.calc-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.4);
}

.calc-btn:active {
  transform: translateY(-2px);
}

.calc-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b066ff, #6c63ff, #00e0ff);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.calc-btn:hover::before {
  opacity: 1;
}

.calc-btn i {
  font-size: 1.4rem;
}

.calculator-result {
  margin-top: 3rem;
  background: rgba(32, 37, 61, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  padding: 3rem;
  position: relative;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
  overflow: hidden;
}

.due-date-card {
  background: var(--gradient);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 20px;
}

.pregnancy-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.detail-card svg,
.trimester-cardsvgi,
.indicator-card svg,
.detail-card i,
.trimester-card i,
.indicator-card i {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.detail-card,
.trimester-card,
.indicator-card {
  position: relative;
  background: var(--gradient);
  padding: 10px 15px;
  border-radius: 8px;
}

.trimesters-section {
  margin: 30px 0;
}

.pregnancy-indicators h3,
.trimesters-section h3 {
  margin-bottom: 20px !important;
}

.trimester-cards {
  display: grid;
  grid-template-columns: repeat(3, .9fr);
  gap: 15px;
}

.pregnancy-indicators {
  margin: 30px 0;
}

.indicators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.share-btn {
  width: 50px !important;
  aspect-ratio: 1/1;
  background: var(--gradient);
  border-radius: 50%;
}

.calculator-result.show {
  transform: translateY(0);
  opacity: 1;
}

.calculator-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 1;
}

.result-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--success);
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.result-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.result-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #6c63ff, #b066ff, #00e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.result-header p {
  color: var(--light);
  font-size: 1.1rem;
}

.result-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.result-value {
  margin: 2rem 0;
  position: relative;
}

.result-number {
  font-size: 4rem;
  font-weight: 800;
  text-align: center;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(108, 99, 255, 0.4));
}

.result-unit {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: 0.5rem;
}

.result-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
}

.result-detail-item {
  background: rgba(22, 27, 48, 0.6);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(108, 99, 255, 0.2);
  transition: all 0.3s ease;
}

.result-detail-item:hover {
  transform: translateY(-5px);
  border-color: rgba(108, 99, 255, 0.4);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.result-detail-item h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
}

.result-detail-item h3 i {
  color: var(--accent);
  font-size: 1.4rem;
}

.result-detail-item p {
  color: #b0b7c3;
  font-size: 1.1rem;
  line-height: 1.7;
}

.result-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
  justify-content: center;
}

.result-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-btn-primary {
  background: rgba(108, 99, 255, 0.2);
  border: 1px solid rgba(108, 99, 255, 0.4);
  color: white;
}

.result-btn-primary:hover {
  background: rgba(108, 99, 255, 0.3);
  border-color: var(--primary);
}

.result-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.result-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.result-btn i {
  font-size: 1.2rem;
}

/* Hero */

.hero {
  padding: 8rem 5% 5rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #6c63ff, #b066ff, #00e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--light);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.calculators-section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}
.calculators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.calculators-section .calculator-card {
  background: var(--gradient);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.calculators-section .calculator-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.calculators-section .card-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.calculators-section .card-icon i {
  position: relative;
  z-index: 2;
}

.calculators-section .card-icon::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

.calculators-section .card-content {
  padding: 1.5rem;
}

.calculators-section .card-content h3 {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.calculators-section .card-content p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.calculators-section .card-button {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--light);
  color: var(--primary);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.calculators-section .card-button:hover {
  background: var(--primary);
  color: white;
}
.features-section {
  padding: 5rem 5%;
}
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--light);
}

.feature-item h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--primary);
}

.feature-item p {
  color: var(--light);
  line-height: 1.7;
}

.app-section {
  padding: 5rem 5%;
  border-radius: 20px;
  background:var(--gradient);
  color: white;
  text-align: center;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.app-section p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.app-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.app-button {
  display: flex;
  align-items: center;
  background: var(--gradient);
  color: var(--light);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.app-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.app-button i {
  font-size: 1.5rem;
  margin-left: 10px;
}


/* 3D Objects in Background */
.scene-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Floating calculator elements for 3D effect */
.floating-element {
  position: absolute;
  border-radius: 8px;
  background: rgba(108, 99, 255, 0.2);
  border: 1px solid rgba(108, 99, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  animation: float 15s infinite ease-in-out;
  opacity: 0.5;
}

.float-1 {
  width: 60px;
  height: 60px;
  top: 15%;
  left: 10%;
  animation-delay: -2s;
}

.float-2 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  right: 15%;
  animation-delay: -5s;
}

.float-3 {
  width: 40px;
  height: 40px;
  top: 30%;
  right: 30%;
  animation-delay: -7s;
}

.float-4 {
  width: 100px;
  height: 30px;
  bottom: 15%;
  left: 20%;
  animation-delay: -10s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(5deg);
  }

  50% {
    transform: translateY(10px) rotate(-5deg);
  }

  75% {
    transform: translateY(-10px) rotate(2deg);
  }
}

/* More floating UI elements with calculator symbols */
.calc-symbol {
  position: absolute;
  font-size: 2rem;
  color: rgba(108, 99, 255, 0.4);
  animation: floatSymbol 20s infinite ease-in-out;
  filter: blur(1px);
}

.symbol-1 {
  content: '+';
  top: 25%;
  left: 5%;
  animation-delay: -3s;
}

.symbol-2 {
  content: '÷';
  bottom: 30%;
  right: 8%;
  animation-delay: -6s;
}

.symbol-3 {
  content: '×';
  top: 15%;
  right: 15%;
  animation-delay: -9s;
}

.symbol-4 {
  content: '=';
  bottom: 10%;
  left: 12%;
  animation-delay: -12s;
}

.symbol-5 {
  content: '%';
  top: 40%;
  right: 25%;
  animation-delay: -15s;
}

@keyframes floatSymbol {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }

  25% {
    transform: translate(-15px, -15px) rotate(15deg);
    opacity: 0.6;
  }

  50% {
    transform: translate(10px, 10px) rotate(-15deg);
    opacity: 0.4;
  }

  75% {
    transform: translate(-10px, 15px) rotate(5deg);
    opacity: 0.5;
  }
}
@media (max-width: 992px) {
  .calculator-header h1 {
    font-size: 2.5rem;
  }

  .calculator-tabs {
    flex-wrap: wrap;
  }

  .card-inner {
    grid-template-columns: 1fr;
  }

  .info-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {

  .pregnancy-details,
  .trimester-cards,
  .indicators-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .calculator-header h1 {
    font-size: 2rem;
  }

  .calculator-header p {
    font-size: 1.1rem;
  }

  .calculator-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .tab-button {
    flex-shrink: 0;
  }

  .calculator-info,
  .calculator-form {
    padding: 2rem;
  }

}

@media (max-width: 576px) {
  main {
    padding: 2rem 1rem;
  }

  .calculator-header h1 {
    font-size: 1.8rem;
  }

  .info-header h2 {
    font-size: 1.5rem;
  }

  .form-header h2 {
    font-size: 1.5rem;
  }

  .result-number {
    font-size: 3rem;
  }
}




@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .app-buttons {
    flex-direction: column;
    width: 100%;
  }

  .app-button {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .pregnancy {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .calculator-result {
    padding: 2rem 1rem;
  }
}

@media (max-width: 992px) {

  .hero h1 {
    font-size: 2.8rem;
  }

  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .hero {
    padding-top: 6rem;
  }
}


/* RTL */
html:lang(ar) {
  .footer,
  .sidebar,
  .calculator-result,
  .calculator-card,
  .mobile-header,
  .desktop-header {
    direction: rtl !important;
  }

  .detail-card svg,
  .trimester-cardsvgi,
  .indicator-card svg,
  .detail-card i,
  .trimester-card i,
  .indicator-card i {
    position: absolute;
    left: 10px;
    right: unset;
    bottom: 10px;
  }

  .sidebar {
    right: -100%;
    left: unset !important;
    transition: .3s ease-in-out all;
  }

  .sidebar.active {
    right: 0;
  }

  .sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    float: unset !important;
  }

  .sidebar-links a svg,
  .sidebar-links a i {
    margin-left: 15px !important;
  }
  
.footer-heading::after {
  right: 0;
}
.quick-links a:hover {
  padding-right: 5px;
}
.calculator-links svg,
.calculator-links i ,
.quick-links svg,
.quick-links i ,
.contact-info svg,
.contact-info i {
  margin-left: 15px;
}
}






.footer {
  background: rgba(20, 24, 44, 0.8);
  color: white;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}
.footer-brand {
  margin-bottom: 25px;
}

.footer-brand .footer-logo {

  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
}
.footer-brand .footer-logo img{
  width: 100px;
  aspect-ratio: 1/1;
}


.footer-brand p {
  color: var(--light);
  line-height: 1.8;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.footer-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.calculator-links {
  list-style: none;
  padding: 0;
}

.calculator-links li {
  margin-bottom: 12px;
}

.calculator-links a {
  display: flex;
  align-items: center;
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.calculator-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(-5px);
}

.calculator-links svg,
.calculator-links i {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px !important;
  font-size: 14px;
}
.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 12px;
}

.quick-links a {
  display: flex;
  align-items: center;
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.quick-links a:hover {
  color: var(--primary);
  padding-right: 5px;
}

.quick-links svg,
.quick-links i {
  margin-right: 10px;
  color: var(--primary);
  font-size: 14px;
  width: 20px;
  text-align: center;
}
.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-info svg,
.contact-info i {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  margin-right: 15px;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.contact-info span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-copyright {
  padding:0  0 20px;
  margin-top: 20px;
  text-align: center;
}
.footer-copyright p {
  margin: 0;
  background: linear-gradient(135deg, #6c63ff, #b066ff, #00e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    font-size: 18px;
}
@media (max-width: 767px) {
  .footer-col {
    margin-bottom: 30px;
  }

  .footer-heading {
    font-size: 18px;
  }
}




