/* Global Styles */
:root {
    --primary-color: #ec660d;
    --secondary-color: #f5d2bb;
    --text-color: #333;
    --background-color: white;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background-color: var(--background-color);
}

/* Header Section */
.header {
    width: 100%;
    min-height: 100vh;
    background: url("images/laspic.jpg") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav img {
    width: 150px;
    border-radius: 10px;
    animation: turnlogo 5s infinite;
}

.navlink {
    display: flex;
    justify-content: center;
}

.navlink ul {
    display: flex;
    list-style: none;
}

.navlink ul li {
    padding: 10px 15px;
}

.navlink ul li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

.navlink ul li a:hover {
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

.navlink ul li::after {
    content: " ";
    display: block;
    margin: auto;
    height: 2px;
    width: 0%;
    background-color: var(--primary-color);
    transition: 0.5s;
}

.navlink ul li:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger1 {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
}

/* Hero Section */
.mainhero {
    margin-top: 100px;
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 2s ease-out, transform 2s ease-out;
    width: 100%;
}

.hed1 {
    font-size: 2rem;
    font-weight: bold;
}

.dee {
    color: white;
    animation: color1 2s infinite;
}

@keyframes color1 {
    0% { color: white; }
    25% { color: var(--primary-color); }
    50% { color: white; }
    75% { color: var(--primary-color); }
    100% { color: white; }
}

.years {
    font-size: 1.2rem;
}

/* Contact Section */
.num {
    display: flex;
    align-items: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 2s ease-out, transform 2s ease-out;
}

.num img {
    width: 50px;
    margin-right: 10px;
}

.getintouch {
    font-size: 1rem;
}

.num1 {
    font-weight: bold;
    color: var(--primary-color);
}

/* About Section */
.aboutrow {
    background: rgba(255, 255, 255, 0.767);
    padding: 50px 20px;
}

.aboutdiv {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.about h3, .whychoose h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.writeup p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Slide in from Left Animation */
.slide-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Statistics Section */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.counter-container {
    text-align: center;
    margin: 20px;
}

.counter {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.counter-container span {
    color: var(--primary-color);
    font-size: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger1 {
        display: block;
    }

    .navlink {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        display: none;
        text-align: center;
        flex-direction: column;
    }

    .navlink.active {
        display: flex;
    }

    .navlink ul {
        display: block;
    }

    .navlink ul li {
        padding: 15px;
    }

    .header {
        width: 100%;
    }
}

.corevalue {
    display: flex;
    background-color: var(--primary-color);
    width: 100%;
    border-radius: 10px;
    justify-content: center;
}

.core1, .mission {
    width: 45%;
    background-color: var(--secondary-color);
    margin: 20px;
    padding: 18px 18px;
}

.mission {
    text-align: justify;
}

.core1 ul {
    padding-left: 30px;
}

@media (max-width: 768px) {
    .corevalue {
        display: grid;
    }

    .mission, .core1 {
        width: auto;
    }

    .pictures {
        flex-direction: column;
    }
}

.ourservice {
    width: 100%;
    background-color: rgba(241, 225, 188, 0.781);
    display: flex;
    justify-content: center;
    padding: 20px 20px;
}

.pictures {
    display: flex;
}

.pics img {
    width: 300px;
}

.pics {
    margin: 10px 60px;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    width: 300px;
}

.pics h1 {
    font-size: 1rem;
    text-align: left;
    color: black;
}

.pics p {
    text-align: left;
    color: black;
    font-size: 0.8rem;
}

.allpic {
    text-align: center;
}

.ourimpact {
    display: flex;
    background-color: white;
    width: 100%;
    justify-content: center;
}

.impact, .pastprojects {
    width: 45%;
    background-color: rgb(255, 255, 255);
    margin: 20px;
    padding: 18px 18px;
    border-radius: 20px;
    text-align: left;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.impactrow {
    background-color: white;
    padding: 15px 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .ourimpact {
        display: grid;
    }

    .impact, .pastprojects {
        width: auto;
        text-align: justify;
    }
}

/* Slide-in Animation for pics*/
.slide-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 2s ease-out, transform 2s ease-out;
}

.contactus {
    display: flex;
    background-color: rgba(241, 225, 188, 0.781);
    width: 100%;
    justify-content: center;
}

.contact {
    width: 90%;
    margin: 20px;
    padding: 18px 18px;
    text-align: center;
}


@media (max-width: 768px) {
    .contactus {
        display: grid;
    }

    .contact, .form {
        width: auto;
        text-align: center;
    }

}


/* Contact Form Section */
.contact-form-section {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-form {
    max-width: 500px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-size: 1rem;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #d45e0b;
}

/* Responsive Styles for smaller screens */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 40px 15px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input, .form-group textarea {
        font-size: 0.95rem;
    }

    .submit-btn {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form-section h2 {
        font-size: 1.5rem;
    }

    .submit-btn {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    /* Adjust styles for mobile */
    body {
        overflow-x: hidden; /*added this line*/
    }
    .corevalue, .ourimpact, .contactus {
        display: block; /*change grid to block*/
    }

    .core1, .mission, .impact, .pastprojects, .contact, .form{
        width: 95%; /*make sections take up more width*/
        margin: 10px auto; /*center the sections*/
    }

    .pictures{
        display: block; /*change flex to block*/
    }

    .pics{
        margin: 10px auto; /*center the images*/
    }
}
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    font-family: sans-serif;
    display: flex; /* Make footer a flex container */
    flex-direction: column; /* Stack items vertically */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1; /* Allow the container to take up available space */
}

.footer-section {
    flex: 1 1 200px;
    margin-bottom: 20px;
}

.footer-section img{
    width: 150px;
    border-radius: 10px;
}

footer h3 {
    margin-bottom: 10px;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 5px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-section {
        width: 100%;
    }
}