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

html {
    /* Smooth scrolling for mobile */
    scroll-behavior: smooth;
    /* Prevent horizontal scroll */
    overflow-x: hidden;
    /* Better font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    /* Prevent horizontal scroll */
    overflow-x: hidden;
    /* Better touch scrolling on iOS */
    -webkit-overflow-scrolling: touch;
    /* Prevent zoom on double tap */
    touch-action: manipulation;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.logo .tagline {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    margin: 0;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
    /* Touch-friendly improvements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    /* Better touch targets */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #4834d4, #686de0);
    color: white;
    box-shadow: 0 8px 25px rgba(72, 52, 212, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(72, 52, 212, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 60px 0;
    background: #f8f9fa;
}

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

.about-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f2ff);
    border: 1px solid #e0e7ff;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    color: white;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.step p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact & Location Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.map-container {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 15px;
}

.map-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Disclaimer Section */
.disclaimer {
    padding: 3rem 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

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

.disclaimer-content h3 {
    color: #495057;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.disclaimer-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-text {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-disclaimer {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Mobile First Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    /* Contact section tablet optimization */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-item {
        padding: 1.3rem;
    }
    
    .map-wrapper iframe {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 0.8rem 0;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .logo .tagline {
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
        font-size: 1.1rem;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .stats {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        padding: 1.2rem 1rem;
        min-width: 120px;
        flex: 1;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .about {
        padding: 50px 0;
    }
    
    .about-content {
        padding: 0 10px;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .features, .how-it-works, .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .disclaimer {
        padding: 2rem 0;
    }
    
    .disclaimer-content {
        padding: 0 10px;
    }
    
    .disclaimer-content h3 {
        font-size: 1.3rem;
    }
    
    .disclaimer-content h4 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .disclaimer-content ul {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .disclaimer-content p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    .footer-disclaimer {
        font-size: 0.75rem;
        padding: 0 10px;
    }
    
    /* Contact section mobile optimization */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        font-size: 1.8rem;
        min-width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .map-container {
        padding: 1rem;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .map-note {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .header {
        padding: 0.6rem 0;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo .tagline {
        font-size: 0.7rem;
    }
    
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }
    
    .cta-buttons {
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 1.1rem;
        min-height: 52px;
    }
    
    .stats {
        gap: 0.8rem;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .about-content {
        padding: 0 5px;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .features, .how-it-works, .cta-section {
        padding: 50px 0;
    }
    
    .feature-card {
        padding: 1.2rem;
        margin: 0 5px;
    }
    
    .feature-icon {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .step {
        padding: 1.2rem;
        margin: 0 5px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        padding: 0 5px;
        margin-bottom: 0.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 5px;
        margin-bottom: 1.5rem;
    }
    
    .disclaimer {
        padding: 1.5rem 0;
    }
    
    .disclaimer-content {
        padding: 0 5px;
    }
    
    .disclaimer-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .disclaimer-content h4 {
        font-size: 1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .disclaimer-content ul {
        font-size: 0.85rem;
        line-height: 1.5;
        padding-left: 1.2rem;
    }
    
    .disclaimer-content ul li {
        margin-bottom: 0.5rem;
    }
    
    .disclaimer-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
    
    .footer {
        padding: 1.2rem 0;
    }
    
    .footer-links {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
        padding: 0 5px;
        line-height: 1.4;
    }
    
    .footer-disclaimer {
        font-size: 0.7rem;
        padding: 0 5px;
    }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn {
        max-width: 260px;
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .feature-card, .step {
        margin: 0;
        padding: 1rem;
    }
    
    .disclaimer-content ul {
        padding-left: 1rem;
    }
    
    /* Contact section extra small screens */
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        font-size: 1.6rem;
        min-width: 45px;
        height: 45px;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }
    
    .map-container {
        padding: 0.8rem;
    }
    
    .map-wrapper iframe {
        height: 200px;
    }
    
    .map-note {
        font-size: 0.75rem;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content > *:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-content > *:nth-child(4) {
    animation-delay: 0.6s;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Touch and Focus States */
.btn:focus,
.btn:active {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    transform: scale(0.98);
}

/* Touch feedback for all interactive elements */
a, button, .btn, .feature-card, .step, .stat-item {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease;
}

a:active, button:active, .btn:active, .feature-card:active, .step:active, .stat-item:active {
    transform: scale(0.98);
}

/* Better link styling for mobile */
a {
    color: inherit;
    text-decoration: none;
    /* Prevent blue highlight on iOS */
    -webkit-tap-highlight-color: transparent;
}

/* Improved readability on mobile */
p, li {
    /* Better line spacing for mobile reading */
    line-height: 1.7;
}

/* Prevent text selection on buttons and interactive elements */
.btn, .stat-item, .feature-card, .step {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mobile-specific optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .btn:hover, .feature-card:hover, .step:hover, .stat-item:hover {
        transform: none;
        box-shadow: inherit;
    }
    
    /* Optimize for touch devices */
    .btn-primary:hover {
        animation: none;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Optimize gradients for mobile */
    .hero::before {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    }
    
    /* Reduce shadow complexity on mobile */
    .btn-primary {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    
    .btn-secondary {
        box-shadow: 0 4px 15px rgba(72, 52, 212, 0.3);
    }
}

/* Loading Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-primary:hover {
    animation: pulse 0.6s ease-in-out;
}

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