:root {
    --primary-color: #662046;
    --secondary-color: #7e725a;
    --accent-color: #f0e8d9;
    --light-color: #f9f7f3;
    --text-color: #333333;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-margin-top: 70px;
}

ol, ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

body {
    font-family: "Changa", sans-serif;
    font-family: "Tajawal", sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

    .back-btn:hover {
        color: var(--secondary-color);
        gap: 12px;
    }

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.logo-text h1 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    color: var(--secondary-color);
}

.mainNav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.logo img {
    width: 160px;
    transition: 0.4s;
}

.mainNav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

    .mainNav ul li a:hover {
        color: var(--primary-color);
    }

    .mainNav ul li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: var(--transition);
    }

    .mainNav ul li a:hover::after {
        width: 100%;
    }

.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

    .btn-primary:hover {
        background-color: #5a1c3a;
        transform: translateY(-3px);
        box-shadow: 0 7px 15px rgba(102, 32, 70, 0.2);
    }

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white) !important;
}

    .btn-secondary:hover {
        background-color: #6a6350;
        transform: translateY(-3px);
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Banner */
.hero-banner {
    color: var(--white);
    /* padding: 100px 0; */
    text-align: center;
    min-height: 100vh;
    align-content: center;
    position: relative;
}

.brands-section {
    padding: 50px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: #662047a9;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    z-index: 9;
}

#banner_carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background_overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(180deg, #fcfafb 0%, var(--primary-color) 100%);
    opacity: 0.43;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 2;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Brands Section */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

    .section-header h2 {
        font-size: 32px;
        color: var(--primary-color);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 3px;
            background-color: var(--secondary-color);
        }

    .section-header p {
        color: var(--text-color);
        max-width: 600px;
        margin: 0 auto;
    }

.brands-slider {
    overflow: hidden;
    position: relative;
}

.swiper {
    width: 100%;
    padding: 20px 10px 50px;
}

.brand-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    text-align: center;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

    .brand-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.brand-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
}

.brand-name {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.brand-discount {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.brand-desc {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Workshops Section */
.workshops-section {
    padding: 40px 0;
    margin-bottom: 40px;
    background: var(--white);
}



.workshop-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

    .workshop-card:hover {
        transform: translateY(-5px);
    }

.workshop-header {
    background: linear-gradient(180deg, var(--primary-color) 0%, #ac3476 134.53%);
    color: var(--white);
    padding: 20px;
}

.workshop-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.workshop-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.workshop-body {
    padding: 25px;
}

.workshop-description {
    margin-bottom: 20px;
    color: var(--text-color);
}

.workshop-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--secondary-color);
}

/* News Section */
.news-section {
    padding: 40px 0;
    background: var(--white);
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 20px;
}

    .news-card:hover {
        transform: translateY(-5px);
    }

.news-image {
    height: 200px;
    background-color: var(--secondary-color);
    background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 40px;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Achievements & Certificates */
.achievements-section {
    padding: 40px 0;
}

.achievement-slider {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
}

    .achievement-slider::-webkit-scrollbar {
        height: 8px;
    }

    .achievement-slider::-webkit-scrollbar-track {
        background: var(--light-color);
        border-radius: 10px;
    }

    .achievement-slider::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 10px;
    }

.achievement-item {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

    .achievement-item:hover {
        transform: translateY(-5px);
    }

.achievement-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.achievement-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.achievement-label {
    font-size: 16px;
    color: var(--text-color);
}

/* Membership Section */
.membership-section {
    padding: 35px 0;
}


.membership-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
    margin-bottom: 20px;
}

    .membership-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary-color);
    }

    .membership-card.featured {
        border-color: var(--primary-color);
        transform: scale(1.05);
    }

.membership-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.membership-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.membership-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

    .membership-price span {
        font-size: 16px;
        color: var(--text-color);
        font-weight: normal;
    }

.membership-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: right;
}

    .membership-features li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .membership-features li i {
            color: var(--primary-color);
        }

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 2px;
        background-color: var(--secondary-color);
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--white);
            padding-right: 5px;
        }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

    .social-link:hover {
        background-color: var(--secondary-color);
        transform: translateY(-3px);
    }

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}




.swiper-pagination-bullet {
    width: 13px;
    height: 10px;
    border-radius: 1px;
    background-color: var(--secondary-color);
}

.swiper-pagination-bullet-active {
    width: 20px;
    background-color: var(--primary-color);
}







/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .modal.active {
        display: flex;
    }

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

    .modal-close:hover {
        color: var(--primary-color);
    }

.modal-body {
    padding: 25px 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(102, 32, 70, 0.1);
    }

/* Responsive Styles */
@media (max-width: 1200px) {
    .logo img {
        width: 100px;
    }

    .btn {
        padding: 8px 18px;
        font-size: 14px;
        font-weight: 500;
    }
}

@media (max-width: 992px) {


    .hero-content h2 {
        font-size: 36px;
    }

    .membership-card.featured {
        transform: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mainNav {
        position: fixed;
        top: 68px;
        right: -100%;
        max-width: 320px;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 30px;
        z-index: 999;
    }

        .mainNav.active {
            right: 0;
        }

        .mainNav ul {
            flex-direction: column;
            gap: 20px;
        }
}

@media (max-width: 768px) {

    .membership-card {
        padding: 15px;
    }

    .hero-banner {
        padding: 40px 0;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .workshops-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 10px 0;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-img {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .hero-content h2 {
        font-size: 26px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .modal-content {
        padding: 0;
    }
}
