/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #164072;
    --secondary-color: #0d2444;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.875rem 5%;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-family: 'Lexend', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
    transform: translateY(1px);
    display: block;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f6f7f9 0%, #e9ecef 100%);
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #4b5563;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Sections */
section {
    padding: 5rem 5%;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

.more-about-btn {
    margin: 2rem auto;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.more-about-btn:hover {
    background: rgba(22, 64, 114, 0.1);
}

.more-about-btn i {
    transition: transform 0.3s ease;
}

.more-about-btn.active i {
    transform: rotate(180deg);
}

.founder-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    opacity: 0;
}

.founder-info.active {
    max-height: none;
    opacity: 1;
    margin-top: 2rem;
}

.founder-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.founder-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    padding: 0 1.5rem;
}

.founder-content blockquote {
    position: relative;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-style: italic;
    color: #4a5568;
    padding: 2rem 3rem;
    background: rgba(22, 64, 114, 0.03);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(22, 64, 114, 0.05);
}

.founder-content blockquote::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.founder-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.founder-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .founder-content {
        padding: 0 0.5rem;
    }

    .founder-content blockquote {
        padding: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .founder-content blockquote::before {
        font-size: 3rem;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .founder-info.active {
        margin-top: 1.5rem;
    }
}

/* Services Section */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* Contact Section */
.contact {
    background: var(--light-bg);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 3rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Lexend', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #9ca3af;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 5%;
    }

    .nav-links {
        display: none;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .founder-content {
        padding: 0 0.5rem;
    }

    .founder-content blockquote {
        padding: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .founder-content blockquote::before {
        font-size: 3rem;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .founder-info.active {
        margin-top: 1.5rem;
    }

    .contact-details {
        text-align: center;
    }
    
    .contact-details p {
        justify-content: center;
    }
}

.join-team {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-purpose h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-details {
    margin-top: 2rem;
    text-align: left;
}

.contact-details p {
    margin: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.contact-info p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.4rem;
    width: 1.8rem;
    text-align: center;
}

.management-philosophy {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(22, 64, 114, 0.1);
}

.philosophy-intro {
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .management-philosophy {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .benefits-list li {
        padding-left: 1.25rem;
        margin-bottom: 0.875rem;
    }
}

/* Join Section */
.join {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid rgba(22, 64, 114, 0.1);
}

.join-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
}

.join-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.join-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.join-text p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
}

.opportunities h4 {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.opportunities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.list-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.list-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    padding-top: 0.2rem;
}

.list-content h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.list-content p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

.join-cta {
    text-align: center;
    margin-top: 3rem;
}

.join-cta p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.email-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.email-link:hover {
    background: rgba(22, 64, 114, 0.1);
}

@media (max-width: 768px) {
    .join {
        padding: 3rem 0;
    }

    .opportunities-list {
        gap: 2rem;
        padding: 0;
    }

    .list-column {
        gap: 1.5rem;
    }

    .join-text {
        margin-bottom: 2rem;
    }

    .join-text h3 {
        font-size: 1.3rem;
    }

    .join-text p {
        font-size: 1rem;
    }
}

/* Join Team Button */
.join-team-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(22, 64, 114, 0.2);
    transition: var(--transition);
    z-index: 999;
}

.join-team-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 64, 114, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: var(--white);
    margin: 2rem auto;
    padding: 2rem;
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Update Join Section Styles for Modal */
.join-content {
    max-width: 75%;
    margin: 0 auto;
}

.join-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.modal .opportunities-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .join-team-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        width: calc(100% - 2rem);
    }

    .close-modal {
        top: 0.75rem;
        right: 1rem;
    }
}

.join-layout {
    display: flex;
    gap: 3rem;
    margin: 0 auto 3rem;
    align-items: flex-start;
}

.join-text {
    flex: 0.9;
    text-align: left;
    max-width: none;
    margin: 0;
    padding-top: 1rem;
    padding-right: 1.5rem;
}

.opportunities {
    flex: 1.1;
}

.opportunities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.list-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    padding-top: 0.2rem;
}

.list-item p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .join-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .join-text {
        text-align: center;
        padding-right: 0;
    }

    .opportunities-list {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .contact-info {
        text-align: center;
    }
    
    .contact-details {
        text-align: left;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .contact-details p {
        text-align: left;
        justify-content: flex-start;
    }
} 