/* =========================================================
   WESTBEAM TECHNOLOGIES
   Professional Corporate Website
========================================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #17202a;
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
}


/* ---------- HEADER ---------- */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e5e9ed;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
}

header .container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ---------- LOGO ---------- */

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #111a24;
}

.logo span {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: #1473e6;
    margin-top: -2px;
}


/* ---------- NAVIGATION ---------- */

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #3c4854;
    transition: 0.25s ease;
}

nav a:hover {
    color: #1473e6;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -8px;
    background: #1473e6;
    transition: 0.25s ease;
}

nav a:hover::after {
    width: 100%;
}


/* ---------- HERO ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(20, 115, 230, 0.18), transparent 30%),
        linear-gradient(135deg, #0d1620, #172536);
    color: white;
    padding: 125px 0 135px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    bottom: -200px;
    border: 1px solid rgba(77, 163, 255, 0.25);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.tagline {
    color: #4da3ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}

.hero h1 {
    max-width: 850px;
    font-size: 62px;
    line-height: 1.06;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.hero-text {
    max-width: 690px;
    color: #c5ced8;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}


/* ---------- BUTTONS ---------- */

.button {
    display: inline-block;
    padding: 14px 27px;
    margin-right: 10px;
    border-radius: 5px;
    background: #1473e6;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.button:hover {
    background: #0d5fc4;
    transform: translateY(-2px);
}

.button.secondary {
    background: transparent;
    border: 1px solid #ffffff;
}

.button.secondary:hover {
    background: #ffffff;
    color: #17202a;
}


/* ---------- GENERAL SECTIONS ---------- */

.section {
    padding: 95px 0;
}

.section h2 {
    max-width: 800px;
    font-size: 43px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
}

.section > .container > p:not(.tagline) {
    max-width: 760px;
    color: #68727d;
    font-size: 17px;
}


/* ---------- LIGHT SECTION ---------- */

.light {
    background: #f5f7fa;
}


/* ---------- SERVICES ---------- */

.services {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e7ec;
    padding: 32px;
    min-height: 210px;
    border-radius: 9px;
    transition: all 0.3s ease;
}

.service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #1473e6;
    border-radius: 9px 0 0 9px;
    transition: 0.3s ease;
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(20, 40, 60, 0.09);
}

.service:hover::before {
    height: 100%;
}

.service h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service p {
    color: #68727d;
    font-size: 15px;
}


/* ---------- INDUSTRIES ---------- */

.industries {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.industries div {
    position: relative;
    background: #f5f7fa;
    border: 1px solid #e4e9ee;
    padding: 28px;
    border-radius: 7px;
    font-weight: 700;
    transition: 0.25s ease;
}

.industries div::before {
    content: "→";
    color: #1473e6;
    margin-right: 10px;
}

.industries div:hover {
    background: #ffffff;
    border-color: #1473e6;
    transform: translateY(-3px);
}


/* ---------- CONTACT ---------- */

.dark {
    background:
        linear-gradient(135deg, #0d1620, #172536);
    color: #ffffff;
}

.dark h2 {
    max-width: 700px;
}

.dark p {
    color: #b9c4d0 !important;
    margin-bottom: 12px;
}

.dark a {
    color: #4da3ff;
}


/* ---------- FOOTER ---------- */

footer {
    background: #080e14;
    color: #8e9aa7;
    padding: 28px 0;
    font-size: 13px;
    text-align: center;
}


/* ---------- RESPONSIVE TABLET ---------- */

@media (max-width: 900px) {

    header .container {
        flex-direction: column;
        padding: 18px 0;
        gap: 16px;
    }

    nav {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 95px 0 105px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .services,
    .industries {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------- RESPONSIVE MOBILE ---------- */

@media (max-width: 560px) {

    .container {
        width: 92%;
    }

    header .container {
        align-items: flex-start;
    }

    nav {
        width: 100%;
        justify-content: flex-start;
        gap: 14px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        padding: 75px 0 85px;
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: -0.5px;
    }

    .hero-text {
        font-size: 16px;
    }

    .button {
        display: block;
        text-align: center;
        margin: 10px 0;
    }

    .section {
        padding: 65px 0;
    }

    .section h2 {
        font-size: 33px;
    }

    .services,
    .industries {
        grid-template-columns: 1fr;
    }

    .service {
        min-height: auto;
    }

}
/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #17202a;
    cursor: pointer;
}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-button {
    position: fixed;
    right: 25px;
    bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 13px 20px;

    background: #25D366;
    color: #ffffff;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);

    z-index: 2000;

    transition: all 0.25s ease;
}

.whatsapp-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 700px) {

    header .container {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;

        position: absolute;

        top: 78px;
        left: 0;

        width: 100%;

        background: #ffffff;

        padding: 20px;

        flex-direction: column;
        align-items: flex-start;

        gap: 18px;

        border-top: 1px solid #e5e9ed;

        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        padding: 5px 0;
    }


    /* WhatsApp mobile */

    .whatsapp-button {
        right: 15px;
        bottom: 15px;

        padding: 11px 17px;

        font-size: 13px;
    }

}
/* =========================================================
   WHY WESTBEAM
========================================================= */

.why-westbeam {
    background: #ffffff;
}

.why-grid {
    margin-top: 45px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.why-card {
    padding: 30px;

    background: #f5f7fa;

    border: 1px solid #e3e8ed;

    border-radius: 8px;

    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);

    background: #ffffff;

    border-color: #1473e6;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.why-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.why-card p {
    color: #68727d;
    font-size: 15px;
}


/* ---------- WHY WESTBEAM RESPONSIVE ---------- */

@media (max-width: 900px) {

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 560px) {

    .why-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   TECHNOLOGY EXPERIENCE
========================================================= */

.technology {
    background: #f5f7fa;
}

.technology > .container > p:not(.tagline) {
    margin-bottom: 40px;
}

.technology-grid {
    margin-top: 40px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 12px;
}

.technology-grid div {
    background: #ffffff;

    border: 1px solid #e1e6eb;

    padding: 18px 12px;

    text-align: center;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;

    color: #34404c;

    transition: 0.25s ease;
}

.technology-grid div:hover {
    border-color: #1473e6;

    color: #1473e6;

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}


/* ---------- TECHNOLOGY RESPONSIVE ---------- */

@media (max-width: 900px) {

    .technology-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 560px) {

    .technology-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}
/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    background: #ffffff;
}

.contact-intro {
    max-width: 700px;
    margin-bottom: 45px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}


/* ---------- CONTACT INFORMATION ---------- */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e9ed;
}

.contact-item h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
    color: #68727d;
    font-size: 15px;
}

.contact-item a {
    color: #1473e6;
}

.contact-item a:hover {
    text-decoration: underline;
}


/* ---------- FORM ---------- */

.contact-form {
    background: #f5f7fa;
    padding: 35px;
    border: 1px solid #e2e7ec;
    border-radius: 9px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;

    border: 1px solid #d7dde3;
    border-radius: 5px;

    background: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;

    outline: none;

    transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1473e6;
    box-shadow: 0 0 0 3px rgba(20, 115, 230, 0.08);
}

.form-group textarea {
    resize: vertical;
}


/* ---------- CONTACT RESPONSIVE ---------- */

@media (max-width: 800px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 560px) {

    .contact-form {
        padding: 25px 20px;
    }

}

/* =========================================================
   FORM SUCCESS / ERROR MESSAGE
========================================================= */

.form-message {
    display: none;
    margin-bottom: 20px;
    padding: 15px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.form-message.success {
    display: block;
    background: #eaf8ef;
    border: 1px solid #b7e4c7;
    color: #1d6b3a;
}

.form-message.error {
    display: block;
    background: #fff0f0;
    border: 1px solid #f0b8b8;
    color: #9b2525;
}