/* Custom CSS for LinkPartner */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    overflow-x: hidden;
}

/* Custom Navbar */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--gray-900) !important;
}

.nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Authentication Section */
.auth-section {
    min-width: 200px;
}

.auth-btn {
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

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

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

/* User Dropdown */
.user-dropdown {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-dropdown:hover,
.user-dropdown:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    background: white;
}

.user-dropdown:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    color: var(--gray-700);
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
}

.user-dropdown-menu .dropdown-item {
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.2s ease;
    border-radius: 0;
}

.user-dropdown-menu .dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary-color);
    transform: translateX(4px);
}

.user-dropdown-menu .dropdown-item i {
    width: 16px;
    font-size: 0.9rem;
}

.logout-btn {
    color: var(--danger-color) !important;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--danger-color) !important;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--gray-200);
}

/* Mobile Authentication */
@media (max-width: 991.98px) {
    .auth-section {
        margin-top: 1rem;
        width: 100%;
    }

    .guest-auth {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
    }

    .auth-btn {
        width: 100%;
        justify-content: center;
    }

    .authenticated-user {
        width: 100%;
    }

    .user-dropdown {
        width: 100%;
        justify-content: space-between;
    }

    .user-dropdown-menu {
        width: 100%;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f3e8ff 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline-secondary {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

/* Stats Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Partners Section */
.partners-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.partner-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.partner-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.partner-name {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.partner-category {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.partner-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.feature-card {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
}

.feature-title {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.cta-icon i {
    font-size: 3rem;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}
/* About Section */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* .about-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    border-radius: 2px;
} */

.about-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    /* padding-left: 20px; */
}

/* .about-text h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, #3498db, #9b59b6);
    border-radius: 2px;
} */

.about-text p {
    color: #34495e;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.highlight {
    background: linear-gradient(90deg, #3498db, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.mission-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-top: 15px;
    font-weight: 500;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .about-container {
        padding: 25px;
    }
    .about-header h1 {
        font-size: 2rem;
    }
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    .about-image {
        max-width: 100%;
    }
    .about-text h2 {
        font-size: 1.5rem;
    }
    .about-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 20px;
    }
    .about-header h1 {
        font-size: 1.8rem;
    }
    .about-header h1::after {
        width: 60px;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.contact-text h5 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

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

.form-label {
    font-weight: 600;
    color: var(--gray-700);
}

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

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* .btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
} */

/* Footer */
.footer-section {
    background: var(--gray-900);
    padding: 3rem 0;
    color: white;
}

.footer-title {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-description {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    margin: 1.5rem auto;
    width: 100px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-nav-item {
    margin-bottom: 0;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.footer-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.footer-link i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.copyright {
    margin-top: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .partner-card,
    .feature-card {
        margin-bottom: 2rem;
    }

    .footer-bottom-links a {
        margin-left: 1rem;
        margin-top: 1rem;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .partners-section,
    .features-section,
    .cta-section {
        padding: 60px 0;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .partner-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

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

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