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

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

/* Navigation */
nav {
    background-color: #d0d3d4;
    color: #333;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 150px;
    overflow: visible;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    z-index: 1001;
}

.nav-logo {
    max-width: 400px;
    width: 400px;
    height: auto;
    object-fit: contain;
    padding: 0;
    margin-top: 20px;
}

nav h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.menu-items {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    margin-left: auto;
}

.menu-items a {
    color: #333;
    text-decoration: none;
    margin-left: 30px;
    font-size: 21px;
    font-weight: bold;
    transition: color 0.3s ease;
    line-height: 110px;
    padding: 0 20px;
}

.menu-items a:hover {
    color: #0056b3;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
header {
    background: linear-gradient(to right, #0069d9, #0056b3);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

header p {
    font-size: 24px;
    margin-bottom: 30px;
}

button {
    background-color: white;
    color: #007bff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e2e6ea;
}

/* About Section */
#about {
    padding-top: 100px;
    padding-bottom: 60px;
    background-color: #f8f9fa;
    margin-top: 60px;
}

#about .company-description {
    max-width: 1000px;
    margin: 0 auto 60px;
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
}

#about .company-description p {
    margin-bottom: 20px;
}

/* Vision and Mission Section */
#vision-mission {
    padding: 80px 0;
    background-color: white;
}

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

.mission-item {
    text-align: center;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-item img {
    margin-bottom: 20px;
}

.mission-item h3 {
    margin-bottom: 15px;
    color: #007bff;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Services Section */
.service {
    padding-top: 130px;
    margin-top: -60px;
}

.service h2 {
    margin-bottom: 40px;
    padding-top: 30px;
    font-size: 42px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
    margin-bottom: 30px;
    width: 80px;
    height: 80px;
}

.service-card h3 {
    margin-bottom: 20px;
    color: #007bff;
    font-size: 24px;
}

.service-card p {
    font-size: 17px;
    line-height: 1.6;
}

/* Vendors Section */
#vendors {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vendor-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.vendor-logo {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* Contact Section */
#contact {
    padding: 60px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

form button {
    background-color: #007bff;
    color: white;
}

form button:hover {
    background-color: #0056b3;
}

/* Stats Section */
#stats {
    background-color: #007bff;
    padding: 80px 0;
    color: white;
}

#stats h2 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: white;
    display: block;
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.2em;
    font-weight: 500;
}

/* Mobile Responsive Stats */
@media screen and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 2.5em;
    }

    .stat-item p {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 2.2em;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        text-align: center;
    }

    .menu-items {
        margin-top: 15px;
    }

    .menu-items a {
        display: block;
        margin: 10px 0;
    }

    header h1 {
        font-size: 36px;
    }

    header p {
        font-size: 20px;
    }
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
    nav {
        height: 110px;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .menu-items {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }

    .menu-items.active {
        left: 0;
    }

    .menu-items a {
        color: white;
        margin: 20px 0;
        font-size: 24px;
        text-align: center;
        width: 100%;
        padding: 10px 0;
        transition: background-color 0.3s ease;
    }

    .menu-items a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

@media screen and (max-width: 480px) {
    nav {
        height: 110px;
    }

    .nav-logo {
        max-width: 250px;
        width: 250px;
    }

    .menu-items a {
        font-size: 19px;
    }
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #007bff;
}

/* Service Detail Pages Navigation */
.service-detail-page nav {
    background-color: #d0d3d4;
    height: 110px;
    padding: 0;
}

.service-detail-page .menu-items a {
    color: #333;
    font-size: 21px;
    margin-left: 30px;
    line-height: 110px;
    padding: 0 20px;
}

.service-detail-page .nav-logo {
    max-width: 400px;
    width: 400px;
    margin-top: 20px;
}

/* Service Detail Content Spacing */
.service-detail-content {
    padding-top: 130px;  /* Account for taller nav */
    margin-bottom: 50px;
}

.service-detail {
    margin-bottom: 30px;
}

.business-advantages {
    margin-top: 30px;
}

.service-content {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    padding: 50px 0;
}

.service-features {
    flex: 1;
    padding-left: 350px;
    max-width: 600px;
    order: 1; /* Ensure text is first */
    z-index: 2; /* Bring text to front */
    position: relative; /* Create stacking context */
}

.service-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: left;
    align-items: left;
    height: 300px; /* Full height from first to last list item */
    width: 900px;
    max-width: 70%;
    overflow: hidden;
    order: 2;
    margin-left: 50px;
    z-index: 3;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 10px; /* Reverted to original border-radius */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0.9;
}

.service-list {
    list-style-type: none;
    padding: 0;
    text-align: left;
    padding-left: 50px;
}

.service-list li {
    padding: 10px 0;
    line-height: 1.5; /* Ensure consistent line height */
    border-bottom: 1px solid #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-features .feature p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

.service-features .service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-features .features-column {
    flex: 1;
    min-width: 250px;
}

.service-features .service-list > li {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
    }
    
    .service-features .service-list {
        flex-direction: column;
    }
}

.business-advantages {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.advantages-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-left: 100px; /* Moderate left padding to move content right */
}

.business-advantages h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.business-advantages p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.call-to-action {
    background-color: #fff;
    border-left: 4px solid #007bff;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.call-to-action h3 {
    color: #333;
    margin-bottom: 15px;
}

.btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .advantages-content {
        padding-left: 20px; /* Reduced padding for smaller screens */
        padding-right: 20px;
    }
}

/* Sliding Background Header */
#home {
    width: 100%;
    height: 65vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

#home .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.header-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

#home h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

#home p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

#home button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#home button:hover {
    background-color: #0056b3;
}

/* Responsive styles for service detail pages */
@media screen and (max-width: 768px) {
    .service-detail-page nav {
        height: 110px;
    }
    
    .service-detail-page .menu-items {
        top: 110px;
        background-color: #d0d3d4;
    }
    
    .service-detail-page .nav-logo {
        max-width: 300px;
        width: 300px;
        margin-top: 15px;
    }
}

@media screen and (max-width: 480px) {
    .service-detail-page .nav-logo {
        max-width: 250px;
        width: 250px;
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contactForm input,
#contactForm textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

#contactForm textarea {
    min-height: 150px;
    resize: vertical;
}

#contactForm button {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contactForm button:hover {
    background-color: #0056b3;
}

#contactForm button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.contact-info i {
    margin-right: 10px;
    color: #007bff;
}

/* Text Centering and Service Page Styling */
.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 20px;
    color: #333;
}

.service-list, 
.benefits-list {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

.service-list li, 
.benefits-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.service-cta {
    margin-top: 30px;
}

.cta-description {
    max-width: 700px;
    margin: 0 auto 20px;
}

/* Service Page Enhancements */
.service-header {
    background: linear-gradient(to right, #0069d9, #0056b3);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.service-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.service-header p {
    font-size: 24px;
    margin-bottom: 30px;
}

.service-detail {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.service-features {
    margin-top: 30px;
}

.service-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.features-column {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.features-column:hover {
    transform: translateY(-5px);
}

.features-column > li {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.features-column ul {
    list-style-type: none;
    padding: 0;
}

.features-column ul ul li {
    font-weight: 400;
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #e9e9e9;
}

.features-column ul ul li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
    }
    
    .features-column {
        margin-bottom: 15px;
    }
}

.service-image {
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.business-advantages {
    background-color: #f4f4f4;
    padding: 60px 0;
    text-align: center;
}

.business-advantages h2 {
    color: #333;
    margin-bottom: 20px;
}

.call-to-action {
    background-color: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.call-to-action h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.btn-primary {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
    }
    
    .features-column {
        margin-bottom: 20px;
    }
}

/* Service Header Styling */

/* Service Detail Page Styles */
.service-detail .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Description */
.header-description {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border: 2px solid #0069d9;
    width: 50%;
    margin: 20px auto;
    border-radius: 8px;
}

.header-description h2 {
    color: #0069d9;
    font-size: 24px;
}

/* Content Layout: Left Text and Image */
.content-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.left-text {
    flex: 1;
    text-align: left;
}

.left-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.image-container {
    flex: 2;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.service-img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Features Grid */
.service-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

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

.features-row p {
    background-color: #f4f4f4;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.features-row p:hover {
    background-color: #0069d9;
    color: white;
}

/* Responsive Design for Service Pages */
@media screen and (max-width: 768px) {
    .content-layout {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .left-text, 
    .service-points, 
    .image-container {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .image-container {
        margin-top: 20px;
        order: 3; /* Ensure image appears last on mobile */
    }

    .service-img {
        width: 100%;
        height: auto;
        max-height: 400px; /* Prevent extremely tall images */
        object-fit: cover;
    }
}

/* Image Slider CSS */
#home {
    width: 100%;
    height: 65vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.prev-btn, .next-btn {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0,0,0,0.7);
}

.slide .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
}

.slide .header-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide .header-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide .header-content button {
    background-color: white;
    color: #007bff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.slide .header-content button:hover {
    background-color: #e2e6ea;
}
