/* Basic Reset & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    /* Clear floats if any, good practice */
    padding: 0 20px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-decoration: none;
}

.skip-link:focus,
.skip-link:active {
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    overflow: auto;
    z-index: 1000;
    /* Ensure it's on top */
}


/* Header */
header {
    background: #fff;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9em;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.header-top a {
    color: #555;
    text-decoration: none;
}

.header-top a:hover {
    color: #007bff;
}

.social-icons-header {
    display: flex;
    align-items: center;
}

.social-icons-header span {
    margin-right: 10px;
}

.social-icons-header img {
    width: 20px;
    /* Smaller icons for header top */
    height: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

.logo-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.logo img {
    max-width: 250px;
    /* Adjust as needed */
    height: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 5px 0;
}

.main-nav ul li a:hover {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Main Content Sections */
main section {
    padding: 40px 0;
    text-align: center;
}

main section:nth-child(even) {
    background-color: #fff;
}

main h2,
main h3 {
    margin-bottom: 20px;
    color: #333;
}

/* Platform Links */
.platform-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.platform-grid a img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.platform-grid a img:hover {
    transform: scale(1.05);
}


/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
}

.testimonial-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-card .stars {
    color: #f8c102;
    /* Gold color for stars */
    font-size: 1.2em;
    margin-bottom: 10px;
}

.testimonial-card footer {
    margin-top: 10px;
    font-style: italic;
    color: #555;
    text-align: right;
}

/* Follow Us Promo */
.follow-us-promo p {
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.social-links-promo a {
    display: inline-block;
    margin: 0 10px;
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-links-promo a:hover {
    background-color: #0056b3;
}

/* Secure Payments */
.payment-icons img {
    margin: 0 5px;
    height: 25px;
    /* Adjust for consistent display */
    width: auto;
    vertical-align: middle;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding-top: 30px;
    text-align: left;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    /* Ensure columns don't get too squished */
    margin-bottom: 20px;
}

.footer-column h3 {
    color: #f4f4f4;
    margin-bottom: 15px;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    font-size: 0.9em;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: #00aaff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo-nav-container {
        flex-direction: column;
        align-items: center;
    }

    .main-nav {
        margin-top: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .platform-grid {
        flex-direction: column;
    }

    .platform-grid a img {
        max-width: 250px;
        /* Adjust for smaller screens */
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        min-width: 100%;
        /* Stack columns */
    }

    .footer-logo {
        margin: 0 auto 15px auto;
        /* Center logo */
    }
}

@media (max-width: 480px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
    }

    .social-icons-header {
        margin-top: 10px;
    }

    .social-links-promo a {
        display: block;
        margin: 10px auto;
    }

    .payment-icons img {
        height: 20px;
        margin: 3px;
    } }