/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;900&display=swap');

:root {
    --primary-color: #172a59;
    --secondary-color: #333;
    --accent-color: #ba9b64;



    --light-color: #f8f9fa;
    --dark-color: #222;
    --white: #fff;
    --gray: #777;
    --amc-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);

    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    font-weight: bold;
    padding: 12px 28px;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #a88a53;
    border-color: #a88a53;
    transform: translateY(-3px);
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

section.light-bg {
    background-color: var(--light-color);
}

.section-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: auto;
    opacity: 0.05;
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
}


h1,
h2,
h3,
h4 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
}


/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    position: sticky;
    top: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo img {
    max-height: 50px;
    height: auto;
    width: auto;
    flex-shrink: 0;
}

.logo-text-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-text-group .amc {
    font-family: var(--amc-font);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 0;
}

.logo-text-group .divider {
    border-left: 2px solid #ccc;
    height: 40px;
}

.logo-text-group .full-name h1 {
    font-family: var(--amc-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.2;
}

.logo-text-group .full-name p {
    font-family: var(--amc-font);
    font-size: 10px;
    color: var(--gray);
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.304), rgba(255, 255, 255,0.304)), url('../images/construction-bg.jpg') no-repeat center center/cover;
    color: var(--secondary-color);
    text-align: left;
    padding: 160px 0;
}

.hero h1 {
    font-family: var(--amc-font);
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.hero h3 {
    font-family: var(--amc-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-contact {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-contact-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-contact-btn:hover {
    background: #a88a53;
    transform: translateY(-3px);
}

.hero-contact-btn i {
    font-size: 16px;
}

/* Certified & Contracted With Section */
.partners-section {
    background-color: var(--primary-color);
    padding: 60px 0;
}

.partners-section h2 {
    color: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    max-width: 100%;
    max-height: 65px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s;
    margin: 0 auto;
}

.partner-logo:hover {
    opacity: 1;
}

/* About Page */
.team {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
}

.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
}

/* UPDATED Team Member Image Styles */
.team-member img {
    width: 80%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 18px;
}

.team-member p.role {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.team-member p.description {
    font-size: 14px;
    color: var(--gray);
}


/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

a.service-card-link {
    text-decoration: none;
    color: inherit;
}

/* UPDATED HOVER EFFECT */
.service-card:hover {
    transform: translateY(-10px);
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

/* On hover, keep the icon gold */
.service-card:hover i {
    color: var(--accent-color);
}

.service-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

/* On hover, change h4 to white */
.service-card:hover h4 {
    color: var(--white);
}

/* Welcome/Stats Section Reorganization */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text h2 {
    text-align: left;
}

.welcome-text h2::after {
    margin-left: 0;
}

.stats-box-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-box .counter {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    line-height: 1.1;
}

.stat-box p {
    font-size: 16px;
    color: var(--gray);
    margin: 0;
}

.footer-section ul li a[href="license.html"],
.footer-section ul li a[href="careers.html"] {
    color: var(--white);
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-section ul li a[href="license.html"]:hover,
.footer-section ul li a[href="careers.html"]:hover {
    color: var(--accent-color);
}

        /* UPDATED Lightbox styles */
        .lightbox {
            display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 5px;
}

/* Base styles for all lightbox buttons */
.lightbox button {
    position: absolute;
    background-color: rgba(30, 30, 30, 0.6);
    border: none;
    color: var(--white);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.lightbox button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Next & Previous Buttons */
.lightbox .prev,
.lightbox .next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.prev {
    left: 25px;
}

.next {
    right: 25px;
}

/* Close Button */
.lightbox .close {
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    font-size: 20px;
}

/* ADD THIS TO THE BOTTOM OF YOUR style.css FILE */

/* Footer Download Button */
.footer-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    /* Space above the button */
}

.footer-download-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.footer-download-btn img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Makes the icon white */
}

/* REPLACE the old social and whatsapp float styles with this new consolidated block */
/* Consolidated Floating Social Media Button */
.social-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.social-links-wrapper {
    display: flex;
        flex-direction: column;
    align-items: center;
        gap: 15px;
    margin-bottom: 15px;
    transform: scaleY(0); /* Hide links by default */
    transform-origin: bottom center;
    transition: transform 0.3s ease;
    }

.social-float-container.active .social-links-wrapper {
    transform: scaleY(1); /* Show links when active */
}

.social-link,
.social-toggle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover,
.social-toggle-btn:hover {
    transform: scale(1.1);
}

.social-toggle-btn {
    background-color: var(--primary-color);
    cursor: pointer;
}

.social-float-container.active .social-toggle-btn {
    background-color: var(--dark-color); /* Change color when menu is open */
}

.whatsapp-link {
    background-color: #25D366;
}

.linkedin-link {
    background-color: #0A66C2;
}

.facebook-link {
    background-color: #1877F2;
}

.instagram-link {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Other styles... */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-split-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-split-text h2,
.content-split-text h3 {
    text-align: left;
}

.content-split-text h2::after {
    margin-left: 0;
}

.page-header {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 100px 0 60px;
}

.page-header h1 {
    color: var(--accent-color);
}

.project-showcase {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.project-showcase:last-child {
    border-bottom: none;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
}

.project-summary ul {
    list-style: none;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 8px;
}

.project-summary li {
    margin-bottom: 15px;
    font-size: 16px;
}

.project-summary li strong {
    color: var(--accent-color);
    display: block;
    font-size: 14px;
}

.project-highlights ul {
    list-style-type: '✔  ';
    padding-left: 20px;
}

.project-highlights li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 32px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.close {
    top: 20px;
    right: 30px;
    font-size: 40px;
    background: transparent;
}

.license-container {
    text-align: center;
}

.license-container object {
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 80vh;
}

.license-container .btn {
    margin-top: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin: 60px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: var(--accent-color);
    width: 40px;
    text-align: center;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    background: var(--light-color);
}

.map iframe {
    border-radius: 10px;
}

footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    transition: color 0.3s ease;
    display: inline-block; /* Add this line */
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section .fas {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {

    .content-split,
    .contact-grid,
    .project-details-grid,
    .welcome-grid {
        grid-template-columns: 1fr;
    }

    .welcome-text h2 {
        text-align: center;
    }

    .welcome-text h2::after {
        margin: 10px auto 0;
    }

    .welcome-stats {
        text-align: center;
    }

    .stats-box-container {
        flex-direction: row;
        justify-content: center;
    }

    .stat-box {
        flex: 1;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-contact {
        flex-direction: column;
    }

    nav {
        gap: 15px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgb(255, 255, 255);
        flex-direction: column;
        text-align: center;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--light-color);
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 576px) {
    .stats-box-container {
        flex-direction: column;
    }
}
