/* Modern CSS Variables for Cool HD Colors */
:root {
    --primary-blue: #0066ff;
    --primary-blue-dark: #0052cc;
    --primary-blue-light: #3385ff;
    --accent-cyan: #00d4ff;
    --accent-teal: #00bfa5;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #1e293b;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-blue-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 102, 255, 0.9) 0%, rgba(0, 212, 255, 0.8) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.3);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100vw; /* Ensure body doesn't exceed viewport width */
    position: relative;
    color: var(--dark-gray);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden; /* Prevent horizontal overflow */
    box-sizing: border-box; /* Ensure padding is included in width */
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
}

h1 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h2 {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
}

h3 {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
}

h4 {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
}

/* Modern Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.btn-outline:hover {
    background: white;
    color: #333;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    color: #007bff;
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.nav-toggle {
    display: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(0, 86, 179, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    font-size: 1.2rem;
    color: #007bff;
    background: white;
    padding: 0.75rem;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: clamp(0.95rem, 2vw, 1.3rem);
}

.section-header p {
    color: #666;
    font-size: 0.9rem;
}

/* Packages Section */
.packages {
    padding: 5rem 0;
    background: #f8f9fa;
}

.package-category {
    margin-bottom: 4rem;
}

.package-category h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #007bff;
    font-size: 1.2rem;
}

.packages-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.package-card {
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: none;
    overflow: hidden;
    backdrop-filter: blur(10px);
    color: white;
}

.package-card:nth-child(1) {
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
}

.package-card:nth-child(2) {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E8E 50%, #FFB347 100%);
    transform: scale(1.05);
    z-index: 2;
}

.package-card:nth-child(3) {
    background: linear-gradient(135deg, #A8EDEA 0%, #667eea 100%);
}

.package-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.package-card:nth-child(2):hover {
    transform: scale(1.05) translateY(-12px);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.package-card.popular {
    border: none;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.65rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.package-header {
    text-align: left;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.package-header h4 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.period {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
}

.speed {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: fit-content;
}

.package-features ul {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.8rem;
}

.package-features i {
    color: white;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Router Info Section */
.router-info {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.router-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 500px;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.router-icon {
    margin-bottom: 1rem;
}

.router-icon i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.router-card h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.router-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.router-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.router-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
    font-size: 0.8rem;
}

.router-features i {
    color: var(--success-green);
    font-size: 0.7rem;
    background: rgba(16, 185, 129, 0.1);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.router-note {
    background: rgba(0, 102, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--primary-blue-dark);
    margin: 0;
    border-left: 4px solid var(--primary-blue);
}

/* Coverage Section */
.coverage {
    padding: 5rem 0;
}

.coverage-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.coverage-map {
    background: #f8f9fa;
    border-radius: 12px;
    height: 450px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.coverage-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.coverage-areas h3 {
    margin-bottom: 2rem;
    color: #333;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.area-group h4 {
    color: #007bff;
    margin-bottom: 1rem;
}

.area-group ul {
    list-style: none;
}

.area-group li {
    padding: 0.3rem 0;
    color: #666;
}

.coverage-note {
    background: #e7f3ff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stars {
    margin-bottom: 1.5rem;
}

.stars i {
    color: #ffc107;
    font-size: 1rem;
    margin-right: 0.2rem;
}

.testimonial-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.8rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: #007bff;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* Support Section */
.support {
    padding: 5rem 0;
}

.support-content {
    max-width: 1000px;
    margin: 0 auto;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    margin-bottom: 1rem;
}

.support-icon i {
    font-size: 2.2rem;
    color: #007bff;
}

.support-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.support-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.contact-form-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* FAQs */
.faqs-section h3 {
    margin-bottom: 2rem;
    color: #333;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    color: #333;
}

.faq-question i {
    color: #007bff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-description p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.8rem;
}

.about-features h3 {
    margin-bottom: 2rem;
    color: #333;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-features .feature-item i {
    font-size: 1.2rem;
    color: #007bff;
    margin-top: 0.2rem;
    background: none;
    padding: 0;
}

.about-features .feature-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.about-features .feature-item p {
    color: #666;
    font-size: 0.8rem;
}

/* Payment Info Section */
.payment-info {
    padding: 5rem 0;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.payment-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
}

.payment-card.featured {
    border: 2px solid #007bff;
    transform: scale(1.05);
}

.payment-icon {
    margin-bottom: 1rem;
}

.payment-icon i {
    font-size: 2.2rem;
    color: #007bff;
}

.payment-card h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.payment-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

.payment-steps {
    margin-top: 1.5rem;
    text-align: left;
}

.payment-steps p {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.payment-steps ol {
    color: #666;
    font-size: 0.8rem;
}

.payment-steps li {
    margin-bottom: 0.3rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-icon {
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: #007bff;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 1rem;
}

.whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

.contact-map {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container {
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.contact .map-placeholder {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.contact .map-placeholder i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.contact .map-placeholder h4 {
    margin-bottom: 1rem;
    color: #333;
}

/* Footer */
.footer {
    background: #222;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #007bff;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    /* Hero */
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    /* Typography */
    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 0.9rem;
    }

    /* Grid Layouts */
    .packages-row,
    .areas-grid,
    .about-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .coverage-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    /* Router Info */
    .router-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .router-icon i {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }

    /* Package Cards */
    .package-card.popular {
        transform: none;
    }

    .packages-row {
        gap: 1rem;
    }

    /* Testimonials */
    .testimonial-content {
        padding: 2rem 1.5rem;
    }

    /* Support */
    .support-options {
        grid-template-columns: 1fr;
    }

    /* Contact Form */
    .contact-form-section {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Floating Buttons */
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
    }

    .whatsapp-float a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .back-to-top {
        bottom: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }

    /* Coverage Map Mobile */
    .coverage-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .package-card,
    .support-card,
    .contact-card,
    .payment-card {
        padding: 1.5rem;
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .back-to-top,
    .carousel-controls {
        display: none;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    body {
        font-size: 10pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }

    .package-card {
        border: 2px solid #333;
    }

    .nav-link:hover,
    .footer-section ul li a:hover {
        background: #007bff;
        color: white;
        padding: 0.2rem 0.5rem;
        border-radius: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .whatsapp-float a {
        animation: none;
    }
}

/* Mobile Overflow Prevention - Critical for preventing horizontal scroll */
@media (max-width: 768px) {
    /* Ensure all sections stay within viewport */
    section, div, header, footer, main, article, aside, nav {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Prevent specific elements from causing overflow */
    .packages-row,
    .hero-content,
    .about-content,
    .contact-content,
    .footer-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure text doesn't break layout */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    /* Fix potential button overflow */
    .btn, button, input, select, textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure images don't overflow */
    img, iframe, video {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    /* Fix grid layouts on mobile */
    .packages-grid,
    .support-options,
    .contact-info,
    .footer-content {
        display: block;
        width: 100%;
    }
    
    /* Ensure forms don't overflow */
    .contact-form,
    .form-row,
    .form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Prevent navigation overflow */
    .nav-menu {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix table overflow */
    table {
        width: 100%;
        table-layout: fixed;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    /* Ensure WhatsApp button doesn't cause overflow */
    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        position: fixed;
    }
}

/* Additional safety measures for all screen sizes */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure viewport units don't cause overflow */
.hero,
.hero-content,
section {
    max-width: 100vw;
    overflow-x: hidden;
}
