/* General Styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 25px;
    background-color: #004d00; /* Dark Green */
    color: white;
    padding: 50px;
    height: 100vh;
    width: 100%;
    text-align: justify;
    text-justify: inter-word;
}

/* Hero Content */
.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 20px 0;
}

/* Discovery Section */
.discovery {
    display: flex;
    gap: 50px;
    height: auto; /* Adjusted to auto for mobile view */
    padding: 100px;
    justify-items: center;
    justify-content: center;
    text-align: justify;
    text-justify: inter-word;
}

.discovery-text {
    max-width: 50%;
}

.discovery-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.discovery-text p {
    font-size: 1.1rem;
    margin: 20px 0;
}

.discovery-image img {
    padding: 150px 50px;
    height: 350px;
    width: 350px;
}

/* Commitment Section */
.commitment_1 {
    display: flex;
    padding: 100px;
    gap: 50px;
    justify-items: center;
    justify-content: center;
    text-align: justify;
    text-justify: inter-word;
}

.commitment_1_text {
    max-width: 50%;
    margin-top: 100px;
    margin-right: 60px;
}

.commitment_1_text h5 {
    font-size: 0.6rem;
    margin-bottom: 10px;
}

.commitment_1_text h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.commitment_img_1 img {
    padding: 50px;
    width: 512px;
    height: 512px;
}

/* Commitment Section 2 */
.commitment_2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff; /* Dark Green */
    color: black;
    padding: 100px;
    text-align: justify;
    text-justify: inter-word;
}

/* Commitment Content 2 */
.commitment-content_2 {
    max-width: 50%;
}

.commitment-content_2 small {
    font-weight: bold;
    text-transform: uppercase;
}

.commitment-content_2 h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.commitment-content_2 p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Vision & Mission */
.vision-mission {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-word;
}

.vision, .mission {
    flex: 1;
}

.vision h2, .mission h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.vision p, .mission p {
    font-size: 1rem;
}

/* Buttons */
.commitment-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    text-decoration: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.primary {
    background-color: #004d00;
    color: white;
    border: 2px solid white;
}

.secondary {
    background-color: white;
    color: green;
    border: 2px solid white;
}

.primary:hover {
    background-color: #008000;
    color: white;
}

.secondary:hover {
    background-color: #004d00;
    color: white;
}

/* Commitment Image */
.commitment-image img {
    max-width: 100%;
    height: auto;
}

/* Eco-Friendly Initiatives Section */
.eco-initiatives {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px;
    background-color: #f8f8f8; /* Light Gray Background */
    text-align: justify;
    text-justify: inter-word;
}

/* Left Content */
.eco-content {
    max-width: 50%;
}

.eco-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.eco-content p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

/* List Styling */
.eco-list {
    list-style: none;
    padding: 0;
}

.eco-list li {
    font-size: 1rem;
    color: #000;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.eco-list li::before {
    content: "🌍";
    margin-right: 10px;
}

/* Right Image */
.eco-image {
    width: 40%;
    background: #e0e0e0; /* Placeholder Gray */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

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

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: justify;
    text-justify: inter-word;
}

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

.overline {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #666;
}

.team-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}

.team-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.team-member {
    display: flex;
    flex-direction: column;
}

.member-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 20px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-role {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

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

.social-link {
    color: #000;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #45a049;
}

.hiring-section {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid #eee;
    text-align: justify;
    text-justify: inter-word;
}

.hiring-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hiring-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hiring-button {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #000;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.hiring-button:hover {
    background-color: #000;
    color: #fff;
}

/* Contact Section Styling */
.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px;
    background-color: #ffffff;
    text-align: justify;
    text-justify: inter-word;
}

/* Left Content */
.contact-content {
    max-width: 50%;
}

.connect-text {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

.contact-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.contact-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon {
    font-size: 1.5rem;
    color: #4CAF50; /* Green Theme */
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.contact-item a {
    color: #0073e6;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Map */
.contact-map {
    width: 45%;
    height: 400px;
    background: #e0e0e0;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

/* General Media Query for All Sections */
@media (max-width: 1200px) {
    .hero, .discovery, .commitment_1, .commitment_2, .eco-initiatives, .team-section, .contact-section {
        padding: 50px 20px; /* Reduce padding for smaller screens */
    }

    .hero-content, .discovery-text, .commitment_1_text, .commitment-content_2, .eco-content, .contact-content {
        max-width: 100%; /* Allow content to take full width */
    }

    .hero-content h1, .discovery-text h1, .commitment_1_text h1, .commitment-content_2 h1, .eco-content h1, .contact-content h1 {
        font-size: 2rem; /* Reduce font size for headings */
    }

    .hero-content p, .discovery-text p, .commitment_1_text p, .commitment-content_2 p, .eco-content p, .contact-content p {
        font-size: 1rem; /* Reduce font size for paragraphs */
    }

    .discovery, .commitment_1, .commitment_2, .eco-initiatives {
        flex-direction: column; /* Stack sections vertically */
        align-items: center;
        text-align: center;
    }

    .discovery-image img, .commitment_img_1 img, .commitment-image img, .eco-image img {
        width: 100%; /* Make images responsive */
        height: auto;
    }

    .vision-mission {
        flex-direction: column; /* Stack vision and mission vertically */
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr; /* Stack team members vertically */
    }

    .contact-section {
        flex-direction: column; /* Stack contact content and map vertically */
    }

    .contact-map {
        width: 100%; /* Make map full width */
        margin-top: 20px;
    }
}

/* Media Query for Tablets and Smaller Screens (max-width: 768px) */
@media (max-width: 768px) {
    .hero {
        height: auto; /* Allow hero section to adjust height */
        padding: 50px 20px;
    }

    .hero-content{
        padding: 30px;
    }

    .discovery, .commitment_1, .commitment_2, .eco-initiatives {
        padding: 50px 20px; /* Reduce padding further */
    }

    .discovery-image img, .commitment_img_1 img, .commitment-image img, .eco-image img {
        width: 80%; /* Adjust image size for smaller screens */
        padding: 0px;
    }

    .eco-image {
        height: 300px; /* Reduce height for eco-image */
    }

    .team-title {
        font-size: 2rem; /* Reduce team title font size */
    }

    .team-subtitle {
        font-size: 1rem; /* Reduce team subtitle font size */
    }

    .member-name {
        font-size: 1.5rem; /* Reduce team member name font size */
    }

    .member-role {
        font-size: 0.9rem; /* Reduce team member role font size */
    }

    .member-bio {
        font-size: 0.9rem; /* Reduce team member bio font size */
    }

    .hiring-title {
        font-size: 1.5rem; /* Reduce hiring title font size */
    }

    .hiring-text {
        font-size: 1rem; /* Reduce hiring text font size */
    }

    .contact-details {
        gap: 10px; /* Reduce gap between contact items */
    }


    .contact-item h3 {
        font-size: 1rem; /* Reduce contact item heading font size */
    }

    .contact-item a {
        font-size: 0.9rem; /* Reduce contact item link font size */
    }
}

/* Media Query for Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
    .hero-content h1, .discovery-text h1, .commitment_1_text h1, .commitment-content_2 h1, .eco-content h1, .contact-content h1 {
        font-size: 1.5rem; /* Further reduce font size for headings */
    }

    .hero-content p, .discovery-text p, .commitment_1_text p, .commitment-content_2 p, .eco-content p, .contact-content p {
        font-size: 0.9rem; /* Further reduce font size for paragraphs */
    }

    .discovery-image img, .commitment_img_1 img, .commitment-image img, .eco-image img {
        width: 100%; /* Make images full width */
    }

    .eco-image {
        height: 200px; /* Further reduce height for eco-image */
    }

    .team-title {
        font-size: 1.5rem; /* Further reduce team title font size */
    }

    .team-subtitle {
        font-size: 0.9rem; /* Further reduce team subtitle font size */
    }

    .member-name {
        font-size: 1.2rem; /* Further reduce team member name font size */
    }

    .member-role {
        font-size: 0.8rem; /* Further reduce team member role font size */
    }

    .member-bio {
        font-size: 0.8rem; /* Further reduce team member bio font size */
    }

    .hiring-title {
        font-size: 1.2rem; /* Further reduce hiring title font size */
    }

    .hiring-text {
        font-size: 0.9rem; /* Further reduce hiring text font size */
    }

    .contact-details {
        gap: 5px; /* Further reduce gap between contact items */
    }

    .contact-item h3 {
        font-size: 0.9rem; /* Further reduce contact item heading font size */
    }

    .contact-item a {
        font-size: 0.8rem; /* Further reduce contact item link font size */
    }
}