/* ==========================================================================
   1. COLOR PALETTE & VARIABLES (Derived From Logo)
   ========================================================================== */
:root {
    --primary-purple: #4A1A60;
    --primary-blue: #0A4D9A;
    --primary-green: #379237;
    --accent-gold: #D4AF37;
    --text-dark: #222222;
    --bg-light: #F9FAFC;
    --white: #FFFFFF;
    --gradient-logo: linear-gradient(135deg, #4A1A60, #0A4D9A);
}
/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

section {
    padding: 100px 20px 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
/* Section Main Heading Line */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-purple);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-green);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}
/* ==========================================================================
   3. FLOATING NAVIGATION BAR & BRANDING ARCHITECTURE
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
/* Left-Aligned Brand Identity Flex Block */
.logo-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* Pictogram Container: Set to framing boundaries to crop wording out */
.logo-pictogram-container {
    width: 20rem;
    height: 5rem;
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-pictogram-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
/* Typography Branding Identity Rules */
.logo-placeholder {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-green);
    letter-spacing: 1px;
    margin-top: -2px;
}
/* Right-Aligned Navigation Links Array */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary-blue);
}
/* ==========================================================================
   4. HOME HERO DISPLAY
   ========================================================================== */
#home {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
    background: radial-gradient(circle at 80% 20%, rgba(55, 146, 55, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(10, 77, 154, 0.05) 0%, transparent 50%);
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--primary-blue);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}

.cta-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--gradient-logo);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(10, 77, 154, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 77, 154, 0.4);
}
/* ==========================================================================
   5. ABOUT US & SHIELD MOTIF VISUALS
   ========================================================================== */
#about .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
}

.logo-shield-accent {
    background: linear-gradient(135deg, rgba(74, 26, 96, 0.03) 0%, rgba(10, 77, 154, 0.03) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

.shield-icon-simulation {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}
/* ==========================================================================
   6. INTERACTIVE TAB CORE INFRASTRUCTURE
   ========================================================================== */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    border: 2px solid transparent;
    background-color: var(--white);
    color: var(--text-dark);
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.tab-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.tab-btn.active {
    background-color: var(--primary-purple);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(74, 26, 96, 0.3);
}

.tab-content {
    display: none;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Sector Category Header Accents */
.sector-header {
    border-left: 5px solid var(--primary-blue);
    padding-left: 20px;
    margin-bottom: 30px;
}

.sector-header h3 {
    font-size: 1.8rem;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.sector-header p {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
}

.telecom-theme { border-left-color: var(--primary-purple); }
.network-theme { border-left-color: var(--primary-blue); }
.energy-theme { border-left-color: var(--primary-green); }
/* Hardware Item Dynamic Layout Configuration */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.item-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 6px;
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.telecom-card { border-top-color: var(--primary-purple); }
.network-card { border-top-color: var(--primary-blue); }
.energy-card { border-top-color: var(--primary-green); }

.item-card h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.sector-footer-note {
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
}
/* ==========================================================================
   7. CONTACT INTAKE FORM STYLING
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-blue);
}

.submit-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #2e7d2e;
}
/* ==========================================================================
   8. INTERNAL SECURE STAFF PORTAL DASHBOARD GATEWAY
   ========================================================================== */
.portal-box {
    background: linear-gradient(135deg, #222 0%, #111 100%);
    color: var(--white);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.portal-box h3 {
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.portal-btn {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;

transition: all 0.3s ease;
margin-top: 15px;
}
.portal-btn:hover {
    background-color: var(--white);
    color: #111;
}
/* ==========================================================================
9. DOCUMENT FOOTER STYLES
========================================================================== */
footer {
    background-color: var(--primary-purple);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent-gold);
}
/* ==========================================================================
10. MOBILE BREAKPOINT LAYOUT ADAPTATIONS
========================================================================== */
@media (max-width: 768px) {
.nav-container {
    flex-direction: column;
    gap: 15px;
}
.logo-brand-wrapper {
    justify-content: center;
    margin-bottom: 5px;
}
nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
#about .about-grid, .contact-grid {
    grid-template-columns: 1fr;
}

.hero-content h1 {
    font-size: 2.2rem;
}
}