/* Main Colors */
:root {
    --primary-color: #3754A4;
    --primary-hover: #2d4680;
    --text-dark: #333333;
    --text-light: #757575;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

/* Bootstrap Overrides */
.bg-primary {
    background-color: #3754A4 !important;
}

/* Base Styles */
body {
    font-family: 'Montserrat', 'Tajawal', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-hover);
}

.btn {
    font-weight: 500;
    padding: 0.4rem 2.2rem !important;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, 
.btn-outline-primary:focus {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.navbar-brand img {
    height: 54px;
}

.main-nav .nav {
    gap: 0.5rem;
}

.main-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color);
}

.main-nav .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Button Styles */
.rounded {
    border-radius: 8px !important;
}

.btn-outline-primary.border-2 {
    font-weight: 500;
}

/* Mobile Menu Styles */
.offcanvas {
    max-width: 300px;
}

.offcanvas-body .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .offcanvas-body {
        padding-top: 1rem;
    }
}

/* Language Selector */
.dropdown-toggle::after {
    display: none;
}

.language-selector .btn {
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section Styles */
.hero-section {
    background-color: #F1F6FD;
    padding: 8rem 0 5rem !important;
}

.hero-title {
    font-size: 56px !important;
    font-weight: 600 !important;
    color: #222222;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #888888;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-section .btn {
    font-weight: 500;
    min-width: 180px;
}

.hero-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-section .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-section .btn-primary:hover, 
.hero-section .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.hero-section .btn-outline-primary:hover, 
.hero-section .btn-outline-primary:focus {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 992px) {
    .hero-section {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-section .col-lg-6.text-end {
        margin-top: 2rem;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Services Section Styles */
.services-section {
    padding: 6rem 0 !important; 
    background-color: #ffffff !important;
}

.section-title {
    font-weight: 600;
    margin-bottom: 3rem;
    color: #222222 !important;
}

.service-card {
    transition: transform 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    background-color: #E0ECF9;
    box-shadow: none;
    border: none;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-img {
    max-height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3754A4;
    margin-bottom: 1rem;
}

.service-text {
    color: #222222;
    margin-bottom: 1.5rem;
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Why Choose Section Styles */
.why-choose-section {
    padding: 6rem 0;
    position: relative;
}

.section-title-container {
    margin-bottom: 3.5rem !important;
    position: relative !important;
}

.why-choose-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2rem;
    z-index: 2;
}

.yamamah-text {
    position: relative;
    display: inline-block;
}

.oval-container {
    position: absolute;
    top: -33px !important;
    left: -11px !important;
    right: -60px !important;
    bottom: -20px !important;
    z-index: -1;
}

.oval-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dots-pattern {
    position: absolute !important;
    width: 100px !important;
    height: auto !important;
    right: -50px !important;
    top: 280px !important;
    z-index: -1 !important;
    display: block !important;
    pointer-events: none !important;
}

/* Target specifically Vector.png */
.why-choose-section .dots-pattern {
    position: absolute !important;
    right: -50px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 100px !important;
    z-index: -1 !important;
}

.dots-pattern img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: none !important;
    opacity: 0.8 !important;
}

.image-grid {
    margin-top: 75px !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
}

.image-grid .row:first-child .image-wrapper {
    height: 197px !important;
    min-height: 197px !important;
    max-height: 197px !important;
}

.image-grid .row:first-child img {
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

.image-grid .row:last-child .image-wrapper {
    height: 339px !important;
    min-height: 339px !important;
    max-height: 339px !important;
}

.image-grid .row:last-child img {
    min-height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

.feature-card {
    background-color: #E0ECF9 !important;
    transition: transform 0.3s ease;
    height: 100%;
    border-radius: 10px;
    padding: 16px !important;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 24px !important;
    height: 24px !important;
    background-color: #3754A4 !important;
    color: white !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
    margin-right: 8px !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
}

.feature-title {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #3754A4 !important;
    margin-bottom: 10px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 24px !important;
}

.feature-icon {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.feature-text {
    color: #222;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.why-choose-section img {
    border-radius: 10px;
    height: auto;
    object-fit: cover;
}

.why-choose-section .oval-img,
.why-choose-section .dots-pattern img,
.why-choose-section .vector-dots img {
    border-radius: 0;
}

@media (max-width: 992px) {
    .section-title-container {
        margin-bottom: 2.5rem;
    }
    
    .why-choose-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .why-choose-section .col-lg-6:first-child {
        margin-bottom: 3rem;
    }
    
    .oval-container {
        top: -15px;
        left: -15px;
        right: -40px;
        bottom: -10px;
    }
    
    .why-choose-section .dots-pattern {
        width: 80px !important;
        right: 0 !important;
        top: auto !important;
        bottom: 40px !important;
        transform: none !important;
    }
    
    .feature-card {
        margin-bottom: 15px;
    }
}

/* Image Wrapper Styles */
.image-wrapper {
    overflow: hidden !important;
    border-radius: 10px !important;
    height: 100% !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
}

.vector-dots {
    position: absolute !important;
    left: -80px !important;
    top: 40px !important;
    width: 100px !important;
    height: auto !important;
    z-index: -1 !important;
    display: block !important;
    pointer-events: none !important;
}

.vector-dots img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: none !important;
    animation: fadeInOut 8s ease-in-out infinite;
}

@media (max-width: 992px) {
    .vector-dots {
        left: auto !important;
        right: 0 !important;
        top: auto !important;
        bottom: 20px !important;
        width: 80px !important;
    }
    
    /* Update mobile positioning for dots */
    .why-choose-section .col-lg-6:first-child .vector-dots {
        right: 10px !important;
        left: auto !important;
        top: auto !important;
        bottom: 10px !important;
    }
    
    .why-choose-section .col-lg-6:last-child .dots-pattern {
        right: 10px !important;
        top: auto !important;
        bottom: 40px !important;
    }
}

/* Vector dots positioning for left side (behind images) */
.why-choose-section .col-lg-6:first-child .vector-dots {
    position: absolute !important;
    left: -20px !important;
    top: 150px !important;
    width: 120px !important;
    z-index: -1 !important;
}

/* Vector dots positioning for right side */
.why-choose-section .col-lg-6:last-child .dots-pattern {
    position: absolute !important;
    right: -30px !important;
    top: 30% !important;
    width: 120px !important;
    z-index: -1 !important;
}

/* Courses Slider Styles - Updated */
.courses-slider {
    position: relative;
    padding-bottom: 30px;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px !important;
}

.courses-title-container {
    position: relative;
}

.courses-title-badge {
    background-color: #F5B945;
    color: #ffffff;
    font-weight: 500;
    padding: 6px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.courses-title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    position: relative;
    margin: 0;
}

.courses-title .highlight {
    color: #F5B945;
    position: relative;
}

.courses-title .highlight::after {
    content: none;
}

.courses-title .oval-container {
    position: absolute;
    top: -33px !important;
    left: -10px !important;
    right: -25px !important;
    bottom: -25px !important;
    z-index: -1;
    width: auto;
    height: auto;
    pointer-events: none;
}

.courses-title .oval-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-width: 160px;
    max-width: none;
}

.courses-navigation {
    display: flex;
    gap: 10px;
}

.courses-nav-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3754A4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 10px rgba(55, 84, 164, 0.2);
    transition: all 0.3s ease;
}

.courses-nav-button:hover {
    background-color: #2d4680;
}

.courses-nav-button i {
    font-size: 20px;
}

.courses-slider .swiper-button-next,
.courses-slider .swiper-button-prev {
    display: none; /* Hide default swiper navigation */
}

/* Course Card Updated Styles */
.course-card {
    height: 100%;
    transition: transform 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f8f9fa;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    background-color: #F1F6FD !important;
    padding: 20px !important;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.course-lessons, .course-duration {
    display: flex;
    align-items: center;
}

.course-lessons i, .course-duration i {
    margin-right: 5px;
    color: #3754A4;
}

.course-points {
    color: #3754A4 !important;
    font-weight: 500;
}

.course-students {
    display: flex;
    align-items: center;
    color: #3754A4 !important;
}

.course-students i {
    margin-right: 5px;
    margin-left: 5px;
    color: #3754A4 !important;
}

.course-rating {
    color: #F5B945;
    font-weight: 500;
}

.course-rating .stars {
    display: inline-block;
    color: #F5B945;
}

.course-rating span {
    color: #888888;
    font-weight: normal;
}

@media (max-width: 768px) {
    .courses-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .courses-navigation {
        margin-top: 20px;
        align-self: center;
    }
}

/* تعديلات إضافية لبطاقات الدورات */
.course-content .d-flex span {
    color: #3754A4; /* لون اسم المحاضر وعدد الفصول */
    font-weight: 500;
}

.course-content .d-flex i {
    color: #3754A4; /* لون أيقونة الفصول والمحاضر */
}

.course-title {
    color: #222222 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4;
}

.course-students,
.course-points {
    color: #3754A4 !important;
    font-weight: 500;
}

.course-students i,
.course-points i {
    color: #3754A4 !important;
}

/* Instructors Section Styles */
.instructors-section {
    padding: 65px 0 !important;
    position: relative;
    background-color: #fff;
}

/* Header Styles */
.instructor-badge {
    background-color: #AEB99D;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.instructors-header .section-title {
    font-size: 34px;
    font-weight: 600;
    color: #0E2A46 !important;
    margin-bottom: 20px;
}

.section-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Button Styles */
.btn-maroon {
    background-color: #8D1828 !important;
    border-color: #8D1828 !important;
    color: #fff;
}

.btn-maroon:hover {
    background-color: #8C1023;
    border-color: #8C1023;
    color: #fff;
}

/* Instructors Grid */
.instructors-grid {
    position: relative;
    padding: 40px 0;
}

.instructor-star {
    position: absolute;
    top: -20px !important;
    left: -15% !important;
    transform: translateX(-50%);
    z-index: 2;
    width: 80px;
}

.instructor-card {
    position: relative;
    background-color: transparent;
    overflow: hidden;
    height: 100%;
    border-radius: 10px;
    box-shadow: none;
    border: 6px solid #CDD4C2;
    padding: 0;
    background-color: #CDD4C2;
}

.instructor-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.instructor-info {
    opacity: 90% !important;
    position: absolute;
    bottom: 5%;
    left: 5%;
    right: 5%;
    background-color: white;
    padding: 10px 15px;
    border-radius: 2px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.instructor-name-role {
    flex: 1;
}

.instructor-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 0;
    line-height: 1.2;
}

.instructor-role {
    color: #A4132A;
    font-size: 13px;
    margin-bottom: 0;
    font-weight: 400;
}

.instructor-dot {
    width: 30px;
    height: 30px;
    background-color: #8D1828;
    border-radius: 50%;
    margin-left: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.instructor-dot i {
    color: white;
    font-size: 14px;
}

.instructor-dot:hover {
    transform: scale(1.1);
    background-color: #A4132A;
}

/* Adjust dots pattern */
.dots-pattern {
    position: absolute;
    bottom: -10%;
    right: -5%;
    z-index: -1;
    opacity: 0.7;
    width: 100px;
    height: auto;
}

/* Adjust star position */
.instructor-star {
    position: absolute;
    top: -40px;
    left: -10%;
    transform: translateX(-50%);
    z-index: 2;
    width: 60px;
}

@media (max-width: 992px) {
    .instructors-section {
        padding: 60px 0;
    }
    
    .instructors-header {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .instructor-star {
        top: -30px;
        width: 60px;
    }
}

/* تنسيقات النقاط الخضراء في أسفل يسار القسم */
.dots-grid {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1;
    backface-visibility: hidden;
    transform: translateZ(0);
    /* إزالة التحريك من المجموعة بأكملها */
    /* animation: float 8s ease-in-out infinite; */
}

/* تعريف حركة الظهور والاختفاء للنقاط */
@keyframes dotFadeInOut {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.dots-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    /* إزالة حركة التعويم */
}

/* حركات مختلفة لكل صف مع الظهور والاختفاء */
.dots-row:nth-child(1) .dot {
    animation: dotFadeInOut 4s ease-in-out infinite;
    animation-delay: 0s;
}

.dots-row:nth-child(2) .dot {
    animation: dotFadeInOut 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.dots-row:nth-child(3) .dot {
    animation: dotFadeInOut 4s ease-in-out infinite;
    animation-delay: 1s;
}

.dots-row:nth-child(4) .dot {
    animation: dotFadeInOut 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

.dots-row:nth-child(5) .dot {
    animation: dotFadeInOut 4s ease-in-out infinite;
    animation-delay: 2s;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #657452;
    border-radius: 50%;
    display: inline-block;
    transition: opacity 0.3s ease;
    will-change: opacity;
    opacity: 0.3;
}

/* إضافة تأثير إضافي للنقاط عند التحويم */
.dots-grid:hover .dot {
    opacity: 0.8;
}

/* تأكيد أن القسم يحتوي على النقاط بشكل صحيح */
.instructors-section {
    position: relative;
    overflow: hidden;
    min-height: 600px; /* ضمان ارتفاع كافٍ للقسم */
}

/* تعريف تأثير الظهور والاختفاء التدريجي */
@keyframes fadeInOut {
    0% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

/* تعديل موقع صورة النقاط لتظهر بشكل أفضل */
.why-choose-section .vector-dots {
    animation: simpleFade 6s ease-in-out infinite;
}

/* تعريف تأثير الظهور والاختفاء البسيط */
@keyframes simpleFade {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* إضافة تأثير التلاشي والظهور للنقاط فقط دون تغيير الحجم */
.feature-card {
    position: relative;
    overflow: visible;
}

.feature-card::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #3754A4;
    border-radius: 50%;
    right: -10px;
    top: 50%;
    animation: simplePulse 3s infinite;
    display: none; /* Hide the blue dots */
}

.feature-card:nth-child(odd)::before {
    animation-delay: 1s;
}

.feature-card:nth-child(even)::before {
    animation-delay: 2s;
}

/* تعريف تأثير الظهور والاختفاء البسيط للنقاط */
@keyframes simplePulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* FAQs Section Styles */
.faq-section {
    padding: 80px 0 !important;
    position: relative;
    background-color: #fff;
    overflow: visible;
    z-index: 1;
}

.faq-curve-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    /* background-image: url('../images/highlight.png'); */
    background-size: 40% auto;
    background-repeat: no-repeat;
    background-position: top right;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.btn-more-info {
    background-color: #F2A221;
    color: #ffffff;
    font-weight: 500;
    padding: 5px 24px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-more-info:hover {
    background-color: #e6a935;
    color: #ffffff;
}

.faq-item {
    border: 3px solid #3754A4;
    border-radius: 24px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background-color: #3754A4;
    border-color: #3754A4;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #222222;
    flex: 1;
}

.faq-item.active .faq-question {
    color: #ffffff;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #3754A4;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background-color: #ffffff;
    color: #3754A4;
}

.faq-toggle i {
    font-size: 14px;
}

.faq-answer {
    padding: 5px 20px 20px;
    color: #666666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    color: #ffffff;
}

@media (max-width: 767px) {
    .faq-section {
        padding: 60px 0 !important;
    }
    
    .faq-question {
        font-size: 15px;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
    }
}

/* Orange dots pattern in bottom right */
.faq-dots-grid {
    position: absolute;
    bottom: -50px;
    right: 10px;
    z-index: 99;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 13px;
    grid-row-gap: 30px;
    pointer-events: none;
}

.faq-dot {
    width: 8px;
    height: 8px;
    background-color: #F2A221;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.9;
    animation: faqDotPulse 3s infinite ease-in-out;
    position: relative;
    z-index: 99;
    pointer-events: none;
}

/* Add different animation delays to create a wave effect */
.faq-dot:nth-child(4n+1) {
    animation-delay: 0s;
}
.faq-dot:nth-child(4n+2) {
    animation-delay: 0.3s;
}
.faq-dot:nth-child(4n+3) {
    animation-delay: 0.6s;
}
.faq-dot:nth-child(4n+4) {
    animation-delay: 0.9s;
}

/* Define the pulsing animation */
@keyframes faqDotPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments for dots */
@media (max-width: 767px) {
    .faq-dots-grid {
        bottom: -25px;
        right: 10px;
        grid-column-gap: 10px;
        grid-row-gap: 25px;
        z-index: 99;
    }
    
    .faq-dot {
        width: 6px;
        height: 6px;
        z-index: 99;
    }
}

/* Subscribe Section Styles */
.subscribe-section {
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.subscribe-container {
    background-image: url('../images/subscribe.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    background-color: #5C7154; /* Fallback color in case the image doesn't load */
}

.subscribe-title {
    color: #ffffff;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

.subscribe-subtitle {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 400;
}

.subscribe-form .input-group {
    max-width: 550px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 56px;
}

.subscribe-form .form-control {
    border: none;
    padding: 15px 20px;
    height: 56px;
    font-size: 15px;
    color: #555;
    background-color: transparent;
}

.subscribe-form .form-control:focus {
    box-shadow: none;
    outline: none;
}

.subscribe-form .form-control::placeholder {
    color: #999;
    opacity: 0.8;
}

.btn-subscribe {
    background-color: #F2A221;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 30px;
    border: none;
    transition: all 0.3s ease;
    border-radius: 0 8px 8px 0;
    height: 56px;
}

.btn-subscribe:hover {
    background-color: #e6a935;
    color: #ffffff;
}

@media (max-width: 767px) {
    .subscribe-section {
        padding: 60px 0 !important;
    }
    
    .subscribe-container {
        padding: 50px 15px;
    }
    
    .subscribe-title {
        font-size: 28px;
    }
    
    .subscribe-subtitle {
        font-size: 14px;
    }
    
    .subscribe-form .input-group {
        display: flex;
        flex-direction: column;
    }
    
    .subscribe-form .btn-subscribe {
        border-radius: 8px;
        margin-top: 10px;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #3754A4;
    color: #ffffff;
    padding: 80px 0 40px !important;
}

.footer-logo img {
    height: 75px !important;
    width: auto;
}

.footer-tagline {
    font-size: 16px;
    font-weight: 400;
    margin-top: 15px;
    max-width: 300px;
    line-height: 1.6;
}

.footer-btn {
    background-color: #657452;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
}

.footer-btn:hover {
    background-color: #556243;
    color: #ffffff;
}

.footer-heading {
    margin-top: 25px !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
    font-weight: 400 !important;
}

.footer-links a:hover {
    opacity: 0.8;
    color: #ffffff;
}

.footer-social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social-links li {
    margin-bottom: 10px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-social-links a:hover {
    opacity: 0.8;
}

.footer-social-links img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    margin-left: 12px;
    object-fit: contain;
}

.footer-divider {
    height: 2px;
    background-color: #ffffff;
    margin: 30px 0;
}

.footer-copyright,
.footer-credits {
    color: #ffffff;
    font-size: 14px;
}

.footer-credits {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
}

.footer-credits span {
    font-size: 18px;
    font-weight: 400;
    white-space: nowrap;
}

.footer-credits img {
    height: 40px;
    width: auto;
    margin-left: 10px;
}

@media (max-width: 767px) {
    .site-footer {
        padding: 50px 0 30px;
    }
    
    .footer-credits {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-copyright {
        text-align: center;
    }
} 