:root {
    /* New Design System - Inspired by PPTS & CES */
    --navy: #002147;
    --navy-light: #003366;
    --orange: #e87817;
    --orange-hover: #cf6712;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-bg: #f8f9fa;
    --gray-border: #e9ecef;
    --text-dark: #212529;
    --text-muted: #6c757d;

    --radius: 4px;
    /* Professional sharp-radius */
    --nav-height: 90px;
    --transition: all 0.3s ease;
    --max-width: 1200px;

    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
}

[data-theme="light"] {
    --surface-dark: var(--white);
    --surface-card: var(--gray-bg);
    --text-main: var(--text-dark);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-light);
}

.btn-outline {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* Navigation - Inspired by CES */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--orange);
}

/* Mega Menu Styles */
.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 40px 0;
    z-index: 999;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gray-border);
    padding-bottom: 10px;
}

.mega-links li {
    margin-bottom: 12px;
}

.mega-links a {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.mega-links a:hover {
    color: var(--navy);
    padding-left: 5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--gray-bg);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--gray-border);
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    padding-left: 10px;
    font-size: 0.85rem;
    width: 150px;
}

/* Banner - Inspired by PPTS */
.hero-banner {
    padding-top: var(--nav-height);
    min-height: 600px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('assets/hero_tech.png') no-repeat center right;
    background-size: cover;
    opacity: 0.4;
}

.hero-content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 25px;
}

.hero-text h1 span {
    color: var(--orange);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 550px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Section Headings */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--orange);
}

/* Services Grid */
.service-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--orange);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Sub-page Specific: Sidebar Right Layout */
.page-header {
    background: var(--navy);
    padding: 100px 0 60px;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.page-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 60px 0;
}

.main-article h2 {
    margin-bottom: 20px;
    margin-top: 40px;
}

.main-article p {
    margin-bottom: 20px;
}

.sidebar-box {
    background: var(--gray-bg);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.sidebar-box h4 {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 10px;
}

/* Footer - Inspired by CES */
.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.7;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--orange);
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--orange);
    padding-left: 5px;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-content-split,
    .page-content-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-right {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .service-grid-modern {
        grid-template-columns: 1fr;
    }
}