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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
}

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

/* Header Styles */
.header {
    background-color: #1a1a2e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h1 a {
    color: #e94560;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e94560;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    color: #e94560;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(45deg, #e94560, #f16e7e);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
    background-color: #0f0f23;
}

.calculator-section h2 {
    text-align: center;
    color: #e94560;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.calculator-description {
    text-align: center;
    color: #b0b0b0;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.calculator-container {
    background-color: #1a1a2e;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.input-section h3 {
    color: #e94560;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #e94560;
    padding-bottom: 0.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #333;
    border-radius: 6px;
    background-color: #2a2a3e;
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #e94560;
}

.calculate-button-container {
    text-align: center;
    margin: 2rem 0;
}

.calculate-button {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.calculate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Results Section */
.results-section {
    background-color: #16213e;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.results-section h3 {
    color: #e94560;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

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

.result-item {
    background-color: #1a1a2e;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    font-weight: 500;
    color: #b0b0b0;
}

.result-value {
    font-weight: bold;
    color: #e94560;
    font-size: 1.1rem;
}

.hidden {
    display: none;
}

/* About Preview Section */
.about-preview {
    padding: 4rem 0;
    background-color: #1a1a2e;
}

.about-preview h2 {
    color: #e94560;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about-preview p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.learn-more-btn {
    display: inline-block;
    background-color: #e94560;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.learn-more-btn:hover {
    background-color: #d63384;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #0f0f23;
}

.features h2 {
    color: #e94560;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.feature-item {
    background-color: #1a1a2e;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #e94560;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

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

.footer-section h3,
.footer-section h4 {
    color: #e94560;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a:hover {
    color: #e94560;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1a1a2e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .calculator-container {
        padding: 1rem;
    }

    .calculator-section,
    .about-preview,
    .features {
        padding: 2rem 0;
    }
}


/* Additional styles for About and other pages */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* About Content */
.about-content {
    padding: 4rem 0;
    background-color: #0f0f23;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-section {
    background-color: #1a1a2e;
    padding: 2rem;
    border-radius: 8px;
}

.content-section h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e94560;
    padding-bottom: 0.5rem;
}

.content-section p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

/* Trust Points */
.trust-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-item {
    background-color: #16213e;
    padding: 1.5rem;
    border-radius: 6px;
}

.trust-item h3 {
    color: #e94560;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.trust-item p {
    color: #b0b0b0;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #b0b0b0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: #e94560;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.feature-list strong {
    color: #e0e0e0;
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
    background-color: #1a1a2e;
    padding: 2rem;
    border-radius: 8px;
}

.faq-section h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.faq-item {
    background-color: #16213e;
    padding: 1.5rem;
    border-radius: 6px;
}

.faq-item h3 {
    color: #e94560;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #b0b0b0;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Active navigation link */
.nav-link.active {
    color: #e94560;
    font-weight: bold;
}

/* Contact Form Styles */
.contact-form {
    background-color: #1a1a2e;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #333;
    border-radius: 6px;
    background-color: #2a2a3e;
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}

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

.submit-button {
    background: linear-gradient(45deg, #e94560, #f16e7e);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

/* Contact Info */
.contact-info {
    background-color: #1a1a2e;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: #e94560;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.contact-info a {
    color: #e94560;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Guide Cards */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background-color: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.guide-card-content {
    padding: 1.5rem;
}

.guide-card h3 {
    color: #e94560;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.guide-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.guide-card .read-more {
    color: #e94560;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.guide-card .read-more:hover {
    color: #f16e7e;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
    background-color: #0f0f23;
}

.legal-content h2 {
    color: #e94560;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: #e0e0e0;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 2rem;
}

.legal-content a {
    color: #e94560;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for additional content */
@media screen and (max-width: 768px) {
    .trust-points {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
}


/* AdSense Ad Container Styles */
.ad-container {
    margin: 2rem 0;
    text-align: center;
    background-color: #1a1a2e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-container::before {
    content: "Advertisement";
    color: #666;
    font-size: 0.8rem;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

.header-ad {
    max-width: 728px;
    height: 90px;
    margin: 1rem auto;
}

.sidebar-ad {
    max-width: 300px;
    height: 250px;
    margin: 1rem 0;
}

.footer-ad {
    max-width: 728px;
    height: 90px;
    margin: 1rem auto;
}

.in-content-ad {
    max-width: 336px;
    height: 280px;
    margin: 2rem auto;
    float: right;
    margin-left: 2rem;
}

/* Responsive ad adjustments */
@media screen and (max-width: 768px) {
    .header-ad,
    .footer-ad {
        max-width: 320px;
        height: 50px;
    }
    
    .sidebar-ad {
        max-width: 300px;
        height: 250px;
    }
    
    .in-content-ad {
        float: none;
        margin: 2rem auto;
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .ad-container {
        margin: 1rem 0;
        padding: 0.5rem;
    }
    
    .header-ad,
    .footer-ad,
    .sidebar-ad,
    .in-content-ad {
        max-width: 100%;
        height: auto;
        min-height: 50px;
    }
}

/* SEO and Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #e94560;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* Improved focus indicators */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #e94560;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .ad-container,
    .nav-toggle {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
}

