:root {
  /* Light Mode Colors */
  --bg-gradient-start: #74eded;
  --bg-gradient-end: #f5e13c;
  --main-bg: rgba(255, 255, 255, 0.98);
  --text-primary: #333;
  --text-secondary: #666;
  --border-color: #e0e0e0;
  --input-bg: white;
  --input-text: #333;
  --footer-border: #f0f0f0;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --hover-bg: white;
  --card-bg: rgba(255, 255, 255, 0.95);
}

body.dark-mode {
  /* Dark Mode Colors */
  --bg-gradient-start: #0d4d4d;
  --bg-gradient-end: #4a3f00;
  --main-bg: rgba(30, 30, 30, 0.95);
  --text-primary: #eee;
  --text-secondary: #aaa;
  --border-color: #444;
  --input-bg: #2a2a2a;
  --input-text: #eee;
  --footer-border: #333;
  --shadow-color: rgba(0, 0, 0, 0.6);
  --hover-bg: #333;
  --card-bg: rgba(42, 42, 42, 0.95);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  min-height: 100dvh;
  padding: 20px;
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  transition: background 0.3s ease;
}

body::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.main-wrapper {
  background: var(--main-bg);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  box-shadow: 0 25px 70px var(--shadow-color), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  padding: 50px;
  animation: slideUp 0.6s ease;
  transition: all 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #74eded 0%, #f5e13c 100%);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(116, 237, 237, 0.5);
  animation: iconFloat 3s ease-in-out infinite;
  padding: 15px;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #74eded 0%, #f5e13c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Options Container */
.options-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-bottom: 40px;
}

/* Option Cards */
.option-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #74eded, #f5e13c);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.option-card:hover::before {
  opacity: 1;
}

.option-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* Card Icons */
.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.whatsapp-icon {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.consultation-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.card-icon svg {
  width: 40px;
  height: 40px;
  color: white;
  transition: transform 0.4s ease;
}

.option-card:hover .card-icon {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.option-card:hover .card-icon svg {
  transform: scale(1.15);
}

/* Card Content */
.card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Card Buttons */
.card-button {
  width: 100%;
  padding: 16px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  color: white;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.whatsapp-button {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.consultation-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.card-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.card-button:hover::before {
  left: 100%;
}

.card-button:hover {
  transform: translateY(-3px);
}

.whatsapp-button:hover {
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.consultation-button:hover {
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
}

.card-button:active {
  transform: translateY(-1px);
}

.card-button svg {
  transition: transform 0.3s ease;
}

.card-button:hover svg {
  transform: translateX(-5px);
}

/* Form Modal */
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-modal.active {
  opacity: 1;
  visibility: visible;
}

.form-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.form-container {
  position: relative;
  background: var(--main-bg);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: scale(0.9) translateY(30px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-modal.active .form-container {
  transform: scale(1) translateY(0);
}

.close-button {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-button:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: rotate(90deg) scale(1.1);
  border-color: rgba(239, 68, 68, 0.6);
}

.close-button svg {
  color: #ef4444;
  width: 20px;
  height: 20px;
}

/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #74eded 0%, #f5e13c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1.3;
}

.form-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Form Styles */
.form-section {
  margin-bottom: 25px;
}

.form-section .section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #74eded 0%, #f5e13c 100%) 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section .section-title::before {
  content: '';
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, #74eded 0%, #f5e13c 100%);
  border-radius: 2px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--input-text);
  transition: all 0.3s ease;
  outline: none;
}

/* إخفاء الأسهم من حقل العمر (number input) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* تنسيق حقول التاريخ والوقت */
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
  cursor: pointer;
  position: relative;
  padding-left: 45px;
}


input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 12px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
}

input[type="date"]:hover::-webkit-calendar-picker-indicator,
input[type="time"]:hover::-webkit-calendar-picker-indicator,
input[type="datetime-local"]:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
  transform: scale(1.1);
}

/* تلوين أيقونة التاريخ والوقت */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(58%) sepia(86%) saturate(429%) hue-rotate(133deg) brightness(97%) contrast(93%);
}

body.dark-mode input[type="date"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="time"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(85%) sepia(15%) saturate(1289%) hue-rotate(133deg) brightness(96%) contrast(91%);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
select:focus,
textarea:focus {
  border-color: #74eded;
  box-shadow: 0 0 0 4px rgba(116, 237, 237, 0.1);
  transform: translateY(-2px);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2374eded' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 20px;
  padding-left: 45px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 18px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  color: white;
  background: linear-gradient(135deg, #74eded 0%, #f5e13c 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(116, 237, 237, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(116, 237, 237, 0.5);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn svg {
  transition: transform 0.3s ease;
}

.submit-btn:hover svg {
  transform: translateX(-5px);
}

/* Success Message */
.success-message {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 12px;
  margin-top: 20px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  animation: successSlide 0.4s ease;
}

@keyframes successSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message svg {
  animation: checkmark 0.6s ease;
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(0deg);
  }

  50% {
    transform: scale(1.2) rotate(180deg);
  }

  100% {
    transform: scale(1) rotate(360deg);
  }
}

/* Custom Alert Modal */
.custom-alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-alert-modal.active {
  opacity: 1;
  visibility: visible;
}

.alert-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.alert-container {
  position: relative;
  background: var(--main-bg);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 45px 40px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
  transform: scale(0.8) translateY(-30px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(116, 237, 237, 0.2);
}

.custom-alert-modal.active .alert-container {
  transform: scale(1) translateY(0);
}

.alert-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.alert-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 currentColor;
    opacity: 0.6;
  }

  100% {
    box-shadow: 0 0 0 20px currentColor;
    opacity: 0;
  }
}

.alert-icon::after {
  font-size: 45px;
  font-weight: bold;
}

.alert-icon.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 35px rgba(16, 185, 129, 0.4);
}

.alert-icon.success::after {
  content: '✓';
  color: white;
  animation: checkBounce 0.6s ease 0.2s;
}

@keyframes checkBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }
}

.alert-icon.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 10px 35px rgba(239, 68, 68, 0.4);
}

.alert-icon.error::after {
  content: '✕';
  color: white;
  animation: errorShake 0.6s ease 0.2s;
}

@keyframes errorShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  75% {
    transform: translateX(10px);
  }
}

.alert-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.alert-message {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.alert-button {
  width: 100%;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  color: white;
  background: linear-gradient(135deg, #74eded 0%, #f5e13c 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(116, 237, 237, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.alert-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.alert-button:hover::before {
  left: 100%;
}

.alert-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(116, 237, 237, 0.5);
}

.alert-button:active {
  transform: translateY(-1px);
}


/* Footer */
.page-footer {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid var(--footer-border);
}

.page-footer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.designer-link {
  color: #74eded;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.designer-link:hover {
  background: linear-gradient(135deg, #74eded 0%, #f5e13c 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(116, 237, 237, 0.3);
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(116, 237, 237, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

body.dark-mode .theme-toggle {
  background: rgba(42, 42, 42, 0.9);
  border-color: rgba(116, 237, 237, 0.5);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(116, 237, 237, 0.4);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  color: #74eded;
  transition: all 0.3s ease;
}

.theme-toggle .sun-icon {
  display: block;
}

.theme-toggle .moon-icon {
  display: none;
}

body.dark-mode .theme-toggle .sun-icon {
  display: none;
}

body.dark-mode .theme-toggle .moon-icon {
  display: block;
  color: #fbbf24;
}

/* Responsive Design */

/* Tablets */
@media (max-width: 992px) {
  .main-wrapper {
    padding: 40px;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .options-container {
    gap: 25px;
  }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
  body {
    padding: 15px;
    align-items: flex-start;
    padding-top: 25px;
  }

  .main-wrapper {
    padding: 35px 25px;
    border-radius: 25px;
  }

  .page-header {
    margin-bottom: 35px;
  }

  .icon-wrapper {
    width: 85px;
    height: 85px;
    margin-bottom: 20px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1.1rem;
  }

  .options-container {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }

  .option-card {
    padding: 35px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-container {
    padding: 35px 25px;
  }

  .form-title {
    font-size: 1.6rem;
  }
}

/* Mobile Devices */
@media (max-width: 480px) {
  body {
    padding: 10px;
    padding-top: 20px;
  }

  .main-wrapper {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .page-header {
    margin-bottom: 30px;
  }

  .icon-wrapper {
    width: 75px;
    height: 75px;
    margin-bottom: 18px;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .options-container {
    gap: 20px;
  }

  .option-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .card-icon svg {
    width: 35px;
    height: 35px;
  }

  .card-title {
    font-size: 1.4rem;
  }

  .card-description {
    font-size: 0.95rem;
  }

  .card-button {
    padding: 15px 24px;
    font-size: 1rem;
  }

  .form-container {
    padding: 30px 20px;
    width: 95%;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-subtitle {
    font-size: 0.95rem;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    padding: 13px 16px;
    font-size: 16px;
    /* Prevent iOS zoom */
  }

  .submit-btn {
    padding: 16px 28px;
    font-size: 1rem;
  }

  .theme-toggle {
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
  }

  .theme-toggle svg {
    width: 22px;
    height: 22px;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .main-wrapper {
    padding: 25px 16px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .page-subtitle {
    font-size: 0.95rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 0.9rem;
  }
}

/* Accessibility */
.main-wrapper:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

/* Scrollbar Styling */
.form-container::-webkit-scrollbar {
  width: 8px;
}

.form-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.form-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #74eded 0%, #f5e13c 100%);
  border-radius: 10px;
}

.form-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5fd4d4 0%, #e6d030 100%);
}