

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
    background-color: var(--background-color);
}

main .intro {
    max-width: 800px;
    margin-bottom: 30px; 
}

main .welcome {
    font-size: 1.2rem; 
    color: var(--purple);
    margin-bottom: 10px; 
    text-transform: capitalize;
}

main h1 {
    font-size: var(--roboto-font);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--navy);
}
main h1 span {
    color: var(--orange);
}
main .description {
    font-size: 1rem;
    margin-bottom: 20px; 
    color: var(--navy);
    line-height: 1.6;
}

main .buttons {
    display: flex;
    gap: 50px;
}

main .btn-home, .btn-plain {
    display: flex; 
    flex-direction: row; 
    align-items: center;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

main .btn-home {
    background-color: var(--orange);
    color: var(--background-color);
}

main .btn-plain {
    background-color: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    background-image: linear-gradient(to right, var(--orange) 100%, transparent 0%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: left top;
    transition: background-size 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

main .btn-plain:hover {
    background-size: 100% 100%;
    color: var(--grey);
}

main .btn-home:hover {
    background-color: var(--purple);
    transform: scale(1.05);
}

main .btn-home i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

main .btn-home:hover i {
    transform: rotate(90deg);
}

/*Why Choose us*/
section.why-choose-us {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    margin-top: -150px;
}
  
.card-container {
    width: 80%;
    background-color: var(--dark-blue);
    background-image: url("../imgs/background_stars.png");
    background-repeat: repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.features-row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
gap: 20px;
}

.intro-article {
flex: 1 1 250px;
text-align: left;
padding-right: 20px;
max-width: 250px;
text-align: center;
}

.intro-article h2 {
font-size: 1.8rem;
color: var(--background-color);
margin: 10px 0;
}

.highlight {
display: block;
font-weight: bold;
font-size: 1rem;
color: var(--orange);
}

.btn-benefits {
margin-top: 10px;
padding: 8px 16px;
border: none;
border-radius: 6px;
background-color: var(--orange);
color: var(--background-color);
font-weight: bold;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}

.btn-benefits:hover {
background-color: var(--purple);
transform: scale(1.05);
}

.feature {
flex: 1 1 200px;
background-color: var(--light-gray);
padding: 20px;
border-radius: 12px;
text-align: center;
}

.feature i {
color: var(--background-color);
margin-bottom: 10px;
}

.feature h3 {
font-size: 1.2rem;
color: var(--background-color);
margin-bottom: 8px;
}

.feature p {
font-size: 0.95rem;
color: var(--background-color);
}

/* About Us */
.about-us {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--white);
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
    text-align: left;
}

.about-content .highlight {
    font-size: 1rem;
    color: var(--orange);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.about-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--dark-blue);
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 250px;
    height: auto;
}

.about-card i {
    color: var(--orange);
    font-size: 2rem;
}

.card-text h4 {
    font-size: 1.2rem;
    color: var(--background-color);
    margin-bottom: 5px;
}

.card-text p {
    font-size: 0.95rem;
    color: var(--background-color);
}

.btn-learn-more {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--orange);
    color: var(--background-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-learn-more:hover {
    background-color: var(--purple);
    transform: scale(1.05);
}

/* SERVICES */
.services {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}
.services-container {
    max-width: 1200px;
    width: 100%;
}

.services-container .highlight {
    font-size: 1rem;
    color: var(--orange);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.services-container h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.services-container p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    gap: 50px;
    justify-content: center;
    margin: 0 auto;
    width: 80%;
    padding: 20px;
    margin-bottom: 15px;
}

.service-card {
    display: flex;
    flex-direction: row;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card .card-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-right {
    border-top-right-radius: 0%;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}
.img-left {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}



.service-card .card-text {
    padding: 20px;
    text-align: center;
}

.service-card .card-text h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-card .card-text p {
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-card .card-text .learn-more {
    font-size: 1rem;
    color: var(--purple);
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.service-card .card-text .learn-more:hover {
    color: var(--orange);
}

.btn-muct {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--orange);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-muct:hover {
    background-color: var(--purple);
    transform: scale(1.05);
}

/* Platforms */
.platforms-title {
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    font-weight: bold;
}
.platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.platform-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.platform-content {
    padding: 20px;
    text-align: center;
}

.platform-content h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.platform-content p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}
/* Project Features */
.projects {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

.projects-container {
    max-width: 1200px;
    width: 100%;
}

.projects-container .highlight {
    font-size: 1rem;
    color: var(--orange);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.projects-container h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.projects-container p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}
/* Apps */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 1.5rem;
    width: 100%; /* Ensure grid spans full width */
    max-width: 1200px; /* Optional: Limit max width */
    margin: 0 auto; /* Center the grid */
}
.app-card {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth shadow transition */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for better depth */
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.app-image {
    flex: 0 0 150px; /* Fixed width for the image */
    background-color: var(--light-gray); /* Placeholder background */
    border-radius: 12px; /* Adjusted border-radius for rounded corners */
    overflow: hidden; /* Ensure content respects border-radius */
    aspect-ratio: 1 / 1; /* Set aspect ratio to 1:1 for a square shape */
}

.app-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Ensure image fits nicely */
    border-radius: inherit; /* Inherit border-radius from parent */
}

.app-content {
    flex: 1;
    padding: 1rem;
    text-align: left; /* Align text to the left */
}

.app-content h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 0.5rem; /* Add spacing below heading */
}

.app-content p {
    font-size: 1rem;
    color: var(--dark-blue);
    margin: 0; /* Ensure no extra spacing */
}
.app-content a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease; 
}
.app-content a:hover {
    background-color: var(--dark-blue);
}
.btn-explore-apps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--white);
    background-color: var(--orange);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-explore-apps:hover {
    background-color: var(--purple);
    transform: scale(1.05);
}

.btn-explore-apps i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-explore-apps:hover i {
    transform: translateX(5px);
}

/* Contact us */
.contact {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background-color: var(--white);
    text-align: center;
}

.contact-container {
    max-width: 800px;
    width: 100%;
}

.contact-container .highlight {
    font-size: 1rem;
    color: var(--orange);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.contact-container h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.contact-container p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--grey);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    outline: none;
}

.btn-submit {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--orange);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: var(--purple);
    transform: scale(1.05);
}

.contact-info {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info i {
    font-size: 1.2rem;
    color: var(--orange);
}
