*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.nav2{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 200px;
    z-index: 999;
    background-color: rgba(122, 54, 54, 0.2);
    box-shadow: -10px 0 10px rgba(0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    /* height: 400px; */
    line-height: 30px;
    border-bottom-left-radius: 50px;
}

.nav2 nav ul{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.nav2 nav a{
    width: 100%;    
}

.close{
    width: 40px;
    color: #fff;
}

@media(max-width: 800px){
    #hideOnMobile{
        display: none;
    }
}

/* .......................... */
header{
    padding-top: 20px;
    padding-left: 50px;
    padding-right: 50px;
    background-color:  hsl(356, 100%, 66%);
    border-bottom: 1px solid ;
    border-bottom-left-radius: 70px;
}

.head{
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    margin-bottom: 50px;
    
}


.logo a{
    font-size: 35px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    /* font-family: ; */
}

header ul li{
    display: inline-block;
    list-style: none;
    margin: 0 30px;
}
header ul li:last-child{
    margin-right: 0;
}

header ul li a{
    text-decoration: none;
    column-rule-color: black;
    padding: 22px 0;
    display: inline-block;
    transition: all ease 0.3s;
    font-size: 18px;
}

header ul li a{
    color: white;
    font-weight: bold;
    font-size: 15px;
}

.submenu{
    position: absolute;
    width: 200px;
    background-color: #fff;
    box-shadow: 0 20px 45px #00000020;
    margin-top: -50px;
    opacity: 0;
    z-index: -999;
    border-radius: 7px;
    transition: aii ease 0.5s;
}

header ul li:hover .submenu{
    z-index: 99;
    opacity: 1;
    margin-top: 0;
}

header ul .submenu li{
    margin: 0;
    width: 100%;
}
header ul .submenu li a{
    padding: 15px 20px;
    font-size: 15px;
    display: inline-block;
    width: 100%;
    color:rgb(56, 50, 50);
}

.hero_sec{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.navBtn input{
    padding: 12px;
    outline: none;
    background: none;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    transition: all ease-in 0.7s;
}
.navBtn input:hover{
    background-color: #fff;
    border: none;
    color: hsl(356, 100%, 66%);
    border-radius: 25px
}

.underNav{
    text-align: center;
    margin-bottom: 30px;
}
.underNav .p1{
    color: #fff;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 40px;
}
.underNav .p2{
    color: #f5ebeb;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 100;
}
.btn input{
    background: none;
    border-color: #fff;
    padding: 11px;
    color: #fff;
    border-radius: 25px;
    transition: all ease-in-out 0.7s;
    margin-bottom: 40px;
}

.btn .b1{
    margin-right: 5px;
}
.btn .b1:hover{
    background-color: #fff;
    color: hsl(356, 100%, 66%);

}
.btn .b2:hover{
    background-color: #fff;
    color: hsl(356, 100%, 66%);
}

/* Hamburger Icon */
.toggle {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ;
}

.toggle:hover {
    transform: scale(1.1);
}

#menuButton{
    display: none;
}


@media(max-width: 800px){
    #menuButton{
        display: block;
    }
    .underNav .p1{
        font-size: 30px;
    }
    header{
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        background-color:  hsl(356, 100%, 66%);
        border-bottom: 1px solid ;
        border-bottom-left-radius: 50px;
    }
    .head{
        margin-bottom: 25px;
    }
    
}


/* .................SECTION ONE........................... */
.seg1{
    padding: 50px;
}

.seg1 .title{
    text-align: center;
    padding-top: 40px;
    font-size: 30px;
    font-weight: 600;
    color: hsl(237, 17%, 21%);
    margin-bottom: 20px;
}

.seg1 .sub-seg .grid1{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    gap: 3.5rem;
    align-items: center;
}

.grid1 .right img{
    width: 100%;
    text-align: right;
    transition: ease 1s;
}
.grid1 .right img:hover{
    transform: scale(1.1);
}

.grid1 .left .head{
    font-weight: 600;
    font-size: 22px;
    color: hsl(237, 23%, 32%);
}

.grid1 .left .note{
    font-size: 16px;
    line-height: 30px;
}


/* .................SECTION TWO.......................... */
.seg2{
    margin-top: 50px;
    padding: 50px;
    /* padding-bottom: 0; */
    background-color: hsl(237, 17%, 21%);
    border-bottom-left-radius: 100px;
    border-top-right-radius: 100px;
    /* height: 300px; */
}

.seg2 .sub-seg{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    gap: 2.5rem;
    align-items: center;
}

.seg2 .sub-seg .left img{
    width: 450px;
    margin-top: -65px;
    transition: ease 1s;
}

.seg2 .sub-seg .left img:hover{
    transform: scale(1.1);
}

.seg2 .sub-seg .right{
    color: #e6e3e3;
}

.seg2 .sub-seg .right .head{
    font-size: 25px;
    font-weight: bold;
    word-spacing: 3px;
    letter-spacing: 1px;
}

.seg2 .sub-seg .right .note{
    font-size: 16px;
    line-height: 30px;
    font-weight: 100px;
    word-spacing: 1px;
}

@media (max-width: 800px){
    
}

/* ................SECTION THREE.................................. */
.seg3{
    padding: 50px;
    margin-top: 70px;
}

.seg3 .sub-seg{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    align-items: center;
    gap: 3.5rem;
}

.seg3 .sub-seg .left img{
    width: 700px;
    margin-left: -250px;
}

.seg3 .sub-seg .right .head{
    font-weight: 600;
    font-size: 22px;
    color: hsl(237, 23%, 32%);  
}

.seg3 .sub-seg .right .note{
    font-size: 16px;
    line-height: 30px;
    font-weight: 100px;
    word-spacing: 1px;
}

@media (max-width: 800px) {
    .seg1, .seg2, .seg3 {
        padding: 20px;
    }

    .seg1 .title, .seg2 .right .head, .seg3 .right .head {
        font-size: 25px;
    }

    .seg1 .sub-seg .grid1, .seg2 .sub-seg, .seg3 .sub-seg {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .seg2 .sub-seg .left img, .seg3 .sub-seg .left img {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
    }
}

/* @media (max-width: 768px){
    .seg3 .sub-seg .left img{
        margin-left: 0;
        width: 480px;
    }
} */

/* ..................SECTION FOUR......................... */
.seg4{
    padding: 50px;
    margin-top: 40px;
    background-color:  hsl(220, 4%, 15%);
    border-bottom-left-radius: 100px;
    border-top-right-radius: 100px;
}

.seg4 .sub-seg{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    gap: 1.5rem;
    /* justify-content: space-between; */
    /* align-items: center; */
}

.f1{
    color: #fff;
    font-weight: bold;
    font-size: 35px;
}

.f li #head{
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
}

.f{
    list-style: none;
    line-height: 50px;
    font-size: 16px;
}

.f li a{
    text-decoration: none;
    color: #beb4b4;
    transition: all ease 0.5s;
}

.f li a:hover{
    text-decoration: underline;
    color: white;
    font-weight: 400;
}

@media (max-width: 768px) {
    .seg4 {
        border-radius: 50px; /* Softer rounding for mobile */
        text-align: center;
    }

    .seg4 .sub-seg {
        grid-template-columns: 1fr; /* Stack elements */
    }
}

