/* Pharmacist Portfolio - Medical Theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: #f0fdfa;
  color: #64748b;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  background-color: #14b8a6;
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.2);
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #115e59;
  letter-spacing: -0.025em;
}

.nav-menu {
  display: none;
  gap: 2rem;
  font-weight: 700;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #0d9488;
}

.nav-home {
  color: #94a3b8;
}

.nav-home:hover {
  color: #64748b;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-btn {
  display: none;
  background-color: #14b8a6;
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .cta-btn {
    display: block;
  }
}

.cta-btn:hover {
  background-color: #0d9488;
  transform: scale(1.05);
}

.cta-btn:active {
  transform: scale(0.95);
}

.menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

.menu-line {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #64748b;
  position: relative;
}

.menu-line::before,
.menu-line::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 2px;
  background-color: #64748b;
}

.menu-line::before {
  top: -8px;
}

.menu-line::after {
  top: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #ccfbf1 0%, white 50%, #dbeafe 100%);
  padding: 3rem 0 6rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0 8rem;
  }
}

.blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(80px);
  opacity: 0.3;
  animation: blob 7s infinite;
}

.blob-1 {
  top: 0;
  right: 0;
  margin-right: -5rem;
  margin-top: -5rem;
  background-color: #99f6e4;
}

.blob-2 {
  top: 0;
  left: 0;
  margin-left: -5rem;
  margin-top: -5rem;
  background-color: #bfdbfe;
  animation-delay: 2s;
}

@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    text-align: right;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: white;
  border-radius: 9999px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #ccfbf1;
  color: #0d9488;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  animation: fadeIn 0.8s ease-out;
}

@media (min-width: 768px) {
  .hero-badge {
    margin: 0 0 1rem 0;
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.8s ease-out 0.1s backwards;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.accent {
  color: #14b8a6;
}

.hero-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.75;
  max-width: 32rem;
  margin: 0 auto 2rem;
  animation: fadeIn 0.8s ease-out 0.2s backwards;
}

@media (min-width: 768px) {
  .hero-description {
    margin: 0 0 2rem 0;
  }
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  animation: fadeIn 0.8s ease-out 0.3s backwards;
}

@media (min-width: 640px) {
  .hero-features {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-features {
    justify-content: flex-start;
  }
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  transition: box-shadow 0.3s;
}

.feature-box:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-box svg {
  color: #14b8a6;
}

.feature-text {
  font-size: 0.875rem;
  text-align: right;
}

.feature-title {
  font-weight: 700;
  color: #1e293b;
}

.feature-subtitle {
  color: #94a3b8;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.pharmacist-image {
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid white;
  object-fit: cover;
  width: 100%;
  height: auto;
  transform: rotate(0deg);
  transition: transform 0.5s;
}

@media (min-width: 768px) {
  .pharmacist-image {
    transform: rotate(-2deg);
  }
}

.pharmacist-image:hover {
  transform: rotate(0deg);
}

.floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: bounce 3s infinite;
  z-index: 20;
  border: 1px solid #f1f5f9;
}

@media (min-width: 1024px) {
  .floating-card {
    padding: 1.5rem;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.card-icon {
  background-color: #fee2e2;
  padding: 0.75rem;
  border-radius: 50%;
  color: #ef4444;
}

.card-number {
  font-weight: 700;
  font-size: 1.5rem;
  color: #1e293b;
}

.card-label {
  font-size: 0.75rem;
  color: #64748b;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background-color: white;
  position: relative;
  z-index: 20;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
}

.service-card:hover {
  background-color: #14b8a6;
  box-shadow: 0 25px 50px -12px rgba(20, 184, 166, 0.2);
  transform: translateY(-0.5rem);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background-color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14b8a6;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: white;
}

.service-desc {
  color: #64748b;
  line-height: 1.75;
  transition: color 0.3s;
}

.service-card:hover .service-desc {
  color: #ccfbf1;
}

/* About/Trust Section */
.about-section {
  padding: 6rem 0;
  background-color: #f8fafc;
  position: relative;
  z-index: 20;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  padding: 2rem;
  background-color: white;
  border-radius: 1.5rem;
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.trust-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.25rem);
}

.trust-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.trust-desc {
  color: #64748b;
  line-height: 1.75;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  background-color: #115e59;
  padding: 6rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/medical-icons.png");
  opacity: 0.1;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .cta-container {
    flex-direction: row;
  }
}

.cta-content {
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-content {
    margin-bottom: 0;
    text-align: right;
  }
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text {
  color: #99f6e4;
  font-size: 1.25rem;
  max-width: 36rem;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: white;
  color: #115e59;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s;
}

.cta-phone:hover {
  background-color: #ccfbf1;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: #f8fafc;
  padding: 3rem 0;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-icon {
  width: 2rem;
  height: 2rem;
  background-color: #e2e8f0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #14b8a6;
}

.footer-disclaimer {
  margin-bottom: 0.5rem;
}

.footer-copyright {
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Demo Notice */
.demo-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-bottom: 2px solid #f59e0b;
  padding: 0.75rem 0;
  text-align: center;
  position: relative;
  z-index: 30;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-notice-bottom {
  border-bottom: none;
  border-top: 2px solid #f59e0b;
  background: linear-gradient(135deg, #fde68a 0%, #fef3c7 100%);
}

.demo-notice-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.demo-notice-text {
  color: #92400e;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.demo-notice-text strong {
  font-weight: 700;
  color: #78350f;
}

.demo-notice-link {
  color: #d97706;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.3s;
}

.demo-notice-link:hover {
  color: #b45309;
  text-decoration: none;
}

@media (min-width: 768px) {
  .demo-notice-text {
    font-size: 0.9375rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
