/* CSS Variables for consistent theming - Navy Blue & Deep Orange */
:root {
    --primary: #1a237e; /* Navy Blue */
    --primary-light: #534bae;
    --primary-dark: #000051;
    --secondary: #ff5722; /* Deep Orange */
    --secondary-light: #ff8a50;
    --secondary-dark: #c41c00;
    --accent: #e64a19;
    --light: #f5f5f5;
    --dark: #263238;
    --gray: #757575;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --bg-color: #fafafa;
    --text-color: #212121;
    --card-bg: white;
    --border-radius: 10px;
    --section-padding: 5rem 0;
}

/* Dark Mode Variables */
.dark-mode {
    --primary: #5c6bc0;
    --primary-light: #8e99f3;
    --primary-dark: #26418f;
    --secondary: #ff7043;
    --secondary-light: #ffa270;
    --secondary-dark: #c63f17;
    --accent: #ff8a65;
    --light: #37474f;
    --dark: #eceff1;
    --gray: #b0bec5;
    --bg-color: #263238;
    --text-color: #eceff1;
    --card-bg: #37474f;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image Placeholder Styles */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.placeholder-text {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1rem;
}

/* Header Styles */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.dark-mode .sticky {
    background-color: rgba(55, 71, 79, 0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 5px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--secondary);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--secondary);
    background-color: rgba(0, 0, 0, 0.05);
    transform: rotate(30deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.9)), url('assets/images/heroimage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 87, 34, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 35, 126, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 87, 34, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.dark-mode .hero {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.9)), url('assets/images/heroimage.jpg');
}

.hero h1 {
    font-size: 3.5rem;
    padding-top: 60px;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Enhanced Hero Buttons */
.hero .btn-secondary {
    position: relative;
    overflow: hidden;
}

.hero .btn-secondary::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: left 0.5s;
}

.hero .btn-secondary:hover::before {
    left: 100%;
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 87, 34, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 35, 126, 0.1);
    border-radius: 50%;
}

.value-card h4 {
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    border-top-color: var(--secondary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 87, 34, 0.1);
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--gray);
}

/* How It Works Section */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--secondary);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 1rem;
    min-width: 200px;
    margin-bottom: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.step p {
    color: var(--gray);
}

/* Membership Tiers */
.tiers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tier-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tier-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.2);
}

.tier-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.tier-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 10px;
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.tier-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.tier-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Savings Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    padding: 2rem;
    border-left: 5px solid var(--secondary);
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.plan-card p {
    color: var(--gray);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--card-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--light);
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray);
}

/* Testimonials */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    background-color: var(--card-bg);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background-color: var(--light);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.contact-item p, .contact-item a {
    color: var(--gray);
    margin: 0;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-links li i {
    margin-right: 10px;
    color: var(--secondary);
    width: 16px;
}

.footer-links a {
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.floating-btn:hover::before {
    opacity: 1;
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.phone {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.floating-btn.chat {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.floating-label {
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    position: absolute;
    right: 70px;
    white-space: nowrap;
}

.floating-btn:hover .floating-label {
    opacity: 1;
}

/* Form Message */
#formMessage {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

/* Loading Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step {
        padding: 0;
    }
    
    .tier-card.popular {
        transform: none;
    }
    
    .tier-card.popular:hover {
        transform: translateY(-10px);
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        position: relative;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-cta {
        display: none;
        width: 100%;
        justify-content: flex-start;
        margin-top: 1rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .nav-cta.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 1;
    }
    
    .nav-cta .theme-toggle {
        order: 2;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Improved mobile buttons */
    .hero-cta .btn,
    .nav-cta .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.2rem 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-label {
        right: 60px;
    }
    
    /* Fix button stacking in other sections */
    .steps-container + div .btn,
    .tiers-container + div .btn,
    .plans-grid + div .btn,
    .testimonials-container + div .btn {
        display: inline-block;
        width: auto;
        min-width: 160px;
        margin: 0.5rem;
    }
    
    .features-grid,
    .services-grid,
    .values-grid,
    .tiers-container,
    .plans-grid,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .nav-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .floating-cta {
        bottom: 15px;
        right: 15px;
    }
}

/* Additional improvements for very small screens */
@media (max-width: 400px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .hero-cta .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .card {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .floating-cta,
    .mobile-menu-btn,
    .theme-toggle,
    .hero-cta .btn-outline {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
    
    .hero h1 {
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .btn {
        display: none !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000080;
        --secondary: #ff4500;
        --shadow: 0 0 0 1px black;
    }
    
    .card {
        border: 1px solid black;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Form Error Styles */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-control.error {
    border-color: #dc3545;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .floating-cta,
    .mobile-menu-btn,
    .theme-toggle,
    .hero-cta .btn-outline {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
    
    .hero h1 {
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .btn {
        display: none !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    .contact-form {
        display: none !important;
    }
}
