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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: #2563eb !important;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #1e40af !important;
}

.brand-text {
    font-weight: 300;
    font-size: 0.9rem;
    color: #64748b;
    margin-left: 10px;
}

.nav-link {
    color: #2d3748 !important;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link.active {
    color: #2563eb !important;
}

/* Home Page Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%),
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80') center/cover;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-text {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    letter-spacing: -2px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordReveal 0.6s ease-out forwards;
}

.word:nth-child(1) { animation-delay: 0.1s; }
.word:nth-child(2) { animation-delay: 0.2s; }
.word:nth-child(3) { animation-delay: 0.3s; }
.word:nth-child(4) { animation-delay: 0.4s; }
.word:nth-child(5) { animation-delay: 0.5s; }

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%),
                url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1920&q=80') center/cover;
    color: white;
    padding: 140px 0 100px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header .lead {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2rem;
    color: #64748b;
}

.team-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    border-left: 5px solid #2563eb;
}

.team-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.stats-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
}

.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
}

.feature-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
    text-align: center;
}

.team-image-section {
    margin: 80px 0;
    padding: 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
}

.team-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    min-height: calc(100vh - 400px);
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #1e40af);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    border-color: #2563eb;
    background: white;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.contact-info a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #2563eb;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 30px 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #1e40af);
}

footer p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

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

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .contact-card {
        padding: 40px 25px;
    }

    .team-intro {
        padding: 30px 20px;
    }

    .nav-link {
        margin: 10px 0;
    }

    .stats-section {
        gap: 40px;
    }

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

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

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}