/* Ensure all pages maintain previous layout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white; /* Text color */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0,0.9)),
                url('img/TamilPicture1.jpg') no-repeat left center fixed; /* Fixed background with left alignment */
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the page is at least the height of the viewport */
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    background-color: transparent;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000; /* Increased z-index to ensure it's on top */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Added shadow for better visibility */
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: normal;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: orange; /* Change on hover */
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-top: 70px; /* Added margin to ensure it doesn't hide under sticky header */
}

.hero .content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero .content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Product Details */
.product-details {
    background-color: rgba(255, 165, 0, 0.1); /* Light orange overlay */
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    text-align: left;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-details h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.product-details p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Call to Action Button */
.cta {
    background-color: orange;
    color: black;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.cta:hover {
    background-color: white;
    color: orange;
}

/* Footer Section */
footer {
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    position: relative;
    bottom: 0;
    text-align: center;
    border-top: 2px solid orange; /* Adds a top border for separation */
}
