:root {
    /* Color Palette */
    --navy-dark: #0a192f;
    --navy-light: #112240;
    --green-forest: #1b4d3e;
    --green-light: #64ffda;
    /* brighter accent for tech feel */
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --white: #e6f1ff;
    --slate: #8892b0;

    /* Typography */
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--navy-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-dark);
}

.text-gradient {
    background: linear-gradient(to right, #4cd1a8, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.sub-heading {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}

.section-heading {
    font-size: 2.5rem;
    line-height: 1.2;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

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

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.95);
    /* Dark Navy Glass */
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 0.8rem 0;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .logo {
    color: var(--white);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-overlay img {
    height: 60px;
    width: auto;
}

.dot {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    /* White by default */
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
    opacity: 0.9;
}

.navbar.scrolled .nav-link {
    color: var(--white);
    /* Keep white on dark scrolled nav */
}

.nav-link:hover {
    color: var(--gold);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-link:hover::after {
    width: 100%;
}

/* Key Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--gold-glow);
    padding-right: 2.5rem;
    /* Space for arrow */
}

.btn-primary::after,
.btn-outline::after {
    content: '→';
    position: absolute;
    right: -20px;
    transition: right 0.3s var(--ease);
    opacity: 0;
}

.btn-primary:hover::after,
.btn-outline:hover::after {
    right: 1.2rem;
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    padding-right: 2.5rem;
}

.btn-glow {
    background: var(--navy-dark);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.7rem 1.5rem;
}

.btn-glow:hover {
    background: var(--gold);
    color: var(--navy-dark);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Hero Section - Slideshow Effect */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy-dark);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: zoomFade 18s infinite;
}

/* High-quality Unsplash Images for Construction/Engineering */
.slide-1 {
    background-image: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.6)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=1920&auto=format&fit=crop');
    /* Construction Crane/Skyline */
    animation-delay: 0s;
}

.slide-2 {
    background-image: linear-gradient(rgba(27, 77, 62, 0.7), rgba(27, 77, 62, 0.6)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=1920&auto=format&fit=crop');
    /* Solar Panels */
    animation-delay: 6s;
}

.slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1581094794329-cd1361ddee2d?q=80&w=1920&auto=format&fit=crop');
    /* Engineers Blueprints */
    animation-delay: 12s;
}

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    10% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    43% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 25, 47, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-size: 4.5rem;
    /* Increased size */
    color: #fff;
    margin-bottom: 2rem;
    /* Increased spacing */
    line-height: 1.3;
    /* Fix clumping */
    animation: slideUp 1s var(--ease);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e6f1ff;
    /* Brighter white/blue */
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: slideUp 1s var(--ease) 0.2s forwards;
    opacity: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    animation: slideUp 1s var(--ease) 0.4s forwards;
    opacity: 0;
    display: flex;
    justify-content: center;
    /* Center alignment */
    gap: 1.5rem;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--gold);
    font-size: 1.5rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

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

.image-grid {
    position: relative;
    height: 400px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
}

.grid-img {
    border-radius: 4px;
    background-color: #ddd;
    /* placeholder */
    background-size: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* About Section Images */
.img-1 {
    grid-column: 1 / 10;
    grid-row: 1 / 11;
    z-index: 1;
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=800&auto=format&fit=crop');
    /* Worker in hard hat */
    background-size: cover;
    background-position: center;
}

.img-2 {
    grid-column: 7 / 13;
    grid-row: 6 / 13;
    z-index: 2;
    border: 5px solid var(--white);
    background-image: url('https://images.unsplash.com/photo-1535732759880-bbd5c7265e3f?q=80&w=800&auto=format&fit=crop');
    /* Modern Building/Construction */
    background-size: cover;
    background-position: center;
}

.experience-badge {
    position: absolute;
    top: 20%;
    right: 5%;
    background: var(--navy-dark);
    color: white;
    padding: 1.5rem;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.description {
    color: #444;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

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

.counter {
    font-size: 2.5rem;
    color: var(--navy-dark);
    font-weight: 700;
}

/* Services Section */
.services {
    background-color: var(--navy-dark);
    color: var(--white);
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
    padding-top: 8rem;
}

.services .section-heading,
.services .sub-heading {
    color: white;
}

.services .sub-heading {
    color: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(17, 34, 64, 0.6);
    padding: 2.5rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--navy-light);
    border-color: var(--gold);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1);
    color: var(--white);
    text-shadow: 0 0 10px var(--gold-glow);
}

.service-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--slate);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
    /* arrow slide effect */
}

/* Projects Section */
.projects {
    background: var(--white);
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.project-card {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s var(--ease);
}

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

/* Featured Projects Images */
.project-1 {
    background-image: url('https://images.unsplash.com/photo-1600596542815-e25fa1108638?q=80&w=800&auto=format&fit=crop');
    /* Luxury House */
}

.project-2 {
    background-image: url('https://images.unsplash.com/photo-1592833159057-65a2845730bd?q=80&w=800&auto=format&fit=crop');
    /* Solar Water/Borehole vibe */
}

.project-3 {
    background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?q=80&w=800&auto=format&fit=crop');
    /* Industrial/Power */
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95), transparent);
    padding: 2rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-info h4 {
    color: white;
    margin-bottom: 0.2rem;
}

.project-info p {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-sm {
    display: inline-block;
    font-size: 0.8rem;
    color: white;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--slate);
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h2 {
    color: white;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: var(--slate);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-newsletter form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 4px;
}

.footer-newsletter input {
    background: transparent;
    border: none;
    padding: 10px;
    color: white;
    width: 100%;
    outline: none;
}

.footer-newsletter button {
    background: var(--gold);
    border: none;
    color: var(--navy-dark);
    width: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: white;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Scroll Reveal Class */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

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

    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .bar {
        width: 25px;
        height: 3px;
        background: var(--navy-dark);
        margin: 5px 0;
        transition: 0.3s;
    }

    .navbar.scrolled .bar {
        background: white;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: var(--navy-light);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s var(--ease);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: white !important;
        font-size: 1.2rem;
    }
}

/* New Sections Utility */
.mb-5 {
    margin-bottom: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-gold {
    color: var(--gold);
}

.small {
    font-size: 0.9rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Execution Grid (Projects List) */
.execution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.exec-item {
    background: var(--white);
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition);
}

.exec-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.exec-item .dot {
    width: 10px;
    height: 10px;
    background: var(--green-forest);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.exec-item h5 {
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.exec-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Equipment Section */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.eq-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: var(--transition);
}

.eq-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.eq-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.eq-card h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.eq-card p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Leadership Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.team-card {
    text-align: center;
    background: white;
    padding-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.team-img {
    height: 250px;
    background-color: #eee;
    background-size: cover;
    background-position: top center;
    margin-bottom: 1.5rem;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.team-info p {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Scroll Delay Utilities */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Top Bar */
.top-bar {
    background-color: var(--navy-dark);
    color: var(--slate);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1001;
    /* Above navbar */
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .social-icons a {
    color: var(--slate);
    margin-left: 1rem;
    transition: color 0.3s;
}

.top-bar .social-icons a:hover {
    color: var(--gold);
}

.contact-info a {
    color: var(--slate);
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--gold);
}

.separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Adjust Navbar top position since we added top-bar */
.navbar {
    top: 40px;
}

/* With top-bar */
.navbar.scrolled {
    top: 0;
}

/* Stick to top on scroll */

/* Clients Section */
.clients-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    opacity: 0.7;
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--navy-light);
    transition: transform 0.3s;
}

.client-logo i {
    font-size: 2.5rem;
    color: var(--navy-light);
}

.client-logo:hover {
    transform: scale(1.1);
    opacity: 1;
    color: var(--gold);
}

.client-logo:hover i {
    color: var(--gold);
}

/* Directions Link */
.directions-link {
    color: var(--gold);
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.2rem;
}

.directions-link:hover {
    text-decoration: underline;
}

/* Map */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
    border: 1px solid var(--gold);
}

/* Make sure navbar respects top bar on mobile */
@media (max-width: 968px) {
    .top-bar {
        display: none;
    }

    /* Hide on very small screens if crowded, or stack */
    .navbar {
        top: 0;
    }
}