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

:root {
    --navy-blue: #001f3f;
    --navy-light: #003d7a;
    --navy-dark: #001529;
    --gold: #FFD700;
    --gold-light: #FFE44D;
    --gold-dark: #DAA520;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    background: var(--navy-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.nav-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

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

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-blue);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

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

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

.btn-full {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* Sections */
.section {
    margin-bottom: 3rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 31, 63, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Links Section */
.links-section {
    padding: 5rem 0;
}

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

.link-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.link-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 31, 63, 0.1);
}

.link-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.link-icon svg {
    width: 36px;
    height: 36px;
    color: var(--gold);
}

.link-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.75rem;
}

.link-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Main Content Layout */
.main-content {
    padding: 3rem 0;
}

.sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.sidebar-sticky {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-link {
    color: var(--gray-600);
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.sidebar-link:hover {
    background: var(--gray-50);
    color: var(--navy-blue);
    padding-left: 1.5rem;
}

.content {
    flex: 1;
    min-width: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.05), rgba(0, 61, 122, 0.05));
    border-left: 4px solid var(--navy-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.warning-box {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(255, 215, 0, 0.1));
    border-left: 4px solid var(--gold-dark);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
}

.info-card h3 {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.service-card h4 {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.service-link:hover {
    color: var(--navy-blue);
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.security-item {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
}

.security-item h4 {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.security-item p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
}

.right-item h4 {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.right-item p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Contact Section */
.contact-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
}

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

.contact-item p {
    color: var(--gray-600);
}

.contact-item a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--navy-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-light));
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
}

.cta-section h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    border: 2px solid var(--gray-200);
}

.contact-method-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

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

.contact-method p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.contact-method a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 500;
}

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

.response-time {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq-section h3 {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid var(--gray-200);
}

.faq-item h4 {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Contact Form */
.contact-form-container h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

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

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

.form-group label {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

.form-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 1rem;
    line-height: 1.6;
}

.form-note a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 500;
}

.form-note a:hover {
    color: var(--navy-blue);
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

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

.footer-section h4 {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transition: all 0.3s;
    z-index: 999;
}

.scroll-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-4px);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: var(--navy-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container-wide {
        flex-direction: column;
    }
    
    .sidebar {
        position: relative;
        top: 0;
        flex: 1;
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Hide table of contents on mobile */
    .sidebar {
        display: none;
    }
    
    /* Mobile menu */
    .menu-toggle {
        display: flex;
        padding: 12px;
        margin: -8px;
    }
    
    .menu-toggle span {
        width: 28px;
        height: 3px;
        border-radius: 2px;
    }
    
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, var(--navy-blue) 0%, var(--navy-dark) 100%);
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-link {
        width: 100%;
        padding: 1.25rem 1rem;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 4px solid transparent;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        /* Touch-friendly tap target */
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 215, 0, 0.15);
        border-left-color: var(--gold);
        border-bottom-color: transparent;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    /* Section Headings Mobile */
    .section-heading {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.375rem;
        line-height: 1.3;
    }
    
    .subsection-title {
        font-size: 1.25rem;
    }
    
    /* Features Section Mobile */
    .features-section {
        padding: 3rem 0;
    }
    
    .features-grid,
    .links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card,
    .link-card {
        padding: 1.5rem;
        border-radius: 16px;
        /* Touch feedback */
        -webkit-tap-highlight-color: rgba(255, 215, 0, 0.2);
    }
    
    .feature-card:active,
    .link-card:active {
        transform: scale(0.98);
    }
    
    .feature-icon,
    .link-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    
    .feature-icon svg,
    .link-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.9375rem;
    }
    
    /* Content Area Mobile */
    .main-content {
        padding: 2rem 0;
    }
    
    .content p {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 1rem;
    }
    
    /* Info Boxes Mobile */
    .info-box,
    .warning-box {
        padding: 1.25rem;
        border-radius: 12px;
        margin: 1.25rem 0;
    }
    
    .info-box h4,
    .warning-box h4 {
        font-size: 1rem;
    }
    
    /* Grid Layouts Mobile */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .info-card h3 {
        font-size: 1.125rem;
    }
    
    /* Service Grid Mobile */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    /* Security Features Mobile */
    .security-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .security-item {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    /* Rights Grid Mobile */
    .rights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .right-item {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    /* Contact Section Mobile */
    .contact-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        border-radius: 12px;
        /* Touch-friendly */
        min-height: 80px;
    }
    
    .contact-item a {
        font-size: 1rem;
        word-break: break-word;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn:active {
        transform: scale(0.97);
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.125rem;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1.5rem;
    }
    
    .footer-links li {
        margin: 0;
    }
    
    .footer-links a {
        padding: 0.5rem 0;
        display: inline-block;
        /* Touch-friendly */
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Scroll to Top Mobile */
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
    }
    
    /* Feature List Mobile */
    .feature-list li {
        padding: 0.625rem 0;
        padding-left: 1.5rem;
        font-size: 0.9375rem;
    }
    
    /* Form Elements Mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevent iOS zoom on focus */
        border-radius: 12px;
        min-height: 48px;
    }
    
    .form-group label {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 0.9375rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .container,
    .container-wide {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .feature-card,
    .link-card,
    .info-card,
    .service-card,
    .security-item,
    .right-item {
        padding: 1rem;
    }
    
    /* Make text easier to read on small screens */
    body {
        font-size: 15px;
    }
    
    .content p,
    .feature-card p,
    .info-box p,
    .warning-box p {
        font-size: 0.9375rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover states that don't work well on touch */
    .feature-card:hover,
    .link-card:hover,
    .service-card:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .feature-card:active,
    .link-card:active,
    .service-card:active {
        transform: scale(0.98);
        border-color: var(--gold);
    }
    
    /* Larger touch targets */
    .nav-link,
    .sidebar-link,
    .footer-links a {
        min-height: 44px;
    }
    
    /* Better scrolling */
    .nav-links {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

/* Safe Area for Notched Devices */
@supports (padding: max(0px)) {
    .navbar {
        padding-top: max(1rem, env(safe-area-inset-top));
    }
    
    .footer {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
    
    .scroll-to-top {
        bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1rem));
        right: max(1.5rem, env(safe-area-inset-right));
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
