
/* =========================
   GLOBAL SETTINGS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    color: #222;
}

:root {
    --gold: #b8860b;
    --dark: #222;
    --light: #fff;
}

.page-section {
    scroll-margin-top: 85px;
}


/* =========================
   HEADER / NAVIGATION
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 85px;
    padding: 12px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
}

.company-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-name {
    font-size: 21px;
    font-weight: bold;
    color: #222;
    white-space: nowrap;
}

.logo-name strong {
    color: var(--gold);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navigation a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
    color: var(--gold);
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}


/* =========================
   COMMON SECTION SUBTITLE
========================= */

.section-subtitle {
    color: var(--gold);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
}


/* =========================
   HOME SECTION
========================= */

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 140px 8% 80px;
    display: flex;
    align-items: center;
    background-color: #222;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.76),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    color: white;
}

.hero-subtitle {
    color: #e4bd57;
    font-size: 17px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 17px;
    line-height: 1.8;
    max-width: 650px;
    margin-bottom: 35px;
    color: #f1f1f1;
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: white;
    color: var(--dark);
}

.slide-number {
    position: absolute;
    bottom: 35px;
    right: 8%;
    color: white;
    font-size: 16px;
    z-index: 2;
}

.current-slide {
    color: #e4bd57;
    font-size: 25px;
    font-weight: bold;
    margin-right: 8px;
}


/* =========================
   ABOUT US SECTION
========================= */

.about-section {
    position: relative;
    min-height: 650px;
    padding: 120px 8% 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
}

.about-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    width: 100%;
    padding: 35px;
    background: rgba(255, 255, 255, 0.88);
}

.about-label {
    color: var(--gold);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;
}

.about-content h1 {
    font-size: 52px;
    line-height: 1.2;
    margin: 20px 0;
    color: #222;
}

.about-content h1 span {
    color: var(--gold);
}

.about-content h2 {
    font-size: 25px;
    margin-bottom: 20px;
    color: #222;
}

.about-content > p {
    max-width: 850px;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.stat-box {
    padding: 22px;
    background: rgba(255, 255, 255, 0.96);
    border-left: 3px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.stat-box h2 {
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 14px;
    color: #444;
}


/* =========================
   PROJECTS SECTION
========================= */

.projects-section {
    position: relative;
    padding: 120px 8% 80px;
    background: #fff;
    min-height: 100vh;
}

.projects-heading {
    text-align: center;
    margin-bottom: 55px;
}

.projects-heading span {
    color: var(--gold);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.projects-heading h1 {
    font-size: 45px;
    color: #222;
    margin: 15px 0;
}

.projects-heading p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}


/* PROJECT GRID */

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}


/* PROJECT CARD */

.project-card {
    background: #fff;
    padding: 18px;
    text-align: left;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


/* PROJECT STATUS TAG - TOP LEFT */

.project-status {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-bottom: 12px;
    border-radius: 3px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.2px;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: none;
    transition: transform 0.3s ease;
}

/* ONGOING PROJECT */

.project-status.in-progress {
    background: linear-gradient(135deg, #ff9800, hsla(39, 100%, 45%, 0.986));
    animation: progressGlow 1.8s ease-in-out infinite;
}

.project-status.in-progress::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: dotBlink 1s infinite;
}

/* COMPLETED PROJECT */

.project-status.completed {
    background: linear-gradient(135deg, #16a34a, hsl(147, 88%, 20%));
    animation: completedFloat 2.5s ease-in-out infinite;
}

.project-status.completed::before {
    content: "✓";
    font-size: 14px;
    font-weight: bold;
}


/* PROJECT NAME */

.project-card h2 {
    font-size: 19px;
    color: #222;
    margin: 0 0 18px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.4;
}


/* PROJECT IMAGE WRAPPER */

.project-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #fff;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #fff;
}


/* PROJECT YEAR */

.project-year {
    color: var(--gold);
    font-size: 17px;
    font-weight: bold;
    margin-top: 18px;
}


/* PROJECT STATUS ANIMATIONS */

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 152, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 16px rgba(255, 152, 0, 0.8);
    }
}

@keyframes dotBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

@keyframes completedFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

.project-card:hover .project-status {
    transform: scale(1.04);
}


/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    position: relative;
    padding: 120px 8% 80px;
    background: #fff;
    min-height: 100vh;
}

.contact-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.contact-heading h1 {
    font-size: 45px;
    color: #222;
    margin: 15px 0;
}

.contact-heading p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}


/* CONTACT FORM */

.contact-form {
    padding: 35px;
    background: #fff;
    border: 1px solid #eee;
    border-top: 4px solid var(--gold);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

.contact-form h2 {
    font-size: 27px;
    color: #222;
    margin-bottom: 25px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #222;
}

#form-status {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}


/* CONTACT INFORMATION */

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-content: start;
}

.contact-info-left,
.contact-info-right {
    padding: 28px;
    background: #fafafa;
    border: 1px solid #eee;
}

.contact-info h2 {
    color: #222;
    font-size: 21px;
    margin-bottom: 20px;
}

.contact-info h3 {
    color: #222;
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 12px;
}

.contact-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.contact-info a {
    color: #555;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-info a:hover {
    color: var(--gold);
}


/* SOCIAL MEDIA ICONS */

.social-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}


/* =========================
   FOOTER
========================= */

.footer {
    text-align: center;
    padding: 25px 15px;
    background: #f8f8f8;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================
   TABLET RESPONSIVE DESIGN
========================= */

@media (max-width: 900px) {

    .header {
        padding: 12px 4%;
    }

    .navigation {
        gap: 17px;
    }

    .projects-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}


/* =========================
   MOBILE RESPONSIVE DESIGN
========================= */

@media (max-width: 600px) {

    html {
        scroll-padding-top: 125px;
    }

    .header {
        position: sticky;
        flex-direction: column;
        gap: 12px;
        padding: 12px 3%;
    }

    .logo-name {
        font-size: 18px;
    }

    .company-logo {
        width: 43px;
        height: 43px;
    }

    .navigation {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .navigation a {
        font-size: 13px;
    }

    .hero {
        min-height: 80vh;
        padding: 80px 6% 70px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-description {
        font-size: 15px;
    }

    .slide-number {
        bottom: 20px;
        right: 6%;
    }

    .about-section {
        padding: 70px 5%;
    }

    .about-content {
        padding: 22px;
    }

    .about-content h1 {
        font-size: 36px;
    }

    .about-content h2 {
        font-size: 21px;
    }

    .about-content > p {
        font-size: 15px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-box {
        padding: 15px;
    }

    .stat-box h2 {
        font-size: 27px;
    }

    .projects-section {
        padding: 75px 5%;
    }

    .projects-heading h1 {
        font-size: 34px;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 250px;
    }

    .project-status {
        padding: 8px 12px;
        font-size: 10px;
    }

    .contact-section {
        padding: 75px 5% 50px;
    }

    .contact-heading h1 {
        font-size: 35px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-info-left,
    .contact-info-right {
        padding: 22px;
    }
}


/* REDUCE ANIMATIONS FOR ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .project-status,
    .project-status::before,
    .project-status::after {
        animation: none !important;
    }
}
