/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
font-family: 'Open Sans', sans-serif;
line-height: 1.6;
background: url('bck4.jpg') no-repeat center center fixed; /* Set bck4.jpg as background */
background-size: cover; /* Ensure the background image covers the whole viewport */
color: #333;
}


/* Hide sections initially */
section, main {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* Active class for when the section is in view */
.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styling */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text-wrapper {
            display: flex;
            align-items: center;
            gap: 30px;
}

.logo img {
    width: 120px;
    height: auto;
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'garet', sans-serif;
    color: #333;
    white-space: nowrap;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 0px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-family: 'garet', sans-serif;
    font-size: 1.2rem; /* Increased font size */
    padding: 12px 20px; /* Adjusted padding for better spacing */
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #007bff;
    color: white;
    border-radius: 15px;
}

/* Main Content */
main {
padding: 120px 20px;
max-width: 1200px;
margin: 0 auto;
text-align: center;
background: url('bck4.jpg') no-repeat center center; /* Set bck1.jpg as background */
background-size: cover; /* Cover the entire area with the background */
position: relative; /* Enable positioning for the overlay */
z-index: 0;
}

main::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better text contrast */
z-index: 1; /* Ensure the overlay is below the text */
}

.our-story-header, .our-story-content {
position: relative;
z-index: 2; /* Ensure content is above the overlay */
}

.our-story-header {
margin-bottom: 50px;
}

.our-story-header h1 {
font-size: 3.5rem;
font-family: 'Montserrat', sans-serif;
font-weight: 700;
color: white;
text-shadow: 1px 1px 5px rgba(0, 0, 123, 0.3);
}

.our-story-header h1::after {
content: '';
display: block;
width: 60px;
height: 5px;
background-color: #007bff;
margin: 15px auto 0;
}

.our-story-content {
font-size: 1.2rem;
color: #fff; /* White text for better readability on dark background */
line-height: 1.8;
text-align: center;
max-width: 900px;
margin: 0 auto;
transition: opacity 1s ease-in-out;
}

.our-story-content p {
margin-bottom: 20px;
}


/* Image styling */
.our-story-image {
display: block; /* Ensure the image behaves like a block element for centering */
margin: 40px auto; /* Center the image horizontally with auto margins */
width: 65%; /* Increase the image width relative to the container */
height: auto;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease;
}

.our-story-image:hover {
transform: scale(1.1); /* Slightly larger scale for hover effect */
}


/* Mission Section */
.mission-section {
background: url('bck1.jpg') no-repeat center center; /* Set bck2.jpg as background */
background-size: cover; /* Cover the entire area with the background */
color: white;
padding: 80px 20px;
margin-top: 50px;
text-align: center;
position: relative; /* Enable positioning for the overlay */
box-shadow: 0 -3px 15px rgba(0, 0, 123, 0.3);
z-index: 0;
}

.mission-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better contrast */
z-index: 1; /* Ensure the overlay is below the text */
}

.mission-header, .mission-content {
position: relative;
z-index: 2; /* Ensure content is above the overlay */
}

.mission-header {
margin-bottom: 30px;
}

.mission-header h2 {
font-size: 3rem;
font-family: 'Montserrat', sans-serif;
font-weight: 700;
color: white;
text-shadow: 1px 1px 5px rgba(0, 0, 123, 0.4);
}

.mission-header h2::after {
content: '';
display: block;
width: 60px;
height: 5px;
background-color: white;
margin: 15px auto 0;
}

.mission-content {
max-width: 900px;
margin: 0 auto;
font-size: 1.2rem;
color: #f4f4f9;
line-height: 1.8;
}

.mission-content p {
margin-bottom: 20px;
}

/* Button Style */
.mission-section .btn {
padding: 12px 30px;
background: linear-gradient(135deg, #33a1ff, #0056b3);
color: white;
font-weight: bold;
font-family: 'Montserrat', sans-serif;
text-decoration: none;
border-radius: 50px;
transition: background-color 0.3s, transform 0.3s;
box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.mission-section .btn:hover {
background-color: #0056b3;
transform: scale(1.1);
}


/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .our-story-header h1,
    .mission-header h2 {
        font-size: 2.5rem;
    }

    .our-story-content,
    .mission-content {
        font-size: 1rem;
    }

    .mission-section {
        padding: 60px 20px;
    }
}