/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #0f100c;
}

/* Section Layout */
.amazon-services {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.amazon-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    gap: 50px;
}

/* Left Section - Text Content */
.amazon-left {
    flex: 1;
}

.amazon-left h4 {
    font-size: 16px;
    color: white;
    font-weight: bold;
}

.amazon-left h1 {
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin-top: 10px;
}

.amazon-left p {
    font-size: 16px;
    color: white;
    margin: 20px 0;
    max-width: 500px;
}

/* CTA Button */
.cta-button {
    background-color: #bff747;
    color: black;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: white;
}

/* Small Text */
.small-text {
    font-size: 14px;
    margin-top: 10px;
    color: white;
}

.small-text .highlight {
    color: #bff747;
    font-weight: bold;
    cursor: pointer;
}

/* Right Section - Image */
.amazon-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.amazon-right img {
    max-width: 100%;
    height: auto;
}

/* ------------------ Responsive Styles ------------------ */

/* Tablets */
@media (max-width: 1024px) {
    .amazon-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .amazon-left,
    .amazon-right {
        width: 100%;
    }

    .amazon-left p {
        max-width: 100%;
        text-align: left;
        font-size: 18px;
    }

    .amazon-left h1 {
        text-align: left;
        font-size: 28px;
    }

    .amazon-left h4 {
        text-align: left;
        font-size: 22px;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .amazon-services {
        padding: 40px 15px;
    }

    .amazon-left h1 {
        text-align: left;
        font-size: 28px;
    }

    .amazon-left h4 {
        text-align: left;
        font-size: 20px;
    }

    .amazon-left p {
        text-align: left;
        font-size: 16px;
    }

    .cta-button {
        width: 100%;
    }

    .amazon-right img {
        max-width: 80%;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    .amazon-left h1 {
        text-align: left;
        font-size: 24px;
    }

    .amazon-left h4 {
        text-align: left;
        font-size: 20px;
    }
    
    .amazon-left p {
        text-align: left;
        font-size: 14px;
    }

    .amazon-right img {
        max-width: 90%;
    }
}


/* --------------- services card css ------------------- */

/* ------------------ Section Layout ------------------ */

.service-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

/* ------------------ Main Container ------------------ */

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensures 3 cards in one row */
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

/* ------------------ Individual Service Card ------------------ */

.service-card {
    background: #0f100c;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
}

/* ------------------ Icon Styling ------------------ */

.icon img {
    width: 50px;
    height: auto;
    margin-bottom: 15px;
}

/* ------------------ Card Title ------------------ */

.service-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

/* ------------------ Description ------------------ */

.service-card p {
    font-size: 14px;
    color: white;
    margin-bottom: 20px;
}

/* ------------------ Service List ------------------ */

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-card ul li {
    font-size: 14px;
    color: white;
    margin-bottom: 5px;
}

/* ------------------ Button ------------------ */

.learn-more {
    background-color: #e0e0e0;
    color: black;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.learn-more:hover {
    background-color: #d0d0d0;
}

/* ------------------ Responsive Styles ------------------ */

/* Tablets */
@media (max-width: 1024px) {
    .service-container {
        grid-template-columns: repeat(2, 1fr); /* Show 2 cards in one row */
        gap: 20px;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .service-section {
        padding: 40px 15px;
    }

    .service-container {
        grid-template-columns: repeat(1, 1fr); /* Stack all cards in one column */
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .learn-more {
        width: 100%;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 12px;
    }

    .service-card ul li {
        font-size: 12px;
    }
}
