/* Landing Pages-specific styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    min-width: 180px;
}

.hero .btn-light {
    color: #667eea;
}

.hero .btn-outline-light {
    border-width: 2px;
}

.hero img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-header .lead {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 1rem;
}

.testimonial-author h5 {
    margin: 0;
    color: #333;
}

.testimonial-author p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
}

.pricing-features li i {
    color: #28a745;
    margin-right: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 2rem;
    }
    
    .hero img {
        margin-top: 2rem;
    }
    
    /* Mobile button spacing */
    .hero .d-flex .btn {
        margin-bottom: 1rem !important;
        width: 100%;
    }
    
    .hero .d-flex .btn:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Mobile CTA button spacing */
    .d-flex.justify-content-center .btn {
        margin-bottom: 1rem !important;
        width: 100%;
    }
    
    .d-flex.justify-content-center .btn:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Testimonial card spacing on mobile */
    .row.g-4 .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Feature icon fixes for mobile */
    .feature-icon {
        flex-shrink: 0 !important;
        min-width: 80px !important;
        min-height: 80px !important;
        width: 80px !important;
        height: 80px !important;
    }
    
    /* Features page d-flex layout fixes */
    .d-flex .feature-icon {
        margin-right: 1.5rem !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Mobile navbar button spacing */
    .navbar-nav .nav-item .btn {
        margin-bottom: 0.5rem !important;
        width: 100%;
    }
    
    .navbar-nav .nav-item:last-child .btn {
        margin-bottom: 0 !important;
    }
}

/* Only apply full-width buttons on mobile/tablet when navbar is collapsed */
@media (max-width: 991px) {
    .navbar-nav .nav-item .btn {
        margin-bottom: 0.5rem !important;
        width: auto;
        display: block;
        max-width: 200px;
    }
    
    .navbar-nav .nav-item:last-child .btn {
        margin-bottom: 0 !important;
    }
}

/* Reset to normal button behavior on desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item .btn {
        margin-bottom: 0 !important;
        width: auto;
    }
}

/* Medium desktop screens - fix layout just below 1200px */
@media (min-width: 992px) and (max-width: 1199px) {
    .py-5 .container {
        max-width: 900px;
    }
    
    .d-flex .feature-icon {
        min-width: 70px !important;
        min-height: 70px !important;
        width: 70px !important;
        height: 70px !important;
    }
}

/* Navbar styling for landing pages */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
}

.navbar-nav .btn {
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
}

.navbar-nav .btn-outline-primary {
    margin-right: 1.0rem !important;
}

/* Hero section button spacing */
.hero .btn-light {
    margin-right: 1.0rem !important;
}

/* CTA section button spacing */
section .btn-primary {
    margin-right: 1.0rem !important;
}

/* Features page icon spacing */
.d-flex .feature-icon {
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Features page list item spacing */
.fa-check {
    margin-right: 0.5rem !important;
}

/* Contact page form spacing */
.contact-form .form-control {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Contact page dropdown specific spacing */
.contact-form select.form-control {
    padding: 0.75rem 1rem !important;
    line-height: 1.5 !important;
    height: auto !important;
}

/* Contact page send icon spacing */
.btn .fa-paper-plane {
    margin-right: 0.5rem !important;
}

/* About page button spacing */
.about-section .btn-primary {
    margin-right: 1.0rem !important;
}

/* Values section icon fix */
.values-section .d-flex .feature-icon {
    flex-shrink: 0 !important;
    min-width: 80px !important;
    min-height: 80px !important;
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Footer styling */
footer {
    background: #1a1a1a !important;
}

footer h5, footer h6 {
    color: white !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
}

footer .form-control {
    border-radius: 50px;
    border: 1px solid #444;
    background: #333;
    color: white;
}

footer .form-control::placeholder {
    color: #999;
}

footer .form-control:focus {
    background: #444;
    border-color: #667eea;
    color: white;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
