/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Heebo', sans-serif;
}

body {
    background-color: #fff8f0;
    color: #606060;
}

/* Header / Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 0 0 0 50px;
    height: 75px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color:  #804C8C;
    font-size: 28px;
    font-weight: 800;
}
.logo img {
    height: 106px;
    width: 144px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #606060 !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #804C8C !important;
}

.icon-sm {
    font-size: 11px;
    margin-left: 3px;
}

.btn-join-top {
    background-color: #804C8C  !important;
    color: #FFF8F0 !important;
    text-decoration: none;
    padding: 0 35px;
    height: 75px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-join-top:hover {
    background-color:#53146C!important;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 75px);
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 29, 56, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #fff8f0 !important;
}

.subtitle {
    color: #f0f0f0 !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0 !important;
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color:#804C8C  !important;
    color: #fff8f0 !important;
}

.btn-primary:hover {
    background-color: #53146C !important;
}

.btn-secondary {
    background-color: #fff8f0 !important;
    color: #606060 !important;
}

.btn-secondary:hover {
    background-color: #fff8f0 !important;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #53146C !important;
    border-color: #53146C !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar {
        padding: 0 20px;
    }
    .nav-links {
        display: none; /* برای موبایل می‌توانید منوی همبرگری اضافه کنید */
    }
    .hero {
        padding: 0 30px;
    }
    .title {
        font-size: 38px;
    }
}

















/* ========================================== */
/* تنظیمات منوی همبرگر در سمت چپ برای موبایل */
/* ========================================== */

/* در حالت کامپیوتر دکمه همبرگر مخفی باشد */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: #804C8C !important;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* وقتی صفحه کوچک می‌شود (کمتر از 992px) */
@media (max-width: 992px) {
    .navbar {
        padding: 0 15px !important;
        position: relative;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* نمایش دکمه همبرگر در سمت چپ */
    .hamburger-btn {
        display: block !important;
        order: 1;
    }

    .logo {
        order: 2;
    }

    .btn-join-top {
        order: 3;
        padding: 0 15px !important;
        font-size: 14px !important;
    }

    /* لیست منو به شکل عمودی زیر Navbar */
    header .nav-links {
        display: none !important; /* پیش‌فرض در موبایل مخفی */
        position: absolute !important;
        top: 75px !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #ffffff !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 15px 25px !important;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 9999 !important;
    }

    /* وقتی روی دکمه کلیک شد منو باز شود */
    header .nav-links.show-menu {
        display: flex !important;
    }

    header .nav-links a {
        padding: 12px 0 !important;
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
        text-align: left !important;
    }
}
















/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #fff8f0 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: #fff8f0 !important;
    padding: 45px 30px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0px 1px 2px;
}

.service-card:hover {
    background-color: transparent !important;
    transform: translateY(-5px);
   
}

.service-card .icon {
    font-size: 45px;
    color:  #804C8C !important;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #181d38;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

/* تغییر رنگ متن و آیکون هنگام hover */
.service-card:hover .icon,
.service-card:hover h3,
.service-card:hover p {
    color: #FFF8F0 !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}










/*service sectin new css code */
.service-card:hover {
    background-color: #804c8c !important; /* پس‌زمینه در زمان هوور */
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(128, 76, 140, 0.25);
}











/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: #fff8f0 !important;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Image Styling */
.about-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Content Styling */
.section-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #804C8C !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-subtitle .line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #804C8C !important;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #181d38;
    margin-bottom: 20px;
}

.about-content .description {
    color: #53146C !important;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Features List (2 Columns Grid) */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin: 25px 0 35px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #53146C !important;
    font-size: 15px;
    font-weight: 500;
}

.feature-item i {
    color: #53146C !important;
    font-size: 14px;
}

/* Read More Button */
.btn-read-more {
    display: inline-block;
    background-color: #804C8C !important;
    color: #fff8f0;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.btn-read-more:hover {
    background-color: #53146C !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color: #804C8C !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 99;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #53146C !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 28px;
    }
}














/* Categories Section */
.categories-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #53146C !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header .subtitle .line {
    width: 30px;
    height: 2px;
    background-color: #53146C !important;
}

.section-header .title {
    font-size: 36px;
    font-weight: 800;
    color: #181d38;
}

/* Main Grid Layout */
.categories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Card Styling */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

/* Heights for Grid Layout */
.category-card.large {
    height: 260px;
}

.category-card.small {
    height: 200px;
}

.category-card.tall {
    height: 484px;
}

/* Card Label Badge Styling */
.card-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #53146C !important;
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 4px 10px #fff8f0 !important;
    z-index: 2;
}

.card-badge h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFF8F0;
    margin-bottom: 3px;
}

.card-badge span {
    font-size: 13px;
    color: #F4CE93 !important;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .category-card.tall {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .bottom-row {
        grid-template-columns: 1fr;
    }
    .category-card.large,
    .category-card.small,
    .category-card.tall {
        height: 220px;
    }
}









/* catagories new css code */
.card-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover .card-badge {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2) !important;
}











/* Courses Section */
.courses-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color:#804C8C !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header .subtitle .line {
    width: 30px;
    height: 2px;
    background-color: #804C8C !important;
}

.section-header .title {
    font-size: 36px;
    font-weight: 800;
    color: #181d38;
}

/* Grid Layout */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card Container */
.course-card {
    background-color: #fff8f0 !important;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

/* Image & Hover Buttons Overlay */
.course-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hover-buttons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.btn-hover {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-left {
    background-color: #804C8C !important;
    color: #fff8f0;
    border-radius: 30px 0 0 30px;
}

.btn-left:hover {
    background-color: #53146C !important;
}

.btn-right {
    background-color: #804C8C !important;
    color: #fff8f0 !important;
    border-radius: 0 30px 30px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-right:hover {
    background-color: #53146C !important;
}

/* Card Content Body */
.course-content {
    padding: 25px 20px;
}

.course-price {
    font-size: 22px;
    font-weight: 800;
    color: #181d38;
    margin-bottom: 8px;
}

.rating {
    color:  #53146C !important;
    font-size: 13px;
    margin-bottom: 15px;
}

.rating small {
    color: #666666;
    margin-left: 3px;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    color: #181d38;
    line-height: 1.4;
}

/* Card Footer Bar */
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e1f5f7;
    padding: 15px 20px;
    font-size: 13px;
    color:  #53146C !important;
    font-weight: 500;
}

.course-footer span i {
    margin-right: 4px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}










/*new css code class course section */
/* Zoom image on hover */
.course-img-wrapper img {
    transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrapper img {
    transform: scale(1.1);
}

/* Hover buttons initial state & slide animation */
.hover-buttons {
    opacity: 0;
    transform: translate(-50%, 15px);
    transition: all 0.3s ease;
}

.course-card:hover .hover-buttons {
    opacity: 1;
    transform: translate(-50%, 0);
}














/* Instructors Section */
.instructors-section {
    padding: 80px 0;
    background-color: #fff8f0 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color:  #53146C !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header .subtitle .line {
    width: 30px;
    height: 2px;
    background-color:  #53146C !important;
}

.section-header .title {
    font-size: 36px;
    font-weight: 800;
    color: #181d38;
}

/* Grid Layout */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Instructor Card */
.instructor-card {
    background-color: #fff8f0;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
}

/* Image & Social Overlay */
.instructor-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.instructor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background-color:  #804C8C !important;
    color:  #fff8f0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #53146C !important;
}

/* Instructor Info */
.instructor-info {
    padding: 30px 15px 20px 15px;
}

.instructor-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #181d38;
    margin-bottom: 5px;
}

.instructor-info p {
    font-size: 13px;
    color: #606060 !important;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .instructors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .instructors-grid {
        grid-template-columns: 1fr;
    }
}








/*new css code */
/* Zoom photo on hover */
.instructor-img-wrapper img {
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-img-wrapper img {
    transform: scale(1.08);
}

/* Social icons hover motion */
.social-icons {
    transition: transform 0.3s ease;
}

.instructor-card:hover .social-icons {
    transform: translate(-50%, -8px);
}

.social-icons a {
    border-radius: 50%; /* گرد شدن آیکون‌ها برای زیبایی بیشتر */
}
















/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #53146C !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header .subtitle .line {
    width: 30px;
    height: 2px;
    background-color: #53146C !important;
}

.section-header .title {
    font-size: 36px;
    font-weight: 800;
    color: #181d38;
}

/* Testimonials Layout Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

/* Card General Style */
.testimonial-card {
    text-align: center;
}

.client-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e1f5f7;
    padding: 3px;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.client-name {
    font-size: 18px;
    font-weight: 700;
    color: #181d38;
    margin-bottom: 3px;
}

.client-profession {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

/* Testimonial Text Box */
.testimonial-content {
    background-color: #f0fbfc;
    padding: 25px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.testimonial-content p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Active / Highlighted Card Styling */
.testimonial-card.active .testimonial-content {
    background-color: #53146C !important;
}

.testimonial-card.active .testimonial-content p {
    color: #fff8f0 !important;
}

/* Pagination Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border: 1px solid #53146C !important;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
} 

.dot.active {
    background-color: #53146C !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}




/*new code*/
/* Avatar zoom effect on hover */
.client-avatar img {
    transition: transform 0.4s ease;
}

.testimonial-card:hover .client-avatar img {
    transform: scale(1.1);
}

/* Smooth transition for active state */
.testimonial-card .testimonial-content {
    transition: background-color 0.4s ease, transform 0.3s ease;
}

.testimonial-card:hover .testimonial-content {
    transform: translateY(-5px);
}



















/* Footer Styles */
.footer {
    background-color: #181d38;
    color: #f1f1f1;
    padding-top: 60px;
    padding-bottom: 30px;
    font-family: 'Heebo', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Quick Links Styling */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #f1f1f1;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 12px;
}

.footer-links a:hover {
    letter-spacing: 1px;
}

/* Contact Info Styling */
.contact-info {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f1f1f1;
}

.contact-info i {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #53146C !important;
    border-color: #53146C !important;
}

/* Gallery Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-grid img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
}

/* Newsletter Styling */
.newsletter-text {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    position: relative;
    display: flex;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 2px;
}

.newsletter-form input {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 15px;
    font-size: 14px;
    color: #444444;
}

.newsletter-form button {
    background-color: #53146C !important;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #53146C !important;
}

/* Footer Bottom Area */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    font-size: 14px;
}

.copyright a {
    color: #fff8f0 !important;
    text-decoration: underline;
}

.bottom-menu {
    display: flex;
    gap: 20px;
}

.bottom-menu a {
    color: #fff8f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-menu a:hover {
    color: #606060 !important;
} 

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}






/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Heebo', sans-serif;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 0 0 0 50px;
    height: 75px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color:  #804C8C;
    font-size: 28px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color:#804C8C !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #53146C !important;
}

.icon-sm {
    font-size: 11px;
    margin-left: 3px;
}

.btn-join-top {
    background-color: #804C8C !important;
    color: #ffffff;
    text-decoration: none;
    padding: 0 35px;
    height: 75px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-join-top:hover {
    background-color: #53146C !important;
}

/* Page Header / Inner Hero Banner */
.page-header {
    position: relative;
    width: 100%;
    height: 350px;
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 29, 56, 0.75);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb a {
    color: #fff8f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #53146C !important;
}

.breadcrumb span {
    color: #ffffff !important;
}

.breadcrumb span.active {
    color: #53146C !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
    }
}

@media (max-width: 576px) {
    .page-header {
        height: 250px;
    }
    .page-title {
        font-size: 36px;
    }
}






/*new code css footer*/
/* Gallery images zoom motion */
.gallery-grid img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    cursor: pointer;
}

/* Quick links arrow icon move on hover */
.footer-links a i {
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(5px);
}

















/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: #f0fbfc;
    padding: 45px 30px;
    text-align: center;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.service-card .icon {
    font-size: 45px;
    color:  #804C8C !important;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #181d38;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

/* حالت فعال یا هور (کارت فیروزه‌ای متناسب با تصویر) */
.service-card.active,
.service-card:hover {
    background-color:  #804C8C; /* رنگ فیروزه‌ای روشن مطابق تصویر دوم */
}

.service-card.active .icon,
.service-card.active h3,
.service-card.active p,
.service-card:hover .icon,
.service-card:hover h3,
.service-card:hover p {
    color: #0b5961; /* رنگ متن تیره روی زمینه فیروزه‌ای روشن */
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
























/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* استایل تصویر */
.about-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* استایل متون و عناوین */
.section-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    color:  #804C8C !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-subtitle .line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color:  #804C8C !important;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #181d38;
    margin-bottom: 20px;
}

.about-content .description {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* لیست ویژگی‌ها (شبکه ۲ ستونه) */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin: 25px 0 35px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555555;
    font-size: 15px;
    font-weight: 500;
}

.feature-item i {
    color:#53146C !important;
    font-size: 14px;
}

/* دکمه Read More */
.btn-read-more {
    display: inline-block;
    background-color:  #804C8C !important;
    color: #ffffff;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.btn-read-more:hover {
    background-color:  #804C8C;
}

/* دکمه انتقال به بالای صفحه */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color:  #804C8C;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 99;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #804C8C;
}

/* طراحی واکنش‌گرا (Responsive) */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 28px;
    }
}



















/* Instructors Section Styles */
.instructors-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color:  #804C8C !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header .subtitle .line {
    width: 30px;
    height: 2px;
    background-color:  #804C8C !important;
}

.section-header .title {
    font-size: 36px;
    font-weight: 800;
    color: #181d38;
}

/* Grid Layout */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Instructor Card Styling */
.instructor-card {
    background-color: #f0fbfc;
    text-align: center;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
}

.instructor-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.instructor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background-color:  #804C8C !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color:  #804C8C !important;
}

.instructor-info {
    padding: 30px 15px 20px 15px;
}

.instructor-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #181d38;
    margin-bottom: 5px;
}

.instructor-info p {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .instructors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .instructors-grid {
        grid-template-columns: 1fr;
    }
}




















/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
    font-family: 'Heebo', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #53146C !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header .subtitle .line {
    width: 30px;
    height: 2px;
    background-color: #53146C !important;
}

.section-header .title {
    font-size: 36px;
    font-weight: 800;
    color: #181d38;
}

/* Contact Grid Layout (3 Columns) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 24px;
    align-items: stretch;
}

/* Left Column: Get In Touch */
.info-title {
    font-size: 22px;
    font-weight: 700;
    color: #181d38;
    margin-bottom: 12px;
}

.info-desc {
    font-size: 14px;
    color: #606060 !important;
    line-height: 1.6;
    margin-bottom: 25px;
}

.info-desc a {
    color: #53146C !important;
    text-decoration: none;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: #53146C !important;
    color: #606060 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #53146C !important;
    margin-bottom: 3px;
}

.info-text p {
    font-size: 14px;
    color: #606060 !important;
    margin: 0;
}

/* Middle Column: Map */
.contact-map-col {
    min-height: 350px;
    border-radius: 2px;
    overflow: hidden;
}

.contact-map-col iframe {
    width: 100%;
    height: 100%;
}

/* Right Column: Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #fff8f0 !important;
    border-radius: 2px;
    font-size: 14px;
    color: #606060 !important;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #53146C !important;
}

.btn-submit {
    background-color: #804C8C !important;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 2px;
    width: 100%;
}

.btn-submit:hover {
    background-color: #53146C !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color: #53146C !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 99;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #53146C !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-map-col {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* contact new code style*/
/* Contact info icon hover animation */
.info-item {
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    background-color: #804C8C !important;
}