/* ============================================
   ChyraConnect - Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #E0E7FF;
    --secondary: #10B981;
    --secondary-dark: #059669;
    --accent: #F59E0B;
    --dark: #1F2937;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --danger: #EF4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Navigation
   ============================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--dark);
    border-bottom: 1px solid var(--light-gray);
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */

.page-header {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #F0F4FF 0%, #E8FDF5 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-alt {
    background: var(--light-gray);
}

.section-dark {
    background: linear-gradient(135deg, var(--dark) 0%, #374151 100%);
    color: white;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   Cards
   ============================================ */

.card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   Grid Layouts
   ============================================ */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

/* ============================================
   Legal Pages
   ============================================ */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--dark);
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--gray);
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content .last-updated {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* ============================================
   Rates Page
   ============================================ */

.rates-search {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.rates-search input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.rates-search input:focus {
    border-color: var(--primary);
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.rates-table th,
.rates-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.rates-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.rates-table tr:nth-child(even) {
    background: var(--light-gray);
}

.rates-table tr:hover {
    background: var(--primary-light);
}

.rate-flag {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.rate-price {
    font-weight: 700;
    color: var(--secondary);
}

/* ============================================
   About Page
   ============================================ */

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), #D1FAE5);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--gray);
}

/* ============================================
   Careers Page
   ============================================ */

.job-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.job-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.job-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.perk-item {
    text-align: center;
    padding: 2rem;
}

.perk-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.perk-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.perk-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--gray);
    margin-left: 2.25rem;
}

/* ============================================
   Help/FAQ Page
   ============================================ */

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--gray);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-question {
    background: var(--primary-light);
    color: var(--primary);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0,0,0,0.3);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.app-btn:hover {
    background: rgba(0,0,0,0.5);
    transform: translateY(-3px);
}

.app-btn-icon {
    font-size: 1.75rem;
}

.app-btn-text {
    text-align: left;
}

.app-btn-text small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-btn-text strong {
    font-size: 1.1rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .grid-4, .stats-grid, .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-hero {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .grid-2, .grid-3, .grid-4, .stats-grid, .team-grid, .perks-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .job-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .job-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* App Store Badges */
.store-badge{display:inline-block;transition:transform 0.3s,opacity 0.3s}
.store-badge:hover{transform:translateY(-3px);opacity:0.9}
.store-badge img{height:50px;width:auto}
.app-buttons{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}

/* Logo Image Styles */
.logo-img {
    height: 40px;
    width: auto;
    margin-right: 8px;
}
.logo {
    display: flex;
    align-items: center;
}
.footer-brand .logo-img {
    height: 35px;
}
.logo-img{height:45px;width:auto;}
.logo-img{height:45px;width:auto;}

/* Rates Table Styles */
.rates-search {
    margin-bottom: 2rem;
}
.search-input {
    width: 100%;
    max-width: 400px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s;
}
.search-input:focus {
    border-color: var(--primary);
}
.rates-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.rates-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
}
.rate-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
}
.rate-row:last-child {
    border-bottom: none;
}
.rate-row:hover {
    background: #f9fafb;
}
@media (max-width: 600px) {
    .rates-header, .rate-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}
