
/* =========================================
   BERJAYA88SAMA
   MODERN DARK & TEAL WEBSITE
========================================= */

/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #071a1b;
    color: #edf7f5;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* =========================================
   HEADER
========================================= */

.main-header {
    width: 100%;
    height: 85px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 26, 27, 0.96);
    border-bottom: 1px solid rgba(53, 208, 192, 0.18);
    backdrop-filter: blur(15px);
}

.navbar {
    width: 88%;
    max-width: 1400px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

/* COMPANY LOGO IMAGE */

.company-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-name h2 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-name span {
    display: block;
    color: #35d0c0;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* NAVIGATION */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: #c5d8d5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #35d0c0;
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #35d0c0;
    color: #35d0c0;
    font-size: 23px;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    min-height: 590px;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(53, 208, 192, 0.12),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #0b2425 0%,
            #102f30 55%,
            #071a1b 100%
        );
}

.hero-content {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    color: #35d0c0;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 22px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 65px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    display: block;
    color: #35d0c0;
}

.hero-content p {
    max-width: 580px;
    color: #b7ceca;
    font-size: 16px;
    line-height: 1.9;
}

/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 25px;
    background: #35d0c0;
    color: #071a1b;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #8af0df;
    transform: translateY(-3px);
}

.hero-link {
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-link:hover {
    color: #35d0c0;
}

/* HERO DECORATION */

.hero-decoration {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(53, 208, 192, 0.3);
}

.circle-one {
    width: 300px;
    height: 300px;
    top: 40px;
    left: 40px;
}

.circle-two {
    width: 220px;
    height: 220px;
    top: 80px;
    left: 80px;
}

.hero-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    top: 100px;
    left: 100px;
    border-radius: 50%;
    background: rgba(53, 208, 192, 0.2);
    filter: blur(55px);
}

/* =========================================
   ABOUT US
========================================= */

.about-section {
    padding: 100px 8%;
    background: #071a1b;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-heading span {
    color: #35d0c0;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;
}

.section-heading h2 {
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    margin: 15px 0;
}

.section-heading p {
    color: #a8bfbc;
    font-size: 15px;
    line-height: 1.8;
}

/* ABOUT GRID */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: auto;
}

/* ABOUT CARD */

.about-card {
    padding: 35px 30px;
    min-height: 290px;
    background: linear-gradient(
        145deg,
        #102d2e,
        #0b2223
    );
    border: 1px solid rgba(53, 208, 192, 0.18);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-7px);
    border-color: #35d0c0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* CARD ICON */

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(53, 208, 192, 0.12);
    color: #35d0c0;
    border-radius: 10px;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 25px;
}

/* CARD TEXT */

.about-card h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
}

.about-card p {
    color: #a8bfbc;
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================
   FOOTER
========================================= */

.main-footer {
    background: #041314;
    border-top: 1px solid rgba(53, 208, 192, 0.18);
    padding: 65px 8% 0;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 55px;
}

/* FOOTER BRAND */

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-company-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand-logo h2 {
    color: #35d0c0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-column p {
    color: #8fa9a5;
    font-size: 13px;
    line-height: 1.8;
    max-width: 300px;
}

/* FOOTER HEADINGS */

.footer-column h3 {
    color: #35d0c0;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* FOOTER LINKS */

.footer-column > a:not(.contact-button) {
    display: block;
    color: #a8bfbc;
    font-size: 13px;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-column > a:not(.contact-button):hover {
    color: #35d0c0;
}

/* CONTACT BUTTONS */

.contact-button {
    display: block;
    padding: 11px 14px;
    margin-bottom: 10px;
    border: 1px solid #245657;
    border-radius: 7px;
    color: #ffffff;
    background: #102c2d;
    font-size: 13px;
    transition: 0.3s;
}

.contact-button:hover {
    background: #087f79;
    border-color: #20c9bd;
    transform: translateX(4px);
}

/* TELEGRAM BUTTON */

.contact-button.telegram {
    border-color: #245b79;
}

.contact-button.telegram:hover {
    background: #176b91;
    border-color: #42b7e9;
}

/* COPYRIGHT */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    color: #718986;
    font-size: 11px;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .hero-decoration {
        right: -80px;
        opacity: 0.6;
    }

}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    /* HEADER */

    .main-header {
        height: 75px;
    }

    .navbar {
        width: 92%;
    }

    .company-logo {
        width: 46px;
        height: 46px;
    }

    .brand {
        gap: 9px;
    }

    .brand-name h2 {
        font-size: 14px;
    }

    .brand-name span {
        font-size: 7px;
        letter-spacing: 1.3px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 25px 6%;
        background: #0b2425;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        border-bottom: 1px solid #35d0c0;
    }

    .nav-menu.active {
        display: flex;
    }

    /* HERO */

    .hero-section {
        min-height: 540px;
        padding: 75px 7%;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-decoration {
        right: -210px;
        opacity: 0.35;
    }

    .hero-buttons {
        gap: 20px;
    }

    /* ABOUT */

    .about-section {
        padding: 75px 6%;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-card {
        min-height: auto;
    }

    /* FOOTER */

    .main-footer {
        padding: 45px 6% 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        text-align: center;
    }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .brand-name h2 {
        font-size: 12px;
    }

    .brand-name span {
        font-size: 6px;
    }

    .company-logo {
        width: 40px;
        height: 40px;
    }

    .hero-content h1 {
        font-size: 33px;
    }

    .hero-btn {
        padding: 13px 16px;
        font-size: 11px;
    }

}

/* HEADER LOGO */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 190px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

/* FOOTER LOGO */
.footer-company-logo {
    display: block;
    width: 180px;
    height: 65px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 15px;
}

/* MOBILE */
@media (max-width: 768px) {
    .brand-logo {
        width: 155px;
        height: 50px;
    }

    .footer-company-logo {
        width: 155px;
        height: 55px;
    }
}

/* ==============================
   PROMOTION SECTION
============================== */

.promotion-section {
    padding: 90px 7%;
    background: #071918;
    color: #ffffff;
}

.promotion-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.promotion-heading span {
    color: #20c9bd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}

.promotion-heading h2 {
    font-size: 36px;
    margin: 15px 0;
    font-weight: 800;
}

.promotion-heading p {
    color: #a9c1bd;
    font-size: 15px;
    line-height: 1.8;
}

.promotion-grid {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.promotion-card {
    background: #102c2a;
    border: 1px solid #20524e;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
}

.promotion-card:hover {
    transform: translateY(-8px);
    border-color: #20c9bd;
    box-shadow: 0 12px 35px rgba(0, 201, 189, 0.12);
}

/* PROMOTION BANNER */

.promotion-image {
    height: 220px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.promo-one {
    background: linear-gradient(135deg, #075b50, #12b9a7);
}

.promo-two {
    background: linear-gradient(135deg, #163e38, #087f79);
}

.promo-three {
    background: linear-gradient(135deg, #123b46, #168c91);
}

.promo-tag {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 7px 13px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.promotion-image h3 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    color: #ffffff;
}

.promotion-image p {
    font-size: 13px;
    color: #e1fffa;
    margin-top: 12px;
}

/* PROMOTION CONTENT */

.promotion-content {
    padding: 25px;
}

.promotion-content h3 {
    font-size: 19px;
    margin: 0 0 12px;
    color: #ffffff;
}

.promotion-content p {
    color: #a9c1bd;
    font-size: 14px;
    line-height: 1.8;
    min-height: 75px;
}

/* BUTTON */

.promo-button {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    border: none;
    border-radius: 7px;
    background: #20c9bd;
    color: #06201e;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.promo-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* POPUP */

.promo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.promo-modal.active {
    display: flex;
}

.promo-modal-content {
    background: #102c2a;
    border: 1px solid #20c9bd;
    border-radius: 15px;
    padding: 40px 30px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
}

.promo-modal-content > span {
    color: #20c9bd;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 800;
}

.promo-modal-content h2 {
    color: #ffffff;
    margin: 20px 0;
}

.promo-modal-content p {
    color: #b4cfca;
    line-height: 1.8;
}

.promo-close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: none;
    background: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.promo-modal-button {
    background: #20c9bd;
    color: #06201e;
    border: none;
    border-radius: 7px;
    padding: 12px 35px;
    margin-top: 20px;
    font-weight: 800;
    cursor: pointer;
}

/* MOBILE RESPONSIVE */

@media (max-width: 900px) {
    .promotion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .promotion-section {
        padding: 65px 6%;
    }

    .promotion-heading h2 {
        font-size: 27px;
    }

    .promotion-grid {
        grid-template-columns: 1fr;
    }

    .promotion-image {
        height: 200px;
    }
}
.promotion-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.promotion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}

.promotion-card:hover .promotion-image img {
    transform: scale(1.05);
}