:root {
  /* Main Brand Colors (from the logo color extraction in Design 1) */
  --primary: #e380ae; /* Soft Pink */
  --primary-dark: #9e5978; /* Deeper Pink */
  --secondary: #109a9f; /* Teal/Cyan */
  --dark: #2d1a22; /* Very dark brown/pink */
  --light-bg: #fffbfd; /* Very soft tinted white */
  --white: #ffffff;

  /* Variables */
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow-soft: 0 15px 40px rgba(227, 128, 174, 0.1);
  --shadow-hover: 0 25px 60px rgba(16, 154, 159, 0.15);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.text-center {
  text-align: center;
}

h1,
h2,
h3,
h4 {
  color: var(--dark);
  line-height: 1.3;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Abstract Background Shapes (From Design 1) */
.bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -150px;
  right: -100px;
  animation: float 12s infinite ease-in-out alternate;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  top: 30%;
  left: -150px;
  animation: float 15s infinite ease-in-out alternate-reverse;
}

.shape-3 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  bottom: -200px;
  right: 20%;
  animation: float 20s infinite ease-in-out alternate;
  opacity: 0.2;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -40px) scale(1.1);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 55px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.03);
}

/* Buttons */
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(227, 128, 174, 0.3);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(227, 128, 174, 0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(227, 128, 174, 0.5);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  /* padding-bottom: 0; */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.badge-wrapper {
  margin-bottom: 25px;
}

.pulse-badge {
  background: rgba(16, 154, 159, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(16, 154, 159, 0.2);
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  display: inline-block;
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 154, 159, 0.4);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(16, 154, 159, 0);
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-title span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--primary);
  opacity: 0.15;
  border-radius: 10px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--primary-dark);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-actions {
  margin-bottom: 60px;
}

.hero-image-showcase {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.showcase-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  border: 5px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.img-main {
  position: relative;
  width: 65%;
  display: block;
  margin: 0 auto;
  z-index: 2;
  animation: floatImgFast 6s infinite ease-in-out;
}

.img-back {
  position: absolute;
  width: 50%;
  right: 5%;
  top: -30px;
  z-index: 1;
  opacity: 0.6;
  filter: blur(2px);
  transform: rotate(5deg);
  animation: floatImgSlow 8s infinite ease-in-out reverse;
}

@keyframes floatImgFast {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes floatImgSlow {
  0% {
    transform: rotate(5deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(20px);
  }
  100% {
    transform: rotate(5deg) translateY(0);
  }
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--secondary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 50px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-desc {
  font-size: 1.15rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  display: inline-block;
}

.stat-item h4 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 5px;
}

.stat-item p {
  font-weight: 600;
  color: var(--dark);
  opacity: 0.8;
}

/* Features Section */
.features-section {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: var(--primary);
  opacity: 0.1;
  border-radius: 50%;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: var(--white);
}

.feature-card:hover::before {
  transform: scale(3);
  opacity: 0.05;
}

.icon-box {
  width: 70px;
  height: 70px;
  background: var(--light-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  margin: 0 auto 25px;
  box-shadow: inset 0 3px 10px rgba(16, 154, 159, 0.1);
  transition: var(--transition);
}

.feature-card:hover .icon-box {
  background: var(--secondary);
  color: var(--white);
  transform: rotate(10deg);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.feature-card p {
  color: var(--dark);
  opacity: 0.8;
}

/* Sneak Peek Tabs (Design 2 Feature + Design 1 Style) */
.sneak-peek-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.3);
}

.custom-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.tab-btn {
  background: var(--white);
  border: 2px solid transparent;
  color: var(--primary-dark);
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-btn:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(227, 128, 174, 0.4);
}

.tab-content {
  display: none;
  animation: fadeInTab 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tab-content.active {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.dashboard-layout {
  grid-template-columns: repeat(2, 1fr) !important;
}

.gallery-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  border: 3px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.gallery-img:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

/* CTA Section */
.cta-section {
  padding: 80px 0 100px;
}

.cta-container {
  display: flex;
  justify-content: center;
}

.cta-content {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  width: 100%;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(16, 154, 159, 0.1) 0%,
    transparent 60%
  );
  z-index: -1;
  animation: rotateGradient 15s linear infinite;
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--dark);
}

.cta-content h2 span {
  color: var(--primary);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--primary-dark);
  line-height: 1.6;
}

.cta-btn {
  font-size: 1.3rem;
  padding: 16px 40px;
  box-shadow: 0 15px 30px rgba(16, 154, 159, 0.3);
  background: linear-gradient(135deg, var(--secondary), #0d8387);
}

.cta-btn:hover {
  box-shadow: 0 20px 40px rgba(16, 154, 159, 0.4);
  transform: translateY(-5px);
}

/* Footer */
.footer {
  background: var(--white);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo img {
  height: 60px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Modal for Image Viewing */
.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 26, 34, 0.95);
  backdrop-filter: blur(15px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  object-fit: contain;
}

.modal.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 3rem;
  }
  .img-back {
    display: none;
  }
  .img-main {
    width: 90%;
  }
  .dashboard-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .custom-tabs {
    flex-direction: column;
  }
  .glass-panel {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
  }
  .stat-item h4 {
    font-size: 1.4rem;
  }
  .cta-content {
    padding: 40px 20px;
  }
  .cta-content h2 {
    font-size: 1.8rem;
  }
  .cta-content p {
    font-size: 1rem;
  }
  .cta-btn {
    font-size: 1.1rem;
    padding: 14px 25px;
  }
}
