* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    background: white;
    font-family: 'Rubik', sans-serif;
    overflow-x: hidden;
}

header {
    width: 100%;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.logo {
    display: flex;
    justify-content: center;
    font-size: 26px;
    font-weight: 600;
    color: #222;
    align-items: center;
}

.logo h2 {
    font-size: 20px;
}

.logo_img {
    width: 50px;
    height: 50px;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

.hamburger.open {
    transform: rotate(90deg);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    margin: 5px auto;
    transition: all 0.3s ease;
}

.hamburger.open::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open::after {
    transform: rotate(-45deg) translate(7px, -6px);
}

ul.ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
}

a.header_achor {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

a.header_achor:hover,
a.header_achor:focus {
    color: #000;
    font-weight: 600;
}

.dropdown-parent {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 220px;
    pointer-events: none;
    z-index: 1;
}

.dropdown-menu li a {
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    padding-left: 25px;
}

.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.get_started {
    margin-left: 30px;
}

.nav_btn {
    background-color: #B13747;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.nav_btn:hover {
    background-color: #222;
}
.one{
 width: 100%;
 height: 50px;
}
span{
    color: #B20F1F;
}
.header{
    font-family: 'roboto';
    text-align: center;
}
.two{
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    background-color: #B13747;
}
.words_2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}
.title_service{
    font-size: 40px;
    font-family: 'roboto';
    color: #f5f5f5;
}
.sub_services{
    color: white;
    font-size: 16px;
    width: 500px;
    margin-top: 10px;
}
.learn_more{
    color: #2CC0FF;
    margin-top: 70px;
}
.learn_more a{
    text-decoration: none;
    color: #2CC0FF;
}
.img_2{
    align-items: center;
}
.title_img{
    width: 500px;
    height: 300px;
    border-radius: 10px;
    margin-left: 40px;
    margin-top: 90px;
}
.three{
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    background-color: #f5f5f4;
}
.title_imgs{
    width: 500px;
        height: 300px;
        border-radius: 10px;
        margin-left: 40px;
        margin-top: 90px;
}
.words_3{
    display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 40px;
}
.title_services{
    font-size: 40px;
    font-family: 'roboto';
}
.sub_service{
    color: black;
        font-size: 16px;
        width: 500px;
        margin-top: 10px;
}
.four{
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.side1{
    display: flex;
    flex-direction: column;
}
.header_one{
    font-size: 40px;
    font-family: 'roboto';
}
.sub_heading_one{
    color: black;
        font-size: 16px;
        width: 500px;
        margin-top: 20px;
}
.img_one{
    width: 400px;
    height: 300px;
    border-radius: 13px;
    margin-top: 30px;
}
.side2{
    display: flex;
    flex-direction: column;
    position: relative;
    left: 90px;
}
.header_two{
    font-size: 40px;
        font-family: 'roboto';
}
.sub_heading_two{
    color: black;
    font-size: 16px;
    width: 500px;
    margin-top: 20px;
    position: relative;
    top: 48px;
}
.img_two {
    width: 400px;
    height: 300px;
    border-radius: 13px;
    margin-top: 80px;
}
.five{
    width: 100%;
     height: 500px;
     display: flex;
    justify-content: center;
    background-color: #B13747;

}
.six{
    width: 100%;
        height: 500px;
        display: flex;
        justify-content: center;
}
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 10%;
    background: #f8f8f8;
    color: #111;
    font-family: 'Arial', sans-serif;
    gap: 40px;
}

.footer-col {
    flex: 1 1 180px;
    min-width: 180px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #222;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #000;
}
/* Tablet ≤1024px */
@media (max-width: 1024px) {


    .two,
    .three,
    .four,
    .five,
    .six {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px 0;
    }

    .words_2,
    .words_3,
    .side1,
    .side2 {
        margin: 10px auto;
        text-align: center;
    }

    .sub_services,
    .sub_service,
    .sub_heading_one,
    .sub_heading_two {
        width: 90%;
    }

    .title_img,
    .title_imgs,
    .img_one,
    .img_two {
        width: 90%;
        max-width: 400px;
        height: auto;
        margin: 20px 0;
    }

    .side2 {
        left: 0;
    }

    .header,
    .header_one,
    .header_two,
    .title_service,
    .title_services {
        font-size: 32px;
    }
        .hamburger {
            display: block;
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 100;
            position: relative;
        }
    
        .ul {
            max-height: 0;
            overflow: hidden;
            flex-direction: column;
            gap: 0;
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background: white;
            padding: 0;
            z-index: 99;
            transition: max-height 0.4s ease;
        }
    
        .ul.show {
            max-height: 700px;
            padding: 60px 20px 20px;
        }
    
        .ul li {
            width: 100%;
            text-align: center;
            padding: 15px 0;
            border-bottom: 1px solid #ddd;
        }
    
        .dropdown-menu {
            display: none;
            flex-direction: column;
            gap: 0;
            background: #f9f9f9;
            width: 100%;
        }
    
        .dropdown-parent.open .dropdown-menu {
            display: flex;
        }
    
        .dropdown-menu li {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }
}

/* Mobile ≤768px */
@media (max-width: 884px) {

    .header,
    .header_one,
    .header_two,
    .title_service,
    .title_services {
        font-size: 24px;
        text-align: center;
    }
    .sub_services,
    .sub_service,
    .sub_heading_one,
    .sub_heading_two {
        font-size: 14px;
        text-align: center;
        margin-left: 40px;
    }
 

    .nav_btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .title_img,
    .title_imgs,
    .img_one,
    .img_two {
        width: 95%;
    }
    .header_two{
        position: relative;
        top: 20px;
    }
    .img_one,
    .img_two{
        margin: 0 auto ;
        margin-top: 70px;
    }
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-col {
        min-width: unset;
    }
}
/* Mobile ≤440px */
@media (max-width: 440px) {
    .logo_img {
            width: 30px;
            height: 30px;
            position: relative;
            right: 20px;
        }
    
        .logo h2 {
            font-size: 13px;
        }
    
        .hamburger {
            position: relative;
            left: 40px;
        }
    
        .nav_btn {
            padding: 4px 20px;
        }

    .header,
    .header_one,
    .header_two,
    .title_service,
    .title_services {
        font-size: 20px;
        text-align: center;
        line-height: 1.2;
    }

    .sub_services,
    .sub_service,
    .sub_heading_one,
    .sub_heading_two {
        font-size: 12px;
        text-align: center;
        margin-left: 20px;
        margin-right: 20px;
        line-height: 1.4;
    }

    .nav_btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .title_img,
    .title_imgs,
    .img_one,
    .img_two {
        width: 100%;
        margin-top: 40px;
    }

    .img_one,
    .img_two {
        margin-left: auto;
        margin-right: auto;
    }
    .img_two{
        margin-top: 60px;
    }

    .header_two {
        position: static;
        margin-top: 10px;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 10px;
    }

    .footer-col {
        min-width: 100%;
    }

}
