

body {
    font-family: 'amiri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    direction: rtl;
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

@font-face {
    font-family: 'Hacen Sahafa';
    src: url('../fonts/hacen_sahafa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'amiri';
    src: url('../fonts/amiri/Amiri-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'amiri', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Hacen Sahafa', 'amiri', sans-serif !important;
    font-weight: bold;
}

.navbar-brand,
.nav-link {
    font-family: 'Hacen Sahafa', 'amiri', sans-serif !important;
}

.btn-register,
.btn-join,
.btn-outline-light,
.btn {
    font-family: 'amiri', sans-serif !important;
}

input,
textarea,
select,
.form-control {
    font-family: 'amiri', sans-serif !important;
}

.footer p,
.footer ul li a,
.footer .social-links a {
    font-family: 'amiri', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Hacen Sahafa', 'amiri', sans-serif;
    font-weight: bold;
}

/* Navbar styles - ÃƒËœÃ‚Â£ÃƒËœÃ‚Â³ÃƒËœÃ‚Â§ÃƒËœÃ‚Â³Ãƒâ„¢Ã…Â ÃƒËœÃ‚Â§ÃƒËœÃ‚Âª ÃƒËœÃ‚Â´ÃƒËœÃ‚Â±Ãƒâ„¢Ã…Â ÃƒËœÃ‚Â· ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚ÂªÃƒâ„¢Ã¢â‚¬Â Ãƒâ„¢Ã¢â‚¬Å¡Ãƒâ„¢Ã¢â‚¬Å¾ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 80px;
    z-index: 1030;
    background-color: #C1272D;
    padding: 5px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

/* Container style - ÃƒËœÃ‚ÂªÃƒâ„¢Ã¢â‚¬Â ÃƒËœÃ‚Â³Ãƒâ„¢Ã…Â Ãƒâ„¢Ã¢â‚¬Å¡ ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â­ÃƒËœÃ‚Â§Ãƒâ„¢Ã‹â€ Ãƒâ„¢Ã…Â ÃƒËœÃ‚Â© */
.navbar > .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand style - ÃƒËœÃ‚ÂªÃƒâ„¢Ã¢â‚¬Â ÃƒËœÃ‚Â³Ãƒâ„¢Ã…Â Ãƒâ„¢Ã¢â‚¬Å¡ ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â´ÃƒËœÃ‚Â¹ÃƒËœÃ‚Â§ÃƒËœÃ‚Â± */
.navbar-brand {
    margin-right: 30px;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    display: block;
}

/* Navigation menu - Ãƒâ„¢Ã¢â‚¬Å¡ÃƒËœÃ‚Â§ÃƒËœÃ‚Â¦Ãƒâ„¢Ã¢â‚¬Â¦ÃƒËœÃ‚Â© ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚ÂªÃƒâ„¢Ã¢â‚¬Â Ãƒâ„¢Ã¢â‚¬Å¡Ãƒâ„¢Ã¢â‚¬Å¾ */
.navbar-collapse {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    margin: 0 auto !important;
    gap: 20px;
}

.nav-link {
    color: white !important;
    font-size: 23px;
    padding: 8px 15px !important;
}

/* Register button - ÃƒËœÃ‚Â²ÃƒËœÃ‚Â± ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚ÂªÃƒËœÃ‚Â³ÃƒËœÃ‚Â¬Ãƒâ„¢Ã…Â Ãƒâ„¢Ã¢â‚¬Å¾ */
.btn-register {
    margin-left: 30px !important;
    padding: 12px 30px;
    background-color: #28a745;
    color: white !important;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Mobile styles - ÃƒËœÃ‚ÂªÃƒâ„¢Ã¢â‚¬Â ÃƒËœÃ‚Â³Ãƒâ„¢Ã…Â Ãƒâ„¢Ã¢â‚¬Å¡ÃƒËœÃ‚Â§ÃƒËœÃ‚Âª ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â´ÃƒËœÃ‚Â§ÃƒËœÃ‚Â´ÃƒËœÃ‚Â§ÃƒËœÃ‚Âª ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚ÂµÃƒËœÃ‚ÂºÃƒâ„¢Ã…Â ÃƒËœÃ‚Â±ÃƒËœÃ‚Â© */
@media (max-width: 991px) {
    .navbar > .container {
        padding: 0 15px;
    }
    
    .navbar-brand {
        margin-right: 0;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #C1272D;
        padding: 15px;
        flex-direction: column;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .btn-register {
        margin: 10px auto !important;
        display: table;
    }
}

.nav-link:hover, 
.nav-link.active {
    color: #28a745 !important;
    transform: none !important;
}

.navbar.scrolled {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.navbar-brand img:hover {
    transform: none !important;
}

.navbar-brand, .nav-link, .btn-register {
    color: white;
}

.nav-link {
    font-family: 'Hacen Sahafa', sans-serif;
    font-size: 20px;
    padding: 10px 15px !important;
    transition: none;
    transform: none;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-nav {
    margin-right: 0 !important;
    margin-left: auto !important;
    padding-left: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-nav .nav-item {
    margin-left: 15px;
}

.nav-link:hover, .nav-link.active {
    color: green !important;
}

.btn-register,
.btn-join {
    background-color: #28a745;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: 'Hacen Sahafa', 'amiri', sans-serif; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-register:hover, .btn-register:focus,
.btn-join:hover, .btn-join:focus {
    background-color: #ffffff;
    color: #28a745 !important;
    border-color: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.2);
}

.btn-register:active {
    background-color: #218838;
    color: white !important;
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-toggler:hover, .navbar-toggler:focus {
    background-color: #006400;
}

.navbar-brand, 
.navbar-nav,
.btn-register {
    position: relative;
    z-index: 10000; 
}

.navbar,
.navbar *,
.navbar.scrolled,
.navbar-brand img,
.nav-link {
    transition: none !important;
    transform: none !important;
    animation: none !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    padding-top: 80px; 
}

.container {
    width: 100%;
    max-width: 1400px;
    /* padding-left: 15px !important; */
    /* padding-right: 15px !important; */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.navbar {
    width: 100%;
    max-width: 100vw;
    padding: 10px 0;
}

.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 50px;
    margin-top: -90px;
    background: linear-gradient(135deg, #5d8d57 0%, #3c6e37 100%);
    color: white;
    text-align: center;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    padding: 20px 10px;
    padding-top: 100px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    line-height: 0.5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    text-align: center;
    width: 100%;
}

.hero-section p {
    font-size: 2.0rem;
    margin: 0 auto 25px;
    max-width: 900px;
    line-height: 1.8;
    opacity: 0.9;
    text-align: center;
}

.hero-section .btn-register {
    margin: 20px auto 0;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 350px;
        padding: 80px 0 40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
        padding: 60px 20px 30px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
        padding: 0;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0 40px;
        margin-top: -70px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 30px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 40px 0 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0 15px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
}

.footer {
    background: linear-gradient(to right, #C1272D, #8f1c21);
    color: white;
    text-align: center;
    padding: 30px 0;
    position: relative;
}


.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    width: 100%;
    object-fit: cover;
    /* background-color: #f8f9fa; */
}

.card-body {
    /* padding: 1.5rem; */
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid #28a745;
}

.card-title {
    color: #C1272D;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.4;
}

.card-text {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card .btn {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.card .btn:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}


.row > [class*="col-"] {
    padding: 15px;
}


@media (max-width: 768px) {
    .card-img-top {
        height: 180px;
    }

    .card-body {
        padding: 1.2rem;
    }

    .card-title {
        font-size: 1.2rem;
    }
    
    .row > [class*="col-"] {
        padding: 10px;
    }
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-body {
    /* padding: 25px; */
    background: white;
}

.card-title {
    color: #C1272D;
    /* font-size: 1.4rem; */
    margin-bottom: 15px;
}

#experts {
    background-color: #e6f7ff;
    padding: 80px 0;
    text-align: center;
    color: #000000;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: -30px;
}

#experts h2 {
    color: #C1272D;
    margin-top: 0px;
    margin-bottom: 20px;
}

#programs {
    background-color: #fff3e6;
    /* padding: 80px 0; */
    text-align: center;
    background: #fff;
}

#programs h2 {
    margin-top: 0px;
    margin-bottom: 20px;
    color: #C1272D;
}


.swiper-wrapper {
    display: flex;
    align-items: center;
}

#regions {
        background: #c8f5d2;
        /* padding: 80px 0; */
        text-align: center;
}

#videos {
        background: #c8f5d2;
        padding: 40px 0;
        text-align: center;
}

#articles {
    background-color: #ffd9d9;
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, #fff3e6 0%, #ffe9cc 100%);
}

#regions h2 {
    margin-top: 0px;
    margin-bottom: 20px;
    color: #C1272D;
}


#regions .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -2px;
    margin-left: -2px;
    gap: 0;
}

#regions .col-md-4 {
    padding: 10px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

#regions .card {
    height: 100%;
    margin: 0;
}

#regions .row.mt-4 {
    margin-top: 0 !important;
}

@media (max-width: 991px) {
    #regions .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    #regions .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 20px;
    }

    .btn-register {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .navbar {
        min-height: 80px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #C1272D;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin: 0 !important;
    }

    .nav-item {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    .btn-register {
        margin: 10px auto;
        display: inline-block;
    }

    .navbar-brand img {
        height: 60px;
    }

    .navbar {
        height: auto;
        min-height: 80px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #C1272D;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand,
    .btn-register {
        position: static;
        transform: none !important;
    }

    .navbar-brand img {
        height: 80px;
    }

    .navbar-collapse {
        background-color: #C1272D;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        transition: none !important;
    }

    .navbar-brand,
    .btn-register {
        position: static;
    }

    .navbar-nav {
        margin: 15px 0 !important;
        text-align: center;
    }

    .nav-item {
        text-align: center;
        margin: 5px 0;
    }

    .navbar-collapse {
        background-color: #C1272D;
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .navbar-nav {
        text-align: center;
        margin: 0;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    .btn-register {
        top: 0; 
        margin: 10px auto;
        display: table;
    }

    .navbar-toggler {
        border: 2px solid white;
        padding: 8px;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    body {
        padding-top: 70px;
    }

    .hero-section {
        padding-top: 40px;
        margin-top: 0;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .hero-section p {
        font-size: 1rem;
        padding: 0 15px;
        margin-top: 20px;
    }

    .navbar {
        height: auto;
        min-height: 50px;
    }

    .navbar-brand img {
        height: 80px; 
    }

    .navbar > .container {
        justify-content: center;
    }

    .navbar-brand,
    .navbar-nav,
    .btn-register {
        position: static;
        transform: none;
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        padding: 15px 0 !important;
        right: 50px;
        position: static;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }

    .navbar {
        min-height: 60px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero-section {
        padding-top: 30px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
        padding: 0 10px;
    }

    .hero-section p {
        font-size: 1rem;
        padding: 0 10px;
    }
}

.section-title {
    position: relative;
    display: inline-block;
    padding: 0 30px;
    margin-bottom: 40px;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #28a745, #1a752f);
}

.section-title::before {
    right: 100%;
}

.section-title::after {
    left: 100%;
}

#experts h2,
#programs h2,
#regions h2 {
    color: #C1272D;
    position: relative;
    display: inline-block;
    margin: 0 auto 40px;
}

@media (max-width: 576px) {
    .section-title {
        padding: 0 20px;
    }
    
    .section-title::before,
    .section-title::after {
        width: 30px;
    }
}

.footer h4 {
    font-family: 'Hacen Sahafa', sans-serif;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.footer p,
.footer ul li a,
.footer .social-links a {
    font-family: 'amiri', sans-serif;
    font-size: 1rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer .social-links a {
    font-size: 1.2rem;
    color: white;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #28a745;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .nav-link {
        padding: 10px 15px !important;
    }
}

.content-section {
    background-color: #f8f9fa;
    padding: 0px 0;
    position: relative;
    overflow: hidden;
}

.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/pattern.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
}

.content-section .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.content-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.content-section .card img {
    height: 200px;
    width: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 10px;
    transition: transform 0.5s ease;
}

.content-section .card-img-top {
    height: 250px; 
    width: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 15px;
    transition: transform 0.3s ease;
}

.content-section .card:hover .card-img-top {
    transform: scale(1.05);
}

.content-section .card-body {
    padding: 1.8rem;
    background: white;
    border-top: 4px solid #28a745;
}

.content-section .card-title {
    color: #C1272D;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.content-section .card-text {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.content-section .btn-primary {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.content-section .btn-primary:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.content-section .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

.content-section .row {
    margin: -20px -10px;
}

.content-section [class*="col-"] {
    padding: 20px 25px;
}


.content-section .container {
    max-width: 1400px;
    padding: 0 30px;
}

.content-section .row {
    /* margin: 30px; */
    margin-left: 30px;
    margin-right: 30px;
    /* margin-top: 10px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* background: #c75d5d; */
    /* padding: 10px; */
}

.content-section [class*="col-"] {
    padding: 20px;
    display: flex;
}

.content-section .card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.content-section .card-img-wrapper {
    width: 100%;
    padding: 15px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-section .card img {
    max-width: 100%;
    /* height: 100%; */
    object-fit: contain;
    padding: 0;
    background: #FFF;
}

.content-section .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

@media (min-width: 992px) {
    .content-section .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .content-section .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .content-section .container {
        padding: 0;
    }
    
    .content-section [class*="col-"] {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .content-section .card-img-top {
        height: 200px;
    }
    
    .content-section .card {
        max-width: 320px;
    }

    .content-section .card-body {
        padding: 1.5rem;
    }
}


.content-section .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.content-section .card-img-top {
    height: 250px;
    width: 100%;
    object-fit: contain;
    background-color: #ffffff; 
    padding: 15px;
    transition: transform 0.3s ease;
}

.content-section .card-body {
    padding: 1.8rem;
    background: #ffffff;
    border-top: 4px solid #28a745;
}


.navbar {
    height: auto;
    min-height: 90px;
}

.navbar > .container {
    max-width: 1370px;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 10px;
}

.nav-link {
    padding: 8px 12px !important;
    font-size: 26px;
    white-space: nowrap;
    color: white !important;
}


@media (max-width: 1200px) {

    .navbar-collapse {
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        background-color: #C1272D;
        padding: 0;
        grid-column: 1 / -1;
        grid-row: 2;
        box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
}

.navbar {
    height: auto;
    min-height: 0px;
}

.navbar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding: 0 30px;
    position: relative;
}

.navbar-brand {
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    display: block;
}

.navbar-collapse {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto !important;
    padding: 0 !important;
    position: static;
}

.nav-item {
    margin: 0;
}

.nav-link {
    padding: 8px 5px !important;
    font-size: 23px;
    white-space: nowrap;
    color: white !important;
}

.btn-register {
    flex: 0 0 auto;
    margin-right: 0;
    white-space: nowrap;
}


@media (max-width: 991px) {
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 240px;
    width: 100%;
    object-fit: cover;
    /* background-color: #f8f9fa; */
}

.card-body {
    /* padding: 1.5rem; */
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid #28a745;
}

.card-title {
    color: #C1272D;
    /* font-size: 1.3rem; */
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.4;
}

.card-text {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card .btn {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.card .btn:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.row {
    /* margin-left: -15px; */
    /* margin-right: -15px; */
}

[class*="col-"] {
    padding: 15px;
}

@media (min-width: 1200px) {
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .col-lg-3 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .card-img-top {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .card-body {
        padding: 1.2rem;
    }
}

.content-slider {
    margin: 0;
    padding: 50px 0 0;
    background: transparent;
}

#experts {
    background: linear-gradient(135deg, #ebf9ff 0%, #e1f6ff 100%);
    padding: 40px 0;
    position: relative;
    margin-top: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#programs {
    background: linear-gradient(135deg, #fff3e6 0%, #ffe9cc 100%);
    padding: 40px 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#regions {
    /* background: linear-gradient(135deg, #e8f5e9 0%, #dcedc8 100%); */
    padding: 40px 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#28a745 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
}

#experts .section-title::after {
    background: linear-gradient(to right, #0288d1, #03a9f4);
}

#programs .section-title::after {
    background: linear-gradient(to right, #ff9800, #ffc107);
}

#regions .section-title::after {
    background: linear-gradient(to right, #4caf50, #8bc34a);
}

.section-title {
    margin-bottom: 50px;
    padding: 15px 0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #28a745, #218838);
    border-radius: 2px;
}

.section {
    position: relative;
    margin: 0;
    border: none;
}

.section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    position: relative;
    display: inline-block;
    color: #C1272D;
    font-size: 2.2rem;
    font-weight: bold;
    padding: 0 60px;
    margin-bottom: 50px;
    text-align: center;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    /* top: 60%; */
    transform: translateY(-50%);
    height: 3px;
    width: 50px;
    /* background: #28a745 !important; */
}

.section-title::before {
    right: 0;
}

.section-title::after {
    left: 0;
}

.section {
    text-align: center;
}

.section > .container {
    /* padding: 0 15px; */
}

.section > .container > h2.section-title {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title::after {
    content: none;
}

#experts .section-title::after,
#programs .section-title::after,
#regions .section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 50px;
    background: #28a745 !important;
}

.section-title {
    position: relative;
    display: inline-block;
    color: #C1272D;
    font-size: 2rem;
    font-weight: bold;
    padding: 0 90px;
    /* margin-bottom: 50px; */
    text-align: center;
}

.section-title::before,
.section-title::after {
    content: '';
    /* position: absolute; */
    /* top: 50%; */
    /* transform: translateY(-50%); */
    /* height: 4px; */
    /* width: 50px; */
    /* background: #28a745 !important; */
}

#experts .section-title::after,
#programs .section-title::after,
#regions .section-title::after {
    background: #28a745 !important;
}

.section > .container {
    text-align: center;
}

#experts h2.section-title,
#programs h2.section-title,
#regions h2.section-title {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    margin-bottom: 20px;
}


.btn-register,
.btn-join,
.btn-outline-light {
    font-family: 'amiri', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-outline-light {
    border: 2px solid white;
    color: white !important;
    background: transparent;
}

.btn-register:hover,
.btn-join:hover,
.btn-outline-light:hover {
    background: #28a745;
    border-color: #28a745;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

@media (max-width: 1400px) {
    .navbar > .container {
        grid-template-columns: 180px 1fr 140px;
        gap: 20px;
    }

    .navbar-brand img {
        height: 90px;
    }

    .nav-link {
        font-size: 21px;
        padding: 8px 10px !important;
    }

    .navbar-nav {
        right: -30px;
    }
}

@media (max-width: 1200px) {
    .navbar > .container {
        grid-template-columns: 160px 1fr 120px;
        gap: 15px;
    }

    .navbar-brand img {
        height: 80px;
    }

    .nav-link {
        font-size: 20px;
        padding: 6px 8px !important;
    }

    .navbar-nav {
        right: -20px;
    }
}

@media (max-width: 991px) {
    .navbar {
        min-height: 80px;
    }

    .navbar > .container {
        grid-template-columns: auto auto;
        padding: 10px 15px;
    }

    .navbar-brand img {
        height: 60px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #C1272D;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        right: 0;
        position: static;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }
}


.container {
    width: 100%;
    max-width: 1400px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}


.navbar > .container {
    width: 100%;
    max-width: 1400px;
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .navbar-nav {
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .card {
        margin: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .content-section [class*="col-"] {
        padding: 8px;
    }

    .row {
        margin-right: -8px;
        margin-left: -8px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #C1272D;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 15px 15px;
        z-index: 1000;
        margin: 0;
        width: 100%;
    }

    .navbar-nav {
        width: 100%;
        padding: 0 !important;
    }

    .nav-item {
        width: 100%;
        margin: 5px 0;
    }

    .nav-link {
        padding: 10px !important;
        text-align: center;
        display: block;
        width: 100%;
    }

    .btn-register {
        width: 200px;
        margin: 10px auto !important;
        display: block;
    }
}

.content-section .card {
    margin: 0;
    width: 100%;
}

.section > .container {
    /* padding: 0 15px; */
    /* width: 100%; */
    /* box-sizing: border-box; */
}

.navbar {
    min-height: 80px;
    padding: 10px 0;
}

.navbar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 15px;
}

.navbar-brand {
    flex: 0 0 auto;
    margin: 0;
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

.navbar-collapse {
    flex: 1;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: relative !important;
    top: 0 !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-nav {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    position: static;
    gap: 10px;
}

.nav-item {
    margin: 0 5px;
}

.btn-register {
    flex: 0 0 auto;
    margin: 0 !important;

}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed !important;
        top: 80px !important;
        left: 0;
        right: 0;
        background-color: #C1272D !important;
        padding: 15px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        z-index: 1000;
        display: none;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        gap: 10px;
    }

    .nav-item {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }

    .btn-register {
        margin: 10px auto !important;
    }
}


@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
        position: fixed !important;
        top: 99px !important;
        left: 0;
        right: 0;
        background-color: #C1272D !important;
        padding: 15px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        z-index: 1000;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    .navbar-collapse {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-toggler {
        display: block !important;
        border: 2px solid rgba(255, 255, 255, 0.8);
        padding: 8px;
        margin-right: 15px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .navbar-toggler:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    }
}

