/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Contact Row */
.contact-row {
    background: #1a237e;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 200;
}

.contact-info a {
    color: #00acc1;
    text-decoration: none;
    margin-right: 15px;
}

.quote-btn {
    background: #00796b;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
}

.quote-btn:hover {
    background: #005f5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.quote-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 40px;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #00796b;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
}

nav ul.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul.menu li {
    position: relative;
}

nav ul.menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    display: block;
}

nav ul.menu li .cta-btn {
    background: #00796b;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

nav ul.menu li .cta-btn:hover {
    background: #005f5f;
    transform: translateY(-2px);
}

/* Dropdown Menu */
.menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
    border-radius: 5px;
    padding: 0.25rem 0;
}

.menu > li:hover .dropdown {
    display: block;
}

.dropdown li {
    padding: 0.25rem 1rem;
}

.dropdown li a {
    color: #333;
    text-decoration: none;
    display: block;
    font-weight: 400;
}

.dropdown li a:hover {
    background-color: #f5f5f5;
    color: #00796b;
}

/* Hero Section */
.hero {
    display: flex;
    min-height: 80vh;
    margin-top: 60px;
}

.hero-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #00796b;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00796b;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn.primary {
    background: #00796b;
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn.primary:hover {
    background: #005f5f;
    transform: translateY(-2px);
}

.hero-bg {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide:nth-child(1) {
    background-image: url('images/hero_business.jpg');
}

.slide:nth-child(2) {
    background-image: url('images/hero_contract.jpg');
}

.slide:nth-child(3) {
    background-image: url('images/hero_finance.jpg');
}

.slide:nth-child(4) {
    background-image: url('images/hero_growth.jpg');
}

input[name="slider"] {
    display: none;
}

.navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

#slide1:checked ~ .navigation label[for="slide1"],
#slide2:checked ~ .navigation label[for="slide2"],
#slide3:checked ~ .navigation label[for="slide3"],
#slide4:checked ~ .navigation label[for="slide4"] {
    background: #fff;
}

#slide1:checked ~ .slides .slide:nth-child(1),
#slide2:checked ~ .slides .slide:nth-child(2),
#slide3:checked ~ .slides .slide:nth-child(3),
#slide4:checked ~ .slides .slide:nth-child(4) {
    opacity: 1;
}

/* Services Section */
.services {
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a237e;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #00796b;
    margin-bottom: 15px;
}

.card ul {
    list-style: none;
    margin: 15px 0;
    text-align: left;
}

.card ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00796b;
}

.case-study {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: left;
}

.case-study h4 {
    color: #1a237e;
    margin-bottom: 5px;
}

/* About Section */
.about {
    padding: 50px 20px;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a237e;
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
}

.team {
    padding: 50px 20px;
    text-align: center;
}

.team h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a237e;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.team-members .card {
    text-align: center;
}

.team-members .card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Blog Section */
.blog {
    padding: 50px 20px;
    text-align: center;
}

.blog h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a237e;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.blog-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: transform 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blog-post h3 {
    color: #00796b;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a237e;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info span {
    margin-right: 10px;
    color: #00796b;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form button {
    padding: 12px;
    background: #00796b;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* Real Estate Section */
.real-estate {
    padding: 50px 20px;
    text-align: center;
}

.real-estate h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a237e;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.filters input,
.filters select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.property-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.property-list .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Shop Section */
.shop {
    padding: 50px 20px;
    text-align: center;
}

.shop h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a237e;
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.product-cards .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.cart {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.cart h3 {
    margin-bottom: 15px;
    color: #1a237e;
}

/* Tenders Section */
.tenders {
    padding: 50px 20px;
    text-align: center;
}

.tenders h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a237e;
}

.tenders p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.signup-form,
.pricing-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.signup-form input,
.signup-form select,
.signup-form textarea,
.pricing-form input,
.pricing-form select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.signup-form select[multiple] {
    height: 120px;
}

/* Analytics Section */
.analytics {
    padding: 50px 20px;
    text-align: center;
}

.analytics h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a237e;
}

.analytics p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.charts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.charts canvas {
    max-width: 100%;
}

/* Modal Styles */
.quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.quote-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quote-form button {
    padding: 12px;
    background: #00796b;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.form-message {
    margin-top: 10px;
    text-align: center;
}

/* Footer */
footer {
    background: #1a237e;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #00acc1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.socials a {
    color: #00acc1;
    text-decoration: none;
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #00acc1;
    text-decoration: none;
    margin: 0 10px;
}

.live-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00796b;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 99;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        text-align: center;
        padding: 5px 10px;
        gap: 8px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul.menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    nav ul.menu.active {
        display: flex;
    }

    nav ul.menu li {
        margin: 5px 0;
        width: 100%;
        text-align: left;
    }

    nav ul.menu li a {
        padding: 10px 20px;
        display: block;
    }

    nav ul.menu .dropdown {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        padding-left: 20px;
    }

    nav ul.menu > li:hover .dropdown {
        display: none;
    }

    nav ul.menu > li.active .dropdown {
        display: block;
    }

    header {
        padding: 10px 15px;
        top: 40px;
    }

    .hero {
        flex-direction: column;
        margin-top: 60px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-bg {
        min-height: 300px;
    }

    .stats {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .service-cards, .team-members, .contact-content, .blog-posts, .property-list, .product-cards {
        flex-direction: column;
        align-items: center;
    }
    
    /* Ensure existing sections inherit reduced spacing */
    .card, .blog-post {
        margin-bottom: 15px;
    }
    
    .filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filters input, .filters select {
        width: 100%;
        max-width: 300px;
    }
}