html {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f0f0f0;
    overflow-x: hidden;
    width: 100%;
    min-height: 100%;
    padding-top: 130px; /* Added to account for fixed header height */
}
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Top Small Navigation */
.top-small-nav {
    background-color: #f5f5f5;
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.top-small-nav-container {
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-menu-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.small-menu-link i {
    margin-right: 8px;
    font-size: 16px;
    color: #0066cc; /* Vox blue color */
}

.small-menu-link:hover {
    color: #0066cc;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    max-height: 80px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.nav-links a i {
    margin-right: 8px;
    color: #0066cc; /* Vox blue color */
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-only {
    display: none;
}
.hero-section {
    /*background: linear-gradient(135deg, #2c2f8f 60%, #3f42a3 100%);*/
    background-image: url(../images/head.png);
    background-size: cover;
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    z-index: 1;
}

.hero-left, .hero-right {
    position: relative;
    z-index: 2; /* Place content above the overlay */
}
.hero-left {
    flex: 1;
    padding-right: 20px;
    margin-left: 9%;
}
.hero-right {
    flex: 1;
    text-align: right;
    position: relative;
}
.hero-right img {
    max-width: 100%;
    height: 500px;
    margin-bottom: -50px;
}
.hero-left h2 {
    font-size: 4em;
    margin: 0;
}
.hero-left .price-info {
    font-size: 2.5em;
    margin: 10px 0;
}
.hero-left .price-info .was {
    font-size: 0.6em;
    text-decoration: line-through;
    color: rgba(255,255,255,0.7);
}
.hero-left .price-info .now {
    font-size: 1em;
    font-weight: bold;
    display: block;
}
.hero-left .input-group {
    display: flex;
    margin-top: 20px;
}
.hero-left .input-group input {
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    flex: 1;
}
.hero-left .input-group button {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
}

/* Orange button style */
.btn-orange {
    background-color: #f2801f !important;
}
.btn-orange:hover {
    background-color: #424242 !important;
    color: #fff !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5) !important;
}
.hero-right .save-text {
    background-color: #D32F2F; /* Red */
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    padding: 15px 25px;
    border-radius: 50%;
    display: inline-block;
    transform: rotate(-10deg);
    position: absolute;
    top: 20%;
    left: -10%;
}
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: -50px auto 0;
    padding: 0 40px; /* Increased padding to make room for arrows */
    text-align: center;
    max-width: 1100px;
    width: 100%;
    column-gap: 15px;
    row-gap: 15px;
    align-content: start;
    position: relative;
    z-index: 10;
    flex: 1; /* Added flex property to work with flex container */
}
.icon-item {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: auto;
    justify-self: center;
}

.icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.icon-item::before {
    /* Fallback for browsers that don't support aspect-ratio */
    content: "";
    display: block;
    padding-top: 100%; /* Creates a 1:1 aspect ratio */
}

@supports (aspect-ratio: 1/1) {
    .icon-item::before {
        display: none; /* Hide the fallback when aspect-ratio is supported */
    }
}

.icon-item-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.icon-item-content i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #0056b3;
}
.icon-item-content p {
    margin: 0;
    font-weight: 500;
}
/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.bar1, .bar2, .bar3 {
    width: 30px;
    height: 3px;
    background-color: #0066cc; /* Vox blue color */
    margin: 6px 0;
    transition: 0.4s;
}

/* Hamburger animation */
.change .bar1 {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    body {
        padding-top: 80px; /* Adjusted padding for mobile devices */
    }

    .hamburger-menu {
        display: block;
        z-index: 1000;
    }

    .top-small-nav.desktop {
        display: none;
    }

    .main-navigation {
        padding: 15px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 15px 0;
        font-size: 16px;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .mobile-only {
        display: flex;
    }

    .nav-links a:hover::after {
        display: none;
    }

    .hero-section {
        flex-direction: column;
        padding: 30px 15px;
        background-position: center center; /* Ensure image is centered on mobile */
    }

    .hero-left, .hero-right {
        flex: none;
        width: 100%;
        text-align: center;
        padding-right: 0;
        margin-left: 0; /* Reset the desktop margin */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center all flex children horizontally */
    }

    .hero-left h2 {
        font-size: 3em;
    }

    .hero-left .price-info {
        font-size: 2em;
        width: 100%; /* Ensure full width */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center the price info elements */
    }

    .hero-left .input-group {
        flex-direction: column;
        width: 100%;
        align-items: center; /* Center the input and button */
    }

    .hero-left .input-group input {
        width: 90%;
        max-width: 300px; /* Match desktop max-width */
        border-radius: 5px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto; /* Center the input field */
    }

    .hero-left .input-group button {
        width: 90%;
        max-width: 300px; /* Match input width */
        border-radius: 5px;
        margin-left: auto;
        margin-right: auto; /* Center the button */
    }

    .hero-right .save-text {
        position: static;
        transform: none;
        margin-bottom: 20px;
        display: block;
        border-radius: 10px;
        margin-left: auto;
        margin-right: auto; /* Center the save-text element */
        width: fit-content; /* Allow the element to size to its content */
    }

    .icon-grid {
        display: flex;
        overflow-x: auto;
        margin-top: -30px;
        padding: 0 15px;
        /* scroll-snap-type: x mandatory; - Removed to prevent snapping */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
        max-width: 100%;
        scroll-behavior: smooth; /* Smooth scrolling when using JavaScript */
        overscroll-behavior-x: contain; /* Prevent scroll chaining */
    }

    .icon-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }

    .icon-item {
        flex: 0 0 auto;
        width: 140px;
        height: 140px;
        margin-right: 10px;
        /* scroll-snap-align: start; - Removed to prevent snapping */
    }

    .icon-item-content {
        padding: 15px;
    }

    .icon-item-content i {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .icon-item-content p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .icon-grid {
        margin-top: -20px;
    }

    .icon-item {
        width: 120px;
        height: 120px;
        border-radius: 15px;
    }

    .icon-item-content {
        padding: 10px;
    }

    .icon-item-content i {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .icon-item-content p {
        font-size: 0.8rem;
    }

    .hero-left h2 {
        font-size: 2.5em;
    }

    /* Ensure the terms and conditions paragraph is centered */
    .hero-left p {
        width: 100%;
        text-align: center;
    }

    .packages-container {
        grid-template-columns: 1fr;
    }

    .package-card {
        flex: 0 0 90%;
        min-width: 220px;
        padding: 15px;
        font-size: 0.85em;
    }
    
    .package-card2 {
        flex: 0 0 90%;
        min-width: 220px;
        padding: 15px;
        font-size: 0.85em;
    }

    .package-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .package-header h3 {
        font-size: 1.3em;
        margin-bottom: 5px;
    }

    .speed {
        font-size: 1em;
    }

    .package-price {
        margin-bottom: 15px;
    }

    .price-was {
        font-size: 1em;
    }

    .price-now {
        font-size: 1.6em;
    }

    .package-features {
        margin-bottom: 15px;
    }

    .package-features li {
        padding: 6px 0;
    }

    .btn-package {
        padding: 10px;
        font-size: 0.9em;
    }

    .popular-tag {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* Featured Fibre Packages Section Styles */
.featured-fibre-section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #f2801f;
    margin: 15px auto 0;
    border-radius: 2px;
}

.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.package-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.package-card.featured {
    border: 2px solid #f2801f;
    box-shadow: 0 10px 20px rgba(242, 128, 31, 0.2);
}

.package-card2 {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.package-card2.featured {
    border: 2px solid #f2801f;
    box-shadow: 0 10px 20px rgba(242, 128, 31, 0.2);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #f2801f;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 0 0 15px;
}

.package-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.package-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
    color: #0066cc;
}

.speed {
    display: block;
    font-size: 1.2em;
    font-weight: 500;
    color: #333;
}

.package-price {
    margin-bottom: 25px;
    text-align: center;
}

.price-was {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.price-now {
    display: block;
    font-size: 2.2em;
    font-weight: bold;
    color: #333;
}

.price-now small {
    font-size: 0.5em;
    font-weight: normal;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features i {
    color: #0066cc;
    margin-right: 10px;
}

.btn-package {
    display: block;
    background-color: #f2801f;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-package:hover {
    background-color: #424242;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn-package2 {
    display: block;
    background-color: #2c2f8f;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 5px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-package2:hover {
    background-color: #424242;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.terms-note {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 20px;
}

/* Internet Facts Section Styles */
.internet-facts-section {
    padding: 60px 0;
    width: 100vw;
    margin: 0 -50vw 0 -50vw;
    position: relative;
    left: 50%;
    right: 50%;
    background-color: #f9f9f9;
}

.internet-facts-section .section-title,
.internet-facts-section .facts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.facts-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.facts-left {
    flex: 1;
    padding-right: 20px;
}

.facts-left h3 {
    font-size: 1.8em;
    color: #0066cc;
    margin-bottom: 20px;
}

.internet-facts-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.internet-facts-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}

.internet-facts-list li:last-child {
    border-bottom: none;
}

.internet-facts-list li i {
    color: #0066cc;
    margin-right: 15px;
    font-size: 1.2em;
    min-width: 20px;
    text-align: center;
    margin-top: 3px;
}

.facts-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.facts-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.facts-image:hover {
    transform: scale(1.02);
}

/* Media Queries for Internet Facts Section */
@media screen and (max-width: 768px) {
    .internet-facts-section {
        padding: 30px 0;
        width: 100vw;
        margin: 0 -50vw 0 -50vw;
        position: relative;
        left: 50%;
        right: 50%;
    }

    .internet-facts-section .section-title,
    .internet-facts-section .facts-container {
        padding: 0 15px;
    }

    .facts-container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .facts-left, .facts-right {
        flex: none;
        width: 100%;
        padding-right: 0;
    }

    .facts-left h3 {
        font-size: 1.5em;
        text-align: center;
    }

    .internet-facts-list li {
        padding: 10px 0;
    }

    .facts-image {
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }
}

/* Card Flip Styles */
.package-card {
    position: relative;
    min-height: 550px; /* Set a minimum height to ensure consistency */
    perspective: 1000px; /* Add perspective for 3D effect */
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.package-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.card-back {
    transform: rotateY(180deg);
    background-color: white;
    border-radius: 15px;
}

.back-content {
    padding: 10px 0;
    flex-grow: 1;
    overflow-y: auto; /* Allow scrolling if content is too long */
}

.back-content h4 {
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 15px;
}

.back-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    text-align: left;
}

.back-content ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.back-content ul li i {
    color: #0066cc;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.back-content p {
    margin: 0;
    padding: 0 15px;
}


/* Card Flip2 Styles */
.package-card2 {
    position: relative;
    min-height: 450px; /* Set a minimum height to ensure consistency */
    perspective: 1000px; /* Add perspective for 3D effect */
}

.card-inner2 {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.package-card2.flipped .card-inner2 {
    transform: rotateY(180deg);
}

.card-front2, .card-back2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.card-back2 {
    transform: rotateY(180deg);
    background-color: white;
    border-radius: 15px;
}

.back-content2 {
    padding: 10px 0;
    flex-grow: 1;
    overflow-y: auto; /* Allow scrolling if content is too long */
}

.back-content2 h4 {
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 15px;
}

.back-content2 ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    text-align: left;
}

.back-content2 ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.back-content2 ul li i {
    color: #0066cc;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.back-content2 p {
    margin: 0;
    padding: 0 15px;
}

/* Scroll Container and Arrows */
.scroll-container {
    position: relative;
    width: 100%;
}

/* Specific styling for the icon-grid scroll container */
.scroll-container .icon-grid {
    flex: 1;
    padding: 0 40px; /* Increased padding to make room for arrows */
}

/* Apply flex layout only to the first scroll container (icon-grid section) */
body > .scroll-container {
    display: flex;
    align-items: center;
}

.scroll-arrow {
    display: none; /* Hidden by default, shown only on mobile */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 102, 204, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 20; /* Increased z-index to ensure arrows appear above content */
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.scroll-arrow:hover {
    background-color: rgba(0, 102, 204, 1);
}

.scroll-left {
    left: 5px;
    position: absolute;
}

.scroll-right {
    right: 5px;
    position: absolute;
}

/* Client Review Section Styles */
.client-review-section {
    padding: 10px 0;
    padding-bottom: 50px;
    width: 100vw;
    margin: 0 -50vw 0 -50vw;
    position: relative;
    left: 50%;
    right: 50%;
    background-color: #2c2f8f;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-left: 30px;
    margin-right: 30px;
}

.review-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.reviewer-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.2em;
}

.location {
    margin: 0;
    color: #777;
    font-size: 0.9em;
}

.rating {
    color: #f2801f;
    font-size: 1.1em;
}

.review-content {
    flex-grow: 1;
    position: relative;
    padding: 0 10px;
    margin-bottom: 20px;
}

.quote-icon {
    color: #0066cc;
    opacity: 0.2;
    font-size: 2em;
    position: absolute;
    top: -10px;
    left: -5px;
}

.review-content p {
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.review-package {
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.package-label {
    font-weight: 600;
    color: #0066cc;
}

/* Media Queries for Client Reviews */
@media screen and (max-width: 768px) {
    .client-review-section {
        padding: 40px 15px;
    }

    .reviews-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 20px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating {
        margin-top: 10px;
    }
}

/* Media Queries for Featured Fibre Packages */
@media screen and (max-width: 768px) {
    .featured-fibre-section {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .scroll-arrow {
        display: flex; /* Show arrows on mobile */
        justify-content: center;
        align-items: center;
        top: 50%; /* Ensure vertical centering */
        transform: translateY(-50%);
    }

    /* All scroll containers need position relative for arrow positioning */

    .scroll-container {
        position: relative;
    }

    /* This is the key change: Make the packages container a flexbox */
    .featured-fibre-section .packages-container,
    .featured-fibre-section .icon-grid {
        display: flex;
        overflow-x: auto;
        /* scroll-snap-type: x mandatory; - Removed to prevent snapping */
        -webkit-overflow-scrolling: touch;
        gap: 15px; /* Use gap instead of margin-right */
        padding-bottom: 10px;
        scrollbar-width: thin;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
    }

    /* The featured-fibre-section scroll container doesn't need flex layout */
    .featured-fibre-section .scroll-container {
        display: block;
    }

    .packages-container {
        display: flex;
        overflow-x: auto;
        /* scroll-snap-type: x mandatory; - Removed to prevent snapping */
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scroll-behavior: smooth; /* Smooth scrolling when using JavaScript */
        overscroll-behavior-x: contain; /* Prevent scroll chaining */
    }

    .packages-container::-webkit-scrollbar {
        height: 6px;
    }

    .packages-container::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
    }

    .package-card {
        flex: 0 0 85%;
        min-width: 250px;
        padding: 20px;
        /* scroll-snap-align: start; - Removed to prevent snapping */
        font-size: 0.9em;
    }
    
    .package-card2 {
        flex: 0 0 85%;
        min-width: 250px;
        padding: 20px;
        font-size: 0.9em;
    }

    .package-header h3 {
        font-size: 1.5em;
    }

    .speed {
        font-size: 1.1em;
    }

    .price-was {
        font-size: 1.1em;
    }

    .price-now {
        font-size: 1.8em;
    }

    .package-features li {
        padding: 8px 0;
    }

    .btn-package {
        padding: 12px;
    }

    .terms-note {
        font-size: 12px;
        margin-top: 15px;
    }
}
/* About Us Page Styles */
.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    margin-top: -30px;
    margin-bottom: 40px;
    color: #666;
}

/* Facts Section */
.facts-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.facts-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.fact-card {
    text-align: center;
    padding: 30px;
    margin: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
}

.fact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.fact-icon {
    font-size: 2.5em;
    color: #0066cc;
    margin-bottom: 20px;
}

.fact-number {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.fact-text {
    color: #666;
    font-size: 1.1em;
}

/* Story Section */
.story-section {
    padding: 80px 20px;
    background-color: white;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story-text {
    flex: 1;
    padding: 0 30px;
    min-width: 300px;
}

.story-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.story-image {
    flex: 1;
    padding: 0 30px;
    min-width: 300px;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Clients Section */
.clients-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.client-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo {
    padding: 20px;
    margin: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 100px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 20px;
    background-color: white;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    outline: none;
}

.submit-btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* Contact Information Section */
.contact-info-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.contact-info-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-card {
    text-align: center;
    padding: 30px;
    margin: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 220px;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 2.5em;
    color: #0066cc;
    margin-bottom: 20px;
}

.contact-info-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.contact-info-card p {
    color: #666;
}

.contact-info-card a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Map Section */
.map-section {
    padding: 80px 20px;
    background-color: white;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Business Hours Section */
.hours-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.hours-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.hours-card {
    text-align: center;
    padding: 30px;
    margin: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px;
}

.hours-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.hours-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.hours-card p {
    color: #666;
    margin-bottom: 10px;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    background-color: white;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: 30px;
    margin: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 250px;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: #333;
}

.member-title {
    color: #0066cc;
    font-weight: 500;
}

/* Media Queries for About Us Page */
@media (max-width: 768px) {
    .facts-container {
        flex-direction: column;
        align-items: center;
    }

    .story-content {
        flex-direction: column;
    }

    .story-text, .story-image {
        padding: 20px 0;
    }

    .team-member {
        width: 100%;
        max-width: 300px;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #f2801f;
    color: #fff;
    padding: 60px 0 0;
    width: 100vw;
    margin: 0 -50vw 0 -50vw;
    position: relative;
    left: 50%;
    right: 50%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.footer-description {
    line-height: 1.6;
    margin-top: 15px;
    opacity: 0.9;
}

.footer-section h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f2801f;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 12px;
    color: #f2801f;
}

.footer-links a:hover {
    color: #f2801f;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 15px;
    color: #f2801f;
    min-width: 16px;
    margin-top: 4px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1877F2;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #2a2b32;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Media Queries for Footer */
@media screen and (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a, .footer-contact li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .site-footer {
        padding: 30px 0 0;
    }

    .footer-container {
        padding: 0 15px;
    }
}
/* About Us Page Styles */

/* Facts Section */
.facts-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
    text-align: center;
}

.facts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.fact-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 30px;
    width: 220px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.fact-icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 15px;
}

.fact-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.fact-text {
    font-size: 1rem;
    color: #666;
}

/* Story Section */
.story-section {
    padding: 60px 20px;
    background-color: white;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.story-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.story-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Client Logos Section */
.clients-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 20px;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
}

/* Team Section */
.team-section {
    padding: 60px 20px;
    background-color: white;
    text-align: center;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    width: 280px;
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #333;
}

.member-title {
    font-size: 1rem;
    color: #666;
}

/* Responsive Styles for About Us Page */
@media screen and (max-width: 768px) {
    .facts-container {
        gap: 20px;
    }

    .fact-card {
        width: calc(50% - 20px);
        padding: 20px;
    }

    .story-content {
        flex-direction: column;
    }

    .story-text, .story-image {
        flex: none;
        width: 100%;
    }

    .client-logo {
        width: calc(50% - 20px);
    }

    .team-member {
        width: 100%;
        max-width: 280px;
    }
}

@media screen and (max-width: 480px) {
    .fact-card {
        width: 100%;
    }

    .client-logo {
        width: 100%;
        max-width: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    .fact-number {
        font-size: 2rem;
    }
}

#api-response-container {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
}

.serviceability-results {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.serviceability-results h3 {
    color: #ff6600;
    margin-top: 0;
}

.error {
    color: #dc3545;
    font-weight: bold;
}

/* Google Places Autocomplete styling */
.pac-container {
    border-radius: 4px;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
}

.pac-item {
    padding: 8px 12px;
    cursor: pointer;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-selected {
    background-color: #f0f0f0;
}



/* Alternative Footer Style - Simple */
.site-footer-simple {
    background-color: #f2801f; /* Orange brand color */
    color: #ffffff;
    padding: 25px 20px;
    margin-top: 50px;
}

.footer-simple-content {
    max-width: 1200px;
    margin: 0 auto; /* Centers the content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows items to stack on small screens */
    gap: 20px; /* Space between items when they wrap */
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9em;
}

.footer-simple-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.9em;
    transition: text-decoration 0.3s ease;
}

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

/* Responsive adjustments for the simple footer */
@media screen and (max-width: 768px) {
    .footer-simple-content {
        flex-direction: column; /* Stack items vertically */
        justify-content: center; /* Center the stacked items */
    }
}