/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* Header Styles */
header {
    background-color: #D8D6DC;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.navbar .logo {
    padding-left: 1rem;
}

.navbar .logo img {
    width: 240px; /* Default size of logo */
}

.nav-menu {
    display: flex;
    list-style: none;
    padding-right: 1rem; /* Padding for categories */
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu .nav-item {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-size: 0.8rem; /* Default font size for categories */
    position: relative;
}

.nav-menu .nav-item:hover {
    color: #FF3B00;
}

.nav-menu .nav-item::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: linear-gradient(to right, #FF3B00, #D8D6DC);
    transition: width 0.3s;
}

.nav-menu .nav-item:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Styles for Tablets and iPads */
@media (max-width: 1024px) {

    /* Ensure the toggle is visible and positioned correctly */
    .menu-toggle {
        display: block;
        position: absolute; /* Keep the button in the original position */
        right: 1rem; /* Align it to the right */
        top: 1.8rem; /* Slight margin from the top */
        font-size: 1.5rem;
        cursor: pointer;
        color: black;
        background: none;
        border: none;
    }

    .menu-toggle:hover {
        color: #FF3B00; /* Add hover effect */
        transform: scale(1.1); /* Slight scaling effect */
        transition: all 0.3s ease; /* Smooth transition */
    }

    .navbar .container {
        flex-direction: column; /* Stack the logo and menu vertically */
        align-items: flex-start; /* Align everything to the left */
    }

    .navbar .logo {
        padding-left: 1rem;
        margin-bottom: 0.5rem; /* Add space between logo and menu */
        padding-top: 0.5rem;
    }

    .navbar .logo img {
        width: 160px; /* Adjusted logo size */
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start; /* Align items with logo */
        display: none;
        background: #D8D6DC;
        width: 100%;
        padding-left: 1rem; /* Add padding to align menu with logo */
        padding-right: 1rem; /* Balanced padding on the right */
    }

    .nav-menu.active {
        display: flex; /* Show menu when toggle is active */
    }

    .nav-menu li {
        margin: 0.5rem 0; /* Add vertical spacing between items */
    }

    .nav-menu .nav-item {
        font-size: 0.7rem; /* Font size for better touch area */
        padding: 0.3rem 0; /* Adjust padding for better touch area */
    }
}

/* Our Story Section */
.our-story-section {
    background-color: white;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-container {
    border: 3px solid #FF3B00;
    padding: 2rem;
    max-width: 1000px;
    text-align: center;
    border-radius: 8px;
}

.story-container h2 {
    color: black;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.story-container p {
    color: black;
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    font-size: 1.4rem;
    text-align: justify;
}

.story-container .highlight {
    color: #FF3B00;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .our-story-section {
        padding: 2rem;
    }

    .story-container {
        padding: 1rem;
    }

    .story-container h2 {
        font-size: 1.5rem;
    }

    .story-container p {
        font-size: 0.9rem;
    }
}

/* Meet Our Team Section */
.meet-our-team-section {
    background: url('../images/projects/p7.png') center/cover no-repeat;
    padding: 50px 20px; /* Reduced padding to avoid excessive spacing */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-attachment: fixed;
  }
  
  .team-container {
    text-align: center;
    max-width: 1000px; /* Adjusted width for larger images */
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 3rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-bottom: 15px; /* Reduced further */
    color: #FF3B00;
  }
  
  .team-image-wrapper {
    display: inline-block;
    position: relative;
  }
  
  .team-image {
    max-width: 1200px; /* Increased size to 1200px */
    width: 100%; /* Ensure it scales responsively */
    height: auto;
    border-radius: 20px;
    transition: transform 0.3 ease, box-shadow 0.3s ease;
  }
  
  .team-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0; /* Balanced spacing between image and other elements */
  }
  
  .team-image:hover {
    transform: scale(1.06);
  }
  
  @media (max-width: 768px) {
    .team-image {
      max-width: 100%; /* Ensure it adjusts properly on smaller screens */
    }
  }
  

/* Mission and Vision Section */
.mission-vision {
    background-color: #fff;
    padding: 2rem 1rem;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

.mission-vision .container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.mission-vision h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: bold;
}

.mission-vision .content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-vision h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.mission-vision p {
    line-height: 1.8;
    font-size: 1.3rem;
    text-align: justify;
    margin-bottom: 1rem;
}

/* Responsive Design for Tablets and iPads */
@media (max-width: 1024px) {
    .mission-vision h3, 
    .mission-vision p {
        margin-left: 1.5rem; /* Adjust left margin */
        margin-right: 1.5rem; /* Adjust right margin */
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .mission-vision .content {
        flex-direction: column;
        margin: 2rem;
    }

    .mission-vision h2 {
        font-size: 1.8rem;
    }

    .mission-vision h3 {
        font-size: 1.3rem;
    }

    .mission-vision p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mission-vision h2 {
        font-size: 1.5rem;
    }

    .mission-vision h3 {
        font-size: 1.2rem;
    }

    .mission-vision p {
        font-size: 0.85rem;
    }
}

/* Footer Section */
.footer {
    background-color: #D8D6DC; /* Background color */
    border-top: 2px solid #FF3B00; /* Orange stroke effect */
    color: #fff;
    padding: 2rem 1rem;
    font-family: 'Roboto', sans-serif;
    font-variant: small-caps; /* Apply small caps globally to footer */
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; /* Add padding for all device sizes */
}

/* Footer Content */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Footer Logo Section */
.footer-logo {
    flex: 1 1 30%;
    text-align: left;
}

.footer-logo img {
    max-width: 240px;
    margin-bottom: 2rem;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #000;
    text-align: left; /* Keep text left-aligned */
    font-variant: small-caps; /* Small caps for logo caption */
}

/* Footer Links Section */
.footer-links {
    flex: 1 1 30%;
}

.footer-links h3 {
    margin-bottom: 1rem;
    margin-left: 5rem;
    font-size: 1.2rem;
    color: #FF3B00; /* Orange color for headings */
    font-variant: small-caps; /* Small caps for headings */
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
    margin-left: 5rem;
}

.footer-links ul li a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-variant: small-caps; /* Small caps for links */
}

.footer-links ul li a:hover {
    color: #FF3B00; /* Hover effect for links */
}

/* Footer Contact Section */
.footer-contact {
    flex: 1 1 30%;
}

.footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #FF3B00;
    font-variant: small-caps; /* Small caps for contact headings */
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #000;
    font-variant: small-caps; /* Small caps for contact text */
}

/* Footer Social Icons */
.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    margin-right: 1rem;
    display: inline-block;
}

.footer-social img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.1); /* Hover effect to enlarge icons */
}

/* Footer Bottom Section */
.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #000;
    font-variant: small-caps; /* Small caps for bottom text */
}

/* iPad View: Consistent Scaling */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-container {
        padding: 0 2rem; /* Add consistent padding for iPad view */
    }

    .footer-content {
        justify-content: space-between; /* Keep alignment same as larger devices */
    }

    .footer-logo {
        text-align: left; /* Maintain left alignment */
        padding-left: 1rem; /* Add padding to avoid sticking to the edge */
    }

    .footer-logo p {
        text-align: left; /* Ensure text remains left-aligned */
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center; /* Center-align all content */
        text-align: center; /* Center-align text */
    }

    .footer-logo, .footer-logo p {
        text-align: center; /* Center-align text */
    }

    .footer-logo, .footer-links, .footer-contact {
        flex: 1 1 100%; /* Ensure each section takes full width */
    }

    .footer-links h3, .footer-links ul li {
        margin-left: 0; /* Remove left margin for mobile view */
    }

    .footer-social {
        margin-top: 1rem;
    }
}
