/* Add these styles to your existing style.css file */

/* About Us Page Specific Styles */
.about-main {
    padding: 20px;
    max-width: 1200px; /* Wider main content area for about page */
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.about-hero {
    text-align: center;
    padding: 50px 20px; /* More padding for a grander intro */
    background-color: #eaf6fa; /* Light blue background */
    border-radius: 8px;
    margin-bottom: 40px; /* Space below hero */
    border: 1px solid #cce7f0;
}

.about-hero h2 {
    color: #2c3e50;
    font-size: 3em; /* Larger heading */
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 1.3em; /* Larger text */
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    display: flex;
    align-items: center; /* Vertically center content */
    gap: 40px; /* Space between text and image */
    margin-bottom: 50px; /* Space between sections */
    padding: 30px; /* Padding inside each section */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Subtle shadow */
    background-color: #fff; /* Default background */
}

.about-section:nth-child(even) .section-image {
    order: 1; /* Pushes image to the right on even sections */
}

.about-section:nth-child(even) .section-content {
    order: 2; /* Pushes content to the left on even sections */
}

/* Specific background for alternating sections */
.about-section.grey-bg {
    background-color: #f7f7f7; /* Light grey background */
    box-shadow: none; /* No extra shadow on grey sections */
    border: 1px solid #eee;
}

.section-content {
    flex: 1; /* Allows content to take up available space */
}

.section-content h3 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.section-content ul {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

.section-content ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

.section-content ul li .icon-small {
    color: #3498db; /* Blue icon color */
    margin-right: 10px;
    font-size: 1.2em; /* Slightly larger icon */
    min-width: 20px; /* Ensure icon has space */
}

.section-image {
    flex: 0 0 400px; /* Fixed width for image container */
    max-width: 50%; /* Max width relative to section */
    border-radius: 8px;
    overflow: hidden; /* Hide overflowing parts of the image */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Shadow for image card */
}

.section-image img {
    width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
    object-fit: cover; /* Cover the area, cropping if necessary */
    border-radius: 8px; /* Apply border-radius to image itself */
}

/* Specific styles for Mission/Vision statements */
.bold-statement {
    font-weight: bold;
    font-size: 1.2em; /* Make the statement bigger */
    color: #34495e; /* Darker color for emphasis */
    margin-bottom: 15px;
}

.mission-vision hr {
    border: none;
    border-top: 1px dashed #ccc; /* Dashed line for subtle separation */
    margin: 30px 0;
}


/* Responsive Design for About Us Page */
@media (max-width: 992px) { /* Tablets and smaller desktops */
    .about-main {
        max-width: 90%;
    }
    .about-hero h2 {
        font-size: 2.5em;
    }
    .about-hero p {
        font-size: 1.1em;
    }
    .about-section {
        flex-direction: column; /* Stack image and content vertically */
        text-align: center;
        gap: 25px;
        padding: 25px;
    }
    .about-section .section-image {
        order: initial; /* Reset order for stacking */
        max-width: 100%; /* Image takes full width */
        flex: 0 0 auto; /* Allow image to resize naturally */
    }
    .about-section img {
        max-width: 100%; /* Ensure image fits */
        height: auto; /* Maintain aspect ratio */
    }
    .about-section:nth-child(even) .section-image,
    .about-section:nth-child(even) .section-content {
        order: initial; /* Reset order for stacking */
    }
    .section-content h3 {
        font-size: 1.8em;
    }
    .section-content p, .section-content ul li {
        font-size: 1em;
        text-align: left; /* Keep text aligned left within content block */
    }
    .section-content ul {
        padding-left: 20px; /* Indent list for clarity */
    }
    .bold-statement {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) { /* Smaller tablets and large phones */
    .about-main {
        padding: 15px;
        margin: 15px auto;
    }
    .about-hero h2 {
        font-size: 2em;
    }
    .about-hero p {
        font-size: 1em;
    }
    .about-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    .section-content h3 {
        font-size: 1.6em;
    }
    .section-content ul li {
        font-size: 0.95em;
    }
    .bold-statement {
        font-size: 1em;
    }
}

@media (max-width: 480px) { /* Phones */
    .about-main {
        padding: 10px;
        margin: 10px auto;
    }
    .about-hero h2 {
        font-size: 1.6em;
    }
    .about-hero p {
        font-size: 0.9em;
    }
    .about-section {
        padding: 15px;
        gap: 15px;
    }
    .section-content h3 {
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    .section-content p, .section-content ul li {
        font-size: 0.9em;
    }
    .section-content ul li .icon-small {
        font-size: 1em;
        min-width: 18px;
    }
}

footer {
    background-color: #2c3e50; /* Darker background, matching header */
    color: #ecf0f1; /* White font color */
    padding: 30px 20px; /* Increased padding for better spacing */
    margin-top: 40px; /* More space above the footer */
    font-size: 0.95em;
    border-top: 5px solid #3498db; /* A subtle, colorful top border */
    text-align: center; /* Center align all text content by default */

    /* Ensure footer adapts to vertical header */
    padding-left: 200px; /* This needs to match your vertical header width */
    transition: padding-left 0.3s ease; /* Smooth transition for responsiveness */
}

footer p {
    margin-bottom: 10px; /* Space between paragraphs */
    line-height: 1.5;
}

footer p#contact {
    font-weight: bold;
    margin-bottom: 15px; /* More space below contact info */
}

/* Social Media Links Styling - Revisit for better visual separation and hover effects */
.social-media-links {
    margin-top: 20px; /* More space above social icons */
    display: flex;
    justify-content: center;
    gap: 25px; /* Increased space between icons */
    padding-bottom: 10px; /* Space below icons */
}

.social-media-links a {
    color: #ecf0f1; /* White icons by default */
    font-size: 2.2em; /* Slightly larger icons */
    transition: color 0.3s ease, transform 0.2s ease;
    border-radius: 50%; /* Make icons circular on hover/focus */
    padding: 5px; /* Add padding for the circle */
    display: inline-flex; /* Use flex to center icon within its circle */
    align-items: center;
    justify-content: center;
    width: 45px; /* Fixed width for consistent circle size */
    height: 45px; /* Fixed height for consistent circle size */
    box-sizing: border-box; /* Include padding and border in size */
}

/* Specific hover effects for social icons */
.social-media-links a:hover {
    color: #ffffff; /* Keep icon white */
    transform: translateY(-5px); /* More pronounced lift */
    background-color: #3498db; /* Blue background on hover */
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.7); /* Glow effect */
}

/* Responsive Design (for phones) */
@media (max-width: 768px) {
    /* Revert footer padding for horizontal header */
    footer {
        padding-left: 0;
        padding: 20px 15px; /* Adjust padding for smaller screens */
    }

    footer p {
        font-size: 0.9em; /* Slightly smaller text on mobile */
    }

    .social-media-links {
        margin-top: 15px;
        gap: 20px; /* Slightly less space on mobile */
    }

    .social-media-links a {
        font-size: 1.8em; /* Slightly smaller icons on mobile */
        width: 40px;
        height: 40px;
    }
}

/* No change needed for @media (max-width: 480px) for footer */
/* Update your existing style.css file with these modifications */

/* Header & Navigation */
header {
    position: static; /* Remove fixed positioning */
    top: auto;
    left: auto;
    width: 100%; /* Full width */
    height: auto; /* Auto height based on content */
    background-color: #2c3e50; /* Dark background */
    color: #ecf0f1; /* White font color for all header text */
    padding: 1em 0; /* Original padding */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Shadow at the bottom */
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Arrange items horizontally */
    justify-content: space-between; /* Space out logo/name and nav */
    align-items: center; /* Vertically align items in the middle */
    z-index: 1000;
    overflow-y: visible; /* No vertical scrollbar needed */
    padding-left: 20px; /* Add some general left padding */
    padding-right: 20px; /* Add some general right padding */
    box-sizing: border-box; /* Include padding in the width calculation */
}

/* Reset body padding from vertical header */
body {
    padding-left: 0; /* Remove the left padding */
    transition: none; /* No transition needed for padding on a static header */
}

/* Adjust logo container for horizontal layout */
.logo-container {
    display: flex;
    flex-direction: row; /* Logo and name side-by-side */
    align-items: center;
    margin-bottom: 0; /* Remove bottom margin */
    padding-top: 0; /* Remove top padding */
}

.website-logo {
    max-width: 80px; /* Adjust size as needed for horizontal header */
    height: auto;
    margin-right: 15px; /* Space between logo and name */
    margin-bottom: 0; /* Remove bottom margin */
}

.website-name {
    font-size: 2em; /* Good size for horizontal header */
    margin: 0;
    text-align: left; /* Align name to the left */
}

/* Navigation specific styles for horizontal layout */
nav {
    flex-grow: 0; /* Don't grow to fill space */
    width: auto; /* Auto width based on content */
    display: block; /* Revert to block display for nav container */
    margin-top: 0; /* Remove top margin */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Use flex for horizontal list items */
    flex-direction: row; /* Arrange list items horizontally */
    align-items: center; /* Vertically center items */
    justify-content: center; /* Center items if they don't fill space */
    flex-wrap: wrap; /* Allow navigation items to wrap on smaller screens */
    width: auto;
}

nav ul li {
    margin: 0 15px; /* Horizontal margin between items */
    width: auto; /* Reset width */
}

nav ul li a {
    color: #ecf0f1; /* White font color for navigation links */
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px; /* Padding for horizontal links */
    display: inline-block; /* Revert to inline-block */}