/* Base Styles */
:root {
    --primary-color: #2b6ca3;
    --primary-light: #4a89dc;
    --primary-dark: #1e5180;
    --secondary-color: #6ec1e4;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.underline {
    height: 4px;
    width: 80px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0; /* Increased padding for taller header */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Added for positioning */
}

.logo {
    position: relative;
    left: -20px; /* Move logo slightly to the left */
}

.logo img {
    height: 65px; /* Increased logo size */
}

nav {
    flex: 1; /* Take up available space */
    display: flex;
    justify-content: center; /* Center the navigation */
}

.main-menu {
    display: flex;
    list-style: none;
    justify-content: center; /* Center the menu items */
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin: 0 15px; /* Equal spacing on both sides */
}

.main-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0; /* Added padding for better hover effect */
}

.main-menu a:hover {
    color: var(--primary-color);
}

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

.main-menu a:hover:after {
    width: 100%;
}

/* Update the contact button styling */
.contact-btn {
    background-color: #2c6da3; /* Match your brand blue color from the logo */
    color: var(--white) !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: #1e5a8a; /* Slightly darker shade for hover */
    transform: translateY(-2px);
}

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



.email-btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}






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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}


/*HERO SECTION*/
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* Mobile - use cover for better mobile experience */
@media (max-width: 768px) {
    .slide {
        background-size: cover;
    }
}

/* Tablet and Desktop - minimize cropping */
@media (min-width: 769px) {
    .slide {
        background-size: auto 100%; /* Fill height, auto width */
        background-color: #2c3e50; /* Fallback color for sides */
    }
    
    /* If image is too narrow, switch to width-based */
    .slide:nth-child(1) {
        background-size: 100% auto; /* Adjust per image if needed */
    }
}

/* Large screens - ensure good coverage */
@media (min-width: 1400px) {
    .slide {
        background-size: cover;
        background-position: center 30%; /* Focus on upper-center area */
    }
}

/* Different background image for each slide */
.slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/home1.png');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Home2.png');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Home3.png');
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    z-index: 2;
    position: relative;
}

.slide-content h1 {
    font-size: 2.8rem; /* Reduced from 3.5rem */
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    white-space: nowrap; /* Keep on one line */
}

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

/* Responsive adjustments */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 1.8rem;
        white-space: normal; /* Allow wrapping on mobile */
        line-height: 1.2;
    }
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
}










/* Fix for gap between sections at mobile dimensions */
@media (max-width: 800px) {
    /* Hero section fix */
    .hero {
        height: 100vh; /* Use viewport height */
        min-height: 400px; /* Minimum height */
        max-height: 600px; /* Maximum height to prevent excessive space */
    }
    
    /* Fix for the slider */
    .hero-slider {
        height: 100%;
        position: relative;
    }
    
    /* Ensure the About section connects properly */
    #about {
        margin-top: 0;
    }
    
    /* Adjust slider controls position */
    .slider-controls {
        bottom: 15px;
    }
    
    /* Fix for any overflow that might be causing the gap */
    body {
        overflow-x: hidden;
    }
    
    /* Remove any potential margin on main container */
    .container {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* Very specific fix for the exact dimensions where you're seeing the issue */
@media (min-width: 575px) and (max-width: 800px) and (min-height: 700px) and (max-height: 850px) {
    .hero {
        height: 600px; /* Fixed height instead of viewport units */
    }
    
    /* Force sections to connect */
    section {
        margin: 0;
    }
}





/* About Section */
.about {
    background-color: var(--white);
    position: relative;
    z-index: 999; /* Very high z-index */
    margin-top: 100vh; /* Push it down by full viewport height */
    margin-top: calc(100vh - 120px); /* Adjust for navbar height */
    padding-top: 80px;
    transform: translateZ(0); /* Force hardware acceleration */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.company-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.value-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Products Section - Updated layout */
/* Products Section - Updated layout */
/* Products Section - Updated layout */
.products {
    background-color: var(--light-gray);
    padding: 80px 0;
}

/* Centered product title */
.product-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Product intro section with left-aligned text */
.product-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items at the top */
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.product-intro-text {
    width: 48%; /* Slightly less than half to ensure gap */
    text-align: left;
}

.product-intro-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 0; /* Align with top of image */
}

.product-intro-image {
    width: 48%; /* Slightly less than half to ensure gap */
}

.product-intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Product gallery with medium-sized images */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* Medium spacing between images */
    max-width: 700px; /* Medium-sized container */
    margin: 0 auto;
}

.product-item {
    width: 100%;
}

.product-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-intro {
        flex-direction: column;
        align-items: center;
    }
    
    .product-intro-text, 
    .product-intro-image {
        width: 100%;
        max-width: 600px;
    }
    
    .product-intro-text {
        order: 1; /* Text below image on tablet */
        margin-top: 20px;
    }
    
    .product-intro-image {
        order: 0; /* Image above text on tablet */
    }
}

@media (max-width: 768px) {
    .product-gallery {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns on mobile */
        max-width: 450px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .product-gallery {
        grid-template-columns: 1fr; /* Single column on very small screens */
        max-width: 250px;
    }
}






/* Premium Features Section - New Design */
/* Premium Features Section - Completely Revised for Equal Heights */
.product-guide {
    background-color: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 80px;
}

.product-guide h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.product-guide h3:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

/* All guide items */
.guide-item {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
}

.guide-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.guide-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.guide-item:hover:before {
    opacity: 1;
}

/* Content styling */
.guide-content {
    margin-bottom: 0; /* No bottom margin */
}

.guide-item h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.guide-item h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.guide-item:hover h4:after {
    width: 60px;
}

.guide-item p {
    color: #555;
    line-height: 1.5;
    font-size: 1rem;
    margin-bottom: 0; /* No bottom margin */
}

/* For items with images - specific height control */
.with-image {
    height: 380px; /* Fixed height for cards with images */
}

/* Small items without images */
.small-item {
    height: auto; /* Auto height for text-only cards */
}

/* Single image styling */
.guide-image {
    margin-top: 20px; /* Consistent spacing */
    text-align: center;
    align-self: center;
}

.guide-image img {
    width: 100%;
    max-width: 180px; /* Reduced size to match material options height */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.guide-item:hover .guide-image img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Multiple images gallery styling */
.guide-image-gallery {
    display: flex;
    justify-content: space-between;
    margin-top: 20px; /* Consistent spacing */
    gap: 15px;
}

.gallery-item {
    width: 32%;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.gallery-item h5 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 3px;
    font-weight: 600;
    margin-bottom: 0; /* No bottom margin */
}

.guide-item:hover .gallery-item img {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .guide-items {
        grid-template-columns: 1fr;
    }
    
    .with-image {
        height: auto; /* Auto height on smaller screens */
    }
}

@media (max-width: 768px) {
    .product-guide {
        padding: 40px 20px;
    }
    
    .guide-image-gallery {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-item {
        width: 80%;
        margin-bottom: 15px;
    }
    
    .guide-image img {
        max-width: 150px; /* Even smaller on mobile */
    }
}
/* Fix for color palette image background */
.guide-image img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: none; /* Remove box shadow */
    transition: all 0.3s ease;
    background: transparent; /* Ensure transparent background */
}

/* Specific styling for the color palette image */
.guide-item:nth-of-type(2) .guide-image img {
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.guide-item:hover .guide-image img {
    transform: scale(1.05);
    box-shadow: none; /* No shadow on hover either */
}




/* Why Choose Us Section */
.why-us {
    background-color: var(--white);
}

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

.benefit-item {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.benefit-icon i {
    font-size: 2rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services List (Left Side) */
.services-list {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-tab {
    background-color: #f9f9f9;
    padding: 25px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    position: relative;
}

.service-tab:hover, .service-tab.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(10px);
    border-left-color: var(--secondary-color);
}

.service-tab h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-tab p {
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Services Display (Right Side) */
.services-display {
    position: relative;
    height: 100%;
    min-height: 500px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.service-image.active {
    opacity: 1;
}

.service-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .services-display {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .service-tab {
        padding: 20px;
    }
    
    .service-tab h3 {
        font-size: 1.2rem;
    }
    
    .services-display {
        min-height: 350px;
    }
}



/* Markets Section */
.markets {
    background-color: var(--white);
    padding: 60px 0;
}

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

.market-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1.1; /* Fixed aspect ratio for consistent card dimensions */
}

.market-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.market-image {
    flex: 1; /* Take up all available space except for the title */
    overflow: hidden;
    position: relative;
}

.market-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover ensures the image fills the container */
    object-position: center; /* Center the image within the container */
}

.market-item h3 {
    background-color: #f0f2f5;
    color: #333;
    padding: 15px;
    margin: 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Updated Sustainability Section with first image reduced by 30% */
.sustainability {
    background-color: var(--light-gray);
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Images container */
.sustainability-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* First image container with height reduced by 30% */
.image-top {
    width: 100%;
    height: 0;
    padding-bottom: 70%; /* 70% of original height (100% - 30% reduction) */
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.image-top img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Second image unchanged */
.image-bottom img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    display: block;
}

/* Text container */
.sustainability-text {
    padding-top: 0;
}

.sustainability-text p {
    margin-bottom: 20px;
}

/* Feature boxes layout */
.sustainability-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* First two features side by side */
.feature:nth-child(1),
.feature:nth-child(2) {
    flex-basis: calc(50% - 10px);
}

/* Center the third feature */
.feature:nth-child(3) {
    flex-basis: auto;
    margin-left: auto;
    margin-right: auto;
}

/* Feature styling */
.feature {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sustainability-content {
        grid-template-columns: 1fr;
    }
    
    .sustainability-images {
        order: 2;
    }
    
    .sustainability-text {
        order: 1;
    }
    
    .feature:nth-child(1),
    .feature:nth-child(2),
    .feature:nth-child(3) {
        flex-basis: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}



/* Contact Section */
.contact {
    background-color: var(--white);
}

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

.contact-intro h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-intro .highlight {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 20px;
    font-weight: 500;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}

.contact-image {
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info {
    max-width: 500px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.email-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.email-btn i {
    margin-right: 10px;
    color: white;
}

.email-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.email-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}


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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px; /* Increased gap for more space between sections */
    margin-bottom: 40px;
}

.footer-links h4,
.footer-mission h4,
.footer-vision h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4:after,
.footer-mission h4:after,
.footer-vision h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-mission p,
.footer-vision p {
    opacity: 0.8;
    line-height: 1.8;
}

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

.footer-bottom p {
    opacity: 0.7;
}



/* Responsive Styles */
@media (max-width: 1024px) {
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .sustainability-content {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }
    
    .main-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .main-menu.active {
        left: 0;
    }
    
    .main-menu li {
        margin: 15px 0;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .company-values {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-image {
        height: 300px;
    }

    .about-image {
    height: 300px; /* Fixed height on mobile */
    margin-bottom: 20px;
    }

    .markets-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .market-image {
        height: 180px;
    }

    .sustainability-content {
        grid-template-columns: 1fr;
    }
    
    .feature {
        flex-basis: 100%;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .hero {
        height: 80vh;
    }
    
    .benefit-item {
        padding: 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

     .markets-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .market-image {
        height: 150px;
    }
    
    .market-item h3 {
        padding: 10px;
        font-size: 1rem;
    }
}



/* Mobile menu positioning fixes */

/* 1. Move logo slightly right */
@media (max-width: 768px) {
  .logo {
    padding-left: 10px; /* Add a small padding to move logo right */
  }
}

/* 2. Move hamburger menu to far right */
@media (max-width: 768px) {
  header .container {
    display: flex;
    justify-content: space-between; /* This ensures logo and menu are at opposite ends */
    align-items: center;
    padding: 15px 10px; /* Add some padding */
  }
  
  .hamburger-menu {
    margin-left: auto; /* Push to the right */
    margin-right: 10px; /* Small right margin for spacing */
  }
}

/* 3. Remove gap between menu items in mobile view */
@media (max-width: 768px) {
  .main-menu {
    padding: 0; /* Remove any padding */
  }
  
  .main-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; /* Adjust based on your header height */
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  .main-menu li {
    margin: 0; /* Remove any margin */
    width: 100%;
  }
  
  .main-menu li a {
    display: block;
    padding: 12px 20px; /* Consistent padding */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Optional: adds a subtle separator */
  }
}

