/* ==================== إضافات من تصميم صفحة الكورس ==================== */
:root{
  --fg:#F5F5F0;
  --gold:#C5A059;
}
/* تأثير الخلفية المتوهجة */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* تنسيق الكانفاس ليكون خلفية ثابتة */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
}

/* ==================== تصميم Navbar بستايل الكورس ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 84%;
    justify-self: anchor-center;
    padding: 20px 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

[dir="rtl"] .nav-content {
    flex-direction: row-reverse;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #000000
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

.logo-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: black;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.nav-menu {
    display: flex;
    border: 2px solid rgba(212, 175, 55, 1);
    align-items: center;
    gap: 40px;
    background: rgba(0, 0, 0, 0.979);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.nav-menu a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 0px 20px;
    border-radius: 25px;
    transition: var(--transition);
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.nav-actions {
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    padding: 10px 15px;
    background: rgb(0, 0, 0);
    border: 2px solid rgba(212, 175, 55, 1);
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.btn-login:hover,
.btn-lang:hover {
    box-shadow: 0 0 20px var(--gold-glow);
    transform: translateY(-2px);
}

.btn-lang {
    padding: 10px 20px;
    background: rgb(0, 0, 0);
    border: 2px solid rgba(212, 175, 55, 1);
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.btn-lang:hover {
    border-color: var(--gold);
}

.lang-active {
    color: #fbfaf6;
    font-weight: bold;
}

.lang-separator {
    margin: 0 8px;
    color: rgba(212, 175, 55, 0.3);
}

.lang-inactive {
    color: var(--text-secondary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #000000;
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* عناصر الـ Decorative */
.decorative-circle {
    position: fixed;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.decorative-circle-2 {
    position: fixed;
    top: 100px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* تأكد من أن المحتوى فوق الخلفية */
main, header, footer {
    position: relative;
    z-index: 1;
}

/* Scrollbar */
::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--gold); border-radius:4px; }

/* Decorative outline stroke */
.text-stroke {
    -webkit-text-stroke: 1px rgba(197, 160, 89, 0.55);
    color: rgb(197 160 89);
    text-shadow: 0 0 18px rgba(197, 160, 89, 0.10);
    opacity: 0.75;
}

.img-container{ overflow:hidden; }
.img-container img{
  transition:transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.img-container:hover img{ transform:scale(1.1); }

/* Loader */
.loader{
  position:fixed;
  inset:0;
  background:#000;
  z-index:9999;
  display:flex;
  justify-content:center;
  align-items:center;
}
.loader-text{
  font-family:"Cormorant Garamond", serif;
  font-size:clamp(2rem,5vw,3rem);
  color:var(--gold);
  opacity:0;
  transform:translateY(10px);
}

/* Initial reveal */
.reveal-on-load{
  opacity:0;
  transform:translateY(14px);
}

/* Utility fallbacks for Tailwind brand classes */
.text-brand-gold{ color:#d4af37 !important; }
.bg-brand-gold{ background-color:#d4af37 !important; }
.border-brand-gold{ border-color:#d4af37 !important; }
.bg-brand-dark{ background-color:var(--bg) !important; }
.bg-brand-gray{ background-color:#2A2A2A !important; }

/* Focus visibility */
:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Glass + showcase helpers */
.glass-panel{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.showcase-frame{
  position:relative;
  border:1px solid rgba(197,160,89,0.25);
  background:
    radial-gradient(700px circle at 20% 20%, rgba(197,160,89,0.18), transparent 60%),
    radial-gradient(600px circle at 80% 30%, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.15));
  overflow:hidden;
}

.showcase-frame::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.06) 0px,
      rgba(255,255,255,0.06) 1px,
      transparent 1px,
      transparent 14px
    );
  opacity:0.35;
  pointer-events:none;
}

.showcase-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:22px;
}
@media (min-width: 768px) {
    .md\:text-8xl {
        font-size: 6rem;
        line-height: 1;
        color: #d4af37;
    }
}

/* ==================== تنسيقات الفيديو وزر التشغيل ==================== */
.showcase-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.fullscreen-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.fullscreen-video.playing {
  opacity: 1;
}

/* زر التشغيل في المنتصف */
.video-play-button-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #d4af37;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px #d4af37;
}

.video-play-button:hover {
  background: #d4af37;
  transform: scale(1.1);
  box-shadow: 0 0 40px #d4af37;
}

.video-play-text {
  color: white;
  font-family: '"Montserrat"', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-play-button-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* تنسيق أزرار التحكم */
.fullscreen-video[controls] {
  cursor: default;
}

.fullscreen-video[controls]::-webkit-media-controls-panel {
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.fullscreen-video[controls]::-webkit-media-controls-current-time-display,
.fullscreen-video[controls]::-webkit-media-controls-time-remaining-display {
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* عرض أزرار التحكم عند التمرير على الفيديو */
.showcase-overlay:hover .fullscreen-video[controls]::-webkit-media-controls {
  opacity: 1;
}

/* ==================== BENEFITS SECTION ==================== */
.benefits {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.benefits-pill {
    background: rgb(3, 3, 3);
    border: 4px solid rgba(212, 175, 55, 1);
    border-radius: 50px;
    padding: 2px 15px;
    text-align: center;
    margin: 0px auto 60px;
    max-width: fit-content;
    backdrop-filter: blur(10px);
}

.benefits-pill h2 {
    font-size: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 634px;
    margin: 50px auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 100px;
    margin: 25px;
    background: rgb(255 255 255 / 98%);
    border-radius: 50px;
    border: 3px solid rgb(212 175 55);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
}

.benefit-item:hover {
    background: rgba(28, 28, 28, 0.8);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(10px);
}

[dir="rtl"] .benefit-item:hover {
    transform: translateX(-10px);
}

.check-icon {
    font-size: 24px;
    color: var(--gold);
    flex-shrink: 0;
}

.benefit-item p {
     color: #000000;
    font-size: 16px;
}

/* ==================== TEAM SECTION (تصميم جديد) ==================== */
.team-section-new {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.team-section-header {
    text-align: center;
    margin-bottom: 70px;
}

.team-section-new h2 {
    color: #d4af37;
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: '"Cormorant Garamond"', serif;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.team-section-new h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
}

.team-section-subtitle {
    color: rgba(0, 0, 0, 0.918);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

.team-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-card-new {
    perspective: 1000px;
    height: 400px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.team-card-new:hover .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.team-card-front {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgb(0 0 0 / 1%));
    border: 5px solid #d4af37;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.team-card-back {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgb(0 0 0 / 1%));
    border: 5px solid #d4af37;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.team-card-img-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
}

.team-card-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
    filter: grayscale(20%);
    transition: all 0.5s ease;
}

.team-card-new:hover .team-card-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(197, 160, 89, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card-new:hover .team-card-overlay {
    opacity: 1;
}

.team-card-content h3 {
    color: #d4af37;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    font-family: '"Cormorant Garamond"', serif;
    font-weight: 600;
}

.team-card-position {
    color: #000000;
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.team-card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.team-skill-tag {
    background: rgba(197, 160, 89, 0.2);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid #d4af37;
    transition: all 0.3s ease;
}

.team-card-new:hover .team-skill-tag {
    background: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.team-card-back-content h4 {
    color: #d4af37;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: '"Cormorant Garamond"', serif;
}

.team-card-description {
    color: #000000;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.team-social-new {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.team-social-new a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.team-social-new a:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
}

/* أنيميشن ظهور البطاقات */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card-new {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.team-card-new:nth-child(1) { animation-delay: 0.1s; }
.team-card-new:nth-child(2) { animation-delay: 0.2s; }
.team-card-new:nth-child(3) { animation-delay: 0.3s; }
.team-card-new:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Team Section */
@media (max-width: 1200px) {
    .team-grid-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .team-grid-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .team-section-new h2 {
        font-size: 2.5rem;
    }
    
    .team-card-new {
        height: 380px;
    }
}

@media (max-width: 480px) {
    .team-section-new {
        padding: 70px 0;
    }
    
    .team-section-new h2 {
        font-size: 2rem;
    }
    
    .team-card-new {
        height: 350px;
    }
    
    .team-card-img-wrapper {
        width: 140px;
        height: 140px;
    }
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.8) 100%);
    color: var(--text-light);
    padding: 80px 0 0;
    margin-top: 100px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-contact {
    border-left: 2px solid var(--gold);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    place-items: center;
    gap: 25px;
    text-align: left;
}

[dir="rtl"] .footer-contact {
    border-left: none;
    padding-left: 0;
    padding-right: 40px;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-value {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.footer-text {
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
    max-width: 450px;
}

.footer-cta-title {
    font-size: 32px;
    background: linear-gradient(135deg, var(--gold) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.btn-book {
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    color: #000;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.btn-book:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.5);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
    font-size: 16px;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #000;
    padding: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #222;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    font-size: 12px;
    color: #444;
}

/* ==================== IMPROVED RESPONSIVE LOGIC ==================== */

/* شاشات التابلت والأجهزة المتوسطة */
@media (max-width: 1024px) {
    .navbar {
        width: 95%;
        /* توسيع النافبار قليلاً في الشاشات الأصغر */
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 2.5%;
        right: 2.5%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: 40px;
        gap: 20px;
        border: 2px solid #d4af37;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        /* إظهار زر القائمة */
    }

    .course-card {
        max-width: 90%;
    }
}

/* شاشات الجوال */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 40px;
    }

    /* تحويل الكارت من أفقي إلى عمودي */
    .course-card,
    [dir="rtl"] .course-card {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .card-video {
        width: 100%;
        min-height: 200px;
        flex: none;
    }

    .card-content {
        padding: 20px;
        min-height: auto;
    }

    .course-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .btn-enroll {
        width: 100%;
        text-align: center;
    }

    /* الفوتر */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-contact {
        border-left: none !important;
        border-right: none !important;
        border-top: 2px solid var(--gold);
        padding: 25px 0 0 0 !important;
    }

    .title-pill h1 {
        font-size: 20px;
    }
}

/* الشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .nav-content {
        gap: 10px;
    }

    .logo span {
        font-size: 18px;
    }

    .btn-login {
        padding: 8px 15px;
        font-size: 11px;
    }

    .benefit-item {
        padding: 15px;
    }

    .btn-cta {
        padding: 15px 25px;
        font-size: 16px;
    }
}

/* Menu Toggle - مخفي على الشاشات الكبيرة */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        /* إظهار الزر */
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        /* مسافة بين الخطوط الثلاثة */
    }
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
        /* إظهار الزر */
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        /* مسافة بين الخطوط الثلاثة */
    }
}


.nav-menu.open {
    transform: translateY(0);
    opacity: 1;
}


.title-pill h1 {
    font-size: 26px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact {
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--gold);
        padding-left: 0;
        padding-right: 0;
        padding-top: 25px;
        align-items: center;
    }

    .footer-info {
        align-items: center;
    }

    .footer-text {
        max-width: 100%;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }

    .copyright {
        order: 3;
    }

    .nav-actions {
        gap: 10px;
    }

    .btn-login {
        padding: 10px 20px;
        font-size: 14px;
    }

    .title-pill {
        padding: 20px 30px;
    }

    .title-pill h1 {
        font-size: 22px;
    }

    .benefits-pill h2 {
        font-size: 22px;
    }

    .btn-cta {
        padding: 18px 40px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .course-footer {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .btn-enroll {
        width: 100%;
    }

    .card-content {
        padding: 20px;
    }

    .course-title {
        font-size: 1.2rem;
    }

    .course-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .logo-circle {
        width: 30px;
        height: 30px;
    }

    .title-pill h1 {
        font-size: 18px;
    }

    .title-pill {
        padding: 15px 25px;
    }

    .btn-cta {
        width: 100%;
        font-size: 16px;
        padding: 15px 30px;
    }

    .benefit-item {
        padding: 15px 20px;
    }

    .benefit-item p {
        font-size: 14px;
    }

    .benefits-pill {
        padding: 15px 25px;
    }

    .benefits-pill h2 {
        font-size: 20px;
    }

    .btn-lang {
        padding: 8px 15px;
        font-size: 13px;
    }

    .nav-actions {
        gap: 8px;
    }
}
.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(0, 0, 0);
}

.bg-brand-gold {
    background-color: #d4af37;
    justify-self: anchor-center;
}
*, ::after, ::before {
    box-sizing: border-box;
    text-align-last: center;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}