:root {
    --primary-color: #FFB300;
    --primary-dark: #E6A200;
    --secondary-color: #1A1A1A;
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary-color);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--secondary-color);
    transition: var(--transition);
    position: relative;
}

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

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

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

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 800 !important;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}

.btn-primary::after {
    display: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4);
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero h1 {
    font-size: 72px;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 40px;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero .tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.hero .tag:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Sections Common */
section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: left;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-title.light h2 {
    color: var(--white);
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.bg-dark {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.mission-card {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-color);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.mission-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.mission-card h2 {
    font-size: 24px;
    line-height: 1.4;
}

/* Services */
.services {
    background: var(--light-bg);
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.services-list li {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    cursor: default;
}

.services-list li i {
    color: var(--primary-color);
    font-size: 24px;
}

.services-list li:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateX(5px);
}

.services-list li:hover i {
    color: var(--secondary-color);
}

.services-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.services-img img:hover {
    transform: scale(1.02);
}

/* What We Do */
.intro-text {
    font-size: 18px;
    max-width: 800px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.achievements-content h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.check-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

.solutions-tags {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.solutions-tags .tag {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.achievements-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.machinery h3, .software h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.machinery p {
    margin-bottom: 20px;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list li {
    background: var(--light-bg);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.pill-list li:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(0,0,0,0.1);
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.step .circle {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 0 0 4px var(--white);
}

.step span {
    font-weight: 600;
    font-size: 16px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26,26,26,0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--primary-color);
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-bg);
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.6;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    opacity: 1;
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

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

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.tab-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.tab-content ul li {
    margin-bottom: 8px;
    list-style-type: disc;
}

/* Footer */
.footer {
    background: #111;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 5px;
}

.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    font-size: 14px;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .services-wrapper, .achievements-grid, .process-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 48px; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger { display: block; }
}
