@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');
/* Gohan Ga Add */
.alert {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
}
.alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}
.alert a {
    color: #8a6d3b;
    font-weight: bold;
    text-decoration: none;
}
.alert a:hover {
    text-decoration: underline;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background:  #ffffff;
    margin: 0;
}
.maindashboard{
    width: 100%;
}

.elytruckingservices{
    background-color: #ffffff;
    position: absolute;
    width: 350px;
    height: 100px;
    top: 30px;
    left: 30px;
    z-index: 2;
    border-radius: 50px;
    /* Center content (image) using flexbox */
    display: flex;
    align-items: center; /* Centers vertically */
    box-shadow: 4px 4px 5px rgba(0, 0.7, 0, 0.5); 
}

.elytruckingservices img{
    width: auto;
    height: 80%;
    margin-left: 37px;
    
}

.elytruckingservices:hover{
    background-color: #d0d0d0;
}

/* Container for the account menu */
.account-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 2;
    display: inline-block;
}
/* Account icon styling */
.account-icon {
    font-size: 60px !important;
    color: rgb(255, 255, 255); /* Adjust color if needed */
    cursor: pointer;
    text-shadow: 2px 2px 5px rgba(0, 0.5, 0, 0.8); /* Offset-x, Offset-y, Blur, Color */
}

.account-icon:hover{
    color:#ababab;
}

/* Dropdown menu (hidden by default) */
.dropdown-content {
    display: none; /* Keep it hidden by default */
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #f9f9f9;
    min-width: 175px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 10px;
    z-index: 1; /* Make sure it's above other content */
}

/* Show dropdown when account menu is focused or hovered */
.account-menu:focus-within .dropdown-content,
.account-menu:hover .dropdown-content {
    display: block;
}

/* Dropdown menu items */
.dropdown-content a {
    display: block;
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 8px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Hover effect for items */
.dropdown-content a:hover {
    background-color: #3f8fff;
    color: white;
}

.headercontainer {
    position: relative;
    width: 100%;
    height: 650px;
    background-image: url('/images/elydash.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Enables parallax effect */
}

/* Black tint */
.headercontainer::before {
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 40, 102, 0.4);
    z-index: 1;
}
.headertextblock{
    /* background-color: blue; */
    width: 900px;
    height: 320px;
    position: absolute; /* Absolute positioning for the inner div */
    bottom: 0; /* Position at the bottom */
    right: 0; /* Position at the right */
    padding: 10px; /* Example padding */
    margin: 30px;
    z-index: 2; /* Higher z-index to appear above the tint */
}

.headertextblock h1{
    font-family: 'Inter', sans-serif;
    font-weight:800;
    color: rgb(255, 255, 255);
    font-size: 68px;
    font-style: italic;
    text-shadow: 2px 2px 5px rgba(0, 0.5, 0, 0.8); /* Offset-x, Offset-y, Blur, Color */
    margin: 0px;
}

.headertextblock p{
    width: 95%;
    color: rgb(255, 255, 255);
    /* font-weight: bold; */
    font-size: 33px;
    text-shadow: 2px 2px 5px rgba(0, 0.5, 0, 0.8); /* Offset-x, Offset-y, Blur, Color */
    text-align: right;
    position: absolute; /* Use absolute positioning */
    bottom: 100px;
    right: 10px;
}

.viewbtn, .bookbtn {
    position: absolute;
    z-index: 2;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    font-weight: bold;
    border: none;
    border-radius: 15px;
    padding: 20px 35px;
    width: 265px;
    margin-left: 50px;
    box-shadow: 4px 4px 5px rgba(0, 0.7, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
    bottom: 15px; /* Distance from the bottom */
    
    /* opacity: 0.8; */
}

.bookbtn {
    background-color: #1638f3;
    right: 10px; /* Distance from the right */
}

.notverified {
    background-color: #eacc7e;
    right: 10px !important;
    bottom: 0px !important;
    font-size: 20px !important;
    position: absolute !important;
    padding: 10px 20px;
    z-index: 3;
    font-family: 'Inter', sans-serif;
    /* font-weight: bold; */
    color: #765709 !important;
    border-radius: 5px;
    width: 98% !important;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    text-shadow: none !important;
    text-align: center !important;
    border: 2px solid #765709; /* Add border color */
}

/* Unique styles */
.viewbtn {
    right: 290px; /* Distance from the right */
    background: #099cbd;
}


.viewbtn:hover{
    background: #03647f;
}

.bookbtn:hover {
    background-color: #1127a4;
}

.block{
    position: relative;
}

/* Container Styling */
.container1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 360px;
    padding: 20px;
    background-color: #ffffff;
    text-align: justify;
    position: relative;
    margin-top: 3%;
}

.container1left, .container1middle, .container1right {
    flex: 1;
    padding: 20px;
    /* background-color: rgb(255, 213, 213); */
    position: relative;
    overflow: hidden;
    margin-right: 5%;
    margin-left: 2%;
    transition: background-color 0.3s ease; /* Smooth transition on hover */
}

/* Header styling */
.container1left h2, .container1middle h2, .container1right h2 {
    font-family: 'Inter', sans-serif;
    color: #2f98b5;
    font-size: 30px;
    position: relative;
    z-index: 1;
}


/* Background icons styling */
.container1left::before,
.container1middle::before,
.container1right::before {
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    font-family: 'Material Icons';
}

.container1left::before{
    font-size: 400px;
    top: 45%;
    left: 55%;
    padding-top: 20px;
}

.container1middle::before, .container1right::before{
    font-size: 350px;
    top: 45%;
    left: 60%;
}

.container1middle::before{
    padding-top: 40px;
}

.container1right::before{
    padding-top: 50px;
}

/* Icons for each section */
.container1left::before {
    content: 'local_shipping'; /* Icon for vehicle types */
}

.container1middle::before {
    content: 'support'; /* Icon for services - hand lifting box */
}

.container1right::before {
    content: 'inventory_2'; /* Icon for services (lifting box) */
}

/* List styling */
.container1left ul, .container1middle ul, .container1right ul {
    list-style: none;
    padding: 0;
    margin-left: 20px;
}


.container1left p, .container1middle p, .container1right p, 
.container1left li, .container1middle li, .container1right li {
    font-family: 'Inter', sans-serif;
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.container1left li::before, .container1middle li::before, .container1right li::before {
    content: 'check';
    font-family: 'Material Icons';
    color: #099cbd;
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}

.container1left:hover, .container1middle:hover, .container1right:hover {
    background-color: #e5f1f5; /* Darkened background on hover */
    border-radius: 15px;
}

.container2{
    display: grid;            /* Enables grid layout */
    place-items: center;      /* Centers both horizontally and vertically */
    background-color: #ffffff;
    width: 100%;
    height:500px;
    position: relative;
    margin-top: 2%;
}

.container2cont{
    background-color: #ffffff;
    width: 90%;
    height:90%;
    position:relative;
    display: flex;
    box-shadow: 0px 0px 10px 4px rgba(0, 0.7, 0, 0.2);

}

.container2text{
    margin-top: 2%;
    margin-bottom: 2%;
}

.container2contleft{
    width: 40%;
    background-image: url('/images/logistics.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

/* Black tint */
.container2contleft::before {
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(6, 40, 102, 0.332);
    z-index: 1;
}

.container2contright{
    background-color: white;
    width: 60%;
}

.firsth, .secondh{
    font-family: 'Inter', sans-serif;
    color: #2f98b5;
    position: relative;
    z-index: 1;
    margin: 0;
    margin-left: 7%;
}

.secondh{
    font-size: 45px;  
}

.firsth{
    padding-top: 30px;
    font-size: 20px;
}

.container2cont p{
    font-family: 'Inter', sans-serif;
    color: #333;
    font-size: 18px;
    margin-left: 7%;
    margin-right: 7%;
    text-align: justify;
}

/* Main Section Styling */
.map-section {
    display: flex;
    width: 100%;
    height: 600px;
    background-color: #2f98b5;
    margin-top: 6%;
    box-shadow: 4px 4px 5px rgba(0, 0.7, 0, 0.5); 

}

/* Sidebar Styling */
.map-sidebar {
    width: 30%;
    padding: 20px;
    background-color: #2f98b5;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;     /* Centers the rest of the content horizontally */
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.2);
}

.map-sidebar h2 {
    text-align: left;     
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 45px;
    margin-bottom: 20px;
}

.office-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Info Item Styling */
.info-item {
    display: flex;
    align-items: center;
}

.info-item span {
    font-family: 'Material Icons';
    color: #1a5767;
    font-size: 24px;
    margin-right: 10px;
}

.info-item p {
    font-family: 'Inter', sans-serif;
    color: #e2f0f4;
    font-size: 16px;
    margin: 0;
}

/* Map Container Styling */
.map-container {
    width: 70%;
    height: 100%;
    background-color: white;
    overflow: hidden;
}

/* Facebook Link Styling */
.facebook-link {
    color: #fff;              /* White color by default */
    text-decoration: none;    /* Removes underline */
    font-weight: 500;         /* Slightly bolder text */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Keeps the link color white even after clicking */
.facebook-link:visited,
.facebook-link:active {
    color: #fff;
}

/* Facebook Container Hover Effect */
.fbcont {
    transition: background-color 0.3s ease, padding 0.3s ease; /* Smooth transition for background and padding */
}

/* Hover Effect on Container */
.fbcont:hover {
    background-color: #ffffff; /* White background on hover */
    padding: 10px;             /* Adds padding on hover */
    border-radius: 10px;       /* Rounded corners */
}

/* Darker Text Color on Hover */
.fbcont:hover .facebook-link {
    color: #1a5767;            /* Darker text color on hover */
}

/* Back to Top Button Styling */
.backtotop {
    width: 100%;
    height: 150px;
    padding: 15px;
    font-size: 30px;
    background-color: #1638f3;
    color: #ffffff;
    border: none;
    cursor: pointer;
    bottom: 20px;
    left: 0;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1000;
    margin-top: 5%;
}

/* Hover Effect */
.backtotop:hover {
    background-color: #1127a4; /* Lighter blue */
    color: #ffffff;
}

/* General Footer Styling */
.footer {
    display: flex;
    justify-content: space-between;
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 20px 50px;
    font-size: 14px;
    height: 200px;
    align-items: center; /* Vertically centers the child elements */
}

/* Footer Left Section (Logo with Line) */
.footer-left {
    display: flex;
    align-items: center;
}

.footerlogo img {
    height: 80px;
}

.line {
    width: 4px;
    height: 80px;
    background-color: #2f98b5;
    margin-left: 20px; /* Spacing between logo and line */
}

/* Footer Center Section */
.footer-center {
    text-align: left;
}

.footer-center h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-center p {
    margin: 5px 0;
}

/* Footer Right Section */
.footer-right {
    text-align: left;
}

.footer-right h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-right p {
    margin: 5px 0;
}

/* Icon Styling (Replaced with 'ely-icon') */
.ely-icon {
    font-size: 20px;
    vertical-align: middle;
    color: #2f98b5;
    margin-right: 5px;
    font-family: 'Material Icons';
}

/* Link Styling */
.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #4aa3ff;
}

/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
}

/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
} 
       /* Responsive Styles */
        @media (max-width: 768px) {
            .headercontainer {
                height: 600px;
                padding: 20px;
                text-align: center;
            }
            .headertextblock {
                width: 100%;
                padding: 10px;
            }
            .headertextblock h1 {
                font-size: 32px;
            }
            .headertextblock p {
                font-size: 18px;
                text-align: center;
                position: static;
            }
            .viewbtn, .bookbtn {
                width: 30%;
                font-size: 18px;
                padding: 10px;
                margin-top: 10px;
            }
            .container1, .container2 {
                flex-direction: column;
                height: auto;
            }
            .container2cont{
                height: auto;
            }
            .container1 div, .container2contleft, .container2contright {
                width: 85%;
                padding: 10px;
                margin-bottom: 10px;
            }
            .map-section {
                flex-direction: column;
                height: auto;
            }
            .map-sidebar, .map-container {
                width: 100%;
                height: auto;
            }
            .footer {
                flex-direction: row;
                text-align: center;
                height: auto;
            }
            .footerlogo img{
                height: 50px;
            }
            .footer-center, .footer-right{
                margin-left: 10px;
            }
        }



        @media (max-width: 480px) {
            .account-menu {
                z-index: 10000 !important;
            }
            .elytruckingservices{
                width: 230px;
                height: 60px;
            }
            .headercontainer {
                height: 450px;
                padding: 20px;
                text-align: right;
            }
            .headertextblock {
                width: 80%;
                padding: 10px;
                padding-top: 180px;
            }
            .headertextblock h1 {
                font-size: 20px;
            }
            .headertextblock p {
                font-size: 12px;
                text-align: right;
                position: static;
            }
            .viewbtn, .bookbtn {
                width: 50%;
                font-size: 14px;
                padding: 10px;
                margin-top: 10px;
                right: 3%;
            }
            .viewbtn{
                right:57%;
            }
            
            .secondh{
                font-size: 32px;  
            }
            
            .firsth{
                padding-top: 30px;
                font-size: 12px;
            }
            .container2cont p{
                font-family: 'Inter', sans-serif;
                color: #333;
                font-size: 12px;
            }
            .container1, .container2 {
                flex-direction: column;
                height: auto;
            }
            .container2cont{
                height: auto;
            }
            .container1 div, .container2contleft, .container2contright {
                width: 85%;
                padding: 5px;
                margin-bottom: 10px;
            }
            .map-section {
                flex-direction: column;
                height: auto;
            }
            .map-sidebar, .map-container {
                width: 100%;
                height: auto;
            }
            .map-sidebar h2{
                font-size: 30px;
            }
            .info-item span {
                font-family: 'Material Icons';
                color: #1a5767;
                font-size: 24px;
                margin-right: 10px;
            }
            
            .info-item p {
                font-size: 12px;
                margin: 0;
            }
            .footer {
                flex-direction: column;
                text-align: center;
                height: auto;
            }
            .container1left, .container1middle, .container1right{
                margin-left: auto;
                margin-right: auto;
            }
            /* Header styling */
            .container1left h2, .container1middle h2, .container1right h2 {
                font-size: 20px;
            }
            .container1left p, .container1middle p, .container1right p {
                font-size: 16px;
            }
            .container1left li, .container1middle li, .container1right li {
                font-size: 16px;
            }
            .container1left::before{
                font-size: 400px;
                top: 45%;
                left: 55%;
                padding-top: 20px;
            }
            
            .container1middle::before, .container1right::before{
                font-size: 350px;
                top: 45%;
                left: 60%;
            }
            
            .container1middle::before{
                padding-top: 40px;
            }
            
            .container1right::before{
                padding-top: 50px;
            }
            .footer-left, .footer-center{
                margin-bottom: 20px;
                /* text-align: center; */
            }
            .footer-left{
                align-self: center;
            }
            .footerlogo img{
                height: 40px;
            }
            .line {
                width: 3px;
                height: 40px;
                background-color: #2f98b5;
                margin-left: 10px; /* Spacing between logo and line */
            }
            .footer{
                /* flex-direction: column-reverse; */
                align-items: flex-start; 
            }
        }