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

/* Apply Ubuntu font to all elements */
* {
    font-family: 'Ubuntu', sans-serif;
}

/* Header Styles */
.header-container {
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.phone-link, .email-link {
    color: #555;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.phone-link:hover, .email-link:hover {
    color: #3a5db6;
}

.social-icons {
    display: flex;
    gap: 25px;
}

.social-icon {
    color: #555;
    font-size: 25px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #3a5db6;
}

.main-header {
    padding: 18px 0;
    background-color: #fff;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 70px;
    margin-right: 20px;
}

.main-nav {
    flex-grow: 1;
    margin-left: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 30px;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: #3a5db6;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #3a5db6;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

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

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #000000;
    z-index: 1001;
    padding: 10px;
    margin-right: 20px;
    position: relative;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .header-container {
        position: relative;
    }

    .container {
        flex-wrap: nowrap;
        position: relative;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 120px; /* Adjust based on your header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 120px);
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 10px 0;
        font-size: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }
    
    .contact-info, .social-icons {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        padding: 10px 15px;
    }

    .logo img {
        height: 50px;
        margin-right: 10px;
    }

    .mobile-menu-toggle {
        font-size: 22px;
        padding: 8px;
    }

    .main-nav {
        top: 90px; /* Adjust for smaller header on mobile */
        height: calc(100vh - 90px);
    }
}

        /* Banner Animation Styles */
        .banner-container {
            width: 100%;
            overflow: hidden;
            position: relative;
        }
        
        .banner-image {
            width: 100%;
            height: auto;
            display: block;
            animation: fadeInZoom 1.5s ease-in-out;
        }
        
        .banner-text {
            position: absolute;
            top: 50%;
            left: 4%;
            transform: translateY(-50%);
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
            animation: slideInLeft 1.2s ease-out;
        }
        
        .banner-text h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            animation: fadeIn 1.5s ease-in-out;
        }
        
        .banner-text p {
            font-size: 1.1rem;
            max-width: 1000px;
            margin-bottom: 2rem;
            animation: fadeIn 2s ease-in-out;
        }
        
        .banner-button {
            display: inline-block;
            padding: 12px 30px;
            background-color: #273272;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 500;
            transition: background-color 0.3s ease;
            animation: fadeIn 2.5s ease-in-out;
        }
        
        .banner-button:hover {
            background-color: #494949;
            -ms-zoom-animation: zoomIn 5s ease;
            -webkit-transform: scale(0.9);
            -ms-transform: scale(0.9);
            transform: scale(0.9);
        }
        
        /* Mobile styles */
        @media (max-width: 768px) {
            .banner-container {
                height: 56.25vw; /* This creates a 16:9 aspect ratio based on viewport width */
                overflow: hidden;
                position: relative;
                margin-top: 0;
                margin-bottom: 0;
            }
            
            .banner-image {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center 30%; /* Adjust vertical position to show more of the important part */
            }
            
            .banner-text {
                top: 50%;
                left: 0;
                width: 100%;
                padding: 0 20px;
                text-align: center;
                z-index: 10;
                /* Fix for text cutting off */
                transform: translateY(-50%) scale(0.9);
                width: 90%;
                margin: 0 auto;
            }
            
            .banner-text h1 {
                font-size: 1.5rem;
                margin-bottom: 0.5rem;
                white-space: nowrap; /* Prevent text wrapping */
                overflow: visible;
            }
            
            .banner-text p {
                font-size: 0.9rem;
                max-width: 100%;
                margin-bottom: 1rem;
                display: none; /* Hide on mobile to save space */
            }
            
            .banner-button {
                padding: 6px 15px;
                font-size: 0.8rem;
                margin-top: 0.5rem;
                display: inline-block;
            }
        }
        
        /* Additional styles for very small screens */
        @media (max-width: 480px) {
            .banner-text h1 {
                font-size: 1.2rem;
                margin-bottom: 0.3rem;
            }
            
            .banner-text p {
                display: none; /* Hide paragraph on very small screens */
            }
            
            .banner-button {
                padding: 5px 12px;
                font-size: 0.7rem;
            }
        }

        /* About Section Styles */
        .about-section {
            padding: 60px 20px;
            text-align: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .welcome-text {
            color: #333;
            font-size: 24px;
            margin-bottom: 10px;
        }

        .company-name {
            color: #273272;
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 30px;
            position: relative;
        }

        .company-name::after {
            content: '';
            display: block;
            width: 200px;
            height: 2px;
            background-color: #273272;
            margin: 20px auto;
        }

        .facility-text {
            color: #000000;
            font-size: 19px;
            margin-bottom: 22px;
            line-height: 1.6;
        }

        .company-description {
            color: #000000;
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 30px;
            text-align: justify;
        }

        .products-list {
            color: #000000;
            font-size: 16px;
            line-height: 1.8;
            text-align: justify;
            margin-bottom: 30px;
        }

        @media (max-width: 768px) {
            .about-section {
                padding: 40px 15px;
            }

            .welcome-text {
                font-size: 20px;
            }

            .company-name {
                font-size: 36px;
            }

            .facility-text {
                font-size: 16px;
            }

            .company-description,
            .products-list {
                font-size: 14px;
            }
        }

        /* Feature Cards Styles */
        .feature-cards {
            display: flex;
            justify-content: center;
            gap: 30px;
            padding: 50px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .feature-cards .card {
            flex: 1;
            padding: 30px;
            text-align: center;
            border: 1px solid #e9ecef;
            border-radius: 10px;
            transition: all 0.3s ease;
            background-color: #fff;
            cursor: pointer;
        }
        
        .feature-cards .card:hover {
            background-color: #31458C;
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(49, 69, 140, 0.2);
        }
        
        .feature-cards .card img {
            width: 80px;
            height: 80px;
            margin-bottom: 20px;
        }
        
        .feature-cards .card h3 {
            color: #333;
            font-size: 24px;
            margin-bottom: 15px;
            transition: color 0.3s ease;
        }
        
        .feature-cards .card p {
            color: #666;
            font-size: 16px;
            line-height: 1.6;
            transition: color 0.3s ease;
        }
        
        .feature-cards .card:hover h3,
        .feature-cards .card:hover p {
            color: #fff;
        }
        
        /* Responsive styles for feature cards */
        @media (max-width: 992px) {
            .feature-cards {
                flex-direction: column;
                align-items: center;
            }
        
            .feature-cards .card {
                max-width: 400px;
                width: 100%;
            }
        }

        /* Products Section Styles */
        .products-section {
            padding: 80px 20px;
            background: #f8f9fa;
        }
        
        .section-title {
            text-align: center;
            font-size: 50px;
            color: #31458C;
            margin-bottom: 50px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: #31458C;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .product-card {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .product-card img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .product-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(49, 69, 140, 0.9);
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .product-card:hover .product-info {
            transform: translateY(0);
        }
        
        .product-card:hover img {
            transform: scale(1.1);
        }
        
        .product-info h3 {
            color: #fff;
            margin: 0;
            font-size: 18px;
            text-align: center;
        }
        
        .product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(49, 69, 140, 0.2);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .product-card:hover::before {
            opacity: 1;
        }
        
        /* Animation for cards */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .product-card {
            animation: fadeInUp 0.6s ease forwards;
            animation-delay: calc(var(--card-index) * 0.1s);
            opacity: 0;
        }

        .Details {
            font-family: serif;
            color: #fff;
            background-color: #222;
            border: .1em solid #222;
            text-transform: lowercase;
            padding: .5em 2em;
            border-radius: 5px;
            transition: all .5s ease;
            cursor: pointer;
            font-size: 1rem;
            text-align: center;
            display: block;
            margin: 0 auto;
            width: fit-content;
            margin-top: 40px;
        }
        .Details:hover {
            letter-spacing: 3px;
            color: #222;
            background: #fff;
        }
        
        /* Responsive Styles */
        @media (max-width: 768px) {
            .section-title {
                font-size: 28px;
            }
        
            .products-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 20px;
                padding: 0 10px;
            }
        
            .product-card img {
                height: 200px;
            }
        }

/* Commitment Section Styles */
.commitment-section {
    padding: 80px 20px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.commitment-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(49, 69, 140, 0.05) 0%, rgba(49, 69, 140, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.commitment-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(49, 69, 140, 0.05) 0%, rgba(49, 69, 140, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.commitment-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.commitment-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.commitment-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

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

.commitment-content {
    flex: 1;
}

.commitment-content h2 {
    color: #31458C;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.commitment-content h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #31458C;
    bottom: -10px;
    left: 0;
    transition: width 0.3s ease;
}

.commitment-content:hover h2::after {
    width: 100%;
}

.commitment-content h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: 20px;
    font-weight: 500;
}

.commitment-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.stat-box {
    flex: 1;
    text-align: center;
    padding: 25px 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #31458C, #5a7be0);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(49, 69, 140, 0.1);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #31458C;
    margin-bottom: 10px;
    position: relative;
}

.stat-number sup {
    font-size: 22px;
    position: relative;
    top: -15px;
}

.stat-label {
    display: block;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Animation for stats */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-box {
    animation: countUp 0.6s ease forwards;
}

.stat-box:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-box:nth-child(2) {
    animation-delay: 0.4s;
}

.stat-box:nth-child(3) {
    animation-delay: 0.6s;
}

/* Responsive styles */
@media (max-width: 992px) {
    .commitment-container {
        flex-direction: column;
    }
    
    .commitment-image,
    .commitment-content {
        width: 100%;
    }
    
    .commitment-image {
        margin-bottom: 30px;
        max-width: 600px;
        align-self: center;
    }
    
    .stats-container {
        flex-wrap: wrap;
    }
    
    .stat-box {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .commitment-section {
        padding: 50px 15px;
    }
    
    .commitment-content h2 {
        font-size: 30px;
    }
    
    .commitment-content h3 {
        font-size: 20px;
    }
    
    .commitment-content p {
        font-size: 15px;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-box {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .commitment-content h2 {
        font-size: 26px;
    }
    
    .commitment-content h3 {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-number sup {
        font-size: 18px;
    }
}

/* Why Choose Us Section - Alternative Styling */
.why-choose-us-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #273272 0%, #1a2046 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path-to-pattern.png');
    opacity: 0.05;
    z-index: 1;
}

.why-choose-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.why-choose-content {
    flex: 1.2;
}

.why-choose-image {
    flex: 0.8;
    position: relative;
}

.why-choose-image img {
    width: 120%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.why-choose-image:hover img {
    transform: scale(1.03);
}

.why-choose-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    top: 15px;
    left: 15px;
    z-index: -1;
}

.why-choose-content h2 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.why-choose-content h2 span {
    color: #f8c73e;
    position: relative;
}

.why-choose-content h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f8c73e, transparent);
    bottom: -15px;
    left: 0;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.choose-card {
    display: flex;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 3px solid transparent;
}

.choose-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-left: 3px solid #f8c73e;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.choose-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: all 0.3s ease;
}

.choose-card:hover .choose-icon {
    background-color: rgba(248, 199, 62, 0.2);
    transform: rotateY(180deg);
}

.choose-icon img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.choose-card:hover .choose-icon img {
    filter: brightness(1.2);
    transform: rotateY(180deg);
}

.choose-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.choose-info h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: rgba(248, 199, 62, 0.7);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.choose-card:hover .choose-info h3::after {
    width: 50px;
}

.choose-info p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Animation for cards */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.choose-card:nth-child(1) {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.1s;
}

.choose-card:nth-child(2) {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.3s;
}

.choose-card:nth-child(3) {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.5s;
}

.choose-card:nth-child(4) {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.7s;
}

/* Responsive styles */
@media (max-width: 992px) {
    .why-choose-container {
        flex-direction: column-reverse;
    }
    
    .why-choose-image {
        margin-bottom: 40px;
        max-width: 500px;
        width: 100%;
        align-self: center;
    }
    
    .choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 50px 15px;
    }
    
    .why-choose-content h2 {
        font-size: 30px;
    }
    
    .choose-card {
        padding: 20px;
    }
    
    .choose-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .choose-info h3 {
        font-size: 18px;
    }
    
    .choose-info p {
        font-size: 14px;
    }
}