
:root {

    /*  Colors */
    --color-primary: #f4c430;
    --color-dark: #1e1e1e;
    --color-light: #ffffff;
    --color-gray: #f5f5f5;
    

    /*  Typography */
    --font-family-main: 'Segoe UI', sans-serif;

    --font-size-small: 0.9rem;
    --font-size-base: 1rem;
    --font-size-medium: 1.2rem;
    --font-size-large: 1.5rem;

    /*  Border Radius */
    --radius-small: 6px;
    --radius-medium: 12px;
    --radius-large: 20px;

    /*  Shadows */
    --shadow-light: 0 2px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.2);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
}


/* ===================================
   HEADER
=================================== */

.header {
    width: 100%;
    background-color: var(--color-dark);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* ===================================
   LOGO
=================================== */

.logo {
    display: flex;
    align-items: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
    transition: 0.3s ease;
    white-space: nowrap;
}

.logo i {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    margin-right: 8px;
}

.logo:hover {
    opacity: 0.8;
}

/* ===================================
   DESKTOP NAV
=================================== */

.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--color-light);
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-small);
    transition: 0.3s ease;
}

.nav-links li a:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

/* ===================================
   BURGER ICON
=================================== */

.menu-toggle {
    position: relative;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
}

.menu-toggle span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-light);
    border-radius: 6px;
    left: 0;
    transition: .25s ease-in-out;
}

/* Lines */
.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Open Animation */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 7px;
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 8px;
}

/* ===================================
   MOBILE DROPDOWN
=================================== */

@media (max-width: 992px) {

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: 100%;              /* Always directly below header */
        left: 0;
        width: 100%;
        background-color: var(--color-dark);
        flex-direction: column;
        align-items: end;
        gap: 18px;
        padding: 0;              /* controlled via animation */
        max-height: 0;           /* collapsed state */
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        box-shadow: var(--shadow-medium);
    }

    .nav-links.active {
        max-height: 500px;       /* enough space for menu */
        padding: 25px 0;
    }

}

.hero {
    padding: 80px 0;
    background-color: var(--color-gray);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* LEFT CONTENT */

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.hero-content p {
    font-size: var(--font-size-medium);
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

/* FEATURES */

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-small);
    font-weight: 500;
}

.feature i {
    color: var(--color-primary);
}

/* RIGHT IMAGE */

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
}

/* PROJECT BADGE */

.project-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-primary);
    padding: 20px;
    border-radius: var(--radius-small);
    box-shadow: var(--shadow-medium);
}

.project-badge h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.project-badge p {
    font-size: var(--font-size-small);
    font-weight: 500;
}


@media (max-width: 992px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .project-badge {
        left: 50%;
        transform: translateX(-50%);
    }
}



/* ============================= */
/*          SERVICES SECTION     */
/* ============================= */

.services {
    padding: 100px 0;
    background-color: var(--color-light);
    position: relative;
}

/* ============================= */
/*        SECTION HEADER         */
/* ============================= */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 15px;
    color: var(--color-dark);
    line-height: 1.2;
}

.section-header p {
    font-size: var(--font-size-medium);
    color: #666;
    line-height: 1.7;
}

/* ============================= */
/*             GRID              */
/* ============================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
}

/* ============================= */
/*           SERVICE CARD        */
/* ============================= */

.service-card {
    background-color: var(--color-gray);
    padding: 40px 30px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 0, 0, 0.05);
}

/* ============================= */
/*            ICON               */
/* ============================= */

.service-card i {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    background-color: rgba(244, 196, 48, 0.1);
    border-radius: 50%;
}

/* ============================= */
/*           TEXT                */
/* ============================= */

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.service-card p {
    font-size: var(--font-size-base);
    color: #555;
    line-height: 1.6;
}

/* ============================= */
/*      ACCENT LINE EFFECT       */
/* ============================= */

.service-card::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    margin-top: 20px;
    transition: width 0.3s ease;
}

.service-card:hover::after {
    width: 70px;
}

/* ============================= */
/*         MOBILE TWEAK          */
/* ============================= */

@media (max-width: 576px) {
    .services {
        padding: 80px 0;
    }

    .service-card {
        padding: 30px 20px;
    }
}


/* ============================= */
/*        PROJECTS SECTION       */
/* ============================= */

.projects {
    padding: 100px 0;
    background-color: var(--color-gray);
    position: relative;
}

/* ============================= */
/*              GRID             */
/* ============================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
}


/* ============================= */
/*          PROJECT CARD         */
/* ============================= */

.project-card {
    position: relative;
    display: block;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

/* ============================= */
/*              IMAGE            */
/* ============================= */

.project-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* ============================= */
/*             OVERLAY           */
/* ============================= */

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.3),
        transparent
    );
    color: var(--color-light);
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

/* ============================= */
/*         CATEGORY LABEL        */
/* ============================= */

.project-category {
    font-size: var(--font-size-small);
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================= */
/*            TITLE              */
/* ============================= */

.project-overlay h3 {
    font-size: 1.25rem;
    margin: 10px 0 8px 0;
    line-height: 1.3;
}

/* ============================= */
/*          DESCRIPTION          */
/* ============================= */

.project-overlay p {
    font-size: var(--font-size-small);
    opacity: 0.9;
    line-height: 1.5;
}

/* ============================= */
/*            BUTTON             */
/* ============================= */

.projects-btn {
    text-align: center;
    margin-top: 60px;
}

/* ============================= */
/*          RESPONSIVE           */
/* ============================= */

@media (max-width: 768px) {
    .projects {
        padding: 80px 0;
    }

    .project-card img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .project-card img {
        height: 240px;
    }
}


/* ============================= */
/*      TESTIMONIALS SECTION     */
/* ============================= */

.testimonials {
    padding: 100px 0;
    background-color: var(--color-light);
    position: relative;
}

/* ============================= */
/*              GRID             */
/* ============================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch; 
    list-style: none;
}

/* ============================= */
/*         TESTIMONIAL CARD      */
/* ============================= */

.testimonial-card {
    background-color: var(--color-gray);
    padding: 40px 30px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid transparent;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 0, 0, 0.05);
}

/* ============================= */
/*          QUOTE ICON           */
/* ============================= */

.quote-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Optional decorative background quote */
.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.04);
    font-weight: bold;
}

/* ============================= */
/*              TEXT             */
/* ============================= */

.testimonial-text {
    font-size: var(--font-size-base);
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ============================= */
/*          CLIENT INFO          */
/* ============================= */

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* pushes it to bottom */
}
.client-info img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-light);
    box-shadow: var(--shadow-light);
}

.client-info h4 {
    font-size: var(--font-size-base);
    color: var(--color-dark);
    margin-bottom: 3px;
}

.client-info span {
    font-size: var(--font-size-small);
    color: #777;
    display: flex;
}

/* ============================= */
/*         MOBILE TWEAK          */
/* ============================= */

@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}


/* ============================= */
/*          CONTACT SECTION      */
/* ============================= */

.contact {
    padding: 100px 0;
    background-color: var(--color-gray);
    position: relative;
}

/* ============================= */
/*         CONTAINER LAYOUT      */
/* ============================= */

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    align-items: start;
}

/* ============================= */
/*          CONTACT INFO         */
/* ============================= */

.contact-info {
    width: 100%;
}

.left-align {
    text-align: left;
    margin-bottom: 30px;
}

.info-box {
    background-color: var(--color-light);
    padding: 40px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    border: 1px solid transparent;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.info-box:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.info-box h3 {
    margin-bottom: 30px;
    font-size: 1.3rem;
    color: var(--color-dark);
}

/* ============================= */
/*          INFO ITEMS           */
/* ============================= */

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-top: 5px;

    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(244, 196, 48, 0.1);
    border-radius: 50%;
}

.info-item strong {
    display: block;
    color: var(--color-dark);
    margin-bottom: 3px;
}

.info-item p {
    font-size: var(--font-size-small);
    color: #555;
    line-height: 1.5;
}

/* ============================= */
/*        PHONE & EMAIL STYLES   */
/* ============================= */

.phone-style,
.email-style {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.phone-style:hover,
.email-style:hover {
    color: var(--color-primary);
    transform: translateX(2px);
}

/* ============================= */
/*          CONTACT FORM         */
/* ============================= */

.contact-form {
    width: 100%;
    background-color: var(--color-light);
    padding: 40px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    border: 1px solid transparent;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-form:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

/* ============================= */
/*          FORM GROUP           */
/* ============================= */

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: var(--font-size-small);
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border-radius: var(--radius-small);
    border: 1px solid #ddd;
    font-size: var(--font-size-base);
    font-family: var(--font-family-main);
    transition: border 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Focus State */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.2);
}

/* Full Width Utility */

.full-width {
    width: 100%;
}

/* ============================= */
/*         MOBILE TWEAK          */
/* ============================= */

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }

    .info-box,
    .contact-form {
        padding: 30px 20px;
    }
}


/* ============================= */
/*            FOOTER             */
/* ============================= */

.footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding-top: 90px;
    position: relative;
}

/* Subtle top accent line */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
}

/* ============================= */
/*         CONTAINER GRID        */
/* ============================= */

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    padding-bottom: 60px;
}

/* ============================= */
/*             LOGO              */
/* ============================= */

.footer-logo {
    display: flex;
    align-items: center;
    font-size: var(--font-size-medium);
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.6rem;
}

.footer-logo:hover {
    opacity: 0.8;
}

/* ============================= */
/*             TEXT              */
/* ============================= */

.footer-col p {
    font-size: var(--font-size-small);
    color: #bbb;
    line-height: 1.7;
}

/* ============================= */
/*            HEADINGS           */
/* ============================= */

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--color-light);
    position: relative;
}

/* Small accent under heading */
.footer-col h4::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    margin-top: 8px;
}

/* ============================= */
/*             LINKS             */
/* ============================= */

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #bbb;
    font-size: var(--font-size-small);
    transition: color 0.3s ease, transform 0.3s ease;
    /* display: inline-block; */
}

.footer-col ul li a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* ============================= */
/*            SOCIAL             */
/* ============================= */

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-light);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-dark);
    color: var(--color-dark);
    transform: translateY(-4px);
}

/* ============================= */
/*         FOOTER BOTTOM         */
/* ============================= */

.footer-bottom {
    border-top: 1px solid #2f2f2f;
    text-align: center;
    padding: 25px 0;
    font-size: var(--font-size-small);
    color: #aaa;
}

.footer-bottom a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-light);
}

/* ============================= */
/*          MOBILE TWEAK         */
/* ============================= */

@media (max-width: 768px) {
    .footer {
        padding-top: 70px;
    }

    .footer-container {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col h4::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom{
        padding: 20px 30px;
    }
}