/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* /* ========== HERO SECTION STYLE ========== */

.hero.new-hero {
    background-color: #e9f0f7;
    /* matches the screenshot */
    padding: 100px 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.container.tight-hero {
    max-width: 960px;
    margin: 0 auto;
}

.hero.new-hero h1 {
    font-size: 60px;
    line-height: 1.2;
    font-weight: 900;
    color: #111;
}

.hero.new-hero h1 strong {
    font-weight: 900;
}

@media (max-width: 768px) {
    .hero.new-hero h1 {
        font-size: 42px;
    }
}



/* ========== HEADER ========== */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
}

.site-header {
    width: 100%;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 32px;
    height: auto;
}

.logo span {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}

/* Nav Links (Centered) */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #555;
}

/* Hamburger Menu (Stairs Style) */
.hamburger {
    width: 30px;
    height: 25px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    width: 30px;
}

.hamburger span:nth-child(2) {
    width: 22px;
    margin-left: 8px;
}

.hamburger span:nth-child(3) {
    width: 16px;
    margin-left: 14px;
}

/* Optional: Hamburger active animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 30px;
    margin-left: 0;
}

/* ========== HERO SECTION ========== */
.hero {
    padding: 120px 0 80px;
    background-color: #f5f5f5;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

/* ========== BUTTON ========== */
.button {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.button:hover {
    background: #333;
}

/* ========== SERVICES ========== */
.services {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #f9f9f9;
    padding: 30px;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

/* ========== PROJECTS ========== */
.projects {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.project-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.project {
    max-width: 300px;
}

.project img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ========== FAQ ========== */
.faq {
    background: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #222;
}

.faq-item p {
    color: #555;
}

/* ========== CONTACT ========== */
.contact {
    background-color: #000;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

textarea {
    resize: vertical;
    height: 120px;
}

/* ========== FOOTER ========== */
footer {
    background-color: #f8f8f8;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9em;
    color: #555;
}

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        /* hide desktop nav on small screens */
    }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: fixed;
    top: 70px;
    /* below the fixed header */
    right: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.mobile-menu a {
    padding: 15px 0;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.mobile-menu.show {
    display: flex;
}

@media screen and (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;

    /* Initially hidden with slide out */
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    padding: 15px 0;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

/* Hide menu on desktop */
@media screen and (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ===== MOBILE MENU (Slide from Top) ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    padding: 60px 20px 20px;
    /* leave space for header */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;

    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    padding: 15px 0;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

/* Hide mobile menu on desktop */
@media screen and (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ===== OVERLAY ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* dark with transparency */
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (min-width: 769px) {
    .overlay {
        display: none !important;
    }
}

.footer {
    background: #fff;
    padding: 60px 20px 30px;
    border-top: 1px solid #eee;
    font-family: sans-serif;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-newsletter {
    flex: 1 1 300px;
    max-width: 400px;
}

.footer-newsletter h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.newsletter-form input {
    flex: 1;
    border: none;
    font-size: 16px;
    padding: 10px;
    outline: none;
}

.arrow-button {
    background: none;
    border: none;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex: 2 1 600px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-links h4 {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.footer-logo img {
    height: 24px;
}

.footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}

.footer-policies a {
    color: #333;
    text-decoration: none;
}

.footer-copy {
    font-size: 14px;
    color: #666;
}