:root {
    --primary-color: #0B53C6;
    --title-color: #000000;
    --bg-about: #F8F8F8;
    --bg-dark: #0a1128;
    --text-light: #ffffff;
    --text-dark: #333333;
    --font-family: "Trebuchet MS", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    overflow: auto;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    z-index: 10;
    color: var(--text-light);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: auto;
    display: block;
}

.mobile-nav-logo {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    font-size: 25px;
    font-weight: bold;
}

.banner {
    background: var(--bg-dark) url('assets/background-img_1920x980.png') no-repeat center center;
    background-size: cover;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: var(--text-light);
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .banner {
        background-image: url('assets/background-img_1920x980@2x.png');
    }
}

.banner-content h2 {
    font: normal normal normal 40px/70px var(--font-family);
    margin-bottom: 25px;
}

.banner-content p {
    font-size: 25px;
    margin-bottom: 50px;
}

.highlight {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
}

.services {
    padding: 80px 8%;
    background-color: #ffffff;
}

.section-title {
    color: var(--primary-color);
    font-size: 45px;
    margin-bottom: 60px;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 5px;
    background-color: var(--primary-color);
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 20px;
}

.service-item.reverse {
    flex-direction: row-reverse;
    gap: 0;
}

.service-item.reverse .service-text {
    position: relative;
    left: 140px;
}

.service-text {
    flex: 1;
}

.service-number {
    color: var(--primary-color);
    font-size: 55px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.service-text h3 {
    color: var(--title-color);
    font-size: 35px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.service-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px; 
    height: 5px;
    background-color: var(--primary-color);
}

.service-text p {
    color: #666;
    font-size: 25px;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about {
    background: var(--bg-about) 0% 0% no-repeat padding-box;
    padding: 80px 8%;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.about-left {
    flex: 1;
}

.italic-text {
    font-style: italic;
    font-size: 25px;
    margin-top: 20px;
}

.about-right {
    flex: 2;
    font-size: 25px;
    color: #555;
}

.about-right p {
    margin-bottom: 20px;
}

footer {
    background: var(--bg-dark) url('assets/background-img_1920x520.png') no-repeat center center;
    background-size: cover;
    color: var(--text-light);
    padding: 100px 8%;
    text-align: center;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    footer {
        background-image: url('assets/background-img_1920x520@2x.png');
    }
}

.footer-content h2 {
    font-size: 35px;
    font-weight: normal;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.email-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.contact-info a {
    font-size: 25px;
}

@media screen and (max-width: 992px) {
    .banner-content h2 {
        font: normal normal normal 35px/35px var(--font-family);
    }
    
    .service-item, 
    .service-item.reverse {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .service-item.reverse .service-text {
        left: 0 !important;
    }

    .service-image {
        width: 100%;
    }
    
    .about {
        flex-direction: column;
    }
}
@media screen and (max-width: 1024px) {

    .service-item.reverse .service-text {
left: 50px;
    }
}
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 20;
    }

    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        padding: 80px 20px 20px;
        box-shadow: -4px 0 6px rgba(0,0,0,0.3);
        transition: right 0.3s ease-in-out;
        z-index: 15;
    }

    nav.active {
        right: 0;
    }

    .mobile-nav-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    nav a {
        display: block;
        padding: 10px;
        width: 100%;
        text-align: center;
        font-size: 20px;
    }
    
    .banner-content h2 {
        font: normal normal bold 28px/40px var(--font-family);
    }

    .banner-content p {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .btn-primary {
        font-size: 16px;
        padding: 12px 25px;
    }

    .services {
        padding: 50px 5%;
    }

    .section-title {
        font-size: 35px;
        margin-bottom: 40px;
    }

    .service-item {
        margin-bottom: 50px;
    }

    .service-number {
        font-size: 35px;
    }

    .service-text h3 {
        font-size: 26px;
    }

    .service-text p {
        font-size: 18px;
    }

    .footer-content h2 {
        font-size: 35px;
    }

    .mobile-nav-logo .logo {
        display: none;   
    }

    .logo {
        width: 180px;
    }

    .about {
        padding: 20px 8%;
    }
}

@media screen and (min-width:1200px ) and ( max-width: 1540px) {
    .banner-content {
        margin-top: 60px;
    }
}