/* 
* MentoraChat Landing Page Styles
* Bootstrap 5.3 Custom Styles
*/

/* Global Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a41e0;
    --dark-color: #2d2b55;
    --light-color: #f8f9fa;
    --text-color: #4a4a4a;
    --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #4a41e0 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #777;
}

.btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1rem;
}

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px;
    margin: 0 5px;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.btn-download {
    background: var(--gradient-primary);
    color: white !important;
    border-radius: 30px;
    padding: 8px 20px !important;
}

.btn-download:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

/* Hero Section */
.hero-section {
    background-color: #f5f7ff;
    position: relative;
    overflow: hidden;
    padding-top: 130px;
    padding-bottom: 30px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

/* Countdown Section */
.countdown-section {
    background-color: white;
    padding: 30px 0px;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.countdown-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.countdown-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.countdown-container {
    margin: 30px auto;
    max-width: 500px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.countdown-value:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 0 0;
}

.countdown-unit {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-top: 10px;
}

@media (max-width: 576px) {
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 65px;
    }
    
    .countdown-value {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
}

.hero-buttons {
    margin-top: 40px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-wave {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
}

/* Features Section */
.features-section {
    background-color: white;
    padding: 0;
}

.feature-item {
    margin-bottom: 30px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #777;
}

/* Categories Section */
.categories-section {
    background-color: #f5f7ff;
}

.category-item {
    margin-bottom: 30px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 35px;
    color: white;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.category-list li:last-child {
    border-bottom: none;
}

/* Instant Messaging Section */
.instant-messaging-section {
    background-color: #f5f7ff;
    padding: 100px 0;
    position: relative;
}

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

.messaging-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.messaging-features {
    margin-top: 30px;
}

.messaging-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.messaging-feature i {
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.messaging-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.messaging-feature p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.messaging-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.messaging-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

@media (max-width: 991px) {
    .messaging-image {
        margin-bottom: 50px;
        text-align: center;
    }
    
    .messaging-image img {
        max-width: 80%;
    }
}

/* App Preview Section */
.app-preview-section {
    background-color: white;
    padding: 80px 0;
    overflow: hidden;
}

.app-feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.app-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
}

.app-feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.app-feature-icon i {
    font-size: 35px;
    color: white;
}

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

.app-feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f5f7ff;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 18px;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    padding: 20px;
    background-color: white;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(108, 99, 255, 0.1);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c63ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px;
    color: #666;
}

/* Download Section */
.download-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.download-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-buttons {
    margin-top: 30px;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

.download-image img {
    max-height: 500px;
    animation: float 3s ease-in-out infinite;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.footer h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-about p {
    margin-bottom: 25px;
    opacity: 0.8;
}

.social-links {
    display: flex;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-newsletter form {
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright p {
    margin: 0;
    opacity: 0.7;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-image {
        margin-top: 50px;
        text-align: center;
    }
    
    .app-screens {
        height: 400px;
        margin-bottom: 50px;
    }
    
    .screen-1, .screen-2 {
        position: relative;
        display: inline-block;
        max-width: 45%;
        top: 0;
        left: 0;
    }
    
    .screen-2 {
        left: -30px;
    }
    
    .download-image {
        margin-top: 50px;
        text-align: center;
    }
    
    .footer-about, .footer-links, .footer-newsletter {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        margin-right: 0 !important;
    }

    .countdown-section {
        padding-top: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .feature-card, .category-card, .testimonial-card {
        margin-bottom: 30px;
    }
    
    .app-screens {
        height: 300px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 575px) {
    .countdown-section {
        padding-top: 30px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn:last-child {
        margin-right: 0;
    }
    
    .download-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
}
