/* General Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Headings and Paragraphs */
h1, h2, h3 {
    color: #35424a;
    margin: 0;
    text-align: center;
}
p {
    text-align: center;
    color: #35424a;
    margin: 0;
}

a {
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #008080;
}

/* Utility Classes */
.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}.foo.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #008080;
}ction h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #008080;
}-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.center-text {
    text-align: center;
}
.bg-white {
    background-color: #ffffff;
}
.bg-dark {
    background-color: #35424a;
    color: #ffffff;
}
.padding-large {
    padding: 80px 20px;
}
.padding-medium {
    padding: 20px 30px;
}
.box-shadow {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.rounded {
    border-radius: 5px;
}

/* --- NAVIGATION BAR --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 50px;
    background: linear-gradient(to right, #35424a, #1f2a31);
    position: relative;
    z-index: 100;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0px;
    margin-left: 26px;
    z-index: 1001;
     mix-blend-mode: screen;

}

.logo img {
    height: 150px;
    width: auto;
    margin: 0;
    mix-blend-mode: screen;

}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0;
    text-align: left;
}

.nav-links.left-links li {
    margin-right: 43px;
}

.nav-links.right-links li {
    margin-left: 19px;
}

.nav-links a {
    font-size: 10px;
    padding: 15px;
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.nav-links a:hover {
    color: #008080;
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-links .dropdown-menu a {
    color: #333;
    padding: 10px 20px;
    background: none;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger menu (hidden on desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px 0;
    background: #fff !important;
    border-radius: 2px;
    transition: 0.3s;
}

/* --- MOBILE/TABLET NAVIGATION --- */
@media (max-width: 1024px) {
    .navbar {
        justify-content: center;
        padding: 12px 10px;
    }
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 102;
    }
    .logo img {
        height: 48px;
        max-width: 110px;
    }
    .nav-links {
        display: none !important;
    }
    .hamburger-menu {
        display: flex !important;
    }
    .nav-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: #35424a;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        z-index: 1000;
        padding: 30px 0 20px 0;
        animation: fadeIn 0.2s;
    }
    .nav-dropdown.show {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0 30px;
    }
    .nav-dropdown .left-links,
    .nav-dropdown .right-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
    }
    .nav-dropdown li {
        margin: 0 0 18px 0;
        width: 100%;
    }
    .nav-dropdown a {
        font-size: 1.1rem;
        color: #fff;
        padding: 12px 0;
        border-radius: 4px;
        width: 100%;
        display: block;
        text-align: left;
    }
    .nav-dropdown a:hover {
        background: #22303a;
        color: #008080;
    }
    /* Show all dropdown-menus in mobile */
    .nav-dropdown .dropdown-menu {
        display: block !important;
        position: static;
        background: none;
        box-shadow: none;
        padding-left: 15px;
        margin-bottom: 0;
    }
    .nav-dropdown .dropdown-menu a {
        color: #fff;
        font-size: 1rem;
        padding: 8px 0 8px 18px;
    }
}

/* Animation for dropdown */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Desktop only: show nav links, hide hamburger/dropdown */
@media (min-width: 1025px) {
    .hamburger-menu,
    .nav-dropdown {
        display: none !important;
    }
    .nav-links {
        display: flex !important;
    }
}

/* Why Let With Us Section */
.why-let ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.why-let li {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.why-let li:hover {
    transform: translateY(-5px);
}
.why-let ul li {
    margin: 10px 0;
}

/* Steps to Letting Section */
.steps-to-let .steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.steps-to-let .step {
    text-align: center;
    max-width: 300px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin: 10px 0;
}

.full-width-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust height as needed */
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust height as needed */
    background: url('/assets/IMAGE10.jpg') no-repeat center center;
    background-size: cover; /* Ensure the image covers the entire container */
}

.slideshow-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.0); /* Optional: Add a semi-transparent background for better readability */
    padding: 20px;
    border-radius: 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Add a dark overlay */
.slideshow-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust darkness (0.5 = 50% opacity) */
    z-index: 1;
}

.slideshow-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff; /* Ensure text is completely white */
    z-index: 2; /* Ensure text is above the overlay */
}

.slideshow-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffffff; /* White for the heading */
}

.slideshow-text p {
    font-size: 1.2rem;
    color: #ffffff; /* White for the paragraph */
}

.intro-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px;
    align-items: center;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.intro-text {
    text-align: left;
}

.intro-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.intro-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.features {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px; /* Space between the cards */
}

.feature-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
}


/* Footer Section */
footer {
    background-color: #35424a;
    color: #ffffff;
    padding: 40px 20px;
    font-size: 14px;
    position: relative;
}
.footer-image {
    text-align: left;
    padding: 15px 10px 0px 20px;
    max-width: 1200px;
    margin: 0;
}
.footer-image img {
    max-height: 120px;
    width: auto;
    margin-left: 0;
    mix-blend-mode: screen;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}
.footer-section {
    flex: 1 1 200px;
    margin: 10px;
}
.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #008080;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section ul li {
    margin-bottom: 10px;
}
.footer-section ul li a {
    color: #ffffff;
}
.footer-section ul li a:hover {
    color: #008080;
}
.footer-section p {
    margin: 5px 0;
    opacity: 1;
    color: #ffffff;
}
.footer-section p a {
    color: #ffffff;
    transition: color 0.3s;
}
.footer-section p a:hover {
    color: #008080;
}
/* PSRA Number */
.footer-psra-number {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 12px;
    color: #d3d3d3;
    font-style: italic;
}

@media (max-width: 1024px) {
    .navbar {
        justify-content: center;
        padding: 20px 10px;    /* Increase vertical padding */
        min-height: 72px;      /* Ensure a taller navbar */
    }
    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        z-index: 102;
    }
    .logo img {
        height: 60px;          /* Make logo bigger */
        max-width: 140px;
        display: block;
    }
    .hamburger-menu {
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
    }
    .hamburger-menu span {
        width: 32px;
        height: 4px;
        margin: 6px 0;
    }
}
/* ...existing code... */

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        position: relative;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 0;
        margin: 10px 0;
    }
    nav ul li {
        display: inline-block;
        margin: 0 10px;
    }
    .login-button {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    .login-button img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        margin-bottom: 20px;
    }
    .footer-section h3,
    .footer-section ul,
    .footer-section p {
        text-align: center;
    }
    .footer-image {
        text-align: center;
        padding: 15px 0;
    }
    .psra-number {
        text-align: center;
        padding: 10px 0;
    }
    .why-let ul {
        grid-template-columns: 1fr;
    }
    .steps-to-let .steps-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Extra: Center content for page sections */
.page-title, .why-let, .steps-to-let {
    text-align: center;
    padding: 40px 20px;
}
.page-title h1, .why-let h2, .steps-to-let h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.page-title p, .why-let p, .steps-to-let p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        position: relative; /* For positioning the login button */
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center; /* Center the navigation menu */
        padding: 0;
        margin: 10px 0; /* Add spacing around the nav */
    }

    nav ul li {
        display: inline-block; /* Keep nav items inline */
        margin: 0 10px; /* Add spacing between items */
    }

    .login-button {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 40px; /* Adjust size for mobile */
        height: 40px;
    }

    .login-button img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%; /* Make it circular */
    }

    .slideshow-container {
        position: relative; /* Ensure the search bar stays inside */
        height: 280px; /* Allow slideshow to adjust height dynamically */
    }

    .slide img {
        transform: scale(1.4); /* Increase image size by 40% */
        object-fit: cover; /* Ensure the image still covers the container */
        margin-top: 5px; /* Add margin to bring it down */
    }

    .search-bar-container {
        position: absolute; /* Position it inside the slideshow */
        top: 420px; /* Adjust vertical position */
        left: 50%;
        transform: translateX(-50%); /* Center it horizontally */
        width: 80%; /* Reduce the width to make it smaller */
        max-width: 600px; /* Limit the maximum width */
        background: rgba(255, 255, 255, 0.8); /* Add a semi-transparent background */
        padding: 10px; /* Reduce padding to make it more compact */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
        border-radius: 5px; /* Rounded corners */
    }
    
    .search-input {
        width: calc(100% - 100px); /* Adjust width to leave space for the button */
        padding: 8px; /* Reduce padding for a smaller input */
        font-size: 14px; /* Reduce font size */
        border: 1px solid #ddd;
        border-radius: 5px 0 0 5px; /* Rounded corners on the left */
        outline: none;
    }
    
    .search-button {
        width: 80px; /* Reduce the button width */
        padding: 8px; /* Reduce padding for a smaller button */
        font-size: 14px; /* Reduce font size */
        background: #008080;
        color: #ffffff;
        border: none;
        border-radius: 0 5px 5px 0; /* Rounded corners on the right */
        cursor: pointer;
        transition: background-color 0.3s;
    }
    
    .search-button:hover {
        background: #d73814;
    }

       /* Local Experts Section */
       .local-global {
        padding: 10px; /* Reduce padding */
        text-align: center; /* Center-align text for better readability */
    }

    .local-global h2 {
        font-size: 15px; /* Reduce font size */
        line-height: 1.2; /* Adjust line height */
    }

    .local-global p {
        font-size: 8px; /* Reduce font size */
        line-height: 1.5; /* Adjust line height */
        letter-spacing: 0.5px; /* Adjust letter spacing */
    }

    /* Meet Your Experts Section */
    .meet-your-experts {
        padding: 50px 10px; /* Reduce padding */
    }

    .meet-your-experts h2 {
        font-size: 2rem; /* Reduce font size */
        margin-bottom: 50px; /* Reduce bottom margin */
    }

    .experts-container {
        gap: 10px; /* Reduce gap between expert cards */
    }

    .expert-card {
        transform: scale(1); /* Reset scaling for smaller screens */
    }

    .profile-picture {
        width: 80px; /* Reduce profile picture size */
        height: 80px;
    }

    .expert-card h3 {
        font-size: 1.2rem; /* Reduce font size */
    }

    .job-title {
        font-size: 1rem; /* Reduce font size */
    }

    .expert-card p {
        font-size: 0.9rem; /* Reduce font size */
    }

    @media (max-width: 768px) {
        .intro-grid {
            flex-direction: column;
        }
    
        .intro-text {
            text-align: center;
        }
    
        .features .grid {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
    
        .feature-card {
            padding: 20px;
        }
    
        .intro-section, 
        .features {
            padding: 40px 15px;
        }
    }

    @media (max-width: 480px) {
        .features .grid {
            grid-template-columns: 1fr;
        }
    
        .feature-card {
            max-width: 100%;
        }
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .logo img {
        height: 70px;         /* Increased from 48px */
        max-width: 150px;     /* Increased from 110px */
    }
 
}