/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 700;
}

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

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d87f0a, #6e3b01);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: #3498db;
}

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

.nav-links a.active {
    color: #3498db;
    font-weight: 600;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero .subtitle {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* Main Content Sections */
.about-page,
.business-page,
.products-page,
.contact-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

/* About Page Styles */
.about-page {
    background-color: #f9f9f9;
}

.about-page h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vision, .mission {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.vision h2, .mission h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.vision p, .mission p {
    color: #666;
    line-height: 1.6;
}

.org-structure {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.org-structure h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.level-1, .level-2, .level-3 {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.position {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 200px;
}

.position h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.position p {
    color: #666;
    font-size: 0.9rem;
}

.facilities {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.facilities h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.facility {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.facility i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

.facility h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.facility p {
    color: #666;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.header-decoration .line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
}

.header-decoration i {
    font-size: 2rem;
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    padding: 15px;
    border-radius: 50%;
}

/* Business Page Styles */
.business-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.business-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/pattern.webp') repeat;
    opacity: 0.03;
    pointer-events: none;
}

/* Business Intro */
.business-intro {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.business-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0) 100%);
    z-index: 0;
}

.intro-content {
    position: relative;
    z-index: 1;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #444;
    font-weight: 300;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 15px;
    min-width: 200px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(248, 249, 250, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #666;
    font-weight: 300;
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
}

.vertical-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.vertical-card:hover::before {
    opacity: 1;
}

.vertical-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.vertical-icon i {
    font-size: 2.2rem;
    color: white;
}

.vertical-card h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.vertical-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 3px;
}

.vertical-content h3 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.vertical-content ul {
    list-style: none;
    padding: 0;
}

.vertical-content li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.vertical-content li:last-child {
    border-bottom: none;
}

.vertical-content li i {
    color: #3498db;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Production Stats */
.production-stats {
    margin-bottom: 80px;
    position: relative;
}

.production-stats h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
}

.production-stats h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 4px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 500;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #666;
    font-size: 1rem;
    font-weight: 300;
}

/* Machinery Section */
.machinery-section {
    margin-bottom: 80px;
    position: relative;
}

.machinery-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
}

.machinery-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 4px;
}

.machinery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.machinery-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.machinery-card h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.machinery-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 3px;
}

.machine-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.machine-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.machine-item:hover {
    background: rgba(248, 249, 250, 0.8);
    transform: translateX(5px);
}

.machine-item i {
    font-size: 1.8rem;
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.machine-item h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 500;
}

.machine-item p {
    color: #666;
    font-size: 1rem;
    font-weight: 300;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info i {
    color: #3498db;
    margin-right: 10px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #3498db;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #2980b9;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .level-1, .level-2, .level-3 {
        flex-direction: column;
        align-items: center;
    }
    
    .position {
        width: 100%;
        max-width: 300px;
    }

    .about-page,
    .business-page,
    .products-page,
    .contact-page {
        padding: 100px 0 40px;
    }

    .verticals-grid,
    .stats-grid,
    .machinery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vertical-card,
    .stat-card,
    .machinery-card {
        padding: 30px;
    }
    
    .section-header h1 {
        font-size: 2.2rem;
    }
    
    .header-decoration .line {
        width: 50px;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* Custom Buttons */
.btn-primary {
    @apply inline-flex items-center px-8 py-4 bg-primary text-white rounded-full font-semibold hover:bg-accent transition-colors;
}

.btn-secondary {
    @apply inline-flex items-center px-8 py-4 bg-transparent text-white rounded-full font-semibold border-2 border-white hover:bg-white hover:text-primary transition-colors;
}

/* Feature Cards */
.feature-card {
    @apply bg-white p-8 rounded-xl shadow-lg hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2;
}

.icon-box {
    @apply w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-6 mx-auto;
}

.icon-box i {
    @apply text-2xl text-primary;
}

.feature-card h3 {
    @apply text-xl font-bold text-secondary mb-4 text-center;
}

.feature-card p {
    @apply text-gray-600 text-center;
}

/* Stat Box */
.stat-box {
    @apply text-center p-8 rounded-xl bg-white/5 backdrop-blur-sm border border-white/10 transform hover:-translate-y-2 transition-all duration-300;
}

.stat-number {
    @apply text-4xl font-bold mb-2 bg-gradient-to-r from-primary to-accent bg-clip-text text-transparent;
}

.stat-label {
    @apply text-gray-300;
}

/* Service Cards */
.service-card {
    @apply bg-white rounded-xl shadow-lg overflow-hidden transform hover:-translate-y-2 transition-all duration-300;
}

/* Social Links */
.social-link {
    @apply w-10 h-10 bg-white/10 rounded-full flex items-center justify-center text-white hover:bg-primary transition-colors;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-primary, .btn-secondary {
        @apply px-6 py-3 text-sm;
    }
    
    .feature-card, .stat-box, .service-card {
        @apply p-6;
    }
    
    .stat-number {
        @apply text-3xl;
    }
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* Custom Utilities */
.gradient-underline {
    position: relative;
}

.gradient-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.gradient-underline:hover::after,
.gradient-underline.active::after {
    width: 100%;
}

/* Mobile Navigation - New Styles */
@media (max-width: 768px) {
    .navbar {
        background-color: #002423;
        box-shadow: 2px 2px 10px black;
    }
    
    .navbar:hover {
        box-shadow: 2px 2px 25px black;
        transition: 0.5s;
    }
    
    .logo {
        position: relative;
        left: 0;
        cursor: pointer;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: rgb(3, 2, 1);
        margin: 5px 0;
        transition: all 0.3s ease;
    }
        
    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 300px;
        z-index: 999;
        background-color: #06101a;
        backdrop-filter: blur(10px);
        box-shadow: -3px 0 10px black;
        display: none;
        justify-content: flex-start;
        flex-direction: column;
        padding-top: 70px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0 20px;
    }
    
    .mobile-menu .nav-links a {
        width: 100%;
        margin: 15px 0;
        color: rgb(255, 255, 255);
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        font-size: 16px;
        text-shadow: 1px 1px 2px black;
    }
    
    .mobile-menu .nav-links a:hover {
        color: tomato;
    }
    
    .mobile-menu img {
        position: absolute;
        bottom: 20px;
        width: 100%;
        max-height: 120px;
        object-fit: contain;
    }
}