@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');

.success-message {
    color: green;
    font-size: 14px;
    margin-top: 5px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

.hidden {
    display: none;
}

/* Global Styles */
body {
    font-family: Lora, serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Keeps spacing intact */
    font-size: 24px;
    font-weight: bold;
    height: 50px; /* Locks the height to prevent shifting */
}

.logo img {
    height: 90px; /* Increase size while preventing layout shift */
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding-bottom: 5px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Active Navigation Link */
.nav-links a.active {
    border-bottom: 2px solid black;
    font-weight: bold;
}

/* Main Section */
.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.text-section {
    max-width: 600px;
}

.text-section {
    text-align: center;
}

.text-section h1 {
    font-size: 32px;
    font-weight: bold;
}

.img-placeholder {
  width: 100%;
  height: 250px;
  background-color: #ccc;
  border-radius: 10px;
}

.text-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Image Gallery - Two images side by side */
.image-gallery {
    display: flex;
    gap: 30px; /* Space between images */
    margin-left: 50px;
}

.image-gallery img {
    width: 60%; /* Each image takes up half of the available space */
    max-height: 300px; /* Adjust height to match the section */
    object-fit: cover; /* Ensures images scale properly */
    border-radius: 10px;
    border: 2px solid black;
}

/* About the Founders Section */
.founders-section {
    background-color: white;
    padding: 40px 0;
    text-align: center;
}

.founders-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
}

.founders-container {
    display: flex;
    justify-content: space-evenly;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.founder {
    background-color: #eee;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    width: 35%;
}

.founder h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
}

.founder p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Footer Section */
.footer {
    background-color: #f4f4f4;
    padding: 40px 0;
    text-align: center;
    color: #777;
    font-size: 14px;
}

/* Top section (Social Media & Newsletter) */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

/* Social Media */
.social-media {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #eaeaea;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-media a i {
    font-size: 18px;
    transition: color 0.3s ease;
}

/* Hover Effect */
.social-media a:hover {
    background-color: black;
}

.social-media a:hover i {
    color: white;
}

/* Newsletter */
.newsletter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter form {
    display: flex;
}

.newsletter input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.newsletter button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.newsletter button:hover {
    background-color: #555;
}

/* Bottom section (Links & Copyright) */
.footer-bottom {
    padding-top: 20px;
}

.footer-bottom nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom nav a {
    text-decoration: none;
    color: #777;
}

.footer-bottom nav a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        text-align: center;
    }

    .founders-container {
        flex-direction: column;
        gap: 50px;
    }

    .founder {
        width: 80%;
        margin: 0 auto;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .newsletter {
        flex-direction: column;
    }

    .newsletter form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter input {
        width: 100%;
    }

    .newsletter button {
        width: 100%;
    }

    .footer-bottom nav {
        flex-wrap: wrap;
        gap: 10px;
    }
}
