@font-face {
    font-family: 'Akwe Pro';
    src: url('https://d28t9a8bqe4ja2.cloudfront.net/fonts/AkwePro-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Akwe Pro';
    src: url('https://d28t9a8bqe4ja2.cloudfront.net/fonts/AkwePro-Bold.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Akwe Pro', sans-serif;
    font-weight: 200; /* ExtraLight weight for normal text */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Akwe Pro', sans-serif;
    font-weight: 500; /* Medium weight for headings */
}

/* Optional: If you want to use medium weight for other elements */
.medium-text {
    font-weight: 500;
}

/* Reset default margins and padding */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh; /* Changed from height: 100% */
    overflow-x: hidden;
    display: flex;        /* Added */
    flex-direction: column; /* Added */
}

/* Ensure content takes up full width */
* {
    box-sizing: border-box;
}

/* Navigation Styles - For site-wide navbar */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: none;
    height: 60px;
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Make navbar visible by default for specific page types */
.service-page .nav-header,
.blog-page .nav-header {
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-header.visible {
    opacity: 1;
    visibility: visible;
}

.nav-logo {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5)); /* Add subtle glow to logo */
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #f4b8d9;
}

.nav-links a.active {
    color: #f4b8d9;
}

/* Mobile menu button */
.menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.dropdown-trigger::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger::after {
    transform: rotate(180deg);
}

.dropdown:hover .dropdown-trigger {
    color: #f4b8d9;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    padding: 10px 0;
    margin-top: 5px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95em;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f4b8d9;
}

/* Only highlight the current page, not all service links */
.service-page .dropdown-content a {
    color: white;
}

.service-page .dropdown-content a.active,
.service-page .dropdown-content a:hover {
    color: #f4b8d9;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-header {
        padding: 8px 20px;
        height: 50px;
        background-color: rgba(0, 0, 0, 0.85) !important; /* Darker background and !important to override other styles */
        z-index: 9999 !important; /* Ensure it's above other elements */
    }
    
    .nav-logo {
        width: 80px;
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
    }

    .menu-button {
        display: block !important; /* Ensure it's visible */
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        z-index: 10000; /* Higher than other elements */
        padding: 8px;
        margin-right: -8px;
    }
    
    .nav-links {
        position: fixed;
        flex-direction: column;
        top: 50px;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px 0;
        gap: 15px;
        height: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, visibility 0.5s ease;
        visibility: hidden;
        z-index: 9998;
    }
    
    .nav-links.active {
        max-height: 100vh !important; /* Important to override any other styles */
        visibility: visible !important;
        overflow-y: auto; /* Allow scrolling if menu is very long */
        padding-bottom: 50px; /* Extra padding at bottom for better scrolling */
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        max-height: 0;
        padding: 0;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.5);
        overflow: hidden;
        transition: max-height 0.5s ease;
        transform: none;
        margin-top: 0;
    }
    
    .dropdown.active .dropdown-content {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }
}

/* Prevent layout shift when scrollbar appears */
html {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Webkit scrollbar styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Ensure all sections take full width */
.video-container,
.fullscreen-video-container,
.background-container,
.about-us,
.gallery-section,
.services-container,
.what-they-say,
.call-to-action {
    width: 100vw;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Background Video and Foreground Image */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: black;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.foreground-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    overflow: visible;
    width: 80%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#foreground-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
    margin-bottom: 1em;
}

.hero-cta {
    display: inline-block;
    padding: 0.8em 2.5em;
    font-family: 'Akwe Pro', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 0;
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta:active {
    transform: translateY(0);
}

/* Media Queries for Hero CTA */
@media (max-width: 768px) {
    .hero-cta {
        font-size: 1em;
        padding: 0.7em 2em;
    }
    
    #foreground-image {
        margin-bottom: 0.8em;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        font-size: 0.9em;
        padding: 0.6em 1.8em;
    }
    
    #foreground-image {
        margin-bottom: 0.6em;
    }
}

/* Media Queries for Mobile Devices - Background Video */
@media (max-width: 767px) {
    .video-container {
        height: 100vh;
    }

    #bg-video {
        width: 100vh;
        height: 100vw;
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .foreground-image-container {
        width: 90%;
    }

    #foreground-image {
        max-height: 60vh;
    }
}

/* Fullscreen Video Container */
.fullscreen-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    cursor: pointer;
}

#fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

/* Fullscreen styles */
.fullscreen-video-container:fullscreen,
.fullscreen-video-container:-webkit-full-screen,
.fullscreen-video-container:-moz-full-screen {
    width: 100vw;
    height: 100vh;
}

.fullscreen-video-container:fullscreen #fullscreen-video,
.fullscreen-video-container:-webkit-full-screen #fullscreen-video,
.fullscreen-video-container:-moz-full-screen #fullscreen-video {
    object-fit: contain;
}

/* Media Queries for Responsive Fullscreen Video */
@media (max-width: 767px) {
    .fullscreen-video-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    #fullscreen-video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Background Container */
.background-container {
    position: relative;
    background-image: url('https://d28t9a8bqe4ja2.cloudfront.net/images/services-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Changed from fixed to scroll for mobile compatibility */
    min-height: 100vh;
    width: 100%;
    z-index: 1;
    margin-bottom: 0; /* Add this to ensure no gap */
    flex-grow: 1;
    background-color: transparent;
    padding: 20px;
}

/* Add a pseudo-element for better background handling */
.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-attachment: scroll; /* Changed from fixed to scroll for mobile compatibility */
    z-index: -1;
}

/* Use media queries to apply fixed background only on desktop */
@media (min-width: 769px) {
    .background-container {
        background-attachment: fixed;
    }
    
    .background-container::before {
        background-attachment: fixed;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 3;
}

.scroll-indicator p {
    margin: 0;
    font-size: 18px;
}

.scroll-indicator img {
    width: 48px;
    height: 48px;
}

/* Additional Styles for Background and Scrolling Text */


/* Scrolling Text */
.scrolling-text {
    background-color: transparent;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
}

.scrolling-text {
    overflow: hidden;
    white-space: nowrap;
}

.scrolling-content {
    display: inline-block;
    padding-left: 100%; /* Start the text off-screen */
    animation: scrollText 50s linear infinite; /* Adjust duration as needed */
}

@keyframes scrollText {
    from {
        transform: translateX(0); /* Start position */
    }
    to {
        transform: translateX(-100%); /* End position */
    }
}

.about-us {
    padding: 50px 0;
    background-color: transparent;
}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.about-us .video-container {
    flex: 0 0 auto;
    width: 360px; /* Adjusted for 9:16 ratio */
    height: 640px;
    position: relative;
    overflow: hidden;
}

.about-us .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-us .text-container {
    flex: 1;
    max-height: 640px; /* Match video height */
    overflow-y: auto;
    padding-right: 20px; /* Space for scrollbar */
}

.about-us h2 {
    color: #333;
}

.about-us p {
    font-size: 1.1em;
    line-height: 1.5; /* Slightly decreased line height */
    color: #000000;
    margin-bottom: 13px; /* Slightly decreased margin */
}

/* Customizing scrollbar for webkit browsers */
.about-us .text-container::-webkit-scrollbar {
    width: 8px;
}

.about-us .text-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.about-us .text-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.about-us .text-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.about-us .video-top,
.about-us .video-bottom {
    display: none; /* Hidden by default, shown on mobile */
}

@media (max-width: 968px) {
    .about-us {
        padding: 30px 0;
    }

    .about-us .container {
        flex-direction: column;
        align-items: center;
        background-color: transparent !important;
        box-shadow: none !important;
        display: contents !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .about-us .video-container {
        display: none; /* Hide the full video on mobile */
    }

    .about-us .text-container {
        max-height: none !important;
        overflow-y: visible !important;
        overflow: visible !important;
        padding-right: 0 !important;
        width: 100% !important;
        padding: 0 20px !important;
        height: auto !important;
    }

    .about-us h2 {
        color: #333333 !important; /* Change back to dark heading text on mobile */
    }

    .about-us p {
        color: #000000 !important; /* Change back to black paragraph text on mobile */
    }

    .about-us .video-top,
    .about-us .video-bottom {
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 88.89%; /* 16:9 aspect ratio for half of the video */
        position: relative;
        overflow: hidden;
        margin: 20px 0;
    }

    .about-us .video-top video,
    .about-us .video-bottom video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 200%; /* Double height to show only half */
        object-fit: cover;
    }

    .about-us .video-bottom video {
        top: -100%; /* Offset to show bottom half */
    }
}

@media (max-width: 480px) {
    .about-us h2 {
        font-size: 2em;
    }

    .about-us p {
        font-size: 1em;
    }
}



/* Gallery Section */
.gallery-section {
    padding: 40px 20px;
    background-color: transparent;
    text-align: center;
}

.gallery-section h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px 0;
}

.gallery-item {
    position: relative;
    min-width: 150px;
    height: 200px;
    scroll-snap-align: start;
    transition: transform 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.1);
}

/* Services Section */
.services-container {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #333;
    font-weight: 500;
}

/* Large Service Items */
.large-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.large-service-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}

.large-service-item img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.large-service-item h3 {
    margin: 15px 0;
    font-size: 1.4em;
}

.large-service-item .service-description {
    color: #666;
    margin-bottom: 20px;
    min-height: 50px;
}

.large-service-item .service-link {
    display: inline-block;
    margin-top: 15px;
    color: #2a6496;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.large-service-item .service-link:hover {
    color: #1a4c7d;
    text-decoration: underline;
}

/* Small Service Items */
.small-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.small-service-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}

.small-service-item h3 {
    margin: 10px 0;
    font-size: 1.2em;
}

.small-service-item .service-link {
    display: inline-block;
    margin-top: 10px;
    color: #2a6496;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.small-service-item .service-link:hover {
    color: #1a4c7d;
    text-decoration: underline;
}

/* Service Details and Hover Effects */
.service-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    overflow-y: auto;
}

.service-item:hover .service-details,
.large-service-item:hover .service-details,
.small-service-item:hover .service-details {
    opacity: 1;
    visibility: visible;
}

.service-details h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.service-details p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Smaller description for small service items */
.small-service-item .service-details {
    padding: 20px;
    align-items: center;
}

.small-service-item .service-details p {
    font-size: 0.95em;
    line-height: 1.5;
}

.close-details {
    background-color: #e7e7e7;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: auto;
    transition: background-color 0.3s;
    align-self: center;
}

.close-details:hover {
    background-color: #d0d0d0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .large-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .small-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-accordion {
    margin-top: 40px;
    width: 100%;
    text-align: left;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.95);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    flex-grow: 1;
}

.accordion-icon {
    font-size: 1.5em;
    color: #f4b8d9;
    font-weight: 300;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 0;
    width: 100%;
    box-sizing: border-box;
    transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 0 25px 25px;
    visibility: visible;
    opacity: 1;
}

.accordion-content p {
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

.service-link {
    display: inline-block;
    padding: 8px 18px;
    background: #2a6496;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.service-link:hover {
    background-color: #1a4c7d;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .services-container {
        padding: 30px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .services-accordion {
        width: 100%;
        margin-top: 30px;
    }
    
    .accordion-item {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .accordion-header {
        padding: 15px 20px;
        width: 100%;
    }
    
    .accordion-header h3 {
        font-size: 1.1em;
    }
    
    .accordion-item.active .accordion-content {
        max-height: 1000px; /* Increased from 400px to accommodate more content on mobile */
        padding: 0 20px 20px;
    }
    
    .service-link {
        display: inline-block;
        text-align: center;
        margin: 0 auto;
    }
}


/* Scrolling Client Logos Section Styles */
.scrolling-client-logos {
    padding: 40px 0;
    background-color: transparent;
    overflow: hidden;
    position: relative;
}

.scrolling-content-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.scrolling-row {
    display: flex;
    gap: 40px;
    align-items: center;
    white-space: nowrap;
}

.scrolling-row img {
    max-width: 120px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.scrolling-left {
    animation: scrollLeft 40s linear infinite;
}

.scrolling-right {
    animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Media queries for responsiveness */
@media (max-width: 1024px) {
    .scrolling-row {
        gap: 30px;
    }
    .scrolling-row img {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .scrolling-content-container {
        gap: 30px;
    }
    .scrolling-row {
        gap: 20px;
    }
    .scrolling-row img {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .scrolling-content-container {
        gap: 20px;
    }
    .scrolling-row {
        gap: 15px;
    }
    .scrolling-row img {
        max-width: 60px;
    }
}


/* Testimonials Section */
.what-they-say {
    padding: 40px 20px;
    background-color: transparent;
    text-align: center;
}

.what-they-say h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
}

.testimonials-container {
    padding: 20px 0;
    text-align: center;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.testimonial-phones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-phone {
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

/* Desktop styles */
@media (min-width: 769px) {
    .phone1 { width: 220px; }
    .phone2 { width: 190px; }
    .phone3 { width: 160px; }
    .phone4 { width: 180px; }
    .phone5 { width: 210px; }
}

/* Mobile styles */
@media (max-width: 768px) {
    .testimonial-phones {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    .testimonial-phone {
        width: 100%;
        height: auto;
    }

    .phone1, .phone3, .phone5 {
        grid-column: 1;
    }

    .phone2, .phone4 {
        grid-column: 2;
        margin-top: 60%; /* Offset to align with the middle of the previous image */
    }

    .phone1 { order: 1; }
    .phone2 { order: 2; }
    .phone3 { order: 3; }
    .phone4 { order: 4; }
    .phone5 { order: 5; }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
    .testimonial-phones {
        gap: 5px;
    }

    .phone2, .phone4 {
        margin-top: 30%; /* Slightly less offset on very small screens */
    }
}

/* Call to Action Section */
.call-to-action {
    padding: 60px 20px 80px 20px; /* Increase bottom padding */
    background-color: transparent;
    text-align: center;
    clear: both;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 0; /* Ensure no margin at bottom */
}

.call-to-action h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.call-to-action form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 30px;
    background-color: rgba(222, 222, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    box-sizing: border-box;
    display: block;
}

.call-to-action .form-group {
    margin-bottom: 20px;
    width: 100%;
    max-width: none;
}

.call-to-action label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.call-to-action input, .call-to-action textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

.call-to-action textarea {
    min-height: 120px;
    resize: vertical;
}

.call-to-action button {
    background-color: #2a6496;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
    margin: 0 auto;
    display: inline-block;
}

.call-to-action button:hover {
    background-color: #1a4c7d;
}

.call-to-action .button-container {
    text-align: center;
    width: 100%;
}

.call-to-action p {
    margin: 20px 0 10px;
    color: #ffffff;
}

.call-to-action a {
    color: #ffffff;
    text-decoration: none;
}

.call-to-action a:hover {
    text-decoration: underline;
}

.instagram-icon {
    width: 40px; /* Adjust the size as needed */
    height: auto;
    transition: transform 0.3s ease;
}

.instagram-icon:hover {
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .service-bubble {
        width: 45%;
    }

    .testimonial-block {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .service-pair {
        flex-direction: column;
        align-items: center;
    }

    .service-bubble {
        width: 80%;
    }

    .testimonial-block {
        flex: 1 1 100%;
    }

    .scrolling-text {
        font-size: 20px;
    }

    .call-to-action h2 {
        font-size: 28px;
    }

    .call-to-action p {
        font-size: 16px;
    }

    button {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .scrolling-text {
        font-size: 18px;
    }

    .call-to-action h2 {
        font-size: 24px;
    }

    .call-to-action p {
        font-size: 14px;
    }

    button {
        font-size: 12px;
    }
}

.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-button svg {
  width: 35px;
  height: 35px;
  fill: white;
}

@media (max-width: 768px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }

  .whatsapp-button svg {
    width: 30px;
    height: 30px;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.whatsapp-widget {
  /* ... existing styles ... */
  opacity: 0;
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: 1s;
}

.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    position: relative;
    background-image: url('images/bubble.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 5vh auto;
    width: 55.36vw;
    max-width: 800px;
    height: 80vh;
    max-height: 1156px;
    overflow: hidden;
    opacity: 0.85;
}

.popup-main-heading {
    font-size: 3em;
    margin-bottom: 0.2em; /* Added: Reduced spacing underneath the heading */
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 10001;
}

.popup-form-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4%;
    transform: scale(0.8);
}

.popup #popupForm {
    width: 100%;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup .form-group {
    width: 100%;
    margin-bottom: 1.4vh;
    text-align: left;
}

.popup input {
    width: 100%;
    padding: 0.7vh 0.7vw;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    font-size: calc(9px + 0.25vw);
}

.popup button {
    width: 100%;
    padding: 0.7vh 0.7vw;
    margin-top: 1.4vh;
    background-color: rgba(76, 175, 80, 0.8);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: calc(11px + 0.35vw);
}

@media (max-width: 1024px) {
    .popup-content {
        width: 70vw;
        height: auto;
        aspect-ratio: 1000 / 1445;
    }

    .popup #popupForm {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .popup-content {
        width: 85vw;
    }

    .popup-form-container {
        transform: scale(0.9);
    }

    .popup #popupForm {
        max-width: 75%;
    }

    .popup input, .popup button {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 95vw;
    }

    .popup-form-container {
        transform: scale(0.85);
    }

    .popup #popupForm {
        max-width: 70%;
    }

    .popup input, .popup button {
        font-size: 13px;
        padding: 1vh 2vw;
    }
}

@media (max-width: 360px) {
    .popup-form-container {
        transform: scale(0.8);
    }

    .popup #popupForm {
        max-width: 65%;
    }

    .popup input, .popup button {
        font-size: 12px;
    }
}

/* Blog Preview Section */
.blog-preview {
    background-color: transparent;
    padding: 40px 0;
    text-align: center;
}

.blog-preview h2 {
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.featured-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Styling for blog post cards - consistent with blog index page */
.blog-post-card {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, background-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

.blog-post-card:hover {
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.8);
}

.post-thumbnail-link {
    display: block;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail {
    transform: scale(1.1);
}

.post-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-family: 'Akwe Pro', sans-serif;
    font-weight: 500;
    font-size: clamp(16px, 3vw, 24px);
    margin-top: 0;
    margin-bottom: 8px;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #f4b8d9;
}

.post-excerpt {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.post-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-date, .post-author {
    display: inline-block;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 12px;
}

.post-tag {
    display: inline-block;
    padding: 2px 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.view-all-posts {
    margin-top: 30px;
}

.view-all-posts .button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2a6496;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.view-all-posts .button:hover {
    background-color: #1a4c7d;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .featured-posts {
        gap: 30px;
    }
    
    .blog-post-card {
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .featured-posts {
        gap: 25px;
    }
}

/* Loading state */
.loading {
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 1rem;
}

/* Error message */
.error-message {
    background-color: rgba(220, 53, 69, 0.2);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

/* About Us styles and white box */
.white-box {
    background-color: rgba(255, 255, 255, 0.85); /* Match service box background color */
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    overflow: visible;
}

@media (max-width: 968px) {
    .white-box {
        background-color: transparent;
        box-shadow: none;
        padding: 20px;
        border-radius: 0;
    }
    
    .about-us h2 {
        color: #333333 !important; /* Change back to dark heading text on mobile */
    }
    
    .about-us p {
        color: #000000 !important; /* Change back to black paragraph text on mobile */
    }
}

.about-us h2 {
    color: #333;
}

.about-us .text-container {
    flex: 1;
    max-height: 640px; /* Match video height */
    overflow-y: auto;
    padding-right: 20px; /* Space for scrollbar */
}

.about-us p {
    font-size: 1.1em;
    line-height: 1.5; /* Slightly decreased line height */
    color: #000000;
    margin-bottom: 13px; /* Slightly decreased margin */
}

/* Footer Styles */
.site-footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Corrected: Use auto to push footer down */
    position: relative; /* Add positioning context */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left, .footer-center, .footer-right {
    flex: 1;
    min-width: 250px;
    margin: 10px 0;
    text-align: center;
}

.footer-left h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-center p {
    font-size: 0.9em;
    opacity: 0.7;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-center, .footer-right {
        width: 100%;
        margin: 10px 0;
    }
    
    .social-icons {
        margin-top: 15px;
    }
}