﻿/* =========================================================
   GLOBAL VARIABLES & RESET
   ========================================================= */

:root {
    --primary-blue: #0077b6;
    --sky-blue: #00b4d8;
    --dark-blue: #023e8a;
    --light-blue: #90e0ef;

    --lime-green: #98d14b;
    --bright-green: #7bc043;
    --dark-green: #5a9216;

    --light-bg: #f8fcff;
    --white: #ffffff;
    --black: #1a1a1a;

    --text-dark: #1e293b;
    --text-gray: #64748b;

    --accent-yellow: #ffc947;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================================
   UNIFIED NAVBAR (OPTION A IMPLEMENTATION)
   ========================================================= */

/* Navbar container */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.08);
    border-bottom: 3px solid var(--lime-green);
}

/* Logo */
.navbar .logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop navigation links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-links li a:hover {
    color: var(--sky-blue);
}

/* Desktop contact button */
.contact-btn {
    background: var(--lime-green);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background: var(--bright-green);
    transform: translateY(-2px);
}

/* =========================================================
   MOBILE NAVBAR
   ========================================================= */

/* Hamburger */
.menu-icon {
    width: 32px;
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-icon span {
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 5px;
}

/* Slide-in drawer menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: var(--white);
    padding: 40px 25px;
    transition: 0.35s ease-in-out;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
    z-index: 3000;
}

.mobile-menu.active {
    right: 0;
}

/* Close button */
.close-btn {
    font-size: 42px;
    cursor: pointer;
    text-align: right;
    margin-bottom: 25px;
    color: #333;
}

/* Mobile menu links */
.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: var(--sky-blue);
}

/* Mobile contact button */
.mobile-contact {
    margin-top: 40px;
    display: block;
    text-align: center;
    padding: 0.8rem 1.5rem;
    background: var(--lime-green);
    color: var(--white);
    border-radius: 10px;
    font-weight: 700;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

@media (max-width: 900px) {
    .nav-links,
    .contact-btn {
        display: none;
    }

    .menu-icon {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
}
/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.hero-carousel {
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    align-items: center;
    padding: 6rem 5%;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

/* Background images */
.hero-slide:nth-child(1)::before {
    background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&q=90");
}
.hero-slide:nth-child(2)::before {
    background-image: url("https://images.unsplash.com/photo-1590846406792-0adc7f938f1d?w=1920&q=90");
}
.hero-slide:nth-child(3)::before {
    background-image: url("https://images.unsplash.com/photo-1589939705384-5185137a7f0f?w=1920&q=90");
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-subtitle {
    color: var(--lime-green);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.cta-btn {
    background: var(--lime-green);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(152, 209, 75, 0.3);
}

.cta-btn:hover {
    background: var(--bright-green);
    transform: translateY(-3px);
}

/* Carousel arrows */
.hero-carousel-nav {
    position: absolute;
    inset: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hero-carousel-btn {
    pointer-events: all;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    transition: 0.3s;
}

.hero-carousel-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

/* Carousel dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.hero-dot.active {
    background: var(--lime-green);
    width: 40px;
    border-radius: 6px;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    color: var(--sky-blue);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.services-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    transition: 0.35s ease;
    box-shadow: 0 5px 20px rgba(0, 119, 182, 0.08);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(0, 119, 182, 0.15);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* =========================================================
   INFRASTRUCTURE SECTION
   ========================================================= */

.infrastructure {
    padding: 5rem 5%;
    background: var(--white);
}

.infrastructure-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.infrastructure-image {
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.infrastructure-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.infrastructure-text {
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1rem;
    line-height: 1.75;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--lime-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-gray);
}

/* =========================================================
   PROJECTS SECTION
   ========================================================= */

.projects {
    padding: 5rem 5%;
    background: var(--text-dark);
    color: var(--white);
}

.projects-grid {
    display: grid;
    max-width: 1200px;
    margin: auto;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-image {
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
}

.project-category {
    color: var(--lime-green);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* =========================================================
   TESTIMONIALS SECTION
   ========================================================= */

.testimonials {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    display: flex;
    gap: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-image {
    width: 200px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    background: linear-gradient(135deg, var(--bright-green), var(--lime-green));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* =========================================================
   CALL TO ACTION SECTION
   ========================================================= */

.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(
        135deg,
        var(--dark-blue),
        var(--primary-blue),
        var(--sky-blue)
    );
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 5% 2rem;
    border-top: 3px solid var(--lime-green);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: auto;
}

.footer-section h4 {
    color: var(--lime-green);
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--lime-green);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
}
/* =========================================================
   PAGE HEADERS (Used on About, Services, Projects, Contact)
   ========================================================= */

.page-header {
    padding: 6rem 5% 3rem;
    margin-top: 80px;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--dark-blue) 0%,
        var(--primary-blue) 50%,
        var(--sky-blue) 100%
    );
    color: var(--white);
}

.page-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 700px;
    margin: auto;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-content {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: auto;
}

.about-section {
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats section */
.stats-section {
    background: var(--light-bg);
    padding: 4rem 5%;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--lime-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-gray);
    font-weight: 500;
}

/* Company values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 119, 182, 0.1);
    transition: 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
    transition: 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0, 119, 182, 0.15);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   SERVICES DETAILS PAGE
   ========================================================= */

.services-detail {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: auto;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) > * {
    direction: ltr;
}

.service-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.15);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0, 119, 182, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: "✓";
    color: var(--lime-green);
    font-weight: 700;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 2rem;
    color: var(--lime-green);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: var(--light-bg);
    font-size: 1rem;
}

.submit-btn {
    background: var(--lime-green);
    color: var(--white);
    padding: 1rem 0;
    width: 100%;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Map */
.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.15);
}

/* =========================================================
   PROJECTS LISTING PAGE
   ========================================================= */

.projects-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: auto;
}

.filter-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 1rem;
}

.status-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
}

.status-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    background: transparent;
    border: none;
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

.status-tab.active {
    background: var(--lime-green);
}

.category-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-dropdown {
    padding: 0.8rem;
    border-radius: 10px;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* =========================================================
   PROJECTS INNER PAGE (DETAIL VIEW)
   ========================================================= */

.project-hero {
    height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.project-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 3rem 5%;
    color: white;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
}

.project-details {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: auto;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.info-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 119, 182, 0.1);
}

/* Gallery */
.gallery-section {
    margin-top: 4rem;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s;
}

.gallery-item {
    min-width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Related Projects */
.related-section {
    padding: 4rem 5%;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
