/* Reset and base */
* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9fafb;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1400px;
    margin: auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: #154d78;
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    color: #fff;
    margin: 0;
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 2px;
    user-select: none;
}

nav {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

nav a {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    color: #cce0ff;
    user-select: none;
}

nav a:hover,
nav a:focus {
    background-color: #0b375f;
    color: #fff;
    outline: none;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #007bff 0%, #154d78 100%);
    color: white;
    padding: 2rem 1.5rem 2rem;
    text-align: center;
    position: relative;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: 1.2px;
    line-height: 1.1;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.btn-primary {
    background-color: #ffd600;
    color: #154d78;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem 2.25rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 214, 0, 0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #ffc107;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.7);
    outline: none;
    color: #111;
}

/* Sections */
section {
    padding: 4rem 0;
    background-color: white;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.05);
}

/* Section headings */
h2.section-title {
    text-align: center;
    color: #154d78;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    letter-spacing: 1.1px;
    user-select: none;
}

/* Services */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service {
    background: #f5f9ff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 6px 15px rgba(21, 77, 120, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(21, 77, 120, 0.2);
}

.service h3 {
    color: #154d78;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/* Products */
#products .product-card {
    display: flex;
    flex-direction: column;
    background: #fefefe;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgb(21 77 120 / 0.08);
    padding: 2rem;
    margin-bottom: 2.5rem;
    border-left: 6px solid #007bff;
    transition: box-shadow 0.3s ease;
}

#products .product-card:hover {
    box-shadow: 0 15px 30px rgb(21 77 120 / 0.15);
}

.product-homepage-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.product-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    background: white;
}

.product-homepage-header h3 {
    font-size: 1.5rem;
    color: #007bff;
    font-weight: 700;
    margin: 0;
    flex-grow: 1;
}

.tagline {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.5rem;
    user-select: none;
}

.app-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
    /* Prevents wrapping to next line */
    align-items: center;
    margin-bottom: 1rem;
    flex-shrink: 1;
}

.google-badge,
.apple-badge {
    height: 48px;
    max-width: 170px;
    width: auto;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.feature {
    background-color: #f0f5ff;
    border-left: 5px solid #007bff;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: #1a2938;
    user-select: none;
}

.feature h4 {
    margin: 0 0 0.4em 0;
    font-size: 1.1rem;
    color: #154d78;
    font-weight: 700;
}

.feature p {
    margin: 0.25em 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.feature ul {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: #154d78;
}

.feature ul li {
    margin-bottom: 0.4em;
    font-size: 0.95rem;
}

/* About */
#about {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

#about img {
    flex: 1 1 320px;
    max-width: 320px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(21, 77, 120, 0.15);
    user-select: none;
}

#about .about-text {
    flex: 2 1 450px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    user-select: text;
}

/* Contact */
#contact {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

#contact .about-text {
    flex: 2 1 450px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    user-select: text;
}

#contact p {
    margin: 0.7rem 0;
    font-size: 1.05rem;
}

#contact a {
    font-weight: 600;
    color: #007bff;
}

#contact a:hover,
#contact a:focus {
    color: #0056b3;
}


/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #154d78;
    color: #ddd;
    font-size: 0.95rem;
    user-select: none;
}

/* Responsive */
@media (max-width: 800px) {
    .hero h2 {
        font-size: 2.2rem;
    }

    #about {
        flex-direction: column;
        text-align: center;
    }

    #about img,
    #about .about-text {
        max-width: 100%;
        flex: none;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(21, 77, 120, 0.1);
    background: white;
}

.product-card h3 {
    font-weight: 700;
    font-size: 1.4rem;
    color: #007bff;
    margin-bottom: 0.5rem;
    user-select: text;
}

.product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.product-card h3 a:hover,
.product-card h3 a:focus {
    text-decoration: underline;
    outline: none;
}

.tagline {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.5rem;
    user-select: text;
    min-height: 54px;
    /* Keeps consistent card height */
}

.app-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.google-badge {
    height: 77px;
    display: block;
}

.apple-badge {
    height: 53px;
    display: block;
}

.feature {
    width: 100%;
    text-align: left;
    margin-bottom: 1rem;
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    background-color: #f0f5ff;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
}

.feature summary {
    font-weight: 600;
    font-size: 1.05rem;
    outline: none;
}

.feature p,
.feature ul {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: #1a2938;
    user-select: text;
}

.feature ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.card-style {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(21, 77, 120, 0.08);
    border-left: 6px solid #007bff;
    margin-bottom: 3rem;
}

section {
    padding: 4rem 0;
    background-color: white;
    border-radius: 12px;
    margin-bottom: 4rem;
}

#about {
    margin-top: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info p {
    margin: 0.8rem 0;
    font-size: 1.05rem;
}

.contact-info a {
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover,
.contact-info a:focus {
    color: #0056b3;
    text-decoration: underline;
}

.whatsapp-icon {
    vertical-align: middle;
    height: 24px;
    margin-right: 0.5rem;
}

.compact-feature {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

/* Responsive contact tweaks */
@media (max-width: 600px) {
    .contact-info p {
        font-size: 1rem;
    }

    .whatsapp-icon {
        height: 20px;
    }
}

@media (max-width: 480px) {

    .google-badge,
    .apple-badge {
        height: 42px;
        max-width: 140px;
    }
}