/* Base Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0f1623;
    --text-dark: #222222;
    --text-light: #ffffff;
    --text-gray: #6b7280;
    --text-hero-p: #d1d5db;
    --card-bg: #ececed;
    --bg-light-gray: #e9eaec;
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header Section --- */
header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 16px 0;
    position: relative;
    z-index: 10;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon img {
    width: 180px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 400;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: #9ca3af;
}

.nav-links a.active {
    padding-bottom: 4px;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
}

.btn-contact {
    background-color: var(--text-light);
    color: var(--bg-dark);
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.2s;
}

.btn-contact:hover {
    opacity: 0.9;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/Background.png') no-repeat center center / cover;
    padding: 140px 24px 100px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0px 0px 150px rgba(0, 0, 0, 0.3);
}

/* Abstract wave effect simulation */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% -20%, rgba(0, 0, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    color: #e5e7eb;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.hero-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-hero-p);
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* --- Divisions Grid Section --- */
.divisions-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.card p.card-desc {
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 16px;
    line-height: 1.5;
    flex-grow: 0;
}

.card h4 {
    font-size: 14px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.card ul {
    list-style-type: disc;
    padding-left: 18px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card ul li {
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
    line-height: 1.4;
}

.card-btn {
    background-color: #333333;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s;
    margin-top: auto;
}

.card-btn:hover {
    background-color: #111111;
}

/* --- Operating Model Section --- */
.operating-model {
    background-color: var(--bg-light-gray);
    padding: 80px 24px;
    text-align: center;
}

.operating-model h2 {
    font-size: 40px;
    font-weight: 800;
    color: #2b2b2b;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.operating-model p {
    font-size: 26px;
    font-weight: 300;
    color: #888888;
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.4;
}

/* --- Footer Section --- */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
}

.footer-col p,
.footer-col ul li a {
    font-size: 15px;
    color: #e5e7eb;
    margin-bottom: 12px;
    display: block;
    line-height: 1.6;
}

.footer-col ul li a {
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-col .nested-heading {
    font-size: 20px;
    font-weight: 800;
    margin-top: 35px;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 12px;
    color: #9ca3af;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        /* In a real app, replace with a hamburger menu */
    }

    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .operating-model h2 {
        font-size: 32px;
    }

    .operating-model p {
        font-size: 18px;
    }

    .divisions-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
