/* Reset and Base Styles */
:root {
    --primary-color: #C85A42;
    /* Burnt orange */
    --primary-hover: #b5503a;
    --navy-blue: #1A2530;
    --deep-navy: #1C2A44;
    --bg-light: #F8F9FA;
    --text-main: #334155;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-family: 'Inter', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--navy-blue);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {

    margin: 0 auto;
    padding: 0 40px;
}

.section-pad {
    padding: 80px 0;
}

.center {
    text-align: center;
}

.section-header {
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 06px 24px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 90, 66, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--navy-blue);
}

.btn-outline:hover {
    background-color: var(--navy-blue);
    color: var(--white);
}

.btn-lg {
    padding: 10px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: #fff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-blue);
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--navy-blue);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background: url('assets/background.png') no-repeat center center;
    background-size: cover;
    min-height: 800px;
}

/* Custom wave decoration using CSS */
.wave-decoration {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 300px;
    background: radial-gradient(ellipse at bottom, rgba(200, 220, 240, 0.4) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    width: 700px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Service Card */
.service-card {
    padding: 40px 32px;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(200, 90, 66, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Service Footprint */
.footprint-layout {
    display: flex;
    align-items: center;
    gap: 64px;
}

.map-container {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
    display: block;
}

.footprint-content {
    flex: 1;
}

.footprint-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.footprint-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 16px;
}

.coverage-box {
    background-color: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.coverage-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.coverage-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.coverage-list li {
    position: relative;
    padding-left: 20px;
    color: var(--navy-blue);
    font-weight: 500;
    font-size: 15px;
}

.coverage-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* Testimonials */
.testimonials .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stars {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 18px;
}

.quote {
    font-size: 16px;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 32px;
    flex-grow: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: #E2E8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 14px;
}

.author-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* App Banner */
.app-banner {
    background-color: var(--deep-navy);
    border-radius: 24px;
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.banner-content {
    max-width: 500px;
}

.banner-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 20px;
}

.banner-content p {
    color: #94A3B8;
    margin-bottom: 40px;
    font-size: 16px;
}

.store-buttons {
    display: flex;
    gap: 16px;
}

.btn-store {
    background-color: var(--white);
    color: var(--navy-blue);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    gap: 8px;
}

.btn-store i {
    font-size: 20px;
}

.btn-store:hover {
    background-color: #f1f5f9;
}

.qr-container {
    background-color: var(--white);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
}

.qr-box {
    text-align: center;
    color: var(--navy-blue);
}

.qr-box i {
    font-size: 64px;
    margin-bottom: 16px;
}

.qr-box span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: block;
}

.qr-img {
    display: block;
    width: 156px;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
}

/* Contact Section */
.contact-layout {
    display: flex;
    padding: 0;
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 64px;
    background-color: var(--white);
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 16px;
    max-width: 400px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--navy-blue);
    font-weight: 500;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 24px;
}

.contact-form-container {
    flex: 1;
    padding: 64px;
    background-color: var(--white);
    border-left: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--navy-blue);
    background-color: #F8FAFC;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .footprint-layout {
        flex-direction: column;
    }

    .contact-layout {
        flex-direction: column;
    }

    .contact-form-container {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 220px 0 60px;
        height: 80vh;
        display: flex;
        flex-direction: column;
    }

    .hero-container {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .hero-content {
        margin-bottom: 0px;
        text-align: left;
        z-index: 2;
        width: 100%;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-image {
        position: absolute !important;
        bottom: 0 !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
        opacity: 0.7 !important;
        pointer-events: none !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
    }

    .hero-image img {
        max-width: 100% !important;
        height: auto !important;
        width: 500px !important;
        object-fit: contain !important;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .app-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .banner-content {
        margin-bottom: 40px;
    }

    .store-buttons {
        justify-content: center;
    }

    .contact-info,
    .contact-form-container {
        padding: 40px 24px;
    }
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* Mobile View Constraints (max-width: 480px) */
@media (max-width: 480px) {
    /* Side padding in mobile view is 8px */
    .container {
        padding: 0 8px !important;
    }

    /* Font size is max 14px */
    body {
        font-size: 14px !important;
    }

    /* Heading adjustments to look beautiful and fit mobile screen proportions */
    h1, .hero h1 {
        font-size: 22px !important;
    }

    h2, 
    .section-header h2, 
    .footprint-content h2, 
    .banner-content h2, 
    .contact-info h2 {
        font-size: 18px !important;
    }

    h3, 
    .service-card h3 {
        font-size: 15px !important;
    }

    /* Paragraph text max size is 12px */
    p, 
    .hero p, 
    .section-header p, 
    .service-card p, 
    .footprint-content p, 
    .quote, 
    .banner-content p, 
    .contact-info p,
    .copyright {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    /* Max 14px for other UI text elements */
    .btn,
    .btn-lg,
    .nav-links a,
    .coverage-list li,
    .author-info h4,
    .form-group label,
    .form-group input,
    .form-group textarea,
    .author-info span,
    .avatar,
    .qr-box span,
    .footer-links a {
        font-size: 14px !important;
    }

    /* Layout adjustments for better spacing on mobile */
    .section-pad {
        padding: 40px 0 !important;
    }

    .card {
        padding: 16px !important;
    }

    .contact-info,
    .contact-form-container {
        padding: 24px 16px !important;
    }

    .app-banner {
        padding: 32px 16px !important;
    }

    /* Store buttons and QR containers in full width in mobile view */
    .store-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .btn-store {
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        justify-content: center !important;
    }

    .qr-container {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        padding: 24px !important;
    }

    .qr-box {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .logo-img {
        height: 32px !important;
    }

    .btn {
        padding: 6px 16px !important;
    }

    /* Adjust map footprint content layout */
    .coverage-list {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Override inline card padding on privacy/terms pages */
    main .card {
        padding: 16px !important;
    }
}