/* Page-specific styles for Features page */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero {
    text-align: center;
    margin-bottom: 80px;
}

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

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

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

.cta-section {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--primary), #5dade2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: white;
}

/* Contact Modal Styles - FIXED */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.contact-modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.contact-modal-header {
    background: linear-gradient(45deg, var(--primary), #5dade2);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-modal-body {
    padding: 30px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-option {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.contact-option h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-option p {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.email-btn {
    background: var(--success);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.email-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.copy-email-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

.copy-email-section input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    background: white;
    font-family: monospace;
    font-size: 14px;
}

.copy-btn {
    background: var(--warning);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #e67e22;
    transform: translateY(-1px);
}

.copy-btn.copied {
    background: var(--success);
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 40px 15px;
    }

    .contact-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .copy-email-section {
        flex-direction: column;
    }

    .copy-email-section input {
        width: 100%;
        margin-bottom: 10px;
    }

    .copy-btn {
        width: 100%;
    }
}
