/* CSS Variables */
:root {
    --primary-color: #0a2342; /* Deep Blue */
    --secondary-color: #2ca58d; /* Teal Accent */
    --accent-color: #f4a261; /* Orange Accent */
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --white: #ffffff;
    --black: #000000;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --base-font-size: 17px; /* Slightly larger base */
    --line-height-base: 1.7;
    --transition-speed: 0.3s;
    --transition-timing: ease-in-out;
    --border-radius: 10px; /* Slightly more rounded */
    --box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Softer shadow */
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --section-padding: 100px 0; /* Increased padding */
}

/* Basic Reset & Body Styling */
html {
    scroll-padding-top: 70px; /* Offset for fixed navbar during scroll */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

body {
    font-family: var(--font-body);
    font-size: var(--base-font-size);
    line-height: var(--line-height-base); /* Use variable */
    color: var(--dark-gray);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased; /* Smoother fonts */
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700; /* Bold headings */
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 1.5rem; /* Consistent bottom margin */
    color: var(--primary-color);
    line-height: 1.3; /* Consistent heading line-height */
}

h1 { font-size: 3.2rem; font-weight: 700; } /* Slightly larger H1 */
h2 { font-size: 2.8rem; margin-bottom: 2.5rem; text-align: center; } /* Larger H2, more margin */
h3 { font-size: 1.8rem; font-weight: 600; } /* Slightly heavier H3 */

p {
    margin-bottom: 1.2rem; /* Slightly more space after paragraphs */
    color: #555; /* Slightly lighter body text */
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing); /* Use variable */
}

a:hover {
    color: var(--accent-color);
    text-decoration: none; /* Ensure no underline on hover */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius); /* Use updated variable */
    vertical-align: middle; /* Better alignment */
}

/* Container */
.container {
    max-width: 1140px; /* Standard container width */
    margin: 0 auto;
    padding: 0 15px; /* Slightly less padding */
}

/* Sections */
.content-section {
    padding: var(--section-padding); /* Use variable */
    position: relative; /* Needed for potential pseudo-elements or absolute positioning within sections */
    overflow: hidden; /* Prevent content overflow issues */
}

.content-section:nth-child(odd) {
    background-color: var(--light-gray);
}

/* Base styles for scroll animations */
.reveal-on-scroll {
    opacity: 0;
    transition: opacity 1s var(--transition-timing), transform 1s var(--transition-timing); /* Slightly longer transition */
    will-change: opacity, transform; /* Performance hint */
}

/* Default: Fade In Up */
.reveal-on-scroll:not(.fade-in-left):not(.fade-in-right) {
    transform: translateY(40px); /* Slightly more distance */
}

/* Fade In Left */
.reveal-on-scroll.fade-in-left {
    transform: translateX(-40px);
}

/* Fade In Right */
.reveal-on-scroll.fade-in-right {
    transform: translateX(40px);
}


/* Visible State - Reset transforms */
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateX(0); /* Reset both transforms */
}


/* Navigation Bar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly more transparent */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Softer shadow */
    z-index: 1000;
    transition: background-color var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Subtle bottom border */
}

/* Add a class for scrolled state if needed for different styling */
/* #navbar.scrolled { background-color: var(--white); box-shadow: var(--box-shadow); } */

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px; /* Slightly reduced padding */
    height: 70px; /* Explicit height */
}

#navbar .logo {
    display: inline-block; /* Ensures proper spacing */
    height: 60px; /* Set your desired height */
    width: auto; /* Maintains aspect ratio */
    /* Remove text-specific properties */
}

#navbar .logo img {
    height: 100%; /* Makes image fill the container */
    width: auto; /* Maintains aspect ratio */
    transition: all 0.3s ease; /* Optional: smooth hover effects */
}

/* Optional hover effect */
#navbar .logo:hover img {
    opacity: 0.9;
    transform: scale(1.05);
}

#navbar ul {
    list-style: none;
    display: flex;
    align-items: center; /* Align items vertically */
}

#navbar ul li {
    margin-left: 30px; /* Increased spacing */
}

#navbar ul li a {
    color: var(--primary-color);
    font-weight: 500; /* Medium weight */
    font-size: 0.95rem; /* Slightly smaller font */
    padding: 8px 0; /* More padding for click area */
    position: relative;
    transition: color var(--transition-speed) var(--transition-timing);
    letter-spacing: 0.5px; /* Slight letter spacing */
}

#navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; /* Underline closer to text */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) var(--transition-timing);
}

#navbar ul li a:hover,
#navbar ul li a.active { /* Style for active link */
    color: var(--secondary-color);
}

#navbar ul li a:hover::after,
#navbar ul li a.active::after {
    width: 100%;
}

/* Body padding offset is handled by html scroll-padding-top */


/* Hero Section Styles */
#hero {
    position: relative;
    height: calc(100vh - 70px); /* Full viewport height minus navbar */
    /* margin-top: 70px; /* This is redundant if height is calculated correctly */
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    text-align: center;
    color: var(--white);
    overflow: hidden; /* Hide video overflow */
    /* padding-top and margin-top removed as height calculation handles navbar offset */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden; /* Ensure video doesn't cause scrollbars */
}

#bg-video {
    min-width: 100%; /* Ensure video covers width */
    min-height: 100%; /* Ensure video covers height */
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center video */
    object-fit: cover;
}

/* Gradient overlay for a more modern look */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Example Gradient: Deep blue fading to slightly lighter blue/transparent */
    background: linear-gradient(180deg, rgba(10, 35, 66, 0.7) 0%, rgba(10, 35, 66, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px; /* Slightly wider content area */
    padding: 40px 20px; /* More padding */
    /* Add subtle animation */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s; /* Fade in effect */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-content h1 {
    font-size: 4rem; /* Larger heading */
    font-weight: 700; /* Ensure bold */
    margin-bottom: 1.5rem; /* More space */
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Softer shadow */
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem; /* Larger paragraph */
    margin-bottom: 2.5rem; /* More space */
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    max-width: 700px; /* Limit paragraph width */
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    /* background-color: var(--secondary-color); */ /* Replaced by gradient */
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 15px 35px; /* Larger padding */
    font-size: 1.1rem;
    font-weight: 600; /* Slightly less bold */
    font-family: var(--font-heading); /* Use heading font */
    border: none;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px; /* Add letter spacing */
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: relative; /* For potential pseudo-elements */
    overflow: hidden; /* For potential effects */
    z-index: 1; /* Ensure button is clickable */
}

.cta-button::before { /* Add a hover overlay effect */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%); /* Reversed gradient */
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-timing);
    z-index: -1;
    border-radius: 50px;
}


.cta-button:hover {
    /* background-color: var(--accent-color); */ /* Handled by overlay */
    color: var(--white);
    transform: translateY(-3px) scale(1.03); /* Lift and slightly enlarge */
    box-shadow: var(--box-shadow-hover); /* Use hover shadow */
}

.cta-button:hover::before {
    opacity: 1; /* Show overlay on hover */
}

/* Footer Styles */
#footer {
    background-color: var(--primary-color); /* Match darker theme */
    color: rgba(255, 255, 255, 0.7); /* Lighter text */
    padding: 50px 0 30px; /* Adjust padding */
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle top border */
}

#footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer .footer-links {
    margin-bottom: 1.5rem; /* More space */
}

#footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 12px; /* More spacing */
    font-size: 0.9rem;
    transition: color var(--transition-speed) var(--transition-timing);
}

#footer .footer-links a:hover {
    color: var(--white);
}

#footer .social-icons {
    margin-bottom: 1.5rem; /* More space */
}

#footer .social-icons a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px; /* More spacing */
    font-size: 1.4rem; /* Larger icons */
    transition: color var(--transition-speed) var(--transition-timing), transform var(--transition-speed) var(--transition-timing);
}

#footer .social-icons a:hover {
    color: var(--secondary-color);
    transform: scale(1.1); /* Slight scale on hover */
}

#footer p { /* Copyright text */
    margin-bottom: 0;
    font-size: 0.85rem; /* Slightly smaller */
    color: rgba(255, 255, 255, 0.5); /* Dimmer copyright */
}
/* Contact Section Styles */
#contact {
    background-color: var(--light-gray); /* Alternate background */
}

#contact-form {
    max-width: 700px; /* Slightly wider form */
    margin: 3rem auto 0; /* More top margin */
    padding: 2.5rem 3rem; /* More padding */
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 5px solid var(--primary-color); /* Accent border */
}

.form-group {
    margin-bottom: 1.8rem; /* More spacing */
    position: relative; /* For potential icon/label positioning */
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem; /* More space below label */
    font-weight: 600; /* Bolder label */
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 18px; /* More padding */
    border: 1px solid #ccc; /* Slightly darker border */
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    background-color: #fdfdfd; /* Very light background for fields */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(44, 165, 141, 0.15); /* Softer focus ring */
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px; /* Taller textarea */
}

#contact-form button[type="submit"].cta-button { /* Target the button specifically */
    display: block;
    width: 100%;
    margin-top: 1.5rem; /* More space above button */
    padding: 15px 20px; /* Adjust padding if needed */
}

/* Thank You Popup Style (Basic) */
#thank-you-popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1100; /* Above navbar */
    font-size: 1.1rem;
}


/* Map Section Styles */
#map-location {
     padding-bottom: 0; /* Remove bottom padding if map is full width */
}

#map-placeholder {
    height: 450px; /* Taller map */
    background-color: var(--medium-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 3rem; /* Space above map */
    border: 1px solid #ddd; /* Subtle border */
    /* Placeholder text styling */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2rem;
    font-style: italic;
}

/* Style the actual map iframe when embedded */
#map-location iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Services Section Styles */
#services {
    /* background-color: var(--light-gray); */ /* Replaced by image */
    background-image: linear-gradient(rgba(10, 35, 66, 0.85), rgba(10, 35, 66, 0.85)), url('assets/images/services-bg.jpg'); /* Placeholder BG Image + Overlay */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Parallax-like effect */
    position: relative;
    color: var(--white); /* Change default text color for this section */
}

#services h2 {
    color: var(--white); /* Ensure heading is white */
}

/* Make service items slightly transparent to see background */
.service-item {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    color: var(--dark-gray); /* Reset text color inside items */
    border-top-color: var(--accent-color); /* Use accent color for border */
}

.service-item h3 {
     color: var(--primary-color); /* Reset heading color inside items */
}
.service-item p {
     color: #555; /* Reset paragraph color inside items */
}


/* Add a grid container for service items */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 2rem; /* Gap between grid items */
    margin-top: 3rem; /* Space below section title */
}

.service-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem; /* Increased padding */
    text-align: center; /* Center content */
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    border-top: 4px solid var(--secondary-color); /* Accent border top */
    display: flex; /* Use flexbox for content alignment */
    flex-direction: column;
    justify-content: space-between; /* Push content apart */
}

.service-item:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: var(--box-shadow-hover);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
    flex-grow: 1; /* Allow paragraph to take available space */
    margin-bottom: 1.5rem; /* Space before image */
}

.service-item img {
    max-width: 100%; /* Allow image to fill width if needed */
    height: 150px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area */
    border-radius: calc(var(--border-radius) / 2); /* Slightly less rounded image */
    margin-top: auto; /* Push image to bottom if content is short */
}

/* Placeholder for potential icons */
.service-item .icon-placeholder {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Questions Section Styles */
#questions {
    background-color: var(--white); /* Override alternating background */
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid for cards */
    gap: 2rem;
    margin-bottom: 1rem; /* Space before extra images */
}

.question-card {
    background-color: var(--white);
    padding: 2rem; /* More padding */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--secondary-color); /* Keep accent border */
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}

.question-card:hover {
    transform: translateY(-5px) scale(1.02); /* Lift and slight scale */
    box-shadow: var(--box-shadow-hover);
}

.question-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.question-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Styling for the extra images in this section */
#questions .container > img { /* Target direct image children of container */
    display: block;
    max-width: 450px; /* Match placeholder size */
    margin: 1rem auto; /* Center images */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}


/* Advisor Solutions & Strategic Sourcing Section Styles */
#advisor, #sourcing {
    /* Common styles for these two sections */
}

#advisor .container,
#sourcing .container {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    #advisor .container,
    #sourcing .container {
         /* Two columns on larger screens */
        grid-template-columns: 1fr 1fr;
    }
    /* Alternate image/text order for visual variety */
    #sourcing .container {
        grid-template-columns: 1fr 1fr; /* Ensure sourcing is also 2 columns */
    }
     #sourcing .section-content {
        order: 2; /* Move text to the right */
    }
     #sourcing .section-graphics {
        order: 1; /* Move graphics to the left */
    }
}

.section-content h3 { /* Subheadings within these sections */
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-graphics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid for graphics */
    gap: 1.5rem;
}

.section-graphics img {
    width: 100%; /* Ensure images fill their grid area */
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) var(--transition-timing);
}

.section-graphics img:hover {
    transform: scale(1.05); /* Slightly larger scale on hover */
}


/* Testimonials Styles */
#testimonials {
    /* background-color: var(--light-gray); */ /* Replaced by image */
    background-image: linear-gradient(rgba(10, 35, 66, 0.85), rgba(10, 35, 66, 0.85)), url('assets/images/services-bg.jpg'); /* Placeholder BG Image + Overlay */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Parallax-like effect */
    position: relative;
    color: var(--black); /* Change default text color for this section */
}

.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-item blockquote {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 auto 1.5rem;
    max-width: 800px;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
}

.testimonial-item blockquote:before {
    content: "“";
    font-size: 4rem;
    position: absolute;
    left: 1rem;
    top: -1rem;
    color: #007bff;
    opacity: 0.2;
}

.testimonial-item cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: #007bff;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.client-logo {
    margin: 1rem auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.testimonial-item:hover .client-logo {
    filter: grayscale(0);
}

/* Slider Navigation Dots */
.slider-nav {
    text-align: center;
    margin-top: 2rem;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

/* About Section Styles */
#about {
    background-color: var(--white); /* Override alternating background if needed */
}

.about-content {
    display: flex;
    gap: 3rem; /* Increased gap */
    align-items: flex-start; /* Align items to the top */
}

.about-text {
    flex: 1.2; /* Give text slightly more space */
}

.about-text h3 { /* Style potential subheadings within about */
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem; /* More spacing */
}

.about-text em { /* Style testimonial snippet */
    display: block;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-color);
    font-style: italic;
    color: #666;
}

/* Placeholder for icons/infographics */
.about-text .icons-placeholder {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
    color: #888;
    font-style: italic;
}


.about-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr; /* Stack images initially */
    gap: 1.5rem; /* Increased gap */
    position: relative; /* For potential decorative elements */
}

.about-images img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}

.about-images img:hover {
    transform: scale(1.03);
    box-shadow: var(--box-shadow-hover);
}

/* Example: Position images slightly offset for visual interest on larger screens */
@media (min-width: 768px) {
    .about-images {
        grid-template-columns: 1fr 1fr; /* Side-by-side on larger screens */
    }
     .about-images img:nth-child(2) {
        margin-top: 2rem; /* Offset the second image slightly */
    }
}


/* Responsive Adjustments (Combined) */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.8rem; }

    #navbar .container {
        flex-direction: column;
        padding: 10px 20px;
    }
    #navbar ul {
        margin-top: 10px;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center;
    }
    #navbar ul li {
        margin: 5px 10px; /* Adjust spacing for smaller screens */
    }
    body {
        padding-top: 100px; /* Adjust based on new navbar height */
    }
    #hero {
        padding-top: 100px;
        margin-top: -100px;
    }

    .about-content {
        flex-direction: column;
    }
    .about-images {
        grid-template-columns: 1fr; /* Stack images */
        margin-top: 1rem;
    }
}