body {
    background-color: #ffffff;
    padding-top: 10rem;
}
@media (max-width: 991px) {
    body {
             padding-top: 60px;
    }
}
a {
    color: #024f9d;
    transition: 0.5s;
}
/* --- Cover Section  --- */
.cover-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cover-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: linear-gradient(to right, rgb(63 42 42 / 26%) 30%, rgb(44 44 47 / 37%) 50%, rgb(0 78 169) 100%);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cover-text {
    position: absolute;
    top: 50%;
    right: 50%; 
    transform: translate(50%, -50%); 
    text-align: right;
    color: white;
    padding: 20px;
    z-index: 10;
    width: 90%; 
    max-width: 90%;
}

.cover-text:after {
    margin: auto;
    content: '';
    position: absolute;
    width: 9%;
    height: 6px;
    background-color: var(--site1);
    left: auto;
    right: 20px;
    bottom: -10px;
}

.cover-text h1 {
    font-size: 6em;
    font-weight: bold;
    margin-bottom: -10px;
}

.cover-text p {
    font-size: 2em;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .cover-container {
        height: 300px;
    }
    .cover-text {
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        width: 100%;
        max-width: 100%;
       text-align: right;
    }
    .cover-text:after {
     right: 1.5rem;
        left: auto;
        margin: auto;
        bottom: 15px;
        height: 4px;
    }
    .cover-text h1 {
        font-size: 2em;
        margin-bottom: 0px;
    }

    .cover-text p {
        font-size: 1.2em;
    }
}

/* --- About --- */
.about-section-container {
    flex-direction: row-reverse;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 40px auto;
    gap: 40px;
}

.image-with-frame-area {
    position: relative;
    width: 50%;
    height: 500px;
    overflow: visible;
    z-index: 1;
}

.person-image {
    position: absolute;
    top: 50px;
    left: 70px;
    width: calc(100% - 100px);
    height: calc(100% - 100px);
    object-fit: cover;
    z-index: 2;
    border: solid 7px white;
     border-radius: 1rem;
}

.blue-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 100px);
    height: calc(100%);
    background: linear-gradient(to left, #0757aa 0%, #06b4df 100%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: none;
     border-radius: 1rem;
}


.text-content-area {
    width: 50%;
    padding: 20px;
    text-align: right;
}

.text-content-area h2 {
    font-size: 2.5rem;
    color: #08b5d9;
    margin-bottom: 20px;
    margin-top: 0;
}

.text-content-area p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .about-section-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .image-with-frame-area {
        order: 2; 
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        height: 350px;
    }

    .text-content-area {
        order: 1; 
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        text-align: right;
    }
    
    .person-image {
        top: 20px;
        left: 30px;
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
    
    .blue-frame {
        display: none;
    }  
}
/* --- Info Banner --- */

.info-banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 8em auto 5rem auto;
    background: linear-gradient(90deg, #0752a7 0%, #077abe 25%, #0696ce 50%, #06b5df 100%);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    min-height: 250px;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    overflow: visible;
    background: linear-gradient(to top, #0752a7 0%, #077abe 25%, #0696ce 50%, #06b5df 100%);
}


.top-frame {
    position: absolute;
    z-index: 4;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    width: auto;
    height: auto;
    transform: none;
    border: 2px solid #a1c1e0;
    background-color: transparent;
}

.banner-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    z-index: 10;
    padding: 2em 4em;
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    perspective: 1000px;
}

.banner-content:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.text-area {
    color: #ffffff;
    z-index: 10;
    width: 40%;
    padding: 1rem;
}

.text-area h2 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
    margin-top: 0;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.text-area h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #06b5df;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 2px;
    margin-left: 0;
    transition: width 0.3s ease-in-out;
}
.banner-content:hover h2{
    transform: scale(1.05);
}
.banner-content:hover h2::after{
    width: 150px;
}

.cta-link {
    display: inline-block;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 400;
    text-decoration: none;
    padding: 0; 
    border: none;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #e0e0e0;
    background: none;
}

.cta-link:after {
    content: ' >';
}

.magazine-mockup-area {
    position: absolute;
    right: 0;
    left: auto;
    width: 580px;
    height: auto;
    z-index: 6;
    transform: rotate(0deg) translateX(-30px) translateY(-13px) translateZ(194px);
}

.magazine-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}
.banner-content:hover .magazine-mockup-img {
    transform: scale(1.05) rotate(2deg); 
    filter: brightness(1.05);
}

.cta-link:focus,
.cta-link:focus-visible {
    outline: 3px solid #ffffff; 
    outline-offset: 1px; 
    color: white;
}

@media (max-width: 992px) {
    .text-area h2 {
        font-size: 3rem;
    }
    .top-frame {
        display: none;
    }
.banner-content {
        flex-direction: column; 
        align-items: center; 
        padding: 20px;
    }
    
    .text-area {
        text-align: right;
        width: 100%;
        order: 2; 
        margin-top: 0;
    }
       
    .magazine-mockup-area {
        position: static;
        width: 100%;
        margin-top: -5rem;
        order: 1; 
        transform: none;
        z-index: auto;
        margin-left: auto;
        margin-right: auto;
        position: static;
        width: 100%; 
        margin-top: -150px; 
        margin-left: auto;
        margin-right: auto;
        order: 1;
        transform: none;
        z-index: auto;
    }

}

/* --- Steps Section --- */
.steps-list-container {
    direction: rtl;
    max-width: 1300px;
    margin: 5rem auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    position: relative;
}

.steps-list-container .title {
    font-size: 3.5em;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 5rem;
    text-align: center;
    color: #024f9d;
    position: relative;
}

.steps-list-container .title::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 6px;
    background-color: #1cc9ed;
    transition: width 0.3s ease-in-out;
}
.steps-list-container .title:hover::after {
    width: 150px; 
}
.step-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-header {
    background-color: var(--category-color);
    border-radius: 40px;
    border: solid white 1rem;
    box-shadow: 0 9px 20px 9px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    flex-direction: column;
    width: 350px;
    position: relative;
    margin-bottom: -86px;
    z-index: 5;
    transition: filter 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.step-container:nth-child(odd) .step-header {
    align-self: flex-end;
    margin-right: -10em;
    margin-left: 0;
    padding: 1.5rem 5em 1.5em 2em;
    align-items: flex-end;
    text-align: left;
}

.step-container:nth-child(even) .step-header {
    align-self: flex-start;
    padding: 1.5rem 2em 1.5em 5em;
    align-items: flex-start;
    text-align: right;
}

.step-header:hover{
    filter: brightness(1.15); 
}


.step-header p {
    font-size: 1.5em;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.step-header h3 {
    font-size: 2.5em;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 0.9;
}

.step-content {
    background-color: #ffffff;
    padding: 2em;
    padding-right: 8em;
    border-radius: 41px;
    box-shadow: 0 9px 20px 9px rgba(0, 0, 0, 0.3);
    border: 1px solid #eee;
    width: 78%;
    position: relative;
    z-index: 15;
}

.step-container:nth-child(odd) .step-content {
    align-self: flex-start;
}

.step-container:nth-child(even) .step-content {
    align-self: flex-end;
}


ul.content-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.content-item {
    padding: 31px 0;
    position: relative;
    text-align: right;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.content-item:hover {
    transform: translateY(-10px);
}
.content-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 63px;
    height: 2px;
    background-color: var(--category-color);
}

.step-content .content-item:last-child::after {
    content: none;
}

.content-item h4 {
    font-size: 1.2em;
    font-weight: 700;
    color: #2b2b2b;
}

.content-item span {
    font-size: 1em;
    color: #555;
    line-height: 1.4;
    margin-bottom: 8px;
    display: block;
}

.content-item a {
   background-color: var(--category-color);
    border-radius: 30px;
    padding: 0.1rem 0.5rem;
    border: solid 2px transparent;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-right: -8px;
}
.content-item a::after {
    content: "\21BB"; 
    margin-right: 0.5rem; 
    font-size: 1.1rem; 
    vertical-align: middle;
    transform: rotate(15deg); 
    display: inline-block; 
}

.content-item a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .content-item a {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {

    .steps-list-container .title
    {
        font-size: 2rem;
    }
    .steps-list-container {
        gap: 50px;
    }
    
    .step-header {
        align-self: center;
        width: 95%;
        padding: 1.5rem 2em 1.5em 2em; 
        text-align: center; 
        align-items: center; 
        margin-top: -60px;
        margin-bottom: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transition: filter 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }
    
    .step-container:nth-child(even) .step-header,
    .step-container:nth-child(odd) .step-header {
        align-self: center;
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: right;
        align-items: start;
        z-index: 17;
        padding: 2rem 4rem;
        box-shadow: 0 9px 20px 9px rgb(0 0 0 / 19%);
    }
    
    .step-header:hover {
        filter: brightness(1.15);
        box-shadow: 0 12px 25px 12px rgba(0, 0, 0, 0.45);
    }
    
    .step-content {
        width: 95%;
        align-self: center;
        margin-top: -30px;
        padding-top: 60px;
        padding-bottom: 20px;
        padding-right: 20px; 
        padding-left: 20px;
    }
    
    
    .step-container:nth-child(odd) .step-content,
    .step-container:nth-child(even) .step-content {
        align-self: center;
        border-radius: 0 0 2rem  2rem;
        padding-right: 20px;
        padding-left: 20px;
        margin-bottom: 6rem;
        box-shadow: 0 9px 20px 9px rgb(0 0 0 / 19%);
    }
    
    .step-header h3 {
        font-size: 3rem;
    }
    
    .content-item h4 {
        font-size: 1.1em;
    }
}

/* --- Welcome Card Section --- */
.welcome-card-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -150px;
    position: relative;
    z-index: 15;
}

.welcome-card {
    background-color: #0d47a1;
    width: 100%;
    max-width: 900px;
    padding: 30px 40px;
    text-align: center;
    border-radius: 42px;
    border: solid white 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.welcome-card h2 {
    color: white;
    font-size: 3em;
    font-weight: bold;
}

.welcome-card p {
    color: white;
    font-size: 1.5em;
    font-weight: 400;
    margin: 0;
}
@media (max-width: 768px) {
.welcome-card-container{
    margin-top: -100px;;
}
}
/*Sub Menu*/

.sub-pages-nav.with-icons a {
    border: 1px solid #dedede;
    color: #555555;
   padding: 1rem 0rem;
    font-size: 1.2rem;
    line-height: 1.5rem;
    height: 200px;
     box-shadow: 0 9px 20px 9px rgb(0 0 0 / 19%);
}
.sub-pages-nav.with-icons a .icon img {
    max-height: 70px;
}
@media (max-width: 768px) {

    .sub-pages-nav.with-icons a {
        padding: 1rem;
        font-size: 1.2rem;
        line-height: 1.1rem;
    }
}

@media (min-width: 768px) {
    .sub-pages-nav.with-icons ul > li {
        width: 20%;
    }
}