/* Standard Bank Color Scheme */
:root {
    --primary-blue: #003087;
    --secondary-blue: #0072CE;
    --white: #FFFFFF;
    --light-grey: #F2F2F2;
    --dark-grey: #666666;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

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

.logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.logo a h2 {
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 48, 135, 0.85) 0%, rgba(0, 114, 206, 0.75) 100%), url('assets/hero-fleet.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--light-grey);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-grey);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: var(--light-grey);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--dark-grey);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--light-grey);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--dark-grey);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-learn-more {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    font-size: 0.95rem;
    margin-top: auto;
}

.btn-learn-more:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 48, 135, 0.3);
}

/* Contact Section */
.contact {
    background-color: var(--light-grey);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--dark-grey);
}

.contact-item a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--light-grey);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-message a {
    color: var(--secondary-blue);
    text-decoration: underline;
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 0;
    }

    .service-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Health Products Page Styles */
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-disclaimer {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.hero-disclaimer p {
    margin: 0;
    font-size: 0.95rem;
}

/* Plans Section */
.plans-section {
    background-color: var(--white);
    padding: 80px 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.15);
    border-color: var(--secondary-blue);
}

.plan-card.featured {
    border-color: var(--primary-blue);
    border-width: 3px;
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-grey);
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.plan-features ul {
    list-style: none;
    text-align: left;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--dark-grey);
    border-bottom: 1px solid var(--light-grey);
    padding-left: 1.5rem;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-cta {
    width: 100%;
    text-align: center;
}

/* Benefits Section */
.benefits-overview {
    background-color: var(--light-grey);
    padding: 80px 0;
}

.benefits-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    background-color: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.tab-button.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    box-shadow: 0 3px 10px var(--shadow);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit-content p {
    color: var(--dark-grey);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--white);
    padding: 80px 0;
}

.pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.pricing-table {
    background-color: var(--light-grey);
    border-radius: 12px;
    padding: 2rem;
}

.table-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.table-header h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

table {
    width: 100%;
    background-color: var(--white);
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

table thead {
    background-color: var(--primary-blue);
    color: var(--white);
}

table th,
table td {
    padding: 1rem;
    text-align: left;
}

table th {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pricing Table Specific - Prevent Wrapping */
.pricing-table table {
    table-layout: auto;
    width: 100%;
}

.pricing-table table th {
    white-space: nowrap;
    text-align: center;
    padding: 1rem 0.5rem; /* Reduced horizontal padding to fit more content */
    font-size: 0.75rem; /* Reduced by ~2px from 0.85rem (13.6px) to 0.75rem (12px) */
    vertical-align: middle;
    line-height: 1.2;
    font-weight: 600;
}

.pricing-table table td {
    white-space: nowrap;
    text-align: center;
    padding: 1rem 0.5rem; /* Match header padding */
    vertical-align: middle;
    font-size: 0.85rem; /* Keep data slightly larger than header */
}

.pricing-table table th br {
    line-height: 1.1;
    display: block;
}

table tbody tr {
    border-bottom: 1px solid var(--light-grey);
}

table tbody tr:last-child {
    border-bottom: none;
}

table tbody td {
    color: var(--dark-grey);
}

table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-blue);
}

.pricing-notes {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.note-item {
    background-color: var(--light-grey);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-blue);
    color: var(--dark-grey);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-grey);
    padding: 80px 0;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-grey);
}

.faq-question h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p,
.faq-answer ol {
    padding: 0 1.5rem 1.5rem;
    color: var(--dark-grey);
    line-height: 1.8;
    margin: 0;
}

.faq-answer ol {
    padding-left: 3rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.cta-contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-contact-info p {
    margin: 0;
    font-size: 1.1rem;
}

.cta-contact-info a {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive for Health Products Page */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

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

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

    .pricing-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .plan-card {
        padding: 1.5rem;
    }

    table {
        font-size: 0.85rem;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Under Construction Pages */
.construction-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0 100px;
    margin-top: 70px;
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--white) 100%);
}

.construction-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
}

.construction-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    color: var(--primary-blue);
    animation: pulse 2s ease-in-out infinite;
}

.construction-content h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.construction-title {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: fadeInOut 2s ease-in-out infinite;
}

.construction-message {
    font-size: 1.1rem;
    color: var(--dark-grey);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.construction-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.construction-loader {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.loader-dot {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-blue);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.loader-dot:nth-child(1) {
    animation-delay: 0s;
}

.loader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Table Improvements - Pricing tables specifically */
.pricing-wrapper table {
    min-width: 100%;
}

.pricing-wrapper table th,
.pricing-wrapper table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive for Construction Pages */
@media (max-width: 768px) {
    .construction-content {
        padding: 2rem 1.5rem;
    }

    .construction-content h1 {
        font-size: 2rem;
    }

    .construction-title {
        font-size: 1.5rem;
    }

    .construction-actions {
        flex-direction: column;
        align-items: center;
    }

    .construction-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    table {
        font-size: 0.75rem;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
        white-space: normal;
        word-break: break-word;
    }

    table th br {
        display: none;
    }
}

