* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body with background image */
body {
    color: #333;
    line-height: 1.6;
    background-image: url('/images/background.png');
    background-position: center;
    background-size: contain; /* scales image to fit, can repeat if smaller */
    background-repeat: repeat; /* allows repeating */
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

/* Add an overlay to improve readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* Increased opacity for better contrast */
    z-index: -1;
}

/* Main content wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Navigation Styles */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: relative;
    min-height: 100px;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
}

.logo span:first-child {
    color: #2c3e50;
}

.logo span:last-child {
    color: #e63946;
}

.nav-bottom {
    background: #2c3e50;
    padding: 12px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    color: white;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
}

/* Logo styles */
.top-logo {
    position: absolute;
    top: 40%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 1001;
    text-decoration: none;
}

.top-partner-logo {
    position: absolute;
    top: 40%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

.zose-logo {
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 8px;
}

.partner-logo-img {
    height: 50px;
    width: 50px;
    border-radius: 8px;
    object-fit: cover;
    background: white;
    padding: 5px;
    margin-top: -5px;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    color: #2c3e50;
    text-decoration: none;
}

.partner-text {
    font-weight: 600;
    font-size: 18px;
    color: #e63946;
    text-decoration: none;
}

/* Hero Section - Updated for Carousel */
.hero-carousel {
    position: relative;
    height: 0;
    padding-bottom: 28%;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), 
                     url('/images/hero2.png');
}

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

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.carousel-arrow {
    background-color: rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-size: 24px;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #e63946;
    transform: scaleX(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Story Section - FIXED TRANSPARENCY */
.story {
    padding: 80px 5%;
    text-align: center;
    margin: 30px;
    position: relative;
}

.story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    border-radius: 10px;
    z-index: -1;
}

.story-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    border: 2px solid #2c3e50;
    border-radius: 10px;
    position: relative;
    background: rgba(255, 255, 255, 0.95); /* Less transparent container */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.story-container:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #e63946;
    border-radius: 8px;
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: #e63946;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.story p {
    max-width: 800px;
    margin: 30px auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333; /* Ensure good contrast */
    text-align: justify;
}

/* Products Section - FIXED TRANSPARENCY */
.products {
    padding: 80px 5%;
    margin: 30px;
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.8); /* Semi-transparent background */
    border-radius: 10px;
    z-index: -1;
}

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

.card {
    background: rgba(255, 255, 255, 0.95); /* Less transparent cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.card p {
    color: #666;
    text-align: left;
}

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

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 5% 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #e63946;
}

.footer-section p, .footer-section a {
    margin-bottom: 10px;
    display: block;
    color: #ecf0f1;
    text-decoration: none;
}

.footer-section a:hover {
    color: #e63946;
}

.partner-logo {
    display: flex;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.logo-circle-inner {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e63946;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Footer partner section */
.footer-partners {
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
}

.footer-partner-logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.footer-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
}

/* Additional Sections */
.local-seo-section {
    background: #f8f9fa;
    padding: 60px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.service-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}
.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.hero-keywords span {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}
.location-cta {
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-top {
        padding: 20px 8%;
    }
    
    .top-logo {
        left: 15px;
    }
    
    .top-partner-logo {
        right: 15px;
    }
}

@media (max-width: 992px) {
    .logo-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .story, .products {
        margin: 20px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .zose-logo {
        height: 60px;
    }
    
    .partner-logo-img {
        height: 45px;
        width: 45px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #2c3e50;
        padding: 20px;
        gap: 15px;
        width: 200px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Hide the two end logos on smaller screens */
    .logo-container .logo:first-child,
    .logo-container .logo:last-child {
        display: none;
    }
    
    /* Center the remaining logo */
    .logo-container {
        justify-content: center;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .story-container {
        padding: 20px;
    }
    
    .story, .products {
        margin: 15px;
    }
    
    .partner-text {
        display: none;
    }
    
    /* Push both logos up on mobile */
    .top-logo {
        top: 40%;
        left: 10px;
    }
    
    .top-partner-logo {
        top: 40%;
        right: 10px;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .zose-logo {
        height: 55px;
    }
    
    .partner-logo-img {
        height: 40px;
        width: 40px;
        margin-top: -8px;
    }
    
    /* Adjust carousel arrows for mobile */
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 30px;
        height: 3px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 18px;
    }
    
    .story, .products {
        margin: 10px;
        padding: 40px 3%;
    }
    
    .nav-top {
        min-height: 80px;
        padding: 15px 5%;
    }
    
    /* Further adjustments for small mobile */
    .top-logo {
        top: 35%;
        left: 5px;
    }
    
    .top-partner-logo {
        top: 35%;
        right: 5px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .zose-logo {
        height: 50px;
    }
    
    .partner-logo-img {
        height: 35px;
        width: 35px;
        margin-top: -10px;
    }
    
    /* Adjust carousel arrows for small mobile */
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
        padding: 0 10px;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .indicator {
        width: 25px;
        height: 2px;
    }
}

@media (max-width: 400px) {
    /* Hide logos on very small screens to prevent obstruction */
    .top-logo, .top-partner-logo {
        display: none;
    }
}