*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    letter-spacing: 0.05em;
    font-family: 'DM Sans', sans-serif;
}



body {
    font-family: 'DM Sans', sans-serif;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(#08264B, #2E436A);
}


p{
    font-size: 17px;
}
.container {
    /* max-width: 1200px; */
    margin: 0 auto;
}
.first_section{
    margin: 0 auto;
    height: 609px;
    width:auto;
    background: 
    linear-gradient(  rgba(0, 15, 34, 0.8), rgba(0, 15, 34, 0.8)), 
    url("../images/background-image-home.png");
    background-size: cover;
    background-repeat: no-repeat;
}
.first_subsection{
    margin-top: 300px;
    position:absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding:35px 100px;
    background-color: rgba(45, 70, 111, 0.5); 
}
.logo_header {
    cursor: pointer;
}

ul {
    display: flex;
    align-items: center;
    justify-content: space-between;    
}
li, a{
    color: #ffffff;
    text-decoration: none; 
    list-style: none;
    margin: 10px;
    cursor: pointer;
}
a:hover {
    text-decoration: underline;
}
select{
    color:#ffffff;
    border: none;
    outline:0px;
    background-color: #2D466F;
}

button{
    border: 1px solid #FF5722;
    background-color:#FF5722;
    color:#ffffff;
    border-radius: 50px;
    padding:10px 40px;
    cursor: pointer;
    white-space: nowrap;
}
.login{
    border: 1px solid #fff;
    background-color:transparent;
}
h1{
    letter-spacing: 0.05em;
    display: inline-block;
}

.first_section p{
    max-width: 760px;
    margin: 20px auto;
}

h2{
    margin-top: 60px;
    font-size: 40px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(197, 197, 197, 0));
    background-clip: text;
    color: transparent;
}

h3{
    font-size: 24px;
    margin-top: 16px;
    font-weight: 500;
}
h4{
    font-weight: 500;
    font-size: 18px;
}
.about_us{
    margin: 40px 90px;
    display:flex;
    justify-content: space-between;
    border-radius: 30px;
    padding: 30px;
    background-color: #2E436A;
}

.about_us p {
    /* background-color: #2E436A; */
    padding:25px 20px;
    width: 550px;
    text-align: left;
}

.third_section{
    margin: 0 70px 90px;
    
}
.key_advantages{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color:#122438;
    margin: 0 auto;
    border-radius: 2.75%;
    overflow: hidden;
    margin-top: 30px;
}
.key_advantages_item{

    width: 50%;
    padding:50px 70px;
    text-align: left;
    background-color:#122438;
    border-bottom: 1px solid #233A61;
    font-family: "DM Sans", sans-serif;
}

.key_advantages p{
    font-weight: 400;
    font-size: 17px;
    margin-top: 16px;
}

.key_advantages_item:nth-last-child(-n+2){
    border:none;
}
.forth_section{
    /* margin-top: 70px; */
    padding-top: 50px;
    display: flex;
    flex-direction:row;
    font-family: "DM Sans", sans-serif;
    background: linear-gradient(#08264B, #2E436A);
    justify-content: space-evenly;
    height: 290px;
}
.contact_info{
    display: flex;
    position: relative;
    align-items: flex-start; /* Default for all */
    flex-direction: column;
    padding: 10px;
    grid-gap:17px;
    text-align: left;
}

.contact_info.logo_section {
    align-items: center; /* Specific to the logo section */
}

#logo_footer{
    width: 182px;
    height: 74px;
    cursor: pointer;
    position: absolute;
    top: -42px;
}
.contact_info:first-of-type p {
    margin-top: 0px; /* Push the phrase lower to avoid overlap with the logo */
}

.contact_info p {
    padding: 5px;
}

.contact_info_item{
    height: 33px;
    display: flex;
    align-items: center;
    gap: 10px; /* Optional: Add some space between the icon and the text */
}
.contact_info_item img{
    width: 24px;
    /*height: 24px;*/
    height: auto;
    vertical-align: middle;
}

.contact_info_item p {
    margin: 0; /* Remove margin from paragraph to ensure proper alignment */
}

.contact_info a{
    margin: 0px;
    font-weight: 400;
    font-size: 15px;
}



.form-container {
    background-color: #2E436A;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 40px auto;
    color: #ffffff;
}

.form-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
}

.form-container label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
    background-color: #fff;
}

.form-container button {
    width: 100%;
    padding: 10px;
    border-radius: 50px;
    background-color: #FF5722;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.form-container button:hover {
    background-color: #E64A19;
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Hover effect for button */
button:hover {
    background-color: #E64A19;
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Dropdown container */
.dropdown {
    position: relative; /* Positioning for the dropdown menu */
}

/* Dropdown menu - initially hidden */
.dropdown-menu {
    overflow: hidden;
    display: none;
    position: absolute;
    top: 100%; /* Align below the link */
    left: 0;
    background: rgba(45, 70, 111, 0.9); /* Matches header style */
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: max-content;
}

.dropdown-menu.show {
    display: block;
}

/* Dropdown menu items */
.dropdown-menu li {
    padding: 0;
    text-align: left;
    position: relative; /* Needed for hover pseudo-elements */
    margin:0;
}

.dropdown-menu li a {
    padding: 10px 20px; /* Space around the text */
    width: 100%; /* Ensures the anchor fills the parent li */
    height: 100%; /* Ensures the anchor fills the parent li */
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-size: 14px;
    position: relative; /* For hover area expansion */
    z-index: 1; /* Keeps the text above the hover effect */
    margin:0;
}

/* Hover effect */
.dropdown-menu li:hover a {
    color: #fff; /* Keep text white on hover */
}

/* Hover area expansion */
.dropdown-menu li:hover::before {
    content: '';
    position: absolute;
    /*top: -5px;
    bottom: -5px;
    left: -10px;
    right: -10px;*/
    top: 0px; /* Expands hover area vertically */
    bottom: 0px; /* Expands hover area vertically */
    left: 0px; /* Expands hover area horizontally */
    right: 0px; /* Expands hover area horizontally */

    background-color: #FF5722; /* Orange hover background */
    border-radius: 8px; /* Optional rounded corners */
    z-index: 0; /* Ensures it sits behind the text */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s, transform 0.3s; /* Smooth animation */
}

.dropdown-menu li:hover::before {
    opacity: 1; /* Show the hover area */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Show dropdown menu on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

html {
    scroll-behavior: smooth;
}
