/* FinHub Page Styles */

/* Hero Section */
.finhub-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.finhub-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.finhub-hero .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.finhub-hero .gradient-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.4) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.finhub-hero .gradient-orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.4) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.finhub-hero .gradient-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.4) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.finhub-hero .floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.finhub-hero .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.finhub-hero .particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.finhub-hero .particle:nth-child(2) { top: 40%; right: 30%; animation-delay: 1s; }
.finhub-hero .particle:nth-child(3) { top: 60%; left: 40%; animation-delay: 2s; }
.finhub-hero .particle:nth-child(4) { top: 80%; right: 20%; animation-delay: 3s; }
.finhub-hero .particle:nth-child(5) { top: 30%; left: 60%; animation-delay: 4s; }
.finhub-hero .particle:nth-child(6) { top: 70%; right: 50%; animation-delay: 5s; }
.finhub-hero .particle:nth-child(7) { top: 50%; left: 80%; animation-delay: 6s; }
.finhub-hero .particle:nth-child(8) { top: 90%; left: 10%; animation-delay: 7s; }

.finhub-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero badge styles now use universal styles from main.css */
/* Special override for FinHub dark background to ensure visibility */
.finhub-hero .hero-badge {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 25%, 
        rgba(255, 255, 255, 0.98) 50%, 
        rgba(241, 245, 249, 0.95) 75%, 
        rgba(255, 255, 255, 0.98) 100%);
    color: var(--primary-color);
    border: 2px solid rgba(30, 64, 175, 0.4);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.2),
        0 8px 32px rgba(30, 64, 175, 0.15),
        0 4px 16px rgba(5, 150, 105, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.finhub-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.finhub-hero .gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.finhub-hero .hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.finhub-hero .hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Overview Section */
.services-overview {
    padding: 100px 0;
    background: #f8fafc;
    width: 100%;
}

.services-overview .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.services-overview .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.services-overview .service-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.services-overview .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
}

.services-overview .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 64, 175, 0.2);
}

.services-overview .service-card.premium {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border: 2px solid #fbbf24;
    position: relative;
    overflow: hidden;
}

.services-overview .service-card.premium::before {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.services-overview .service-card.premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: rotate 4s linear infinite;
    z-index: 1;
}

.services-overview .service-card.premium .service-icon,
.services-overview .service-card.premium .service-content {
    position: relative;
    z-index: 2;
}

.services-overview .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 2rem;
}

.services-overview .service-card.premium .service-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.services-overview .service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1e293b;
}

.services-overview .service-card.premium .service-content h3 {
    color: white;
}

.services-overview .service-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1rem;
}

.services-overview .service-card.premium .service-content p {
    color: rgba(255, 255, 255, 0.8);
}

.services-overview .service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.services-overview .feature-tag {
    background: rgba(30, 64, 175, 0.1);
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.services-overview .service-card.premium .feature-tag {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.services-overview .service-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.services-overview .service-card.premium .service-link {
    color: #fbbf24;
}

.services-overview .service-link:hover {
    transform: translateX(4px);
}

/* Ensure services section is fully responsive */
@media (max-width: 768px) {
    .services-overview .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .services-overview .services-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 40px 0 0 0;
    }
    
    .services-overview .service-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .services-overview .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .services-overview .services-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
        gap: 15px;
    }
    
    .services-overview .service-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }
}

/* Course Section */
.courses {
    background: var(--bg-primary);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    min-height: 100px !important;
}

.courses-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: var(--spacing-2xl) !important;
    margin-top: var(--spacing-3xl) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.course-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mentorship Section */
.mentorship {
    padding: 100px 0;
    background: white;
    width: 100%;
}

.mentorship .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.mentorship .mentorship-grid {
    margin-top: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.mentor-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.4s ease;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
}

.mentor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.mentor-card.featured {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #3b82f6;
}

.mentor-image {
    position: relative;
    height: 400px;
    width: 350px !important;
    min-width: 350px !important;
    max-width: 350px !important;
    overflow: hidden;
    flex-shrink: 0 !important;
    box-sizing: border-box;
}

.mentor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mentor-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mentor-badges .badge {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mentor-badges .badge.sebi {
    border: 2px solid #10b981;
}

.mentor-badges .badge.nse {
    border: 2px solid #3b82f6;
}

.mentor-content {
    padding: 40px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.mentor-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.mentor-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.mentor-bio {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
    font-size: 1rem;
}

.mentor-credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.credential {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: 0.9rem;
}

.credential i {
    color: #10b981;
    font-size: 1rem;
}

.mentor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(30, 64, 175, 0.05);
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.mentor-stats .stat {
    text-align: center;
}

.mentor-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 8px;
}

.mentor-stats .stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Roadmap Section */
.roadmap {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.roadmap .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.roadmap .section-title {
    color: white;
    margin-bottom: 20px;
}

.roadmap .section-title::after {
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
}

.roadmap .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.roadmap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.roadmap-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.roadmap-item:hover::before {
    transform: scaleX(1);
}

.roadmap-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.roadmap-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 2rem;
}

.roadmap-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.roadmap-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.roadmap-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.roadmap-features span {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Q&A Section */
.qa-section {
    padding: 100px 0;
    background: #f8fafc;
}

.qa-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.qa-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(30, 64, 175, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.qa-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    transition: background-color 0.3s ease;
}

.qa-question:hover {
    background: #f8fafc;
}

.qa-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.qa-question i {
    color: #64748b;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.qa-item.active .qa-question i {
    transform: rotate(180deg);
}

.qa-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-item.active .qa-answer {
    padding: 0 32px 24px;
    max-height: 200px;
}

.qa-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.contact-info p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

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

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Comprehensive Responsive Design for FinHub Page */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .finhub-hero .container {
        max-width: 1400px;
        padding: 0 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
        width: 100%;
        padding: 0;
    }
    
    .service-card {
        width: 100%;
        max-width: none;
    }
    
    .mentorship-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
        width: 100%;
        padding: 0;
    }
    
    .mentor-card {
        width: 100%;
        max-width: none;
    }
    
    .roadmap-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px;
    }
    
    .qa-container {
        max-width: 1000px;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

/* Desktop (1025px - 1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
    .finhub-hero .container {
        max-width: 1200px;
        padding: 0 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        width: 100%;
        padding: 0;
    }
    
    .service-card {
        width: 100%;
        max-width: none;
    }
    
    .mentorship-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        width: 100%;
        padding: 0;
    }
    
    .mentor-card {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .roadmap-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .qa-container {
        max-width: 900px;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .finhub-hero .container {
        max-width: 900px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 700px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        width: 100%;
        padding: 0;
    }
    
    .service-card {
        width: 100%;
        max-width: none;
    }
    
    .service-card.premium {
        grid-column: span 2;
    }
    
    .mentorship-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        padding: 0;
    }
    
    .mentor-card {
        width: 100%;
        max-width: none;
        margin: 0;
        flex-direction: column;
        text-align: center;
    }
    
    .mentor-image {
        margin-bottom: 30px;
        width: 100%;
    }
    
    .roadmap-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .qa-container {
        max-width: 800px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .finhub-hero .container {
        max-width: 600px;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
        padding: 0;
    }
    
    .service-card {
        width: 100%;
        max-width: none;
        padding: 30px;
    }
    
    .service-card.premium {
        grid-column: span 1;
    }
    
    .mentorship-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
        padding: 0;
    }
    
    .mentor-card {
        width: 100%;
        max-width: none;
        margin: 0;
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .mentor-image {
        margin-bottom: 25px;
        width: 100%;
    }
    
    .mentor-stats {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .roadmap-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .roadmap-item {
        flex-direction: column;
        text-align: center;
    }
    
    .roadmap-icon {
        margin-bottom: 15px;
    }
    
    .roadmap-features {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .qa-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .qa-item {
        margin-bottom: 15px;
    }
    
    .qa-question {
        padding: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 20px;
    }
}

/* Mobile Large (321px - 480px) */
@media (min-width: 321px) and (max-width: 480px) {
    .finhub-hero .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    /* Hero badge responsive styles now use universal styles from main.css */
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100%;
    }
    
    .service-card {
        width: 100%;
        max-width: none;
        padding: 25px;
        margin: 0;
    }
    
    .service-features {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .mentorship-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100%;
    }
    
    .mentor-card {
        width: 100%;
        max-width: none;
        margin: 0;
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .mentor-image {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .mentor-badges {
        flex-direction: column;
        gap: 8px;
    }
    
    .mentor-stats {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .roadmap-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .roadmap-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .roadmap-icon {
        margin-bottom: 15px;
    }
    
    .roadmap-features {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .qa-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .qa-item {
        margin-bottom: 15px;
    }
    
    .qa-question {
        padding: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Mobile Small (320px and below) */
@media (max-width: 320px) {
    .finhub-hero .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.8rem;
        max-width: 100%;
    }
    
    /* Hero badge responsive styles now use universal styles from main.css */
    
    .services-grid,
    .mentorship-grid,
    .roadmap-container,
    .qa-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
        width: 100%;
    }
    
    .service-card,
    .mentor-card,
    .roadmap-item {
        width: 100%;
        max-width: none;
        padding: 20px;
        margin: 0;
    }
    
    .mentor-image {
        width: 100%;
    }
    
    .mentor-stats {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* General responsive improvements */
@media (max-width: 768px) {
    .gradient-orb {
        display: none;
    }
    
    .floating-particles {
        display: none;
    }
    
    .hero-background {
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .btn,
    .service-link,
    .qa-question {
        min-height: 44px;
        padding: 12px 20px;
    }
    

    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        min-height: 44px;
        padding: 12px;
    }
}

/* Improved spacing for mobile */
@media (max-width: 768px) {
    .finhub-hero {
        padding: 80px 0;
    }
    
    .services-overview,
    .mentorship,
    .roadmap,
    .qa-section,
    .contact {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        margin-bottom: 15px;
    }
}

/* Navigation styles removed - now using standard navigation from main.css */ 

/* Ensure mentorship section is fully responsive */
@media (max-width: 768px) {
    .mentorship .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .mentorship .mentorship-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 40px 0 0 0;
    }
    
    .mentor-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 25px;
    }
    
    .mentor-image {
        width: 100%;
        height: 300px;
    }
    
    .mentor-content {
        width: 100%;
        padding: 25px;
    }
    
    .mentor-stats {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .mentorship .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .mentorship .mentorship-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
        gap: 15px;
    }
    
    .mentor-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }
    
    .mentor-image {
        width: 100%;
        height: 250px;
    }
    
    .mentor-content {
        width: 100%;
        padding: 20px;
    }
    
    .mentor-stats {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .mentor-credentials {
        grid-template-columns: 1fr;
        gap: 12px;
    }
} 

/* Additional mentor card width fixes for all screen sizes */
@media (min-width: 769px) {
    .mentorship .mentorship-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .mentor-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        box-sizing: border-box !important;
    }
    
    .mentor-image {
        width: 350px !important;
        min-width: 350px !important;
        max-width: 350px !important;
        flex-shrink: 0 !important;
        height: 400px !important;
    }
    
    .mentor-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .mentor-credentials {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .mentor-stats {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile responsive - switch to vertical layout */
@media (max-width: 768px) {
    .mentor-card {
        flex-direction: column !important;
        display: flex !important;
    }
    
    .mentor-image {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 300px !important;
        flex-shrink: 0 !important;
    }
    
    .mentor-content {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 480px) {
    .mentor-image {
        height: 250px !important;
    }
}

/* Mentor card responsive styles maintained */ 