/* =======================================================
   MASEK HARDWARE - OTHER SERVICES & PARTNERS
   CLASSIC SILVER + GREEN + BLUE + WHITE BRANDING
   FONT STYLE: SEGOE UI + ARIAL
   MATCHES HOME PAGE TYPOGRAPHY AND NAVBAR
======================================================= */


/* =======================================================
   GLOBAL RESET
======================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: #FFFFFF;
    color: #111111;
    line-height: 1.6;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar .logo,
.nav-links a,
.navbar-links a,
.floating-buttons a {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}


/* =======================================================
   NAVBAR - CLASSIC SILVER
======================================================= */

.navbar {
    width: 100%;
    background: #C0C0C0;
    background-color: #C0C0C0;
    padding: 10px 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #25D366;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

/* NAVBAR BRAND */

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 1;
    min-width: 0;
}

/* LOGO */

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-logo img {
    display: block;
    width: 225px;
    height: 82px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

/* COMPANY NAME */

.navbar .logo {
    color: #111111 !important;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.25;
    margin: 0;
    text-transform: uppercase;
}

/* NAVIGATION LINKS */

.nav-links,
.navbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 5px;
    list-style: none;
}

.nav-links a,
.navbar-links a {
    display: inline-block;
    color: #111111;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    margin-left: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    white-space: nowrap;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* HOVER EFFECT */

.nav-links a:hover,
.navbar-links a:hover {
    background: #25D366;
    color: #111111;
    transform: translateY(-1px);
}

/* ACTIVE LINK */

.nav-links a.active,
.navbar-links a.active {
    background: rgba(37, 211, 102, 0.14);
    color: #111111;
    box-shadow: inset 0 -3px 0 #25D366;
}


/* =======================================================
   PAGE HEADER
======================================================= */

.page-header {
    width: 100%;
    padding: 55px 20px;
    text-align: center;
    background: #F5F5F5;
}

.page-header h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.page-header p {
    max-width: 750px;
    margin: 0 auto;
    color: #555555;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
}


/* =======================================================
   MAIN CONTAINER
======================================================= */

.services-container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
}


/* =======================================================
   SECTION HEADINGS
======================================================= */

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
}

.section-heading p {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #666666;
    font-size: 15px;
}


/* =======================================================
   SERVICES GRID
======================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 65px;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
}

.service-card > i {
    font-size: 38px;
    color: #25D366;
    margin-bottom: 18px;
}

.service-card h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.service-card p {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
}


/* =======================================================
   PARTNERS GRID
======================================================= */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.partner-card {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
}

.partner-card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.partner-card h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
}

.partner-card p {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #666666;
    font-size: 15px;
    margin-bottom: 12px;
}

.partner-card a {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.partner-card a:hover {
    color: #128C7E;
}


/* =======================================================
   PARTNER CONTACT
======================================================= */

.partner-contact {
    margin-top: 12px;
    color: #555555;
    font-size: 14px;
}


/* =======================================================
   FLOATING CONTACT BUTTONS
======================================================= */

.floating-buttons {
    position: fixed;
    right: 12px;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    z-index: 9999;
}

.floating-buttons a {
    width: 140px;
    height: 38px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 22px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.1;
    letter-spacing: 0;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease;
}

.floating-buttons a i {
    font-size: 17px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.floating-buttons a span {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
}

.floating-buttons a:hover {
    transform: scale(1.02);
}


/* WHATSAPP BUTTON */

.floating-buttons a.whatsapp {
    background: #25D366;
    color: #FFFFFF;
    animation: pulseGreen 2s infinite;
}

.floating-buttons a.whatsapp:hover {
    background: #1EBE5D;
    color: #FFFFFF;
}


/* CALL BUTTON */

.floating-buttons a.call {
    background: #2563EB;
    color: #FFFFFF;
    border: 1px solid #2563EB;
    animation: pulseBlue 2s infinite;
}

.floating-buttons a.call:hover {
    background: #1D4ED8;
    color: #FFFFFF;
    border-color: #1D4ED8;
}


/* =======================================================
   BUTTON ANIMATIONS
======================================================= */

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulseBlue {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}


/* =======================================================
   FOOTER
======================================================= */

footer {
    width: 100%;
    background: #333333;
    color: #FFFFFF;
    padding: 35px 5%;
    text-align: center;
}

footer p {
    color: #FFFFFF;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
}


/* =======================================================
   LARGE TABLET - MATCH HOME PAGE
======================================================= */

@media (max-width: 1100px) {

    .navbar {
        background: #C0C0C0;
        background-color: #C0C0C0;
        padding: 10px 2%;
        gap: 8px;
    }

    .navbar-brand {
        gap: 8px;
    }

    .navbar-logo img {
        width: 170px;
        height: 65px;
    }

    .navbar .logo {
        font-size: 19px;
    }

    .nav-links a,
    .navbar-links a {
        margin-left: 8px;
        padding: 9px 10px;
        font-size: 14px;
    }
}


/* =======================================================
   TABLET - MATCH HOME PAGE
======================================================= */

@media (max-width: 800px) {

    .navbar {
        background: #C0C0C0;
        background-color: #C0C0C0;
        padding: 10px 3%;
        gap: 10px;
    }

    .navbar-brand {
        gap: 8px;
    }

    .navbar-logo img {
        width: 150px;
        height: 58px;
    }

    .navbar .logo {
        font-size: 18px;
    }

    .nav-links,
    .navbar-links {
        flex-wrap: wrap;
    }

    .nav-links a,
    .navbar-links a {
        margin-left: 8px;
        padding: 8px 10px;
        font-size: 13px;
    }
}


/* =======================================================
   MOBILE - MATCH HOME PAGE
======================================================= */

@media (max-width: 600px) {

    .navbar {
        background: #C0C0C0;
        background-color: #C0C0C0;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 10px 3%;
    }

    .navbar-brand {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .navbar-logo img {
        width: 140px;
        height: 54px;
    }

    .navbar .logo {
        font-size: 17px;
        text-align: center;
    }

    .nav-links,
    .navbar-links {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 5px;
    }

    .nav-links a,
    .navbar-links a {
        margin: 3px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .page-header {
        padding: 40px 15px;
    }

    .page-header h1 {
        font-size: 27px;
    }

    .page-header p {
        font-size: 15px;
    }

    .services-container {
        width: 92%;
        margin: 35px auto;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .floating-buttons {
        right: 8px;
        bottom: 12px;
        gap: 4px;
    }

    .floating-buttons a {
        width: 118px;
        height: 34px;
        min-width: 0;
        padding: 4px 8px;
        gap: 4px;
        font-size: 10px;
        border-radius: 20px;
    }

    .floating-buttons a i {
        font-size: 15px;
    }

    .services-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
}


/* =======================================================
   VERY SMALL PHONES - MATCH HOME PAGE
======================================================= */

@media (max-width: 400px) {

    .navbar {
        padding: 8px 2%;
    }

    .navbar-logo img {
        width: 120px;
        height: 48px;
    }

    .navbar .logo {
        font-size: 16px;
    }

    .nav-links a,
    .navbar-links a {
        font-size: 13px;
        padding: 7px 9px;
        margin: 2px;
    }

    .page-header h1 {
        font-size: 21px;
    }

    .services-container {
        width: 94%;
    }

    .floating-buttons {
        right: 6px;
        bottom: 10px;
        gap: 3px;
    }

    .floating-buttons a {
        width: 108px;
        height: 32px;
        min-width: 0;
        padding: 4px 6px;
        gap: 4px;
        font-size: 9px;
        border-radius: 20px;
    }

    .floating-buttons a i {
        font-size: 14px;
    }
}


/* =======================================================
   REDUCED MOTION ACCESSIBILITY
======================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}