*{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14%; /* Set the same height for both */
    background-color: white;
    z-index: -1; /* Ensure it sits behind the content but in front of the background */
    opacity: 1.0; /* Ensure opacity is consistent */
}


.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(Images/Dam2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 2;
}
.move-up {
    width: 50%;
    max-width: 1000px;
    display: block;
    margin: 0 auto;
    position: relative;
    top: -20px; /* Adjust as needed */
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 50px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display:inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a, /* Target both anchor and span (SERVICES non-clickable link) */
.nav-links ul li .non-clickable {
    color: #0a0a0a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer; /* To keep it looking like a link, though non-clickable */
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}


.nav-links ul li .non-clickable:hover {
    color: #0a0a0a; /* Keep the same hover effect if needed */
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
nav .dropdown-content {
    display: none;
    position: absolute;
    text-align: left;
    background-color: black;
    color: white; 
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-top: solid #f44336;
    z-index: 1000;
}

/* Links inside the dropdown */
nav .dropdown-content li a {
    color: white;
    background-color: transparent;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left !important;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;    
}

/* Change color of dropdown links on hover */
.dropdown-content li a:hover {
    background-color: #f44336;
    color: white;
}

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

/* Add dropdown arrow or indicator */
nav .dropdown::after {
    content: ' ▼';
    font-size: 12px;
    margin-left: 5px;
    color: white;
    display: inline;
    vertical-align: middle;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: left;
}
.text-box h1{
    font-size: 62px;
    margin-bottom: 70px;
}
.text-box h2{
    font-size: 30px;
    margin-bottom: 30px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 18px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    background: black; /* Blue background */
    color: white; /* White text */
    border: transparent;
    border-radius: 5px; /* Rounded corners */
    padding: 12px 34px;
    font-size: 15px;
    background: black;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease; /* Smooth background transition */
}
.hero-btn:hover{
    background: white; /* Darker blue on hover */
    color: #0a0a0a;
    border: 2px solid black;
}

nav .fa-solid{
    display: none;    
}



@media (max-width: 700px) {
    /* Adjust h1 font size and margin for smaller screens (portrait mode) */
    .text-box h1 {
        font-size: 25px;  /* Make h1 smaller for portrait */
        margin-top: 10px; /* Add some margin above */
    }

    /* Adjust h2 font size for smaller screens */
    .text-box h2 {
        font-size: 15px;  /* Make h2 smaller for portrait */
    }

    /* Adjust paragraph font size for smaller screens */
    .text-box p {
        font-size: 10px;  /* Make paragraph smaller for portrait */
    }

    /* Make nav links take up full width in portrait mode */
    .nav-links ul li {
        display: block;  /* Stack the links vertically */
        width: 100%;     /* Each link takes full width */
    }

    /* Style for the links and non-clickable items in portrait mode */
    .nav-links ul li a,
    .nav-links ul li .non-clickable {
        color: white;  /* Change text color to white */
    }

    /* Fixed position for navigation menu on mobile devices */
    .nav-links {
        position: fixed;          /* Keep the nav fixed while scrolling */
        background: #312f2f;      /* Dark background for menu */
        height: 100vh;            /* Full viewport height */
        width: 200px;             /* Narrower width for portrait */
        top: 0;                   /* Position from the top */
        right: -200px;            /* Hide the menu off-screen initially */
        text-align: left;         /* Left-align the text */
        z-index: 3;               /* Ensure it stays above other elements */
        transition: 1s;           /* Smooth transition for opening/closing */
    }

    /* Style for the hamburger icon in portrait mode */
    nav .fa-solid {
        display: block;           /* Show the icon in portrait */
        color: black;             /* Black icon color */
        margin: 10px;             /* Some margin around the icon */
        font-size: 22px;          /* Adjust size of the icon */
        cursor: pointer;          /* Make the icon clickable */
        position: relative;       /* Position it in relation to parent */
        top: 20px;                /* Adjust top margin */
        margin-left: 20px;        /* Push it to the right a bit */
    }

    /* Style for icons in portrait mode */
    .nav-links i {
        color: white;  /* Set icons color to white */
    }

    /* Padding around the navigation list in portrait */
    .nav-links ul {
        padding: 30px;  /* Add padding around the list */
    }

    /* Move elements up slightly in portrait mode */
    .move-up {
        margin: 0 auto;       /* Center the elements */
        position: relative;   /* Position relative to parent */
        top: 20px;            /* Move up 20px */
        left: -20px;          /* Move to the left 20px */
    }

    /* Dropdown content in portrait mode */
    .nav-links ul li .dropdown-content {
        position: relative;         /* Keep the dropdown positioned relative to parent */
        display: block;             /* Ensure the dropdown is always visible */
        width: 100%;                /* Full width of the menu */
        box-shadow: none;           /* Remove box shadow for a flat look */
        background-color: #312f2f;  /* Dark background for dropdown */
        z-index: 3;                 /* Ensure dropdown stays on top */
        padding: 0;                 /* No padding inside dropdown */
    }

    /* Style for dropdown links in portrait mode */
    .nav-links ul li .dropdown-content li {
        width: 100%;  /* Dropdown items take full width */
    }

    /* Style for individual dropdown links in portrait mode */
    .nav-links ul li .dropdown-content li a {
        padding: 0 20px;            /* Add padding inside dropdown links */
        color: white;               /* White text color */
        background-color: transparent;  /* Transparent background */
        white-space: normal;        /* Allow text wrapping */
        word-wrap: break-word;      /* Enable breaking of long words */
        word-break: break-word;     /* Support word breaking */
        overflow-wrap: break-word;  /* Ensure proper word wrapping */
    }

    /* Hover effect for dropdown links in portrait mode */
    .nav-links ul li .dropdown-content li a:hover {
        background-color: #f44336;  /* Red background on hover */
        color: white;               /* White text on hover */
    }

    /* Hover effect for non-clickable elements in portrait mode */
    .nav-links ul li .non-clickable:hover {
        color: white;  /* Keep color white on hover */
        background: none;
    }

    /* Remove the red underline entirely from portrait view */
    .nav-links ul li::after {
        width: 100%;  /* No underline will appear */
        background: none;
    }
}


/*-----------services------------*/
.services{
    width: 80%;
    margin: 10%;
    text-align: center;
    padding: 5%, 5%;
    
}
.services h1{
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px; /* Adjust the value as needed */
    
}
.services p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-align: justify;
}

/* Styling for the e-con container */
.e-con {
    display: flex;   
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    background: white; 
    padding: 1px;    
    flex-wrap: wrap;    
}

/* Styling for the inner container */
.e-con .inner {
    flex: 1 1 calc(33.333% - 40px); /* Flexible width with space for the gap */
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    text-align: center;
    padding: 20px;
    background: white; /* White background for the inner container */
    /*border-radius: 10px; /* Rounded corners */
     /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a raised effect */
}

/* Adding borders to the second container */
.e-con .inner:nth-child(2) {
    border-left: 2px solid lightgray; /* Left border */
    border-right: 2px solid lightgray; /* Right border */
}

/* Styling fonts in inner containers */
.e-con .inner i{
    font-size: 30px;
    margin-bottom: 30px;
}
/* Styling for the heading */
.e-con .inner h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Styling for the paragraph */
.e-con .inner p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: start;
}

/* Styling for the learn more button */
.e-con .inner .learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: black; 
    color: white; /* White text */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    transition: background 0.3s ease; /* Smooth background transition */
}

/* Hover effect for the learn more button */
.e-con .inner .learn-more-btn:hover {
    background: white; /* Darker blue on hover */
    color: #0a0a0a;
    border: 2px solid black;
}

/* Media queries for mobile devices */
@media (max-width: 700px) {
    .services {
        width: 80%;
        margin: 10%;
        text-align: center;
        padding: 5%, 5%;
    }

    .services h1 {
        font-size: 28px; /* Adjusted font size for mobile */
    }

    .e-con {
        flex-direction: column;
        gap: 20px; /* Adjusted for mobile view */
    }

    .e-con .inner {
        max-width: 100%; /* Full width for mobile */
        padding: 15px;
    }

    .e-con .inner h2 {
        font-size: 20px; /* Reduce font size for mobile */
    }

    .e-con .inner p {
        font-size: 14px; /* Reduce font size for mobile */
        text-align: justify;
    }
    .e-con .inner:nth-child(2) {
        border-left: 1px solid white; /* Left border */
        border-right: 1px solid white; /* Right border */
    }
    .e-con .inner .learn-more-btn {
        padding: 8px 16px; /* Adjust button padding for mobile */
        font-size: 14px; /* Adjust button font size for mobile */
    }
}

/*-------clients-----*/
.clients h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 36px;
    font-weight: 600;
}

#container {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: auto; /* Hide overflow if the items exceed container width */
    justify-content: start;
    padding: 5px;
    margin-top: 2%;
    gap: 10%;   
        
}

.scroll {
    display: flex;
    flex-direction: row; /* Align items horizontally */
    justify-content: space-between; /* Start items from the left */
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scrolling */
    flex: 2; /* Take up available space between buttons */
    padding: 10px;
}

.item {
    flex: 0 0 auto; /* Allow items to size based on their content */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    display: flex; /* Enable flex context for vertical alignment */
    align-items: flex-start; /* Default alignment, adjust per image */
    transition: all 1s ease; /* Add transition for smooth animations */
}

/* Media query for mobile devices */
@media (max-width: 700px) {
    .scroll {
        flex-wrap: nowrap; /* Ensure items do not wrap to the next line */
        justify-content: flex-start;
        overflow-x: auto;
    }
    .clients h1 {
        font-size: 28px; /* Adjusted font size for mobile */
        text-align: center;
    }
    .item {
        flex: 0 0 50vw; /* Make each item take full width on mobile */
        margin: 0; /* Remove right margin */
    }

    .item img {
        width: 100vw; /* Set image width to 100% of the container */
        height: auto; /* Maintain aspect ratio */
        max-height: 10vh; /* Set a maximum height to prevent overflow */
        object-fit: contain; /* Ensure the image fits within the bounds */
    }
    .scroll-button {
        display: block; /* Show scroll buttons */
    }
    .container {
    align-items: center;
    justify-content: space-around;
    }
    /* Custom size classes for manual adjustment */
    .custom-size.seplat {
        width: auto; /* Allow manual width adjustment */
        height: auto; /* Maintain aspect ratio */
        object-fit: contain;
    }

    .custom-size.waltersmith {
        width: auto; /* Allow manual width adjustment */
        height: auto; /* Maintain aspect ratio */     
        max-height: 8vh;       
        object-fit: contain;
    }

    .custom-size.aradel {
        width: auto; /* Allow manual width adjustment */
        height: auto; /* Maintain aspect ratio */    
        max-height: 8vh; 
        object-fit: contain;
    }
    .custom-size.powergas {
        width: auto; /* Allow manual width adjustment */
        height: auto; /* Maintain aspect ratio */    
        object-fit: contain;
    }
    .custom-size.ssac {
        width: auto; /* Allow manual width adjustment */
        height: auto; /* Maintain aspect ratio */    
        object-fit: contain;
    }
}

@media (min-width: 701px) {
    .scroll-button {
        display: none; /* Hide scroll buttons on larger screens */
    }
}

/* Scroll button styles */
.scroll-button {
    background-color: #ccc;
    color: #333;
    border: none;
    padding: 20px;
    cursor: pointer;
    font-size: 24px;
    line-height: 0; /* Adjust line height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-button:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

/*------ About Us ------*/

.about-con {
    display: flex;
    flex-basis: 200%;
    width: auto;    
    text-align:left;
}
.about-inner {
    flex: 1 1 calc(66.67% - 100px); /* Flexible width with space for the gap */
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    text-align: justify;
    padding: 0 0 0 15%;
    margin-top: 10%;
}
.about-inner img {
    border-radius: 8px;
    
}
.about-inner-text {
    flex: 1 1 calc(66.67% - 100px); /* Flexible width with space for the gap */
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    text-align: justify;
    padding: 0 12% 0 0;
    margin-top: 10%;
    
}
.about-inner-text h1{
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 5%;
}
.about-inner-text p{
    color: #777;
    font-size: 18px;
    margin-bottom: 10%;
    padding-right: 15%;
    padding-left: 20px;
    border-left: #0a0a0a solid 0.5rem;

}

/* Styling for the learn more button */
.about-inner-text .learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: black; 
    color: white; /* White text */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    transition: background 0.3s ease; /* Smooth background transition */
}
/* Hover effect for the learn more button */
.about-inner-text .learn-more-btn:hover {
    background: white; /* Darker blue on hover */
    color: #0a0a0a;
    border: 2px solid black;
}

/* Media query for mobile devices */
@media (max-width: 700px) {
    .about-con {
        flex-direction: column; /* Stack items vertically */
        width: 100%; /* Full width */
        text-align: center; /* Center text */
    }

    .about-inner, .about-inner-text {
        flex: 1 1 100%; /* Full width for mobile */
        padding: 0 30px; /* Reduced padding for mobile */
    }

    .about-inner img {
        width: 100%; /* Full width image */
        max-width: 350px;
        height: auto;
        border-radius: 8px;
        /*max-width: 100%;
        height: auto;
        margin-bottom: 30px;*/
    }
    .about-inner-text {
        text-align: center; /* Center text within this container */
    }

    .about-inner-text h1 {
        font-size: 20px; /* Adjusted font size for mobile */
        margin-bottom: 10px; /* Adjusted margin for mobile */  
        text-align: center;      
    }

    .about-inner-text p {
        font-size: 14px; /* Adjusted font size for mobile */
        margin-bottom: 25px; /* Adjusted margin for mobile */
        text-align: justify;
    }

    .about-inner-text .learn-more-btn {
        display: inline-block; /* Make button a block element */
        margin: 10px auto; /* Center button */
        padding: 8px 16px; /* Adjusted button padding for mobile */
        font-size: 14px; /* Adjusted button font size for mobile */
        text-align: center;
    }
   
}

/*-------testimonials--------*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonial-col p{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonial-col .fa-solid{
    color: #f44336;
}
@media(max-width: 700px){
    .testimonial-col img{
        margin-left: 0px;
        margin-right: 15px;
    }

}

/*--------call to action-------*/

.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(Images/Calltoaction.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
@media(max-width: 700px){
    .cta h1{
        font-size: 20px;
    }
}

/*-------footer--------*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px o;
}
.footer p{
    margin-bottom: 25px;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    
}
/* .icons .fa-brands{
    color:#f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
} */

/*--------about us page-------------*/


.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(Images/Electricity_Dist.jpg);
    background-position: center;
    background-size: cover;
    text-align: left;
    color: #fff;
    position: relative; /* Ensure this is set to relative */
    font-size: 25px;
    z-index: 2;
}

.sub-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28%; /* Set the same height for both */
    background-color: white;
    z-index: -1; /* Ensure it sits behind the content but in front of the background */
    opacity: 1.0; /* Ensure opacity is consistent */
}

.sub-header h1{
    margin-top: 20px;
    padding-left: 60px;
}


.container-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section Styles */
.company-section, .mission-section {
    padding: 40px 0;
    background-color: #fff;    
}

.company-section h2, .mission-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: black;
}

.company-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    border-bottom: 1px solid #ddd;
    padding-bottom: 40px;
}

.mission-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    border-left: #0a0a0a solid 0.5rem;
    padding-left: 20px;
}
/* Explore Section */
.explore-section {
    padding: 40px 0;
    background-color: #fff;  
}

.container-explore {
    display: flex;
    align-items: flex-start;    
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 150px
}

.explore-content {
    flex: 1;
    padding-right: 20px;
}

.explore-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    background: black; 
    color: white;
    border: transparent;
    border-radius: 5px; 
    padding: 12px 34px;
    font-size: 15px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease; 
}

.hero-btn:hover{
    background: white; 
    color: #0a0a0a;
    border: 2px solid black;
}

.explore-image {
    flex: 1;
    text-align: right;
}

.explore-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.red-btn:hover{
    color: #fff;
}

@media(max-width: 700px){
    .footer p{
        font-size: 10px;
    }
     /*.move-up {
        width: 50%; 
        max-width: 500px;
        position: relative;
        margin: 0 auto;
    }*/

    .container-explore {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center;
        text-align: center;
        gap: 20px; /* Space between elements */        
    }

    .explore-image img {        
        width: 100%; /* Full width image */
        max-width: 350px;
    }

    .explore-content p {        
        font-size: 16px;
        line-height: 1.8;
        color: #666;
        margin-bottom: 20px;        
        text-align: left;
    }

    .company-section p {
        font-size: 16px;
        line-height: 1.8;
        color: #666;
        border-bottom: 1px solid #ddd;
        padding-bottom: 40px;
        text-align: left;
    }

    .mission-section p {
        font-size: 16px;
        line-height: 1.8;
        color: #666;
        border-left: #0a0a0a solid 0.5rem;
        padding-left: 20px;
    }
}

/*---------energy transition + styling for all services pages--------*/

.content-section {
    display: flex;
    flex-direction: column;       
    gap: 100px; /* Space between sections */
    padding: 20px;   
    max-width: 1200px;
    margin: 5% auto;
    /*gap: 150px;*/
}

.content-item {
    display: flex;    
    align-items: flex-start;
    gap: 150px; /* Space between image and text */
    /*padding: 0 0 0 15%;*/
}

.content-image img {
    width: 500px;
    height: auto;
    border-radius: 8px;
}

.content-text {
    max-width: 600px;
}

.content-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    /*color: #333;*/
}

.content-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.content-text ul {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    padding: 3% 0% 0% 2%;
}

/* Base styling for laptop mode (already existing) */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding: 20px;
    max-width: 1200px;
    margin: 5% auto;
}

.content-item {
    display: flex;
    align-items: flex-start;
    gap: 150px;
}

.content-image img {
    width: 500px;
    height: auto;
    border-radius: 8px;
}

.content-text {
    max-width: 600px;
}

.content-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.content-text ul {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    padding: 3% 0% 0% 2%;
}

/* Media Queries */

/* Portrait Mode: 360x760 */
@media screen and (max-width: 700px) {
    .sub-header h1 {
        text-align: left;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 24px;
        padding-left: 0px;
    }

    .move-up {
        width: 50%; /* Retains the same size as laptop mode */
        max-width: 500px;
        position: relative;
        margin: 0 auto;
    }

    .content-item {/* Portrait Mode: 360x760 */
        @media screen and (max-width: 700px) {
            .sub-header h1 {
                text-align: left;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                font-size: 24px;
                padding-left: 0px;
            }
        
            .move-up {
                width: 50%; /* Retains the same size as laptop mode */
                max-width: 500px;
                position: relative;
                margin: 0 auto;
            }
        
            .content-item {
                flex-direction: column; /* Stack image and text vertically */
                align-items: center;
                text-align: center;
                gap: 20px; /* Space between elements */
            }
        
            .content-item:nth-child(odd) {
                flex-direction: column-reverse; /* Ensure the order for odd items */
            }
        
            .content-image img {
                width: 100%; /* Full width image */
                max-width: 350px;
            }
        
            .content-text {
                max-width: 90%;
                margin-top: 20px; /* Spacing between image and text */
            }
        
            .content-text h3 {
                font-size: 20px;
                text-align: left;
            }
        
            .content-text p {
                font-size: 14px;
                text-align: left;
            }
            .content-text ul {
                font-size: 14px;
                line-height: 1.6;
                color: #666;
                padding: 3% 0% 0% 2%;
                text-align: left;
            }
        }
        /* Landscape Mode: 760x360 */
        @media screen and (max-width: 760px) and (max-height: 360px) {
            .nav-links ul {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 10px;
            }
        
            .nav-links ul li {
                display: inline-block;
            }
        
            .nav-links ul li a,
            .nav-links ul li .non-clickable {
                padding: 10px;
                font-size: 12px;
                white-space: nowrap;
            }
        
            .nav-links ul li:hover .dropdown-content {
                display: block; /* Show dropdown on hover */
            }
        
            .dropdown-content {
                display: none;
                position: absolute;
                background-color: white;
                list-style-type: none;
                box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
                padding: 0;
            }
        
            .dropdown-content li {
                display: block;
                text-align: left;
            }
        
            .move-up {
                width: 50%; /* Same size as laptop view */
                max-width: 250px; /* Reduce by half for readability */
                position: absolute;
                top: 1px;
                left: 1px;
                margin: 10px; /* Position within the white background */
            }
        
            .sub-header::before {
                height: 50%; /* Match the height from laptop mode */
            }
        
            .sub-header h1 {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                text-align: center;
                font-size: 20px;
            }
        }
        
        
        flex-direction: column; /* Stack image and text vertically */
        align-items: center;
        text-align: center;
        gap: 20px; /* Space between elements */
    }

    .content-item:nth-child(odd) {
        flex-direction: column-reverse; /* Ensure the order for odd items */
    }

    .content-image img {
        width: 100%; /* Full width image */
        max-width: 350px;
    }

    .content-text {
        max-width: 90%;
        margin-top: 20px; /* Spacing between image and text */
    }

    .content-text h3 {
        font-size: 20px;
        text-align: left;
    }

    .content-text p {
        font-size: 14px;
        text-align: left;
    }
    .content-text ul {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
        padding: 3% 0% 0% 2%;
        text-align: left;
    }
}
/* Landscape Mode: 760x360 */
@media screen and (max-width: 760px) and (max-height: 360px) {
    .nav-links ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .nav-links ul li {
        display: inline-block;
    }

    .nav-links ul li a,
    .nav-links ul li .non-clickable {
        padding: 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .nav-links ul li:hover .dropdown-content {
        display: block; /* Show dropdown on hover */
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: white;
        list-style-type: none;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        padding: 0;
    }

    .dropdown-content li {
        display: block;
        text-align: left;
    }

    .move-up {
        width: 50%; /* Same size as laptop view */
        max-width: 250px; /* Reduce by half for readability */
        position: absolute;
        top: 1px;
        left: 1px;
        margin: 10px; /* Position within the white background */
    }

    .sub-header::before {
        height: 50%; /* Match the height from laptop mode */
    }

    .sub-header h1 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        font-size: 20px;
    }
}

.contact-container {
    display: grid;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    /*background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    border-radius: 8px;
}

.contact-hours {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 20px;
    /*background-color: #f9f9f9;*/
    border-radius: 8px;
    text-align: left;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/    
    margin-bottom: 5%;
}

.contact-info {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 20px;
    /*background-color: #f9f9f9;*/
    border-radius: 8px;
    text-align: left;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/    
}

.contact-hours h2,
.contact-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
    /*color: #333;*/
}

.contact-hours p,
.contact-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.e-con-inner.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;    
    border-radius: 8px;
    display: flex; /* Align form and image side by side */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 150px; /* Adjust spacing between image and form */
}

.map-section {
    flex: 1; /* Flex-grow to allow the map section to take up space */
    max-width: 50%; /* Ensure the section doesn't exceed 50% of the container */
}

.map-section p{
    text-align: center;
    margin-bottom: 4%;
    font-weight: 700;
}

.map-section .map-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.form-section {
    flex: 1; /* Flex-grow to allow the form section to take up space */
    max-width: 50%; /* Ensure the section doesn't exceed 50% of the container */
    padding-left: 20px; /* Add padding to the left */
}

.form-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
   
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #888; /* Grey outline for input fields */
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* Ensure padding doesn't affect total width */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-weight: bold; /* Bold placeholder text */
    /*color: #666; /* Adjust color for better visibility */
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    background: black;
    color: white;
    border: transparent;
    border-radius: 5px;
    padding: 12px 34px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background: white;
    color: #0a0a0a;
    border: 2px solid black;
}


/* Responsive adjustments */
@media(max-width: 768px) {
    .e-con-inner.container {
        flex-direction: column; /* Stack image and form vertically on smaller screens */
    }

    .map-section, .form-section {
        max-width: 100%; /* Full width for both sections */
    }

    .form-section {
        padding-left: 0; /* Remove left padding on smaller screens */
    }
    .contact-container {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-hours,
    .contact-info {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}



