/* =========================================================
   1. ROOT DESIGN SYSTEM
========================================================= */

/*:root {*/

  /* Base */
/*  --color-white: #ffffff;*/
/*  --color-soft-bg: #f7f7f5;*/

  /* Primary Accent */
/*  --color-primary: #6f9c83;*/
/*  --color-primary-deep: #4f7f67;*/
/*  --color-primary-hover: #3e6a55;*/

  /* Text */
/*  --color-heading: #1f1f1f;*/
/*  --color-text: #333333;*/
/*  --color-muted: #666666;*/

  /* Effects */
/*  --radius-lg: 16px;*/
/*  --transition: 0.3s ease;*/
/*  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);*/

  /* Layout */
/*  --navbar-height: 80px;*/

/*}*/



:root {

  /* Base */
  --color-white: #ffffff;
  --color-soft-bg: #E6E6E6;

  /* Primary Accent (Islamic Green from logo) */
  --color-primary: #2F6B3A;
  --color-primary-deep: #1F4D2A;
  --color-primary-hover: #184021;

  /* Secondary Accent (Golden Quran tone) */
  --color-gold: #D89A1C;
  --color-gold-soft: #F2B233;

  /* Highlight Accent (Calligraphy dots red) */
  --color-accent-red: #8B1E1E;

  /* Optional Accent (Decorative blue tone) */
  --color-accent-blue: #6B7FA3;

  /* Text */
  --color-heading: #000000;
  --color-text: #1f1f1f;
  --color-muted: #666666;

  /* Effects */
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);

  /* Layout */
  --navbar-height: 80px;

}

/* =========================================================
   2. RESET
========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  direction: rtl;
  background: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  /* Prevent layout jump for fixed navbar */
  padding-top: var(--navbar-height);
}


/* =========================================================
   3. NAVBAR — ALWAYS FIXED (NO HIDE/SHOW)
========================================================= */

.navbar-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);

  z-index: 1000;
}

/* Navbar Layout */
.navbar {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-heading);
  text-decoration: none;
}

/* Links */
.navbar__links {
  list-style: none;
  display: flex;
  gap: 1.3rem;
}

.navbar__links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
}

.navbar__links a:hover {
  color: var(--color-primary-deep);
}

/* Optional Active State */
.navbar__links a.active {
  color: var(--color-primary-deep);
  position: relative;
}

.navbar__links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary-deep);
  border-radius: 2px;
}

/* Actions */
.navbar__actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

/* =========================================
   NAVBAR LOGO
========================================= */

.navbar__brand{
    display:flex;
    align-items:center;
}

.navbar__logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

/* Logo Image */

.navbar__logo-img{

    height:100px;
    width:100px;

    object-fit:contain;

    transition:transform 0.25s ease;

}

/* subtle hover */

.navbar__logo:hover .navbar__logo-img{
    transform:scale(1.05);
}



/* =========================================================
   4. BUTTONS
========================================================= */

.btn {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-weight: 600;
}

.btn--ghost {
  color: var(--color-text);
}

.btn--ghost:hover {
  color: var(--color-primary-deep);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--outline {
  border: 1px solid var(--color-primary);
  color: var(--color-primary-deep);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}


/* =========================================================
   5. HERO SECTION
========================================================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}


/* =========================================================
   6. HERO CAROUSEL BACKGROUND
========================================================= */

.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 1.2s ease-in-out;

  /* Slight clarity boost */
  filter: contrast(106%) brightness(102%);
}

.hero__slide.active {
  opacity: 1;
}

/* Overlay for readability (balanced) */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(255,255,255,0.58), rgba(255,255,255,0.25)),
    linear-gradient(to top, rgba(255,255,255,0.30), transparent);
}


/* =========================================================
   7. HERO CONTENT
========================================================= */

.hero__container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;

  display: grid;
  gap: 1.5rem;
  text-align: center;
    margin: auto;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--color-heading);
}

.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.9;
  max-width: 48ch;
  color: var(--color-text);
}

.hero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}


/* =========================================================
   8. HERO STATS
========================================================= */

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.stat {
  background: rgba(247, 247, 245, 0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.stat__value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-primary-deep);
}

.stat__label {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}


/* =========================================================
   9. RESPONSIVE
========================================================= */

@media (min-width: 992px) {

  .hero__container {
    /*grid-template-columns: 1.1fr 0.9fr;*/
    align-items: center;
    gap: 2rem;
  }

}

@media (max-width: 992px) {

  .navbar__links {
    gap: 0.9rem;
    font-size: 0.9rem;
  }

}



/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #f4f6f3;
  padding-top: 3rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 2rem;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--color-heading);
}

.footer-col p,
.footer-col a {
  color: var(--color-text);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--color-primary-deep);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.about-hero {
  background: linear-gradient(
    135deg,
    var(--color-white),
    var(--color-soft-bg)
  );
  text-align: center;
  padding: 5rem 1rem 4rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-heading);
}

.about-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Values */

.about-values {
  display: grid;
  gap: 1.5rem;
}

.about-card {
  background: var(--color-soft-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
}

.about-card h2 {
  margin-bottom: 1rem;
  color: var(--color-primary-deep);
}

/* Features */

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--color-heading);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
}

/* CTA */

.about-cta {
  background: var(--color-primary);
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 3rem;
  color: white;
}

.about-cta h2 {
  margin-bottom: 1.5rem;
}

/* Responsive */

@media (min-width: 768px) {
  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.contact-hero h1 {
  font-size: 2.2rem;
  color: var(--color-heading);
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  gap: 2rem;
}

.contact-form {
  background: var(--color-soft-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.alert {
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.alert.error {
  background: #ffe5e5;
  color: #b00020;
}

.alert.success {
  background: #e8f5e9;
  color: #1b5e20;
}

/* WhatsApp Card */

.contact-whatsapp {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: white;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1ebe57;
}

/* Responsive */

@media (min-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* =========================================================
   BLOG PAGE
========================================================= */

.blog-hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.blog-hero h1 {
  font-size: 2.3rem;
  color: var(--color-heading);
  margin-bottom: 1rem;
}

.blog-hero p {
  color: var(--color-text);
  font-size: 1.1rem;
}

.blog-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  gap: 2rem;
}

.blog-card {
  background: var(--color-soft-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.blog-card__content {
  padding: 2rem;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.blog-card h2 {
  margin: 0.7rem 0;
  color: var(--color-primary-deep);
}

.blog-card p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.blog-pagination {
  text-align: center;
  padding: 2rem;
}

.blog-pagination .page {
  display: inline-block;
  margin: 0 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  background: var(--color-soft-bg);
  color: var(--color-text);
  transition: var(--transition);
}

.blog-pagination .page.active,
.blog-pagination .page:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Responsive */

@media (min-width: 768px) {
  .blog-container {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* =========================================================
   MODERN FAQ PAGE
========================================================= */

.faq-modern__hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.faq-modern__hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--color-heading);
}

.faq-modern__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.faq-modern__item {
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-modern__question {
  width: 100%;
  padding: 1.3rem 1.5rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-heading);
}

.faq-modern__icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-modern__icon::before,
.faq-modern__icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary-deep);
  transition: 0.3s ease;
}

.faq-modern__icon::before {
  width: 20px;
  height: 2px;
  top: 9px;
  right: 0;
}

.faq-modern__icon::after {
  width: 2px;
  height: 20px;
  right: 9px;
  top: 0;
}

.faq-modern__item.active .faq-modern__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-modern__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.faq-modern__answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text);
  line-height: 1.8;
}

.faq-modern__cta {
  text-align: center;
  padding: 4rem 1rem;
}


/* =========================================================
   AUTH PAGES (Register / Login)
========================================================= */

.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: linear-gradient(to bottom, #f9faf8, #ffffff);
}

.auth-container {
  width: 100%;
  max-width: 450px;
}

.auth-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}

.auth-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: 0.3s ease;
}

.form-group input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79,127,103,0.1);
}

.password-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  left: 12px;
  top: 38px;
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.6;
}

.toggle-password:hover {
  opacity: 1;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--color-primary-deep);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.alert {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert--error {
  background: #ffe5e5;
  color: #b30000;
}

.alert--success {
  background: #e6f4ea;
  color: #18794e;
}

/* =========================================================
   RESOURCE PAGE
========================================================= */

.resource-hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.resource-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--color-heading);
}

.resource-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem 1rem 4rem;
}

@media (min-width: 768px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.resource-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.resource-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.resource-card h3 {
  margin-bottom: 0.8rem;
  color: var(--color-heading);
}

.resource-card p {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}


/* =========================================================
   Media & Burger icons
========================================================= */

/* ============================= */
/* Responsive Navbar - 996px     */
/* ============================= */

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: #000;
    transition: 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    z-index: 9999;
    padding: 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-menu__links li {
    margin-bottom: 15px;
}

.mobile-menu__links a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
}

.mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-user {
    font-weight: bold;
    margin-bottom: 10px;
}

/* ======= Media Query ======= */

@media (max-width: 996px) {

    .navbar__links,
    .navbar__actions {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

}

/* ======= quran channel frmae ======= */
/* ======= quran channel frmae ======= */


.live-video-wrapper {
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;

  margin: 60px auto; /* مسافة أجمل من الأعلى والأسفل */
  padding: 12px; /* إطار داخلي أنيق */

  background: linear-gradient(145deg, #f8f9f8, #ffffff);
  border-radius: 22px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.05);

  border: 1px solid rgba(0,0,0,0.06);

  overflow: hidden;
  transition: all 0.3s ease;
}

/* تأثير خفيف عند المرور */
.live-video-wrapper:hover {
  box-shadow:
    0 18px 45px rgba(0,0,0,0.12),
    0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.live-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: none;
}

.live-section {
  margin: 70px 0;
  text-align: center;
}

.live-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f3a2e;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.live-title span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #6b7c6f;
  margin-top: 6px;
}

/* خط زخرفي أسفل العنوان */
.live-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 60%;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, #2d6a4f, #95d5b2);
}


/* ======= quran api app ======= */

.quran-app {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  text-align: center;
}

.quran-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #1f3a2e;
}

#surahSelect {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 30px;
  font-size: 16px;
}

.ayah-container {
  text-align: right;
  line-height: 2.2;
  font-size: 22px;
  direction: rtl;
  color: #222;
}

.ayah {
  margin-bottom: 15px;
}


/* ======= Almadinah Moshaf ======= */
/* ======= Almadinah Moshaf ======= */
/* ======= Almadinah Moshaf ======= */

/* ================================
   QURAN EMBED SECTION
================================ */

.quran-embed-section {
  width: 100%;
  margin: 120px 0;
  text-align: center;
  position: relative;
}


/* ================================
   EMBED CONTAINER
================================ */

.embed-container {
  position: relative;
  width: 94%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 22px;

  background: linear-gradient(145deg, #f8fbf9, #ffffff);

  border-radius: 28px;
  border: 1px solid rgba(191, 161, 92, 0.25);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.05);

  transition: box-shadow 0.4s ease, transform 0.4s ease;
  overflow: visible;
}


/* ================================
   Decorative Golden Border Effect
================================ */

.embed-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;

  background: linear-gradient(45deg, #bfa15c, #e8d8a9);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}


/* ================================
   Hover Effect (Light & Safe)
================================ */

.embed-container:hover {
  transform: translateY(-4px);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.12),
    0 15px 40px rgba(0, 0, 0, 0.06);
}


/* ================================
   IFRAME STYLING
================================ */

.embed-container iframe {
  width: 100%;
  height: 88vh;
  min-height: 720px;

  border: none;
  border-radius: 20px;
  display: block;

  pointer-events: auto;
}




* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif;
}

body {
    background: #f5f7fa;
}

.app-layout {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #1f3a5f;
    color: white;
    transition: 0.3s;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    background: #16263d;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    padding: 15px 20px;
    cursor: pointer;
}

.sidebar-menu li:hover {
    background: #2d4f7c;
}

/* Main Area */
.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.topbar {
    height: 60px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.notifications-icon {
    position: relative;
    cursor: pointer;
}

.badge {
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Notifications Panel */
.notifications-panel {
    position: absolute;
    top: 60px;
    left: 20px;
    width: 300px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 15px;
    display: none;
}

/* Content */
.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Quick Actions */
.quick-actions {
    position: fixed;
    bottom: 20px;
    left: 20px;
}

.quick-actions button {
    margin-left: 10px;
    padding: 10px 15px;
    background: #1f3a5f;
    color: white;
    border: none;
    cursor: pointer;
}

.quick-actions button:hover {
    background: #2d4f7c;
}
