/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Brand Design Tokens */
:root {
    --primary: #F1B317;       /* Gold/Industrial Accent */
    --primary-hover: #D79F12;
    --primary-glow: rgba(241, 179, 23, 0.35);
    
    --bg-dark: #0A0F18;       /* Deep Charcoal Blue (Background) */
    --bg-card: #121A28;       /* Medium Blue (Cards/Elements) */
    --bg-header: rgba(10, 15, 24, 0.85); /* Glassmorphism Header */
    
    --text-white: #FFFFFF;
    --text-light: #E5E7EB;    /* Light Gray (Primary Content) */
    --text-muted: #9CA3AF;    /* Secondary/Muted Info */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(241, 179, 23, 0.15);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    scroll-behavior: smooth;
}

/* Reset & Core Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utility Layout Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1B263B;
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Header & Glassmorphism Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(10, 15, 24, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
}

.brand-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #000000 !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition-smooth) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 179, 23, 0.5);
    color: #000000 !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #04070D;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: brightness(0.7) contrast(1.1);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 15, 24, 0.4) 0%, var(--bg-dark) 95%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(241, 179, 23, 0.1);
    border: 1px solid rgba(241, 179, 23, 0.25);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-glow);
    z-index: -1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary);
    color: #000000;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 179, 23, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.company-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.company-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.company-card:hover::before {
    transform: scaleX(1);
}

.company-logo {
    height: 60px;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.company-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.company-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.company-bullets {
    margin-bottom: 2rem;
    list-style: none;
}

.company-bullets li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.company-bullets li svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Stats Ribbon */
.stats-ribbon {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0d1624 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4rem 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border-color);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(241, 179, 23, 0.15);
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

/* Services Interactive Section */
.services-tabs-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.tabs-menu {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.8rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tab-btn:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: #000000;
    background-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.service-feature-item svg {
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-feature-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

.service-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-image-wrapper:hover img {
    transform: scale(1.05);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 15, 24, 0.6) 0%, transparent 50%);
}

/* Why Choose Us & Certifications */
.why-choose-us-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-bullets {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-bullet-item {
    display: flex;
    gap: 1.5rem;
}

.why-icon {
    background-color: rgba(241, 179, 23, 0.1);
    border: 1px solid rgba(241, 179, 23, 0.2);
    color: var(--primary);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.why-bullet-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-bullet-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.why-visual {
    position: relative;
}

.why-main-img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    aspect-ratio: 16/11;
    object-fit: cover;
}

.cert-floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    max-width: 320px;
    backdrop-filter: blur(10px);
}

.cert-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    background-color: #FFFFFF;
    padding: 0.2rem;
    border-radius: 4px;
}

.cert-text h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.cert-text p {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Institutional (Mission, Vision, Values) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.value-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.value-icon {
    color: var(--primary);
    margin-bottom: 1.8rem;
}

.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.contact-detail-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(241, 179, 23, 0.08);
    border: 1px solid rgba(241, 179, 23, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-detail-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-detail-content a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-detail-content a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background-color: var(--primary);
    color: #000000;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-form-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.form-control {
    background-color: rgba(10, 15, 24, 0.6);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(241, 179, 23, 0.2);
    background-color: rgba(10, 15, 24, 0.8);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-status.success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10B981;
    display: block;
}

/* Footer Section */
footer {
    background-color: #05080E;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2.5rem 0;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-nav-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    section {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .companies-grid {
        gap: 2rem;
    }
    
    .tab-content.active {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-choose-us-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .why-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Can be activated with JS */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form-panel {
        padding: 2rem;
    }
    
    .footer-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
