* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px; /* Add padding for fixed navbar */
    scroll-behavior: smooth; /* Add smooth scrolling */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #333;
}

section {
    margin: 0; /* Changed from 40px 0 */
    padding-top: 0; /* Changed from 80px */
    margin-top: 0; /* Changed from -80px */
    background-color: #f9f9f9;
    border-radius: 8px;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

.business-card {
    background-color: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
}

.business-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.business-text {
  width: 100%;
  max-width: 100%;
  
  background-image: url('./image/pond-background.jpg'); /* Use correct path */
  background-repeat: no-repeat;
  background-size: 100% 100%;  /* Ensures image fills full width and height */
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  aspect-ratio: 4 / 2; /* Controls height relative to width — adjust as needed */
  padding: 1rem;

  color: white;
  border-radius: 12px;
  position: relative;
  overflow: hidden;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.business-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Overlay for better text readability */
  z-index: 1;
}

.business-text > * {
  position: relative;
  z-index: 2;
}

.business-text h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.business-text p {
  font-size: 1rem;
  margin: 0.25rem 0;
}


.business-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.business-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.business-images img:hover {
    transform: scale(1.05);
}

footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: 'center';
    justify-content: space-between;
    gap: 2rem;
    padding: 0 2rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

.main-nav {
    position: fixed;
    width: 100%;
    height: 80px; /* Fixed height */
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    top: 0
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 0;
    margin-top: 80px; /* Only keep margin for navbar height */
    background-color: transparent; /* Remove gray background */
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    z-index: 1;
}

.banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f5f5f5;
}

.banner-text {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
}

.banner-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.company-intro,
.mission-vision,
.objective,
.summary,
.other-business {
    margin: 4rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission, .vision {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.business-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.gallery-section h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-card:hover .image-caption {
    transform: translateY(0);
}

.slider {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    margin-top: 0; /* Remove top margin */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Change from contain to cover */
    background-color: transparent; /* Remove gray background */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 2;
    transition: background-color 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background: white;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav ul {
        position: fixed;
        top: 80px; /* Match navbar height */
        right: -100%;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .main-nav ul.active {
        right: 0;
    }

    .main-nav ul li {
        margin: 1.5rem 0;
    }

    .main-nav ul li a {
        font-size: 1.2rem;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner {
        padding-top: 0;
    }
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .banner-text p {
        font-size: 1.2rem;
    }

    .business-images {
        grid-template-columns: 1fr;
    }
    
    .image-caption {
        transform: translateY(0);
    }

    .slider {
        height: 50vh;
    }
    
    .slider-btn {
        padding: 0.8rem 1.2rem;
        font-size: 1.2rem;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }

    .other-business {
        margin: 2rem 0;
        padding: 1rem;
    }

    .business-card {
        padding: 1.2rem;
        margin: 1rem 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .business-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .business-card p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin: 0.4rem 0;
    }

    .business-text {
        aspect-ratio: 16/9;
        padding: 1.5rem 1rem;
    }

    .business-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .business-text p {
        font-size: 0.95rem;
        margin: 0.3rem 0;
    }

    .gallery-section {
        padding: 1rem;
        margin: 1rem 0;
    }

    .gallery-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .business-images {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 0.8rem;
    }

    .image-card {
        height: 160px; /* Fixed height for consistency */
    }

    .image-card img {
        height: 100%;
    }

    .image-caption {
        font-size: 0.8rem;
        padding: 0.4rem;
        background: rgba(0,0,0,0.8);
    }

    main {
        padding: 1rem 0.5rem; /* Reduced horizontal padding */
    }

    .other-business {
        margin: 2rem 0.5rem; /* Reduced horizontal margin */
        padding: 0.8rem; /* Reduced padding */
    }

    .business-card {
        padding: 1rem 0.8rem; /* Reduced horizontal padding */
        margin: 1rem 0.3rem; /* Reduced horizontal margin */
    }

    .gallery-section {
        padding: 0.8rem; /* Reduced overall padding */
        margin: 0.8rem 0.3rem; /* Reduced horizontal margin */
    }
}

@media (max-width: 480px) {
    .business-images {
        grid-template-columns: 1fr; /* Single column on phones */
    }

    .image-card {
        height: 200px; /* Taller images on phones */
    }

    .business-card-content {
        gap: 1rem;
    }

    .business-text {
        aspect-ratio: auto;
        min-height: 150px;
    }

    main {
        padding: 0.8rem 0.3rem; /* Even smaller padding for very small screens */
    }

    .other-business {
        margin: 1.5rem 0.3rem;
        padding: 0.6rem;
    }

    .business-card {
        padding: 0.8rem 0.6rem;
        margin: 0.8rem 0.2rem;
    }
}

