:root {
    --white-color:                  #ffffff;
    --primary-color:                #1E3A8A;        
    --secondary-color:              #3D405B; /* أزرق متوسط */
    --section-bg-color:             #E0F2FE;
    --custom-btn-bg-color:          #60A5FA;
    --custom-btn-bg-hover-color:    #2563EB; /* أزرق داكن عند التمرير */
    --dark-color:                   #0F172A; /* أزرق غامق جدًا */
    --p-color:                      #717275; /* أزرق متوسط */
    --link-hover-color:             #2563EB; /* أزرق داكن عند التمرير */
    --body-font-family:             'DM Sans', sans-serif;
    --h1-font-size:                 42px;
    --h2-font-size:                 36px;
    --h3-font-size:                 28px;
    --h4-font-size:                 24px;
    --h5-font-size:                 22px;
    --h6-font-size:                 20px;
    --p-font-size:                  18px;
    --btn-font-size:                14px;
    --border-radius-large:          100px;
    --border-radius-medium:         20px;
    --border-radius-small:          10px;
    --font-weight-normal:           400;
    --font-weight-medium:           500;
    --font-weight-bold:             700;
}

main {
    background-color: var(--white-color);
    font-family: var(--body-font-family); 
}

/* Typography inside main */
main h2, main h3, main h4, main h5 {
    color: var(--dark-color);
    font-weight: var(--font-weight-medium);
}
main h6{
    color: var(--white-color);
    font-weight: var(--font-weight-medium);
}
main h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
}

main h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--font-weight-bold);
}

main h3 {
    font-size: var(--h3-font-size);
}

main h4 {
    font-size: var(--h4-font-size);
}

main h5 {
    font-size: var(--h5-font-size);
}

main h6 {
    font-size: var(--h6-font-size);
}

main p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
}

main ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
}

main a, main button {
    touch-action: manipulation;
    transition: all 0.3s;
}

main a {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
}

main a:hover {
    color: var(--link-hover-color);
}

main b, main strong {
    font-weight: var(--font-weight-bold);
}

/* Section inside main */
main .section-bg {
    background-color: var(--section-bg-color);
}

main .section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

main ::selection {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Custom Block inside main */
main .custom-btn {
    background: var(--custom-btn-bg-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    transition: all 0.3s;
    padding: 10px 20px;
}

main .custom-btn:hover {
    background: var(--custom-btn-bg-hover-color);
    color: var(--white-color);
}

main .custom-block {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 30px 20px;
}

main .custom-block-bg {
    background: var(--white-color);
}

main .custom-block-image-wrap {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

main .custom-block-image-wrap:hover .custom-block-image {
    transform: scale(1.2);
}

main .custom-block-image-wrap:hover .custom-block-icon {
    opacity: 1;
}

main .custom-block-image {
    transition: all 0.3s;
}

main .custom-block-image-wrap .custom-block-date-wrap,
main .custom-block-image-wrap .custom-btn-wrap {
    position: absolute;
    bottom: 0;
}

main .custom-block-image-wrap .custom-block-date-wrap {
    border-radius: 0;
    left: 0;
    width: 50%;
    padding: 12.30px 20px;
}

main .custom-block-image-wrap .custom-btn-wrap {
    right: 0;
    width: 50%;
}

main .custom-block-image-wrap .custom-btn {
    border-radius: 0;
    display: block;
    padding: 15px 20px;
}

main .custom-block-info {
    padding-top: 10px;
}

main .custom-block-image-wrap + .custom-block-info {
    padding-top: 20px;
}

main .custom-block-date-wrap {
    background-color: var(--primary-color);
    border-radius: var(--border-radius-medium);
    text-align: center;
    padding: 20px 30px;
}

main .custom-block-date {
    font-size: var(--h1-font-size);
}

main .custom-block-span {
    color: var(--secondary-color);
    font-weight: var(--font-weight-bold);
    min-width: 110px;
    margin-right: 10px;
}

main .custom-block-icon {
    background: var(--custom-btn-bg-color);
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: var(--h3-font-size);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s;
}

main .custom-block-icon:hover {
    background: var(--custom-btn-bg-hover-color);
    color: var(--white-color);
}

/* Events Section inside main */
main .events-section.section-bg .container > .row {
    margin-right: 5px;
    margin-left: 5px;
}

main .events-section.section-bg .container > .row .row {
    margin: auto;
}

main .events-listing-section {
    margin-bottom: 100px;
}

main .events-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-medium);
}

/* Responsive Styles inside main */
@media screen and (max-width: 991px) {
    main h1 { font-size: 36px; }
    main h2 { font-size: 28px; }
    main h3 { font-size: 22px; }
    main h4 { font-size: 20px; }
    main h5 { font-size: 18px; }
    main h6 { font-size: 16px; }

    main .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    main .events-listing-section {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 480px) {
    main .contact-info-item {
        width: 72%;
    }
}
main .custom-block{
    position: relative;
    overflow: hidden;
}
        main .particles {
            position:absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
          }