@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

@font-face {
    font-family: 'Sakkal';
    src: url('../fonts/alfont_com_SakkalKitab-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.first-word {
    font-family: 'Sakkal', serif;
    font-size: 1.6em;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
    display: inline-block;
}

.title-separator {
    color: var(--accent);
    margin: 0 0.25rem;
    font-weight: 300;
    font-size: 1.2em;
}

.rest-words {
    font-size: 0.7em;
    font-weight: 600;
    color: var(--primary);
}

:root {
    /* Theme Colors */
    --font-size: 16px;
    --background: #f5f1eb;
    --foreground: #2c2c2c;
    --card: #fff;
    --card-foreground: #2c2c2c;
    --popover: #fff;
    --popover-foreground: #2c2c2c;
    --primary: #0f5e4a;
    --primary-foreground: #fff;
    --secondary: #f5f1eb;
    --secondary-foreground: #2c2c2c;
    --muted: #e8e3dc;
    --muted-foreground: #6b6b6b;
    --accent: #D4AF4D;
    --accent-foreground: #2c2c2c;
    --destructive: #d4183d;
    --destructive-foreground: #fff;
    --border: #0f5e4a1a;
    --input: transparent;
    --input-background: #fff;
    --switch-background: #cbced4;
    --font-weight-medium: 500;
    --font-weight-normal: 400;
    --ring: #0f5e4a;
    --radius: .875rem;
    --transition: all 0.3s ease-in-out;

    /* Extra Globals */
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, #0a4638 100%);
    --accent-soft: rgba(212, 175, 77, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- SECTION UTILITIES --- */
.section-py {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .section-py {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.consulting-section-header {
    max-width: 48rem;
    margin: 0 auto 4rem auto;
}

.consulting-title-group {
    text-align: center;
    margin-bottom: 2rem;
}

.consulting-main-title {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
}

.consulting-sparkle {
    color: var(--accent);
    margin: 0 auto 0.75rem auto;
    display: block;
    transform: scale(0);
    animation: snappyScale 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}
footer .consulting-sparkle{
    margin: 0;
    width: 24px;
    transform: none;
    animation: none;
}

.consulting-divider-area {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 4rem 0;
}

.consulting-divider-svg {
    color: var(--accent);
    opacity: 0.5;
    display: block;
    margin: 0 auto;
}

/* (Consolidated into .consulting-divider-svg) */

.consulting-form-wrapper {
    max-width: 56rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.consulting-form-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .consulting-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.consulting-form-group-full {
    margin-bottom: 2rem;
    grid-column: 1 / -1;
}

.consulting-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    font-weight: 700;
}

.consulting-required {
    color: var(--destructive);
}

.consulting-form-title {
    text-align: center;
    font-size: 2rem   ;
    color: var(--primary);
    margin-bottom: 3rem;
}

.consult-glass-card:focus-within {
    border-color: var(--accent);
}


/* Fix scrolling issues */
html {
    direction: ltr;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    direction: rtl;
    background-color: var(--background);
    color: var(--foreground);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Tajawal', sans-serif;
}

main {
    flex: 1 0 auto;
    width: 100%;
}


/* --- HEADER STYLES (OLD) --- */
.site-header {
    background: var(--card);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-top-bar {
    position: relative;
    background: linear-gradient(to left, var(--primary), var(--primary), rgba(15, 94, 74, 0.95));
    color: var(--primary-foreground);
    padding: 0.75rem 0;
    overflow: hidden;
}

.top-bar-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
}

.top-bar-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.verse-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.verse-mark {
    color: var(--accent);
    font-size: 1.25rem;
}

.verse-text {
    font-size: 1.125rem;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0;
    text-wrap: pretty;
}

.verse-divider {
    width: 6rem;
    height: 1px;
    background-color: rgba(212, 175, 77, 0.5);
    margin: 0.5rem auto 0;
}

.header-main {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-badge {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    color: var(--primary-foreground);
    transition: var(--transition) !important;
}

.logo-badge-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(212, 175, 77, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.header-logo:hover .logo-badge-overlay {
    opacity: 1;
}

.logo-heart-svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.header-logo:hover .logo-heart-svg {
    transform: scale(1.2);
    animation: heartWiggle 0.8s ease-in-out infinite 0.2s; /* Delayed start for wiggle */
}

@keyframes heartWiggle {
    0%, 100% { transform: scale(1.2) rotate(0deg); }
    25% { transform: scale(1.2) rotate(-12deg); }
    50% { transform: scale(1.2) rotate(12deg); }
    75% { transform: scale(1.2) rotate(-8deg); }
}

.logo-title {
    font-size: 1rem;
    color: var(--primary);
    margin: 0;
    transition: var(--transition);
    display: none;
    align-items: center;
    .title-separator{
        height: fit-content;
        font-size: 2em !important;
    }
    .rest-words{
        font-size: 0.85em;
    }
}

@media (min-width: 768px) {
    .logo-title {
        display: flex;
         align-items: center;
         gap: 0.25rem;
    }
    .verse-text{
        font-size: 0.875rem;
    }
}

.header-logo:hover .logo-title {
    color: var(--accent);
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-item {
    position: relative;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
    will-change: transform, opacity;
}

.nav-item .nav-label {
    position: relative;
    z-index: 10;
}

.nav-item-bg {
    position: absolute;
    inset: 0;
    background: var(--muted);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-item:hover .nav-item-bg {
    opacity: 1;
}

.nav-item.active {
    color: var(--primary-foreground);
}

.nav-item.active .nav-item-bg {
    background: var(--primary);
    opacity: 1;
}

.nav-item:hover {
    color: var(--primary);
}

.nav-item.active:hover {
    color: var(--primary-foreground);
}

.nav-underline {
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 99px;
    transition: width 0.3s;
}

.nav-item:hover .nav-underline {
    width: 1.5rem;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    border-radius: 0.75rem;
    background: transparent;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    transition: var(--transition);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle:hover {
    background: var(--muted);
}

.mobile-nav {
    display: block;
    height: 0;
    overflow: hidden;
    interpolate-size: allow-keywords;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none;
    }
}

.mobile-nav.open {
    height: auto;
    opacity: 1;
    padding: 1rem 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    list-style: none;
}

.mobile-nav-item {
    display: block;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-item:hover {
    background: var(--muted);
}

.mobile-nav-item.active {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-md);
}

/* --- FOOTER STYLES (OLD) --- */
.site-footer {
    position: relative;
    background: linear-gradient(to bottom right, var(--primary), var(--primary), rgba(15, 94, 74, 0.95));
    color: var(--primary-foreground);
    overflow: hidden;
    padding: 0;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
    margin: auto;
    width: fit-content;
    pointer-events: none;
    opacity: 0.03;
}

.footer-glow {
    position: absolute;
    width: 16rem;
    height: 16rem;
    background-color: var(--accent);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.footer-glow-top {
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
}

.footer-glow-bottom {
    bottom: 0;
    left: 0;
    transform: translate(-50%, 50%);
}

.footer-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-section-title h3 {
    font-size: 1.25rem;
    margin: 0;
}

.title-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.footer-description {
    line-height: 1.625;
    color: rgba(255, 255, 255, 0.9);
}

.dot-wrapper {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent);
    border-radius: 50%;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    list-style: none;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    position: relative;
}

.footer-link:hover {
    color: var(--accent);
}

.link-underline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition);
}

.footer-link:hover .link-underline {
    width: 100%;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.contact-card:hover {
    transform: translateX(-12px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.contact-icon-box {
    width: 2.5rem;
    color: var(--accent);
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(212, 175, 77, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-box {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.contact-icon-box svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
}

.contact-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.contact-subtext {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    padding-right: 1rem;
    margin-top: 0.5rem;
}

/* Footer Social Links */
.footer-social-wrapper {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.social-link-item {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-item:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 20px -5px rgba(var(--accent-rgb, 212, 175, 77), 0.4);
}

.divider-line::after {
    content: '';
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.divider-ornament {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    justify-content: center;
    height: 2px;
}

.ornament-bg {
    background-color: var(--primary);
    padding: 0 1rem;
    z-index: 1;
}

.ornament-marker {
    width: 3rem;
    height: 0.25rem;
    background-color: rgba(212, 175, 77, 0.5);
    border-radius: 99px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.scroll-top {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(212, 175, 77, 0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.scroll-top:hover {
    background: rgba(212, 175, 77, 0.3);
    transform: translateY(-4px);
}

/* --- HOME PAGE V3 HIGH FIDELITY COMPONENTS --- */
.hero-v3 {
    position: relative;
    min-height: 100vh;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.hero-bg-wrapper-v3 {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* opacity: 0.15; */
    /* filter: grayscale(50%); */
}

.hero-bg-image-v3 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-glow-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 10% 50%, rgba(15, 94, 74, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-glow-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle at 90% 90%, rgba(212, 175, 77, 0.05), transparent 60%);
    pointer-events: none;
}

.floater {
    position: absolute;
    border: 2px solid var(--accent-soft);
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
    will-change: transform, opacity;
}

.floater-square {
    top: 20%;
    right: 10%;
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    transform: rotate(45deg);
    animation: drift-v3 12s infinite alternate ease-in-out;
}

.floater-circle {
    bottom: 15%;
    left: 10%;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    opacity: 0.3;
    animation: drift-v3 15s infinite alternate-reverse ease-in-out;
}

@keyframes drift-v3 {
    from {
        transform: translateY(-30px) rotate(45deg);
    }

    to {
        transform: translateY(30px) rotate(60deg);
    }
}

.hero-grid-v3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-grid-v3 {
        grid-template-columns: 1fr 1.2fr;
        gap: 5rem;
    }
}

.hero-profile-area {
    order: 2;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-profile-area {
        order: 1;
    }
}

.robo-wrapper {
    width: 100%;
    max-width: 28rem;
    perspective: 2000px;
}

@media (max-width: 480px) {
    .hero-text-area-v3{
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    .robo-wrapper {
        max-width: 100%; /* Smaller card for narrow mobile */
    }


    .profile-card-v3 {
        padding: 2rem 1rem !important; /* Tighter padding on mobile */
    }
    .card-inner-pattern{
        width: 12rem !important;
        height: 12rem !important;
    }
    .verse-text{
        font-size: 0.75rem;
    }
    .v3-card-title{
        font-size: 1rem !important;
    }
}

.profile-card-v3 {
    position: relative;
    background: var(--primary);
    backdrop-filter: blur(20px);
    border-radius: 2.5rem;
    padding: 3rem;
    border: 1px solid rgba(212, 175, 77, 0.2);
    box-shadow: var(--shadow-xl);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.card-inner-pattern {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 15rem;
    height: 15rem;
    opacity: 0.05;
    color: var(--accent);
    pointer-events: none;
}

.card-corner-v3 {
    position: absolute;
    width: 3rem;
    height: 3rem;
    transform: translateZ(12px);
    color: var(--accent);
}

.tr-corner {
    top: -0.5rem;
    right: -0.5rem;
}

.tl-corner {
    top: -0.5rem;
    left: -0.5rem;
}

.br-corner {
    bottom: -0.5rem;
    right: -0.5rem;
}

.bl-corner {
    bottom: -0.5rem;
    left: -0.5rem;
}

.card-corner-v3 .l-h {
    position: absolute;
    top: 0;
    width: 2.5rem;
    height: 2px;
    background: currentColor;
}

.card-corner-v3 .l-v {
    position: absolute;
    top: 0;
    width: 2px;
    height: 2.5rem;
    background: currentColor;
}

.card-corner-v3 .dot {
    position: absolute;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
}

.tr-corner .l-h,
.tr-corner .l-v {
    right: 0;
}
.tr-corner .dot {
    right: 0.5rem;
    top: 0.5rem;
}

.tl-corner .l-h,
.tl-corner .l-v {
    left: 0;
}
.tl-corner .dot {
    left: 0.5rem;
    top: 0.5rem;
}

.br-corner .l-h,
.br-corner .l-v {
    right: 0;
    bottom: 0;
    top: auto;
}
.br-corner .dot {
    right: 0.5rem;
    bottom: 0.5rem;
    top: auto;
}

.bl-corner .l-h,
.bl-corner .l-v {
    left: 0;
    bottom: 0;
    top: auto;
}
.bl-corner .dot {
    left: 0.5rem;
    bottom: 0.5rem;
    top: auto;
}

.profile-image-box-v3 {
    position: relative;
    width: 14rem;
    height: 14rem;
    margin: 0 auto 2.5rem;
    transform: translateZ(60px);
}

.p-img-glow {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    border-radius: 50%;
    transform: translateZ(-10px);
}

.p-img-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    transform-style: preserve-3d;
    filter: drop-shadow(0px 0px 100px var(--accent));
}

.p-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info-v3 {
    text-align: center;
    color: white;
    transform: translateZ(40px);
    transform-style: preserve-3d;
}

.info-name {
    font-size: 1.625rem;
    font-weight: 800;
    transform: translateZ(20px);
}

.info-title {
    opacity: 0.9;
    font-size: 1.25rem;
    margin-top: 1rem;
    text-wrap: pretty;
    transform: translateZ(10px);
}

.info-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.line-fade {
    height: 1px;
    width: 2rem;
    background: linear-gradient(to right, transparent, var(--accent));
}

.line-fade.fade-reverse {
    transform: rotate(180deg);
}

.line-solid {
    height: 1px;
    width: 4rem;
    background: var(--accent);
}

.dot-v3 {
    width: 0.4rem;
    height: 0.4rem;
    background: var(--accent);
    border-radius: 50%;
}

.info-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}



.hero-text-area-v3 {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem; /* Large mobile / tablet gap */
}

@media (min-width: 1024px) {
    .hero-text-area-v3 {
        order: 2;
        align-items: flex-start;
        text-align: right;
        gap: 2rem; /* Desktop gap */
    }
}

@media (max-width: 768px) {
    .hero-text-area-v3 {
        gap: 1.5rem; /* Smaller mobile gap */
    }
}

.hero-title-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-p-group {
    display: flex;
    flex-direction: column;
}

.hero-h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-h1 {
        font-size: 3.5rem;
    }
}

.hero-title-orn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .hero-title-orn {
        justify-content: flex-end;
    }
}

.orn-line-l {
    height: 1px;
    width: 4rem;
    background: linear-gradient(to right, transparent, var(--accent));
}

.orn-line-l.rev {
    transform: rotate(180deg);
}

.orn-line-m {
    height: 2px;
    width: 6rem;
    background: var(--accent);
}

.orn-dot-v3 {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 50%;
}

.orn-star-v3 {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.hero-p {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-p {
        font-size: 1.5rem;
    }
}

.hero-btn-primary {
    display: inline-block;
    padding: 1.125rem 3.5rem;
    background: var(--accent);
    color: white;
    font-weight: 800;
    border-radius: 99px;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(212, 175, 77, 0.25);
    transition: var(--transition);
    /* margin-top: 2rem; */
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(212, 175, 77, 0.35);
}

.section-divider {
    width: 100%;
    display: flex;
    justify-content: center;
    color: var(--accent);
}

.services-v3 {
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(15, 94, 74, 0.03), transparent);
}

.section-h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    font-weight: 800;
}

.header-line-v3 {
    width: 5rem;
    height: 4px;
    background: var(--accent);
    margin: 0.5rem auto 0;
    border-radius: 99px;
}

.services-grid-v3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem auto 0;
}

@media (min-width: 768px) {
    .services-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid-v3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.v3-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 6rem;
}

.v3-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.v3-card-title {
    font-size: 1.25rem;
    transition: var(--transition);
    color: var(--primary);
    font-weight: 700;
    transition: color 0.3s;
    z-index: 10;
}

.v3-glass-card:hover .v3-card-title {
    color: var(--accent);
}

.v3-card-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--accent);
    border-radius: 99px;
    transition: 0.4s;
}

.v3-glass-card:hover .v3-card-line {
    width: 60%;
}

.activities-v3 {
    padding: 6rem 0;
    position: relative;
}

.activities-pattern-bg {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    color: var(--accent);
    pointer-events: none;
}

/* Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }

.activities-header-v3 {
    text-align: center;
    margin-bottom: 5rem;
}

.activities-h2 {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.activities-footer-v3{
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .activities-h2 {
        font-size: 2.25rem;
    }
}

.activities-ornament-v3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

.activities-orn-line-fade {
    width: 4rem;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent));
}

.activities-orn-line-fade.rev {
    background: linear-gradient(to left, transparent, var(--accent));
}

.activities-orn-line-solid {
    width: 6rem;
    height: 2px;
    background: var(--accent);
}

.activities-orn-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 50%;
}

.rotate-125 { transform: rotate(125.82deg); }
.rotate-neg-125 { transform: rotate(-125.82deg); }

.activities-orn-star {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.v3-activity-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(15, 94, 74, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    will-change: transform, box-shadow;
}

.v3-activity-card:hover {
    box-shadow: 0 20px 40px rgba(15, 94, 74, 0.15);
    border-color: rgba(212, 175, 77, 0.4);
}

.a-card-img-area {
    position: relative;
    height: 14.5rem;
    overflow: hidden;
}

.a-card-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.a-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 94, 74, 0.8) 0%, rgba(15, 94, 74, 0.4) 50%, transparent 100%);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    opacity: 1;
}

.v3-activity-card:hover .a-card-img-overlay {
    opacity: 0.7;
}

.a-card-hover-ring {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 0 2px rgba(212, 175, 77, 0.5);
    z-index: 15;
    pointer-events: none;
    transform: scale(1.02);
}

.v3-activity-card:hover .a-card-hover-ring {
    opacity: 1;
    transform: scale(1);
}

.a-card-hover-corners {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    z-index: 20;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translate(10px, -10px);
}

.v3-activity-card:hover .a-card-hover-corners {
    opacity: 1;
    transform: translate(0, 0);
}

.a-card-corner-line-h {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.5rem;
    height: 2px;
    background: var(--accent);
}

.a-card-corner-line-v {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 1.5rem;
    background: var(--accent);
}

.v3-activity-card:hover img {
    transform: scale(1.1);
}

.a-card-content {
    padding: 1.5rem;
}

.a-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.a-card-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
}

.a-card-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, rgba(212, 175, 77, 0.5), transparent);
}

.a-card-text {
    font-size: 1.125rem;
    color: var(--foreground-soft);
}

.v3-btn-more {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.v3-btn-more:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Swiper Controls */
.v3-swiper-controls {
    position: absolute;
    top: 50%;
    width: 99%;
    inset-inline: 0;
margin: auto;
transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0;
    z-index: 50;
    pointer-events: none;
}

.v3-swiper-controls .v3-nav-btn {
    width: 3.25rem !important;
    height: 3.25rem !important;
    background: rgba(15, 94, 74, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: white !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(212, 175, 77, 0.3) !important;
    pointer-events: auto !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    position: relative !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
    will-change: transform, background-color, box-shadow;
}

.v3-nav-btn::after {
    display: none !important;
}

.v3-nav-btn:hover {
    background: var(--primary) !important;
    box-shadow: 0 10px 25px rgba(15, 94, 74, 0.25) !important;
    transform: translateY(-2px);
}

.v3-nav-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.v3-nav-btn:hover .v3-nav-ring {
    opacity: 0.6;
    inset: -3px;
}

.nav-chevron {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Explicit direction movement on hover - REMOVED AS REQUESTED */
.v3-nav-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.v3-btn-more:hover .more-arrow {
    transform: translateX(-5px);
}

/* RTL Adjustments */
[dir="rtl"] .hero-text-area-v3 {
    text-align: right;
}

[dir="rtl"] .hero-title-orn {
    justify-content: center;
}

[dir="rtl"] .ornament-centered {
    justify-content: center;
}

[dir="rtl"] .v3-btn-more:hover .more-arrow {
    transform: translateX(-5px);
}

@media (max-width: 1280px) {
  .nav-item{
    font-size: 0.9rem;
    padding-inline: 0.75rem;
  }
}

/* ==========================================================================
   CONSULTATION PAGE V3
   ========================================================================== */
.consultation-page {
    position: relative;
    background: var(--background);
}

.consultation-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(180deg, rgba(15, 94, 74, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Selection Grid */
.consult-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.consult-type-card {
    position: relative;
    padding: 1.5rem 2rem;
    background: var(--card);
    border-radius: 1.5rem;
    border: 2px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform, border-color, box-shadow;
}

.consult-type-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.consult-type-card.active {
    border-color: var(--primary);
    background: rgba(15, 94, 74, 0.03);
    box-shadow: 0 10px 30px rgba(15, 94, 74, 0.08);
}

.consult-type-card .inner-check {
    display: none;
}

.type-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.type-name.accent-text {
    color: var(--accent);
}

.type-subtitle {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.type-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-note {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    font-weight: 600;
}

/* Consultation Glass Form */
.consult-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 94, 74, 0.1);
    box-shadow: 0 25px 50px -12px rgba(15, 94, 74, 0.15);
    width: 100% !important;
    overflow: clip;
}

.card-glow-bg {
    position: absolute;
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.card-glow-bg.top-right-glow {
    top: -10rem;
    right: -10rem;
    background: var(--primary);
}

.card-glow-bg.bottom-left-glow {
    bottom: -10rem;
    left: -10rem;
    background: var(--accent);
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
}

/* Form Elements */
.consult-form {
    position: relative;
    z-index: 2;
}

.consult-form > * + * {
    margin-top: 2rem;
}

.consulting-form-inner-content {
    position: relative;
    z-index: 10;
    padding: 3rem;
}

@media (max-width: 768px) {
    .consulting-form-inner-content {
        padding: 1rem;
    }
}
@media (max-width: 480px){
      .session-form-section {
        padding: 1rem !important;
    }
}

.consulting-form-item {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 700;
    color: var(--foreground);
    font-size: 1rem;
    padding-right: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 2px solid var(--border);
    background: white;
    font-family: inherit;
    font-size: 1rem;
    color: var(--foreground);
    transition: all 0.3s ease;
    will-change: border-color, box-shadow;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 94, 74, 0.05);
}

.select-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230f5e4a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1.25rem;
    padding-left: 3rem;
}

.textarea-input {
    min-height: 8rem;
    resize: none;
}

textarea{
    resize: none;
}
/* Notice Box V3 */
.notice-box-v3 {
    background: linear-gradient(135deg, rgba(15, 94, 74, 0.05) 0%, transparent 100%);
    border-radius: 1.25rem;
    padding: 1.5rem;
    border-right: 4px solid var(--accent);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2.5rem 0;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.notice-box-v3 .notice-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--foreground);
}

/* Active Check Badge */
.active-check-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.consult-type-card.active .active-check-badge {
    opacity: 1;
    transform: scale(1);
}

.active-checkmark-circle {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Accent color for the second card (Premium) */
.consult-selection-grid .consult-type-card:nth-child(2) .active-checkmark-circle {
    background: var(--accent);
}

/* Submit Button V3 */
.submit-btn-v3 {
    width: 100%;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a7a62 100%);
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(15, 94, 74, 0.2);
}

.submit-btn-v3:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(15, 94, 74, 0.3);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn-v3:hover .btn-glow {
    width: 300%;
    height: 300%;
}

.sessions-main-layout {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
}

/* Sessions Page Styles */
.sessions-header-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.sessions-header-wrapper .sessions-icon {
    width: 3rem;
    height: 3rem;
    color: var(--accent);
    margin: 0 auto 1rem auto;
    display: block;
}

.sessions-main-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.sessions-title-underline {
    width: 5rem;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

.session-form-section {
    background: rgba(var(--primary-rgb, 15, 94, 74), 0.05);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.session-form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    path{
        color: var(--accent);
    }
}

.session-form-header .sessions-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.session-section-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .time-slot-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.time-slot-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color, #e2e8f0);
    background: var(--input-background, #fff);
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot-card:hover {
    border-color: rgba(var(--primary-rgb, 15, 94, 74), 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.time-slot-card.selected,
.time-slot-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(15, 94, 74, 0.08); /* Fixed RGB/Variable reference issues */
    transform: scale(1.02);
}

.time-slot-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary); /* Use primary for contrast when selected */
}

.sessions-rules-box {
    background: linear-gradient(135deg, rgba(212, 175, 77, 0.1) 0%, rgba(212, 175, 77, 0.05) 100%);
    border: 2px solid var(--accent);
    border-radius: 1.5rem;
    padding: 2rem; /* Increased padding for better hierarchy */
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sessions-rules-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 6rem;
    height: 6rem;
    background: rgba(212, 175, 77, 0.1);
    border-radius: 50%;
    transform: translate(-3rem, -3rem);
}

.sessions-rules-title {
    position: relative;
    z-index: 10;
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.sessions-rules-list {
    position: relative;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sessions-rules-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    line-height: 1.5;
}

.sessions-rules-item::before {
    content: "-";
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
    margin-top: -2px;
}

.sessions-time-label {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--foreground);
    font-weight: 500;
}

.sessions-notice-box {
    background: rgba(15, 94, 74, 0.05);
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    color: var(--primary);
    font-size: 0.875rem;
}

.session-subtype-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                margin 0.4s ease;
    transform: translateX(40px);
    overflow: hidden;
    margin-top: 0;
    pointer-events: none;
}

.session-subtype-wrapper.active {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateX(0);
    margin-top: 1.5rem;
    pointer-events: auto;
}

.session-subtype-inner {
    min-height: 0;
    padding-right: 2rem;
    border-right: 2px solid rgba(212, 175, 77, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subtype-label-main {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    font-weight: 500;
}

.subtype-option-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.subtype-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.subtype-option:hover {
    background: rgba(15, 94, 74, 0.05);
    transform: translateX(-5px);
}

.subtype-radio-custom {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary);
    cursor: pointer;
}

.subtype-text {
    font-size: 1rem;
    color: var(--foreground);
}

/* Success State Styles */
.session-success-card {
    transition: opacity 0.5s ease-out;
}

.session-success-box {
    background: linear-gradient(135deg, rgba(15, 94, 74, 0.1) 0%, rgba(15, 94, 74, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
}

.success-icon-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    animation: floatInBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-check-mark {
    width: 5rem;
    height: 5rem;
    color: var(--primary);
}

.success-header {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards 0.3s;
}

.success-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards 0.5s;
}

@keyframes floatInBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Courses Page Styles */
.courses-main-layout {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
}

.courses-section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .courses-section-padding {
        padding: 5rem 0;
    }
}

.courses-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.courses-header {
    text-align: center;
    margin-bottom: 4rem;
}

.courses-header-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--accent);
    margin: 0 auto 1rem auto;
}

.courses-page-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.courses-title-underline {
    width: 6rem;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

.courses-card {
    background: var(--card); /* Pure white background as requested */
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .courses-card {
        padding: 3.5rem 2rem;
    }
}

.courses-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.1);
}

.courses-card-pattern {
    position: absolute;
    width: 10rem;
    height: 10rem;
    background: rgba(var(--accent-rgb, 212, 175, 77), 0.1);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.courses-card-pattern.pattern-tr {
    top: 0;
    right: 0;
    transform: translate(4rem, -4rem);
}

.courses-card-pattern.pattern-bl {
    bottom: 0;
    left: 0;
    transform: translate(-4rem, 4rem);
}

.courses-card-pattern.pattern-br {
    bottom: 0;
    right: 0;
    transform: translate(4rem, 4rem);
}

.courses-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 10rem;
    height: 10rem;
    background: linear-gradient(135deg, rgba(var(--accent-rgb, 212, 175, 77), 0.15) 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.courses-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.courses-card-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.courses-card-title {
    font-size: 1.875rem;
    color: var(--primary);
    font-weight: 700;
}

.courses-grid-2, .courses-grid-3, .courses-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .courses-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .courses-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .courses-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .courses-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.course-item {
    display: block;
    background-color: #f5f1eb;
    border: 2px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: right;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform, border-color, box-shadow;
}

.course-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.course-item-icon-box {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--accent);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.course-item:hover .course-item-icon-box {
    opacity: 0.4;
    transform: scale(1.1);
}

.course-item-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

.course-item:hover .course-item-title {
    color: var(--accent);
}

.course-price {
    font-size: 1.875rem;
    color: var(--accent);
    font-weight: 700;
    margin: 0;
}

.course-item-underline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.course-item:hover .course-item-underline {
    width: 100%;
}

/* Centered premium style for Group 2 */
.course-item-centered {
    display: block;
    background-color: #f5f1eb;
    border: 2px solid var(--border);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-item-centered:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.course-item-centered-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 15, 94, 74), 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.course-item-centered:hover .course-item-centered-overlay {
    opacity: 1;
}

.course-item-centered .course-item-title {
    text-align: center;
    margin-bottom: 0;
}

.course-item-centered .course-item-underline {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: var(--primary);
    border-radius: 10px;
}

.course-item-centered:hover .course-item-underline {
    width: 66.66%;
}

.course-divider-wrapper {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}
.course-divider-svg {
    color: var(--accent);
    opacity: 0.5;}

.hero-course-title {
    margin-bottom: 0.5rem !important;
    font-size: 1.875rem !important;
}

.hero-course-price {
    font-size: 1.875rem !important;
    font-weight: 500 !important;
}

.educational-course-title {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.educational-course-age {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.educational-course-price {
    font-size: 1.875rem !important;
    font-weight: 500 !important;
}

.ornament-mt {
    margin-top: 1.5rem;
}

.courses-single-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.courses-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (max-width: 640px) {
    .courses-single-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .courses-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .courses-grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .consult-glass-card {
        border-radius: 1.5rem;
        margin: 0 -1rem;
    }
}

/* Consultation Page Styles */
.consultation-main-layout {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
}

.consult-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .consult-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.consult-type-card {
    background: var(--card);
    border: 2px solid var(--border-color, rgba(var(--primary-rgb, 15, 94, 74), 0.1));
    border-radius: 1.5rem;
    padding:3rem 2.5rem;
    max-width:450px;
    margin: auto;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.consult-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.consult-type-card.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb, 15, 94, 74), 0.05);
    box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb, 15, 94, 74), 0.2);
}

.consult-type-card.active[data-type="premium"] {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb, 212, 175, 77), 0.05);
    box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb, 212, 175, 77), 0.2);
}

.active-check-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.consult-type-card.active .active-check-badge {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.active-checkmark-circle {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.consult-type-card[data-type="premium"] .active-checkmark-circle {
    background: var(--accent);
}

.type-name {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.type-name.accent-text {
    color: var(--accent);
}

.type-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.type-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.type-footer {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color, rgba(0, 0, 0, 0.1));
}

.footer-note {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.consult-type-card[data-type="premium"] .footer-note {
    color: var(--accent);
}

.notice-box-v3 {
    background: rgba(var(--primary-rgb, 15, 94, 74), 0.05);
    border-right: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.notice-text {
    font-size: 0.9375rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.notice-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .consult-type-card {
        padding: 2rem 1.5rem;
    }
}
/* Registration Page Styles */
.registration-main {
    flex: 1;
    padding: 3rem 0;
}

.registration-card {
    background: var(--card);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    margin: 0 auto;
    max-width: 56rem; /* max-w-4xl */
    position: relative;
}

.registration-title {
    font-size: 1.875rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.course-info-box {
    background: rgba(var(--primary-rgb, 15, 94, 74), 0.08);
    border: 1px solid var(--primary);
    border-radius: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.course-info-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.course-info-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.registration-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    font-weight: 500;
}

.registration-label .required {
    color: var(--destructive, #ef4444);
}

.reg-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .reg-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.certificate-notice {
    background: rgba(var(--accent-rgb, 212, 175, 77), 0.1);
    border: 1px solid var(--accent);
    border-radius: 1.25rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.certificate-notice input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--accent);
    margin-top: 0.25rem;
}

.certificate-text {
    color: var(--foreground);
    font-weight: 500;
}

.certificate-subtext {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.registration-submit {
    width: 100%;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: var(--primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(15, 94, 74, 0.1);
}

.registration-submit:hover {
    background: rgba(var(--primary-rgb, 15, 94, 74), 0.9);
    transform: translateY(-1px);
    box-shadow: 0 20px 25px -5px rgba(15, 94, 74, 0.1);
}

/* --- ACTIVITIES PAGE SPECIFIC STYLES --- */
.activities-hero-v4 {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.activities-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--background) 0%, rgba(var(--primary-rgb, 15, 94, 74), 0.05) 50%, rgba(var(--accent-rgb, 212, 175, 77), 0.1) 100%);
    z-index: 0;
}

.islamic-v4-pattern-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    z-index: 1;
}

.floating-object {
    position: absolute;
    border-style: solid;
    pointer-events: none;
    z-index: 2;
    animation: float-v4 6s ease-in-out infinite;
}

.floating-square {
    width: 8rem;
    height: 8rem;
    border-width: 2px;
    border-color: rgba(var(--accent-rgb, 212, 175, 77), 0.2);
    border-radius: 1rem;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
}

.floating-circle {
    width: 6rem;
    height: 6rem;
    border-width: 2px;
    border-color: rgba(var(--primary-rgb, 15, 94, 74), 0.15);
    border-radius: 50%;
    bottom: 25%;
    left: 20%;
}

.floating-glow {
    width: 5rem;
    height: 5rem;
    background: radial-gradient(circle, rgba(var(--accent-rgb, 212, 175, 77), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 35%;
    left: 15%;
    filter: blur(20px);
}

@keyframes float-v4 {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.activities-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-icon-v4-box {
    display: inline-flex;
    position: relative;
    margin-bottom: 1.5rem;
    transform: scale(0);
    will-change: transform, opacity;
    animation: snappyScale 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
}

.hero-icon-v4-inner {
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(var(--primary-rgb, 15, 94, 74), 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb, 15, 94, 74), 0.2);
    position: relative;
    z-index: 2;
}

.hero-icon-v4-pulse {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    background: var(--accent);
    opacity: 0.2;
    filter: blur(15px);
    animation: pulse-v4 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes snappyScale {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    80% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-v4 {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.hero-h1-v4 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.activities-divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.orn-line-v4 {
    width: 5rem;
    height: 1px;
    background: rgba(var(--accent-rgb, 212, 175, 77), 0.5);
}

.orn-dots-v4 {
    display: flex;
    gap: 0.35rem;
}

.orn-dot-v4 {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

.orn-dot-v4:nth-child(2) { opacity: 0.7; }
.orn-dot-v4:nth-child(3) { opacity: 0.4; }

.hero-p-v4 {
    font-size: 1.125rem;
    color: var(--foreground);
    opacity: 0.7;
    max-width: 40rem;
    margin: 0 auto;
}

.hero-curve-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    line-height: 0;
    z-index: 5;
}

.curve-path-v4 {
    fill: var(--background);
    opacity: 1;
}

.v4-curve-svg {
    width: 100%;
    height: 120px;
    display: block;
}

/* Section Main Content */
.activities-page-main {
    padding: 5rem 0;
    background: var(--background);
}

.activities-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 2.5rem;
}

.activity-card-v4 {
    background: #fff;
    border: 1px solid rgba(var(--primary-rgb, 15, 94, 74), 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    will-change: transform;
}

.activity-card-v4:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.activity-card-thumb {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.activity-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.activity-card-v4:hover .activity-card-thumb img {
    transform: scale(1.1);
}

.activity-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--primary-rgb, 15, 94, 74), 0.8), transparent);
    opacity: 0.6;
}

.activity-badge-v4 {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
}

.activity-content-v4 {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.activity-title-v4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    transition: color 0.3s ease;
}

.activity-card-v4:hover .activity-title-v4 {
    color: var(--accent);
}

.activity-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(var(--foreground-rgb, 0, 0, 0), 0.7);
    font-size: 0.875rem;
}

.meta-icon-v4 {
    color: var(--accent);
    width: 1.25rem;
}

.activities-footer-invite {
    margin-top: 5rem;
    text-align: center;
}

.invite-box-v4 {
    display: inline-block;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 15, 94, 74), 0.05) 0%, rgba(var(--accent-rgb, 212, 175, 77), 0.05) 100%);
    border: 1px solid rgba(var(--primary-rgb, 15, 94, 74), 0.1);
    border-radius: 2rem;
}

.invite-icon-v4 {
    color: var(--accent);
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
}

.invite-text-v4 {
    font-size: 1.125rem;
    color: var(--foreground);
    opacity: 0.8;
}

.v4-pattern-primary { color: var(--primary); }
.v4-pattern-accent { color: var(--accent); }
.v4-curve-svg { width: 100%; height: 6rem; }

.pattern-accent-soft { background-color: rgba(var(--accent-rgb, 212, 175, 77), 0.05) !important; }
.pattern-mid-right { top: 50% !important; right: 0 !important; transform: translate(5rem, -50%) !important; }

.w-h-10 { height: 10px; }
.w-h-12 { height: 12px; }
.w-h-14 { height: 14px; }
.w-h-16 { height: 16px; }
.w-h-18 { height: 18px; }
.w-h-20 { height: 20px; }
.w-h-22 { height: 22px; }
.w-h-24 { height: 24px; }

/* --- MEDIA PAGE SPECIFIC STYLES --- */
.media-header-section {
    padding: 5rem 0 3rem;
    text-align: center;
}

.media-header-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--accent);
    margin: 0 auto 1rem;
}

.media-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.media-title-underline {
    width: 6rem;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

.media-content-container {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.media-section-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .media-section-card {
        padding: 3rem 2.5rem;
    }
}

.media-card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 10rem;
    height: 10rem;
    background: rgba(var(--primary-rgb, 15, 94, 74), 0.05);
    border-radius: 50%;
    transform: translate(5rem, -5rem);
    pointer-events: none;
}

.section-header-media {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.section-icon-box-media {
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 15, 94, 74), 0.1) 0%, rgba(var(--primary-rgb, 15, 94, 74), 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.section-icon-box-media.accent-bg {
    background: linear-gradient(135deg, rgba(var(--accent-rgb, 212, 175, 77), 0.2) 0%, rgba(var(--accent-rgb, 212, 175, 77), 0.1) 100%);
    color: var(--accent);
}

.section-title-media {
    font-size: 1.875rem;
    color: var(--primary);
    font-weight: 700;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); }
}

.video-item-card {
    background: linear-gradient(135deg, var(--background) 0%, rgba(var(--background-rgb), 0.5) 100%);
    border: 2px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    will-change: transform, border-color, box-shadow;
}

.video-item-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.video-thumb-container {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 15, 94, 74), 0.2) 0%, rgba(var(--primary-rgb, 15, 94, 74), 0.05) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.video-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.video-item-card:hover .video-thumb-img {
    transform: scale(1.1);
}

.video-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0.6;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.video-item-card:hover .video-thumb-overlay {
    opacity: 0.8;
}

.audio-item-card, .radio-item-card {
    text-decoration: none !important;
    color: inherit;
}


.play-button-v4 {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(var(--primary-rgb, 15, 94, 74), 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-item-card:hover .play-button-v4 {
    transform: scale(1.1);
}

.video-item-title {
    text-align: center;
    font-weight: 500;
    color: var(--foreground);
    font-size: 1.125rem;
}

/* Audio & Radio Divider */
.media-wavy-divider {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    color: rgba(var(--accent-rgb, 212, 175, 77), 0.3);
}

.wavy-svg-v4 {
    width: 12.5rem;
    height: 1.25rem;
}

/* Audio Grid */
.audio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .audio-grid { grid-template-columns: repeat(2, 1fr); }
}

.audio-item-card {
    background: linear-gradient(135deg, var(--background) 0%, rgba(var(--background-rgb), 0.5) 100%);
    border: 2px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    will-change: transform, border-color, box-shadow;
}

.audio-item-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-xl);
    transform: translateX(-5px);
}

.audio-icon-v4 {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(var(--accent-rgb, 212, 175, 77), 0.2) 0%, rgba(var(--accent-rgb, 212, 175, 77), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.audio-item-card:hover .audio-icon-v4 {
    transform: scale(1.1);
}

.audio-info-v4 {
    flex-grow: 1;
}

.audio-item-title {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.audio-meta-v4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-wave-decoration {
    display: flex;
    gap: 0.25rem;
    align-items: flex-end;
}

.wave-bar {
    width: 4px;
    background: rgba(var(--accent-rgb, 212, 175, 77), 0.6);
    border-radius: 999px;
}

.duration-v4 {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Radio Grid */
.radio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .radio-grid { grid-template-columns: repeat(2, 1fr); }
}

.radio-item-card {
    background: linear-gradient(135deg, var(--background) 0%, rgba(var(--background-rgb), 0.5) 100%);
    border: 2px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    will-change: border-color, box-shadow;
}

.radio-item-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.radio-ping-box {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radio-item-card:hover .radio-ping-box {
    opacity: 1;
}

.radio-ping-circle {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    width: 2rem;
    height: 2rem;
    border: 2px solid rgba(var(--primary-rgb, 15, 94, 74), 0.2);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: ping-v4 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping-v4 {
    75%, 100% {
        transform: translateY(-50%) scale(2.5);
        opacity: 0;
    }
}

.radio-icon-v4 {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 15, 94, 74), 0.2) 0%, rgba(var(--primary-rgb, 15, 94, 74), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.radio-item-card:hover .radio-icon-v4 {
    transform: scale(1.1);
}

.radio-info-v4 {
    position: relative;
    z-index: 2;
}

.radio-station-v4 {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Activities Divider Section */
.activities-divider-section {
    padding: 2rem 0;
}

.activities-divider-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.activities-divider-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.div-fade-r {
    width: 3rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(var(--accent-rgb, 212, 175, 77), 0.5));
}

.div-fade-l {
    width: 3rem;
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(var(--accent-rgb, 212, 175, 77), 0.5));
}

.div-solid-long {
    width: 8rem;
    height: 1px;
    background: rgba(var(--accent-rgb, 212, 175, 77), 0.3);
}

.div-diamond-v4 {
    width: 2rem;
    height: 2rem;
    border: 2px solid rgba(var(--accent-rgb, 212, 175, 77), 0.3);
    border-radius: 0.5rem;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-dot-v4 {
    width: 0.75rem;
    height: 0.75rem;
    background: rgba(var(--accent-rgb, 212, 175, 77), 0.5);
    border-radius: 50%;
}

/* Floating Actions */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    animation: floatInBounce 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 1s;
    text-decoration: none;
}

@keyframes floatInBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1 !important;
}

.whatsapp-ping {
    position: absolute;
    inset: -4px;
    background: #25D366;
    border-radius: 50%;
    opacity: 0.3;
    animation: whatsapp-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes whatsapp-ping {
    75%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.wa-tooltip {
    pointer-events: none;
}

/* Video Modal v4 - Refined */
.video-modal-v4 {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal-v4.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    z-index: 2;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-v4.active .video-modal-content {
    transform: scale(1) translateY(0);
}

.video-modal-close {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--accent);
    border-color: var(--accent);
}

.video-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-modal-close {
        top: -4rem;
        right: 0;
    }
    .video-iframe-wrapper {
        border-radius: 1rem;
    }
}



/* --- Swiper Fixes --- */
.swiper-wrapper{
    align-items: stretch !important;
}
.swiper-slide {
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
}
.swiper-slide > * {
    width: 100% !important;
    max-width: 400px !important;
    height: 100%;
}
.activities-swiper {
    padding: 2rem 1rem 5rem 1rem !important;
    margin: -2rem -1rem -4rem -1rem !important;
}
.activities-swiper .swiper-pagination {
    bottom: 40px !important;
}
.activities-swiper .swiper-pagination-bullet-active {
    background: var(--primary) !important;
}
.v3-swiper-controls {
    width: 100%;
    position: absolute !important;
    top: 50% !important;
    left: 0% !important;
    transform: translateY(-50%) !important;
}

@media (max-width: 768px) {
    .v3-swiper-controls {
        padding: 0 5px !important;
    }
}

/* --- SESSION BOOKING ENHANCEMENTS --- */
.time-slot-card {
    position: relative !important;
}

.time-slot-card.booked {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    cursor: not-allowed !important;
    opacity: 0.8 !important;
}

.time-slot-card.booked .time-slot-text {
    color: #ef4444 !important;
    text-decoration: line-through !important;
}

.time-slot-card.booked::after {
    content: "محجوز";
    font-size: 0.65rem;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    color: #ef4444;
    font-weight: bold;
}

.date-input-v3 {
    background: white !important;
    border: 1px solid rgba(15, 94, 74, 0.2) !important;
    padding: 0.8rem 1rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    font-family: 'Tajawal', sans-serif !important;
    color: var(--primary) !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.date-input-v3:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(15, 94, 74, 0.1) !important;
}

.date-status-msg-v3 {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 500;
    display: none;
}

.date-status-msg-v3.active {
    display: block;
}

/* Payment Section - Green Theme */
.payment-section-v3 {
    margin: 2rem 0;
}

.payment-card-v3 {
    background: rgba(15, 94, 74, 0.05);
    border: 1px solid rgba(15, 94, 74, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
}

.payment-card-v3.invalid-form {
    opacity: 0.6;
}

.payment-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.payment-label {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

.payment-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.pay-btn-v3 {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 94, 74, 0.2);
}

.pay-btn-v3:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 94, 74, 0.3);
}

.pay-btn-v3.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc !important;
    box-shadow: none;
}

.pay-btn-v3.paid {
    background: #10b981 !important;
    cursor: default;
    pointer-events: none;
}

.flatpickr-wrapper{
    width: 100%;
}
.payment-status-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 500;
}

.payment-status-text.paid {
    color: #10b981;
}

.submit-btn-v3.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc !important;
    pointer-events: none;
}

/* Custom Tooltip/Validation Popup */
.v3-validation-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.v3-validation-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.v3-validation-popup.error {
    background: #ef4444;
}

/* Flatpickr Customization */
.flatpickr-calendar {
    box-shadow: var(--shadow-lg) !important;
    border-radius: 15px !important;
    border: none !important;
    font-family: "Tajawal", sans-serif !important;
    z-index: 99999 !important;
}

.flatpickr-day.selected {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Ensure Flatpickr alt input is full width */
.flatpickr-input[type="hidden"] + input {
    width: 100% !important;
}

.textarea-input {
    min-height: 120px;
    resize: vertical;
    padding: 1rem !important;
}


.date-input-wrapper-v3 {
    position: relative;
    width: 100%;
}

.date-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
    z-index: 10;
}

.date-input-v3 {
    padding-left: 2.5rem !important;
}

.flatpickr-calendar {
    z-index: 999999 !important;
}


.time-slot-card.date-not-selected {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: #ddd !important;
}

.time-slot-card.date-not-selected:hover {
    transform: none !important;
    box-shadow: none !important;
}

.time-slot-card.date-not-selected .time-slot-text {
    color: #999 !important;
}


/* Critical fix for Flatpickr visibility */
.flatpickr-calendar {
    z-index: 9999999999 !important;
}

