:root {
    --primary-color: #f7b731;
    /* Bright Construction Yellow */
    --secondary-color: #2d3436;
    /* Dark Steel Grey */
    --accent-color: #eb4d4b;
    /* Subtle Red Accent */
    --bg-light: #ffffff;
    --bg-secondary: #f9f9f9;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, #f7b731 0%, #fa8231 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

.section-padding {
    padding: 60px 0;
}

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

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.mt-50 {
    margin-top: 50px;
}

.mt-30 {
    margin-top: 30px;
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(247, 183, 49, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(247, 183, 49, 0.5);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #000;
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
    background: #1e272e;
    /* Deep Charcoal */
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled {
    padding: 8px 0;
    background: #151b1f;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 65px;
    width: 65px;
    object-fit: cover;
    border-radius: 12px;
    /* Square with softened corners */
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    background: white;
    padding: 2px;
    /* Adds a tiny white gap before the gold border for a premium feel */
}

.logo:hover .logo-img {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.logo-text span {
    color: var(--primary-color);
    font-size: 16px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-btn-wrapper {
    margin-left: 20px;
}

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(247, 183, 49, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 183, 49, 0.5);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 24px;
}

/* New Hero Section Style */
.hero-new {
    padding-top: 80px;
    padding-bottom: 60px;
    background-color: var(--white);
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 350px;
}

.hero-left {
    flex: 1.2;
    text-align: center;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 450px;
    background: #f1f3f5;
    padding: 20px;
    border-radius: 8px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: block;
    text-transform: none;
    letter-spacing: normal;
}

.hero-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 800;
}

.hero-tagline {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    font-style: normal;
}

.hero-btns-new {
    display: flex;
    justify-content: center;
}

.hero-btns-new .btn-primary {
    font-size: 16px;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a2a3a;
    /* Dark Navy matches the button in image-2 */
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-transform: none;
}

/* Features Bar */
.features-bar {
    background-color: #1a2a3a;
    padding: 30px 0;
    margin-top: 50px;
}

.features-container {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.feature-item {
    text-align: center;
    flex: 1;
    color: var(--white);
}

.feature-icon-wrapper {
    width: 85px;
    height: 85px;
    background: var(--white);
    border: 4px solid #1a2a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -75px auto 15px;
    /* Pull it up to overlap the edge of the bar */
    color: #3c5a82;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-item p {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

/* Stats Section Adjustment */
.stats {
    background: var(--white);
    padding: 20px 0;
    margin-top: 0;
    width: 100%;
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
    padding: 10px 0;
}

.stat-item h3 {
    font-size: 52px;
    color: #1a2a3a;
    font-weight: 800;
}

.stat-item p {
    font-size: 15px;
    font-weight: 700;
    color: #555;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 36px;
    }

    .features-container {
        flex-wrap: wrap;
    }

    .feature-item {
        flex: 0 0 50%;
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    .feature-item {
        flex: 0 0 100%;
    }
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.since-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(247, 183, 49, 0.4);
}

.since-badge span {
    display: block;
    font-size: 14px;
}

.since-badge strong {
    font-size: 28px;
    display: block;
}

.about-list {
    list-style: none;
    margin-top: 30px;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.about-list li i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Services */
.grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid #eee;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Projects */
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.grid-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-item {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #adb5bd;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

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

.project-status {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    margin-bottom: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fdfdfd;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(247, 183, 49, 0.1);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about p {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 15px;
}

.logo.light .logo-text {
    color: var(--white);
}

.footer h4 {
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer ul li a {
    color: var(--white);
    text-decoration: none;
}

.footer ul li:hover {
    opacity: 1;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #1a2a3a;
        padding: 20px;
        gap: 15px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block !important;
        cursor: pointer;
    }

    .nav-btn-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .btn-nav {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 50px;
    }

    .hero-title {
        font-size: 32px;
    }

    .features-bar {
        padding: 50px 0 20px;
        margin-top: 0;
    }

    .features-container {
        flex-direction: column !important;
        gap: 50px !important;
    }

    .feature-item {
        margin-top: 0 !important;
    }

    .feature-icon-wrapper {
        margin: 0 auto 15px !important;
        /* Reset negative margin for mobile */
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .grid-services,
    .grid-projects {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .grid-services,
    .grid-projects,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 24px;
    }

    .logo-img {
        height: 45px;
        width: 45px;
        border-width: 2px;
    }

    .logo-text {
        font-size: 13px;
        line-height: 1.1;
    }

    .logo-text span {
        font-size: 11px;
    }

    .stats {
        padding: 40px 10px;
    }

    .grid-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Gallery Indicator */
.gallery-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.close-modal {
    position: absolute;
    right: 30px;
    top: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--primary-color);
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

@media (max-width: 1150px) {
    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    object-fit: cover;
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.thumbnail:hover {
    opacity: 1;
}

.modal-info {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    backdrop-filter: blur(15px);
    max-height: 30vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-info h2 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 28px;
    font-family: 'Outfit', sans-serif;
}

.modal-info p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
}

/* Custom Scrollbar for Modal Info */
.modal-info::-webkit-scrollbar {
    width: 6px;
}

.modal-info::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.modal-info::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        gap: 15px;
    }

    .gallery-container {
        height: 50vh;
    }

    .modal-info {
        padding: 20px;
    }

    .modal-info h2 {
        font-size: 22px;
    }

    .modal-info p {
        font-size: 14px;
        line-height: 1.6;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}