@font-face {
    font-family: 'Boston Angel';
    src: url('../fonts/Boston Angel Regular.ttf') format('truetype');
    font-display: swap;
}

/* Base styles */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --section-spacing: 3rem;
}

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

body {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 50;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 0;
}

.logo-icon {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.75rem; /* Reduced from 2.5rem for better mobile display */
    font-weight: bold;
    margin-left: 0.75rem;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 2.5rem; /* Original size for desktop */
    }
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 3rem;
    }
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 var(--section-spacing);
    background: linear-gradient(135deg, #f0f7ff, #ffffff, #f0f7ff);
    text-align: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(135deg, #000033, #0066cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .gradient-text {
        font-size: 3.75rem;
    }
}

.hero p {
    max-width: 48rem;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Section Headings */
.mission h2,
.about h2,
.contact h2 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #000033, #0066cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 2rem;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    background: var(--primary-dark);
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

/* Mission Section */
.mission {
    padding: var(--section-spacing) 0;
    background: var(--background);
}

.mission-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.mission-text {
    color: var(--text-secondary);
}

.mission-text p {
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #f0f7ff, #ffffff, #f0f7ff);
}

.team-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-top: -1rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-member {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.team-image-link {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f3f4f6;
}

.team-image-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-image-link:hover::before {
    opacity: 1;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    will-change: transform;
}

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

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.member-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-bio {
    text-align: left;
    color: var(--text-secondary);
}

.member-bio p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.member-bio p:last-child {
    margin-bottom: 0;
}

/* Contact Form */
.contact {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #f0f7ff, #ffffff, #f0f7ff);
}

.contact-form {
    max-width: 48rem;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
}

.social-links a:hover {
    color: #818cf8;
}

.company-info {
    text-align: center;
    margin: 20px 0;
    color: #9ca3af;
}

.company-info p {
    margin: 15px 0;
}

.footer-copyright {
    text-align: center;
    margin-top: 2rem;
    color: #9ca3af;
    border-top: 1px solid #374151;
    padding-top: 2rem;
}