
:root {
    --accent-color: #1c4070;
    --accent-gradient: linear-gradient(135deg, #163d70, #1157b4);
    --accent-text-color: #2c3e50;
    --text-color-dark: #2c3e50;
    --text-color-light: #555;
    --menu-background: #ffffff;
    --border-color: #e0e0e0;
    --animation-duration: 0.4s;
    --animation-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --tam24-text-dark: #2c3e50;
    --tam24-text-light: #8492a6;
    --tam24-border-color: #f0f2f5;
    --tam24-card-bg: #ffffff;
    --tam24-primary-color: #1c4070;
    --tam24-skeleton-base: #f1f5f9;
    --tam24-skeleton-shine: rgba(226, 232, 240, 0.6);
    --theme-color: #1C4070; /* Your theme color */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-color: #f8f9fa;
    --container-bg: #ffffff;
    --container-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.07);

    --tam24-bg-white: #ffffff;
    --tam24-pill-bg: rgba(28, 64, 112, 0.08);
}

body {
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.tam24-submenu-is-open {
    overflow: hidden;
}




.CartIcon{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    transition: color 0.3s;
}


.cartCountBadge{
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #1c4070;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Skeleton Loading Badge Styles */
.skeleton-badge {
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: loadingBadge 1.5s infinite;
    color: transparent;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
}

@keyframes loadingBadge {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}






.contact-section {
    padding: 80px 20px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tam24-primary-color);
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #5a6a7b;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.08);
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tam24-primary-color);
    box-shadow: 0 0 0 3px hsla(212, 60%, 28%, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--tam24-primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #2c5aa3;
}
.submit-btn:active {
    transform: scale(0.98);
}
.submit-btn:disabled {
    background-color: #5a6a7b;
    cursor: not-allowed;
}

/* --- Info Column Styles --- */
.contact-info {
    display: flex;
    flex-direction: column;
}

.info-block {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.info-item:not(:last-child) {
    margin-bottom: 25px;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #eef2f9;
    color: var(--tam24-primary-color);
}
.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
    margin-top: 0;
}

.info-text a {
    text-decoration: none;
}

.info-text p {
    font-size: 1rem;
    color: #64748b;
    transition: color 0.3s ease;
    margin: 0;
}

.info-text a:hover p {
    color: var(--tam24-primary-color);
}

.social-links {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #eef2f9;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--tam24-primary-color);
    border-color: var(--tam24-primary-color);
    transform: translateY(-3px);
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 30px;
    }
}
@media (max-width: 768px) {
    .contact-title { font-size: 2rem; }
    .contact-section { padding: 60px 15px; }
}





.faq-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tam24-primary-color);
    margin-bottom: 15px;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #5a6a7b;
    max-width: 450px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #f8f9fa;
    border: 1px solid #eef2f9;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.faq-item.is-open {
    background-color: #f0f4f8;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    cursor: pointer;
    text-align: right;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 20px;
    color: var(--tam24-primary-color);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer-container {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: #5a6a7b;
    line-height: 1.8;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }
}





.why-tam24 {
    padding: 60px 20px;

}

.why-tam24__container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-tam24__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--tam24-primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

/* Underline accent now uses the theme color */
.why-tam24__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--tam24-primary-color);
    border-radius: 2px;
}

.why-tam24__grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;

    border-radius: 16px;
    border: 1px solid #eef2f9;
}



.feature-item__text {
    text-align: right;
}

.feature-item__text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 15px;
    min-height: 50px; /* Reserve space to prevent layout shift during typing */
}

.feature-item__text p {
    font-size: 1rem;
    color: #5a6a7b;
    line-height: 1.8;
    /* Animation state for the paragraph fade-in */
    opacity: 0;
    transition: opacity 0.5s ease 0.2s; /* Fade in after a small delay */
}

.feature-item__icon {
    flex-shrink: 0;
}

/* --- ANIMATION STYLES --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* When the item is visible, the paragraph inside also fades in */
.animate-on-scroll.is-visible .feature-item__text p {
    opacity: 1;
}

/* Style the cursor for the typing animation */
.ti-cursor {
    color: var(--tam24-primary-color);
    font-weight: 700;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .why-tam24__grid {
        grid-template-columns: 1fr; /* Single column on tablets and mobile */
    }
}

@media (max-width: 768px) {
    .feature-item,
    .why-tam24__grid .feature-item:nth-child(even) {
        flex-direction: column; /* Stack icon on top */
    }

    .feature-item__text {
        text-align: center;
    }

    .feature-item__text h3 {
        min-height: auto; /* Remove height reservation on mobile */
    }
}


/* ======================= MASTERS SLIDER (MINIMAL VERSION) ======================= */
.masters-section {
    width: 100%;
    /* No longer full-screen height, uses padding for size */
    padding: 100px 0;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.masters-container {
    width: 100%;
    max-width: 1200px; /* Reduced max-width for a more compact feel */
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
}

/* --- Swiper & Slide Styles --- */
.masters-swiper {
    width: 100%;
    flex-grow: 1;
}

.master-slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px; /* Reduced gap */
}

.master-avatar {
    width: 280px; /* Reduced size */
    height: 280px; /* Reduced size */
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    filter: drop-shadow(0 15px 35px rgba(44, 62, 80, 0.12));
    /* Animation state */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.master-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-info {
    max-width: 500px;
    text-align: right;
}

.master-name {
    font-size: 2.8rem; /* Reduced size */
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px; /* Reduced margin */
    /* Animation state */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.master-bio {
    font-size: 1rem; /* Reduced size */
    line-height: 1.8;
    color: #64748b;
    /* Animation state */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

/* When the slide is active, trigger the content animations */
.swiper-slide-active .master-avatar,
.swiper-slide-active .master-name,
.swiper-slide-active .master-bio {
    opacity: 1;
    transform: scale(1) translateY(0);
}


/* --- Controls Panel --- */
.masters-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 40px; /* Reduced margin */
    padding: 0 5%;
}

.masters-nav { flex: 1; }
.masters-nav--next { text-align: left; }
.masters-nav--prev { text-align: right; }

.masters-nav__btn {
    width: 42px; /* Reduced size */
    height: 42px; /* Reduced size */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.masters-nav__btn:hover { border-color: #334155; color: #334155; }
.masters-nav__btn.swiper-button-disabled { opacity: 0.3; cursor: not-allowed; }

.masters-names {
    display: flex;
    justify-content: center;
    gap: 30px; /* Reduced gap */
    flex: 28;
}

.master-name-link {
    font-size: 1rem; /* Reduced size */
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}
.master-name-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #334155;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.master-name-link:hover { color: #334155; }
.master-name-link.is-active {
    color: #1e293b;
    font-weight: 700;
}
.master-name-link.is-active::after { transform: scaleX(1); }


/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .master-slide-content { flex-direction: column-reverse; text-align: center; }
    .master-info { text-align: center; }
    .master-avatar { width: 220px; height: 220px; } /* Reduced */
    .master-name { font-size: 1.6rem; } /* Reduced */
    .master-bio { font-size: 0.95rem; } /* Reduced */
}

@media (max-width: 768px) {
    .masters-controls { flex-direction: column; gap: 10px; }
    .masters-names { order: -1; flex-wrap: wrap; gap: 25px 25px; }
}



.navbar {

    padding: 0 2rem;
}


/* --- Main Component --- */
.simple-feature-section {
    display: flex;
    align-items: center;
    width:90%;
    background: var(--container-bg);
    border-radius: 1rem;
    box-shadow: var(--container-shadow);
    overflow: hidden;
    margin: auto;
}

/* --- Left Column: Image --- */
.simple-feature-section .image-container {
    flex: 1 1 50%;
    align-self: stretch;
}

.simple-feature-section .image-container img {
    width: 60%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* --- Right Column: Text Content --- */
.simple-feature-section .text-content {
    flex: 1 1 50%;
    padding: clamp(2rem, 6vw, 4rem);
}

.simple-feature-section h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.simple-feature-section p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* --- Outline Button Style --- */
.simple-feature-section .cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--theme-color);
    border: 2px solid var(--theme-color); /* Outline style */
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.simple-feature-section .cta-button:hover {
    background-color: var(--theme-color); /* Fill color on hover */
    color: #ffffff; /* Text becomes white on hover */
    transform: translateY(-3px);
}

/* --- Responsive Design for Mobile --- */
@media (max-width: 800px) {
    .simple-feature-section {
        flex-direction: column;
        text-align: center;
    }

    .simple-feature-section .image-container {
        width: 100%;
        height: 300px;
    }

    .simple-feature-section .text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.final-slider-component {
    --theme-color: #1c4070;
    --text-light: #ffffff;
    --text-dark: #3a3a3a;
    --text-muted: #8a8a8a;
    --bg-color: #eef1f5;

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0; /* Vertical padding for the component area */
    box-sizing: border-box;
}



.final-slider-component .slider-container {
    width: 90%;
    max-width: 1200px;
    position: relative;
}

.final-slider-component .swiper {
    width: 100%;
    height: 60vh;
    max-height: 500px;
    min-height: 450px;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.15);
    background: var(--text-light);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.final-slider-component .swiper-slide {
    display: flex;
    overflow: hidden;
}

/* Desktop Layout */
.final-slider-component .slide-image-container {
    flex-basis: 55%;
    height: 100%;
    overflow: hidden;
}
.final-slider-component .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}
.final-slider-component .swiper-slide-active .slide-image {
    transform: scale(1);
}

.final-slider-component .slide-content-container {
    flex-basis: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 8% 6%;
    position: relative;
}

/* Animations */
.final-slider-component .slide-pretitle,
.final-slider-component h1,
.final-slider-component p,
.final-slider-component .cta-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.final-slider-component .swiper-slide-active .slide-pretitle { transition-delay: 0.3s; }
.final-slider-component .swiper-slide-active h1 { transition-delay: 0.4s; }
.final-slider-component .swiper-slide-active p { transition-delay: 0.5s; }
.final-slider-component .swiper-slide-active .cta-button { transition-delay: 0.6s; }

.final-slider-component .swiper-slide-active .slide-pretitle,
.final-slider-component .swiper-slide-active h1,
.final-slider-component .swiper-slide-active p,
.final-slider-component .swiper-slide-active .cta-button {
    opacity: 1;
    transform: translateY(0);
}

/* Content Styling */
.final-slider-component .slide-pretitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.final-slider-component h1 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 1rem 0; /* Reset margin */
    line-height: 1;
}
.final-slider-component p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0 0 2.5rem 0; /* Reset margin */
    max-width: 400px;
}
.final-slider-component .cta-button {
    display: inline-block;
    background: transparent;
    color: var(--theme-color);
    border: 2px solid #cdd5e0;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    align-self: flex-start;
    transition: all 0.3s ease;
}
.final-slider-component .cta-button:hover {
    border-color: var(--theme-color);
    background: var(--theme-color);
    color: var(--text-light);
    transform: translateY(-3px) !important;
}

/* Corrected Arrows */
.final-slider-component .slider-navigation {
    position: absolute;
    bottom: 8%;
    right: 6%;
    z-index: 20;
    display: flex;
    gap: 10px;
}
.final-slider-component .swiper-nav-button {
    width: 44px;
    height: 44px;
    background: #f1f3f5;
    border-radius: 50%;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.final-slider-component .swiper-nav-button:hover {
    background: var(--theme-color);
    color: var(--text-light);
}
.final-slider-component .swiper-nav-button svg { width: 22px; height: 22px; }

/* Progress Bar */
.final-slider-component .autoplay-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(28, 64, 112, 0.1);
}
.final-slider-component .autoplay-progress-bar {
    width: 100%;
    height: 100%;
    background: var(--theme-color);
    transform-origin: right;
    transform: scaleX(0);
}

/* --- MOBILE DESIGN --- */
@media (max-width: 768px) {
    .final-slider-component {
        padding: 0 15px; /* Adds horizontal spacing on mobile */
    }
    .final-slider-component .slider-container {
        width: 100%;
        height: 100%;
    }
    .final-slider-component .swiper {
        height: 90vh;
        max-height: 600px;
        box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.2);
    }
    .final-slider-component .swiper-slide { flex-direction: column; }
    .final-slider-component .slide-image-container { height: 45%; border-radius: 1.5rem 1.5rem 0 0; }
    .final-slider-component .slide-image { border-radius: 1.5rem 1.5rem 0 0; }
    .final-slider-component .slide-content-container {
        height: 55%;
        justify-content: center;
        padding: 10% 8%;
        text-align: center;
        align-items: center;
    }
    .final-slider-component .cta-button { align-self: center; }
    .final-slider-component .slider-navigation { display: none; }
}



.loginButton_button__LmJHZ {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 16px;
    background-color: #1c4070;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    color: white;
}


.headerMobile_header-mobile__AbKD0{
    display: flex;
    height: 64px;
    background-color: #fff;
    padding: 0 16px;
    align-items: center;
}






@media (max-width: 450px) {

    .final-slider-component .swiper {
        margin-top: 5px;
    }
}

@media (max-width: 350px) {
    .loginButton_button__LmJHZ {
        transform: scale(0.90);
        transform-origin: center;
    }

    .cartCountBadge{
        width: 14px;
        height: 14px;
        font-size: 9.5px;
    }
    .CartIcon svg{
        width: 16px;
        height: 16px;
    }

    .tam-logo{
        width: 90px !important;
    }

}

@media (max-width: 250px) {
    .loginButton_button__LmJHZ {
        transform: scale(0.70);
        transform-origin: center;
    }
    .cartCountBadge{
        width: 12px;
        height: 12px;
        font-size: 9px;
        right: 9px;
    }
    .CartIcon{
        position: absolute;
    }
    .CartIcon svg{
        width: 15px;
        height: 15px;
    }
    .headerMobile_header-mobile__AbKD0{
        height: 50px;
    }
    .tam-logo{
        width: 65px !important;
        margin-left: 3px;
    }

}


.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 65px; /* Ensure navbar has height during loading */
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between skeleton items */
}

/* --- SKELETON LOADER STYLES --- */
.nav-item-skeleton .skeleton-bar {
    width: 120px;
    height: 25px;
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0)
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* --- FINAL MENU STYLES (Applied by JS) --- */
.nav-item {
    position: relative;
}

.nav-link {
    color: #343a40;
    text-decoration: none;
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 10px;
    right: 25px;
    background-color: #1c4070;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover {
    color: #1c4070;
}

.nav-link:hover::after {
    width: calc(100% - 50px);
}

.arrow-icon {
    width: 12px;
    height: 12px;
    stroke: #1c4070;
    stroke-width: 2px;
    fill: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    min-width: 240px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
}

.dropdown-menu a {
    color: #495057;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f1f3f5;
    color: #1c4070;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-item.dropdown:hover .arrow-icon {
    transform: rotate(180deg);
}


.tam24-slider {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* HEADER & TABS */
.tam24-slider__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; }
.tam24-slider__title { font-size: 1.2rem; font-weight: 800; color: var(--tam24-text-dark); }
.tam24-slider__nav { display: flex; gap: 10px; }
.tam24-slider__nav-btn {
    width: 30px; height: 30px; border: 1px solid #e2e8f0; border-radius: 50%;
    background-color: var(--tam24-card-bg); color: var(--tam24-text-dark); cursor: pointer;
    display: flex; justify-content: center; align-items: center; transition: all 0.2s ease;
}
.tam24-slider__nav-btn:hover { background-color: var(--tam24-primary-color); color: white; }
.tam24-slider__nav-btn.swiper-button-disabled { opacity: 0.5; cursor: not-allowed; }
/* --- TABS: FULLY RESPONSIVE --- */

/* This is the gray, pill-shaped outer container */
.tam24-tabs {
    position: relative;
    background-color: #e9ecef;
    border-radius: 99px;
    padding: 4px;
    margin-bottom: 40px;
    /* On desktop, this will become a flex container to center the nav */
}

/* This is the direct container for the buttons */
.tam24-tabs__nav {
    display: flex;
    position: relative;

    /* --- Mobile First: Enable horizontal scrolling --- */
    overflow-x: auto;
    /* Hide the scrollbar for a cleaner look */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.tam24-tabs__nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}


/* --- Desktop behavior: Center the tabs when there is enough space --- */
/* We'll use 768px as the breakpoint, but you can adjust it */
@media (min-width: 768px) {
    .tam24-tabs {
        /* Turn the outer container into a flexbox to center its child */
        display: flex;
        justify-content: center;
    }

    .tam24-tabs__nav {
        /* Disable scrolling on desktop */
        overflow-x: visible;
    }
}
.tam24-tabs__btn {
    font-family: inherit; background: none; border: none; padding: 8px 20px; font-size: 0.9rem;
    font-weight: 500; color: var(--tam24-text-light); cursor: pointer; white-space: nowrap;
    position: relative; z-index: 2; border-radius: 99px; transition: color 0.4s ease;
}
.tam24-tabs__btn.active { color: white; font-weight: 700; }
.tam24-tabs__pill {
    position: absolute; top: 4px; right: 4px; height: calc(100% - 8px);
    background-color: var(--tam24-primary-color); border-radius: 99px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); z-index: 1;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

/* CARD DESIGN TO MATCH YOUR IMAGE */
.tam24-swiper { padding: 10px; margin: -10px; }
.swiper-slide { height: auto; }

.tam24-card {
    background-color: var(--tam24-card-bg);
    border: 1px solid var(--tam24-border-color);
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(44, 62, 80, 0.07);
    padding: 0;
    display: flex; flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; opacity: 0;
    animation: tam24-fadeIn 0.5s ease forwards;
}

.tam24-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(44, 62, 80, 0.1);
}

.tam24-card__main {
    display: flex; justify-content: space-between; align-items: center;
    gap: 15px; padding: 15px;
}
.tam24-card__icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; justify-content: center; align-items: center; flex-shrink: 0;
}
.tam24-card__icon svg { width: 28px; height: 28px; color: #fff; }

.tam24-card__content { text-align: right; flex-grow: 1; }
.tam24-card__title { font-size: 0.95rem; font-weight: 700; color: var(--tam24-text-dark); margin-bottom: 4px; }
.tam24-card__subtitle { font-size: 0.8rem; color: var(--tam24-text-light); }

.tam24-card__footer {
    border-top: 1px solid var(--tam24-border-color);
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px;
}
.tam24-card__add-btn {
    width: 34px; height: 34px; border: 1.5px solid #a0aec0;
    border-radius: 50%; background-color: transparent; color: var(--tam24-text-dark);
    cursor: pointer; display: flex; justify-content: center; align-items: center;
    transition: all 0.2s ease;
}
.tam24-card__add-btn:hover {
    background-color: var(--tam24-primary-color);
    color: #fff; border-color: var(--tam24-primary-color);
}
.tam24-card__add-btn svg { width: 16px; height: 16px; }

.tam24-card__price { font-size: 1rem; font-weight: 700; color: var(--tam24-text-dark); }
.tam24-card__price span { font-size: 0.75rem; font-weight: 500; color: var(--tam24-text-light); margin-right: 4px; }

/* SKELETON & ANIMATIONS */
.tam24-skeleton {
    background-color: var(--tam24-card-bg); border: 1px solid var(--tam24-border-color);
    border-radius: 18px; padding: 0; height: 100%;
}
.tam24-skeleton__main { display: flex; justify-content: space-between; align-items: center; padding: 15px; }
.tam24-skeleton__content { flex-grow: 1; }
.tam24-skeleton__item {
    background-color: var(--tam24-skeleton-base); border-radius: 6px; position: relative; overflow: hidden;
}
.tam24-skeleton__item::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--tam24-skeleton-shine), transparent);
    animation: tam24-shimmer 1.8s infinite;
}
.tam24-skeleton__item--icon { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; }
.tam24-skeleton__item--title { width: 80%; height: 16px; margin-bottom: 10px; }
.tam24-skeleton__item--subtitle { width: 60%; height: 14px; }
.tam24-skeleton__footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; border-top: 1px solid var(--tam24-border-color); }
.tam24-skeleton__item--price { width: 70px; height: 20px; }
.tam24-skeleton__item--button { width: 34px; height: 34px; border-radius: 50%; }

@keyframes tam24-shimmer { 100% { left: 150%; } }
@keyframes tam24-fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; translateY(0); } }



:root {
    --tam24-primary: #1c4070;
    --tam24-primary-bg: rgba(28, 64, 112, 0.1); /* 10% Opacity Blue */
    --tam24-bg: #ffffff;
    --tam24-text: #64748b;
    --nav-height: 80px; /* Taller for better touch targets */
}

/* --- RESET --- */
.tam24-nav * { box-sizing: border-box; }

/* --- CONTAINER --- */
.tam24-nav {
    display: none; /* Mobile Only */
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 9999;

    background-color: var(--tam24-bg);
    border-top: 1px solid #f1f5f9; /* Subtle border */

    /* Clean Shadow (Upwards) */
    box-shadow: 0 -4px 20px rgba(0,0,0,0.03);

    /* Safe Area */
    padding-bottom: env(safe-area-inset-bottom, 0);
    transition: transform 0.3s ease;
}

.tam24-nav--loading, .tam24-nav--hidden { transform: translateY(100%); }

/* --- GRID LAYOUT --- */
.tam24-nav__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Equal Columns */
    height: 100%;
    margin: 0; padding: 0 10px; /* Slight side padding */
    list-style: none;
    align-items: center;
}

.tam24-nav__item {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- LINK --- */
.tam24-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--tam24-text);
    background: transparent;
    transition: color 0.2s;
    padding-top: 5px;
    opacity: 0.8;
}

/* --- ICON CONTAINER (The Pill) --- */
.tam24-nav__icon-box {
    width: 55px; /* Fixed Pill Width */
    height: 35px; /* Fixed Pill Height */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden; /* For shimmer */
}

/* --- ICON SVG --- */
.tam24-nav__icon-box svg {
    width: 26px;
    height: 26px;
    transition: transform 0.2s;
}

/* --- LABEL --- */
.tam24-nav__title {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    transition: font-weight 0.2s;
    scale: 1;
}

/* --- ACTIVE STATE --- */
.tam24-nav__link.is-active {
    color: var(--tam24-primary);
    scale: 1.1;
    opacity: 1;
}

.tam24-nav__link.is-active .tam24-nav__title {
    font-weight: 700;
}

/* Active Pill Background */
.tam24-nav__link.is-active .tam24-nav__icon-box {
    background-color: var(--tam24-primary-bg); /* Light Blue Pill */
}

/* Active Icon Color */
.tam24-nav__link.is-active .tam24-nav__icon-box svg {
    color: var(--tam24-primary); /* Dark Blue Icon */
}

/* --- SHIMMER ANIMATION (On Pill) --- */
.tam24-nav__link.is-active .tam24-nav__icon-box::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent
    );
    transform: skewX(-20deg);
    animation: pillShine 1.5s ease 0.2s 1 normal forwards; /* Once, delayed */
}

@keyframes pillShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* --- SUBMENU & OVERLAY --- */
.tam24-submenu {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 10001;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding-bottom: 30px;
    transform: translateY(110%);
    transition: transform 0.3s ease;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
}
.tam24-submenu.is-open { transform: translateY(0); }
.tam24-submenu__header { padding: 18px; text-align: center; border-bottom: 1px solid #f1f5f9; }
.tam24-submenu__title { font-weight: 700; font-size: 1rem; color: var(--tam24-primary); margin:0;}
.tam24-submenu__item a { display: block; padding: 16px 24px; color: #333; text-decoration: none; border-bottom: 1px solid #f8f8f8; }

.tam24-nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 10000;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.tam24-nav-overlay.is-open { opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 1024px) {
    .tam24-nav { display: block; }
    body { padding-bottom: 90px; }
}


.tam-logo{
    width: 120px;
}

.tam-logo img{
    width: 100%;
}





.user-profile {
    position: relative;
}

.user-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #1c4070;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
    max-width: 200px;
    position: relative;
}

.user-button:hover {
    background-color: rgba(28, 64, 112, 0.05);
}

.user-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    font-weight: 500;
}

.fade-overflow {
    position: absolute;
    top: 0;
    left: 30px;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to left, transparent, white);
    pointer-events: none;
}

.user-button:hover .fade-overflow {
    background: linear-gradient(to left, transparent, rgba(28, 64, 112, 0.05));
}

.user-button svg {
    margin-right: 8px;
    transition: transform 0.3s ease;
    width: 12px;
    height: 12px;
}

.user-button.active svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #1c4070;
}

.dropdown-menu svg {
    margin-left: 10px;
    color: #1c4070;
    width: 16px;
    height: 16px;
}

.logout {
    color: #e74c3c !important;
}

.logout svg {
    color: #e74c3c !important;
}



/* --- ULTRA-MODERN DARK FOOTER --- */
.footer-wrapper {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #94a3b8;
    padding-top: 80px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    direction: rtl;
}

/* Ambient Glow Effect at top */
.footer-wrapper::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    opacity: 0.5;
}

.f-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

/* --- TOP SECTION --- */
.f-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}
.f-logo{
    width: 180px;
    padding-bottom: 5px;
    filter: invert(0.8) hue-rotate(150deg) brightness(0.9);
}

.f-logo img{
    width: 100%;
}
/* Column Styles */
.f-col h5 {
    color: #f8fafc; /* Almost White */
    font-size: 16px; font-weight: 800;
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 10px;
}

.f-text {
    font-size: 13px; line-height: 1.8; opacity: 0.8;
    text-align: justify;
}

/* Links */
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 12px; }
.f-links a {
    color: #64748b;
    text-decoration: none; font-size: 14px;
    transition: 0.3s ease;
    display: inline-block; position: relative;
}
.f-links a::before {
    content: ''; position: absolute; right: -15px; top: 50%; transform: translateY(-50%);
    width: 6px; height: 6px; background: #3b82f6; border-radius: 50%;
    opacity: 0; transition: 0.3s;
}
.f-links a:hover { color: #f8fafc; transform: translateX(-10px); }
.f-links a:hover::before { opacity: 1; right: -12px; }

/* --- SILVER TRUST BADGES (The Request) --- */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side by Side */
    gap: 15px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 15px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.4s ease;
    cursor: pointer;
    height: 100px; /* Fixed height for uniformity */
}

/* THE SILVER EFFECT */
.trust-badge img {
    max-width: 80px;
    max-height: 80px;
    width: auto; height: auto;
    /* Logic: Grayscale removes color, Brightness/Contrast simulates metallic silver */
    filter: grayscale(100%) brightness(1.2) contrast(0.8) opacity(0.7);
    transition: 0.4s ease;
}

/* Hover State: Glow & Color */
.trust-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
.trust-badge:hover img {
    filter: grayscale(0%) opacity(1); /* Return to original color */
    transform: scale(1.1);
}

/* --- BOTTOM BAR --- */
.f-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
}

.f-copy { font-size: 13px; opacity: 0.6; }

/* Modern Social Icons */
.f-socials { display: flex; gap: 10px; }
.s-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
    fill: #94a3b8; /* Icon Color */
}
.s-link:hover {
    background: #3b82f6; fill: white; transform: translateY(-3px);
}
.s-link svg { width: 18px; height: 18px; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .f-grid { grid-template-columns: 1fr; text-align: center; }
    .f-bottom { flex-direction: column-reverse;margin-bottom: 70px }
    .f-col h5 { justify-content: center; }
    .f-links a:hover { transform: none; } /* Disable slide on mobile */
}



/* Mobile styles */
@media (max-width: 768px) {
    .nav-top {
        padding: 0 15px;
    }

    .user-name {
        max-width: 100px;
    }

    .dropdown-menu {
        width: 200px;
        left: 0;
    }
}

@media (max-width: 480px) {
    .user-name {
        max-width: 80px;
    }

    .user-button {
        padding: 6px 10px;
    }
}
