﻿/* VCEMentora - Main Stylesheet */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

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

.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-dark) !important;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: -1;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card .description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-learn-more {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: auto;
}

.btn-learn-more:hover {
    color: var(--primary-light);
}

/* Highlight Cards */
.highlight-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.highlight-card:hover .icon-wrapper {
    transform: rotateY(180deg);
}

/* Feature Cards (Tutors Page) */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

/* Step Cards */
.step-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.step-icon {
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

/* Step Numbers */
.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
}

/* How to Choose Section Step Numbers */
.step-card .step-number {
    width: 40px;
    height: 40px;
    background: #6f42c1; /* Solid purple color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    transition: all 0.3s ease;
}

.step-card .step-number:hover {
    transform: scale(1.05);
    background: #5a32a3; /* Darker purple on hover */
}

/* Tab Styling */
.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    background: none;
    border: none;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: none;
    border: none;
    border-bottom: 3px solid var(--primary);
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.stars {
    color: var(--primary-accent);
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

/* Footer */
footer {
    background: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-accent);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Newsletter Form */
.newsletter-form .form-control {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(174, 123, 226, 0.25);
}

.newsletter-form .btn {
    border: 1px solid var(--primary-accent);
    transition: all 0.3s ease;
}

.services-hero-text {
    opacity: 0.9;
}

.services-hero-img {
    max-height: 360px;
}

.subject-card {
    display: flex;
    flex-direction: column;
}

.subject-card .subject-topics {
    flex-grow: 1;
}

.subject-li {
    cursor: pointer;
    padding: 2px 0;
    transition: color 0.2s;
}

.subject-li:hover {
    color: var(--primary-dark);
}

.subject-popover {
    max-width: 380px;
}

.subject-popover .popover-header {
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--primary-dark);
    color: #fff;
    padding: 0.75rem 1rem;
}

.subject-popover .popover-body {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary-accent);
    box-shadow: 0 2px 4px rgba(242, 195, 20, 0.2);
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.form-control {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(174, 123, 226, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-gray);
    margin-bottom: 0;
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        margin-bottom: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error Messages */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--error);
    border-left: 4px solid var(--error);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
} 
 
 
 