/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1f2937;
    overflow-x: hidden;
}

.logo {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
}



/* ===== HERO ===== */
.hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* hide old glow */
.glow {
    display: none;
}

/* LEFT — text side */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 60px 60px 80px;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1f2937;
    text-align: left;
    line-height: 1.2;
}

.hero p {
    color: #555;
    font-size: 18px;
    margin-bottom: 30px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

/* RIGHT — image side */
.hero::after {
    content: "";
    background: url('../images/building.jpg') center center / cover no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

/* buttons */
.btn {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.primary {
    background: #4B4BED;
    color: white;
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(41, 41, 167, 0.4);
}

.secondary {
    border: 1px solid #4B4BED;
    color: #4B4BED;
}

.secondary:hover {
    background: #4B4BED;
    color: white;
}

/* ===== SECTION ===== */
.section {
    padding: 100px 60px;
}

/* ===== SERVICES ===== */
.services {
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* CARD */
.card {
    padding: 30px;
    border-radius: 20px;
    background: white;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(75, 75, 237, 0.15);
}

/* ICON */
.icon {
    width: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

/* TEXT */
.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* KNOW MORE */
.know-more {
    text-decoration: none;
    font-weight: 600;
    color: #4B4BED;
    transition: 0.3s;
    display: inline-block;
}

.know-more:hover {
    color: #2f2fcf;
    transform: translateX(5px);
}

/* ===== QUOTE SECTION ===== */
.quote {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #f5f7ff, #ffffff);
}

.quote h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.quote p {
    color: #6b7280;
    font-size: 18px;
}

/* ===== INFO SECTION ===== */
.info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

/* ===== GENERAL BOX ===== */
.box {
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* ===== LEFT BOX ===== */
.info-left {
    text-align: center;
    background: #f3f4f6;
    border: none;
    box-shadow: none;
}

.info-left h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.info-left h4 {
    margin-top: 40px;
    font-size: 18px;
    font-weight: 700;
}

.info-left p {
    font-size: 18px;
    margin: 20px 0;
    color: #111827;
}

/* ===== RIGHT BOX ===== */
.box p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.info-right {
    background: #f3f4f6;
    border: none;
    box-shadow: none;
}

.info-right h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.info-right .address {
    font-size: 16px;
    line-height: 1.7;
    color: #111827;
    margin-bottom: 20px;
}

/* MAP */
.map {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    margin-top: 15px;
    border: none;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: #eee;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1000px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-content {
        padding: 60px 40px 60px 50px;
    }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 900px) {
    .info {
        grid-template-columns: 1fr;
    }

    /* switch to full-screen bg image on mobile */
    .hero {
        grid-template-columns: 1fr;
        height: 100vh;
        position: relative;
        width: 100%;
    }

    /* image as background */
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('../images/building.jpg') center center / cover no-repeat;
        z-index: 0;
    }

    /* dark overlay */
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
        width: 100%;
        height: 100%;
    }

    /* text on top */
    .hero-content {
        position: relative;
        padding: 0 30px;
        align-items: center;
        justify-content: center;
        z-index: 2;
        height: 100vh;
        width: 100%;
    }

    .hero h1 {
        text-align: center;
        font-size: 34px;
        color: #ffffff;
    }

    .hero p {
        text-align: center;
        color: rgba(255, 255, 255, 0.85);
    }

    .hero-buttons {
        justify-content: center;
    }

    /* white button style for dark background */
    .secondary {
        border: 1px solid #ffffff;
        color: #ffffff;
    }

    .secondary:hover {
        background: #ffffff;
        color: #4B4BED;
    }
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .quote h2 {
        font-size: 28px;
    }
}