/* ========= RESET & GLOBAL ========= */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
line-height: 1.6;
color: #222;
background: #f3f6fb;
}

img {
max-width: 100%;
display: block;
}

a {
text-decoration: none;
color: inherit;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.section {
padding: 60px 0;
}

.section-alt {
background: #ffffff;
}

.section h2 {
font-size: 28px;
margin-bottom: 24px;
color: #003366;
}

h3 {
color: #003366;
margin-bottom: 12px;
}

/* ========= HEADER / NAV ========= */

.header {
background: #ffffff;
box-shadow: 0 2px 4px rgba(0,0,0,0.06);
position: sticky;
top: 0;
z-index: 100;
}

.header-inner {
max-width: 1200px;
margin: 0 auto;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
height: 80px; /* ikut arahan: logo 80px */
width: auto;
}

.nav a {
margin-left: 24px;
font-size: 15px;
color: #333;
font-weight: 500;
position: relative;
}

.nav a:hover {
color: #0056b3;
}

/* mobile nav ringkas */
@media (max-width: 768px) {
.header-inner {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}

.nav {
display: flex;
flex-wrap: wrap;
gap: 10px;
font-size: 14px;
}

.nav a {
margin-left: 0;
}
}

/* ========= HERO ========= */

.hero {
background: linear-gradient(135deg, #e6f3ff, #ffffff); /* baby sky blue */
padding: 80px 0 70px;
}

.hero .container {
max-width: 1000px;
}

.main-title {
font-size: 40px;
letter-spacing: 2px;
color: #d91f1f; /* MEDAKOM SDN BHD – merah */
margin-bottom: 10px;
}

.hero-heading {
font-size: 26px;
color: #111; /* hitam */
margin-bottom: 8px;
}

.tagline {
font-size: 16px;
font-weight: 600;
color: #0050c8; /* biru untuk tagline */
margin-bottom: 18px;
}

.hero p {
max-width: 720px;
margin-bottom: 18px;
font-size: 15px;
}

.hero-buttons {
display: flex;
gap: 16px;
margin-top: 6px;
}

.btn-contact,
.btn-learn {
padding: 10px 24px;
border-radius: 24px;
font-weight: 600;
border: none;
display: inline-block;
cursor: pointer;
}

/* Contact Us = merah */
.btn-contact {
background: #e53935;
color: #ffffff;
box-shadow: 0 3px 6px rgba(229,57,53,0.25);
}

.btn-contact:hover {
background: #c62828;
}

/* Learn More = hijau */
.btn-learn {
background: #2e7d32;
color: #ffffff;
box-shadow: 0 3px 6px rgba(46,125,50,0.25);
}

.btn-learn:hover {
background: #1b5e20;
}

@media (max-width: 768px) {
.hero {
padding: 60px 0;
}

.main-title {
font-size: 30px;
}

.hero-heading {
font-size: 20px;
}

.hero-buttons {
flex-wrap: wrap;
}
}

/* ========= GENERIC TEXT SECTIONS ========= */

.section p {
margin-bottom: 10px;
font-size: 15px;
}

/* ========= CARDS (Leadership, dsb.) ========= */

.card {
background: #ffffff;
border-radius: 8px;
padding: 20px;
margin-bottom: 24px;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* ========= FINANCIAL TABLE ========= */

/* target table dalam section #financial supaya apa pun class, still kena */
#financial table,
.financial-table {
width: 100%;
border-collapse: collapse;
margin-top: 16px;
background: #ffffff;
font-size: 14px;
}

#financial th,
#financial td,
.financial-table th,
.financial-table td {
border: 2px solid #d0d6e5; /* border 2px seperti arahan */
padding: 10px 12px;
text-align: left;
vertical-align: top;
}

#financial thead th,
.financial-table thead th {
background: #e6edf9;
font-weight: 600;
}

/* ========= CLIENTS GRID ========= */

.clients-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
gap: 18px;
margin-top: 24px;
}

.client-card {
background: #ffffff;
border-radius: 10px;
padding: 16px;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
display: flex;
align-items: center;
justify-content: center;
}

.client-card img {
max-height: 70px;
width: auto;
object-fit: contain;
}

/* ========= GALLERY (OPERATIONS + OFFICE) ========= */

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 16px;
margin-top: 20px;
}

.gallery-img {
border-radius: 12px;
box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* ========= CONTACT ========= */

.contact-wrapper {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 32px;
}

.contact-block h3 {
margin-bottom: 8px;
}

.contact-block p {
margin-bottom: 4px;
font-size: 14px;
}

/* ========= FOOTER BANNER ========= */

.footer-banner {
background: #003b7a;
color: #ffffff;
padding: 26px 18px;
border-radius: 0 18px 0 0;
max-width: 320px;
}

.footer-banner p {
margin-bottom: 10px;
font-size: 14px;
}

.footer-banner small {
font-size: 12px;
}

.footer {
text-align: center;
padding: 18px 0 26px;
font-size: 13px;
color: #555;
}

/* ========= RESPONSIVE TWEAKS ========= */

@media (max-width: 768px) {
.section {
padding: 40px 0;
}

.clients-grid,
.gallery-grid {
gap: 12px;
}

.client-card {
padding: 10px;
}
}