/* Timisha Solutions - Multi-Page Website Styles */
:root {
    --primary: #e31e24;
    --primary-dark: #b91c1c;
    --primary-darker: #991b1b;
    --primary-light: #fef2f2;
    --red-gradient-start: #dc2626;
    --red-gradient-end: #991b1b;
    --text: #111827;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #0f172a;
    --border: #e5e7eb;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-red: 0 10px 30px -5px rgba(220, 38, 38, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-red {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

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

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-login {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    border-radius: 100px;
    padding: 10px 24px;
    margin-left: 8px;
}

.btn-login:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

/* Header */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 60%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.02));
    z-index: 0;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-light);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stats .stat {
    text-align: left;
}

.hero-stats .stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stats .stat span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hero Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 560px;
    background: var(--text);
    border-radius: 40px;
    padding: 16px;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: rotate(-5deg);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: var(--text);
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    background: #f3f4f6;
    border-radius: 28px;
    height: 100%;
    padding: 40px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.message-bubble {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 90%;
}

.message-bubble.sent {
    align-self: flex-end;
    background: var(--primary);
    color: var(--white);
}

.message-bubble p {
    font-size: 0.85rem;
    margin-bottom: 6px;
    line-height: 1.5;
}

.message-bubble .time {
    font-size: 0.7rem;
    opacity: 0.8;
}

.ussd-preview {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: auto;
}

.ussd-preview p {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.ussd-preview span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Networks Section */
.networks-section {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.networks-label {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.networks-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.network-card {
    background: var(--bg-light);
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.network-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--bg-light);
}

.red-gradient-section {
    background: linear-gradient(135deg, var(--red-gradient-start) 0%, var(--red-gradient-end) 100%);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-tag.white-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Page Header */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid (Home) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.red-card {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.service-card.red-card::before {
    background: var(--white);
}

.service-card.red-card h3,
.service-card.red-card .link-arrow {
    color: var(--white);
}

.service-card.red-card p {
    color: rgba(255, 255, 255, 0.85);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-icon.whatsapp-icon {
    color: #25d366;
}

.service-card.red-card .service-icon {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.link-arrow:hover {
    gap: 8px;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.why-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.why-number {
    font-size: 2.5rem;
    font-weight: 900;
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.why-feature h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--white);
}

.why-feature p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

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

.industry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.industry-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text);
}

.industry-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.7;
}

.featured-testimonial {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.02);
}

.featured-testimonial p,
.featured-testimonial .testimonial-author strong {
    color: var(--white);
}

.featured-testimonial .testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-author strong {
    display: block;
    color: var(--text);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    padding: 60px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, var(--red-gradient-start) 0%, var(--red-gradient-end) 100%);
    border-radius: var(--radius);
    padding: 64px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.cta-box h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Detail Page */
.service-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.service-detail-card.reverse {
    grid-template-columns: 2fr 1fr;
}

.service-detail-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto;
    color: var(--primary);
}

.service-detail-icon.whatsapp-icon {
    color: #25d366;
}

.service-detail-icon i {
    line-height: 1;
}

.service-detail-icon.red-bg {
    background: var(--primary-light);
}

.service-detail-icon.green-bg {
    background: #d1fae5;
}

.service-detail-icon.blue-bg {
    background: #dbeafe;
}

.service-detail-content h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--text);
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.icon-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.icon-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* API Section */
.api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}



.code-block {
    background: var(--bg-dark);
    border-radius: var(--radius);
    padding: 24px;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    color: #e5e7eb;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Pricing Page */

/* SMS Pricing Table */
.sms-pricing-table {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.sms-tier {
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: all 0.3s;
}

.sms-tier:last-child {
    border-right: none;
}

.sms-tier:hover {
    background: var(--bg-light);
}

.sms-tier.featured-tier {
    background: var(--primary);
    color: var(--white);
}

.sms-tier.featured-tier:hover {
    background: var(--primary-dark);
}

.sms-tier.featured-tier .tier-volume {
    color: rgba(255, 255, 255, 0.9);
}

.sms-tier.featured-tier .tier-price strong {
    color: var(--white);
}

.sms-tier.featured-tier .tier-price span {
    color: rgba(255, 255, 255, 0.8);
}

.tier-volume {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
}

.tier-price {
    font-size: 1rem;
    color: var(--text-light);
}

.tier-price strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-action {
    text-align: center;
}

/* Channel Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-red);
    transform: scale(1.03);
    z-index: 1;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    background: var(--primary-light);
}

.pricing-icon.red-icon {
    color: var(--primary);
}

.pricing-icon.green-icon {
    background: #d1fae5;
    color: #25d366;
}

.pricing-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text);
}

.price {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.price strong {
    font-size: 2.25rem;
    color: var(--primary);
}

.price small {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-card > p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary);
    flex-shrink: 0;
}

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

/* USSD Pricing */
.ussd-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.ussd-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.ussd-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.ussd-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-red);
}

.ussd-code {
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.ussd-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.ussd-price {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.ussd-price strong {
    font-size: 2rem;
    color: var(--primary);
}

.ussd-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.ussd-extra {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ussd-extra-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ussd-extra-item h4 {
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ussd-extra-item h4 i {
    color: var(--primary);
}

.ussd-extra-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.ussd-extra-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

/* Shortcode Table */
.shortcode-table {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.shortcode-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 24px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.shortcode-row:last-child {
    border-bottom: none;
}

.shortcode-row.header-row {
    background: var(--bg-dark);
    color: var(--white);
    font-weight: 700;
}

.shortcode-row div {
    color: var(--text-light);
}

.shortcode-row.header-row div {
    color: var(--white);
}

.shortcode-row strong {
    color: var(--text);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--text);
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.value-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
    margin: 0;
}

.about-stats-panel {
    background: linear-gradient(135deg, var(--red-gradient-start) 0%, var(--red-gradient-end) 100%);
    border-radius: var(--radius);
    padding: 40px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    box-shadow: var(--shadow-red);
}

.about-stat {
    text-align: center;
}

.about-stat strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.mission-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mission-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.approach-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.approach-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.approach-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px;
}

.approach-card h4 {
    margin-bottom: 10px;
    color: var(--text);
}

.approach-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-info-card h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.contact-info-card > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-method a,
.contact-method p {
    color: var(--text);
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--primary);
}

.contact-hours {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.contact-hours h4 {
    margin-bottom: 12px;
    color: var(--text);
}

.contact-hours p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-message {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #9ca3af;
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.footer-links li {
    padding: 8px 0;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-cta,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        transform: rotate(0);
    }

    .services-grid,
    .industries-grid,
    .testimonial-grid,
    .pricing-grid,
    .pricing-extra,
    .why-grid,
    .sms-pricing-table,
    .ussd-pricing-grid,
    .ussd-extra {
        grid-template-columns: repeat(2, 1fr);
    }

    .sms-tier {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sms-tier:last-child {
        border-bottom: none;
    }

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

    .about-stats-panel {
        order: -1;
    }

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

    .service-detail-card,
    .service-detail-card.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 8px;
        transform: translateX(100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        align-items: stretch;
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav a,
    .main-nav .btn {
        width: 100%;
        justify-content: flex-start;
        padding: 16px;
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 24px;
        justify-content: center;
    }

    .section {
        padding: 64px 0;
    }

    .section-header h2,
    .page-header h1,
    .mission-content h2,
    .cta-box h2 {
        font-size: 1.85rem;
    }

    .page-header {
        padding: 80px 0 60px;
    }

    .services-grid,
    .industries-grid,
    .testimonial-grid,
    .pricing-grid,
    .pricing-extra,
    .why-grid,
    .about-values,
    .approach-grid,
    .faq-grid,
    .sms-pricing-table,
    .ussd-pricing-grid,
    .ussd-extra {
        grid-template-columns: 1fr;
    }

    .sms-tier {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sms-tier:last-child {
        border-bottom: none;
    }

    .shortcode-row,
    .shortcode-row.header-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ussd-extra-item {
        flex-direction: column;
        text-align: center;
    }

    .pricing-card.featured,
    .featured-testimonial {
        transform: none;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .check-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-stats-panel {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info-card,
    .contact-form-wrapper {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .networks-grid {
        gap: 12px;
    }

    .network-card {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stats .stat {
        text-align: center;
    }

    .phone-mockup {
        width: 280px;
        height: 480px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
