/* ===== static/css/style.css ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --dark-blue: #0f172a;
    --light-blue: #3b82f6;
    --text-gray: #4b5563;
    --light-gray: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER & LOGO ===== */
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.logo-container {
    display: inline-block;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    position: relative;
    margin-bottom: 0rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-logo {
    width: 500px;
    height: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 5px 15px rgba(30, 58, 138, 0.2));
}

/* Scrolled state - smaller logo */
.header.scrolled .main-logo {
    width: 200px;
}

.header.scrolled .logo-container {
    transform: scale(0.8);
}

.header.scrolled {
    margin-bottom: 0rem;
    padding: 1rem 0;
}

.company-name {
    font-size: 3rem;
    font-weight: 300;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-size: 1.1rem;
    color: var(--light-blue);
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.description {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-gray);
}

/* ===== FOUNDERS SECTION ===== */
.founders-section {
    margin-bottom: 2rem;
    opacity: 0; /* Start hidden */
    transform: translateY(30px); /* Start below */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Smooth transition */
}

/* When visible class is added by scroll observer */
.founders-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 300;
}

.founders-description {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.founder-card {
    text-align: center;
    padding: 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start below */
}

/* When visible class is added to individual cards */
.founder-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
    border-color: var(--light-blue);
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.founder-image-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-blue);
    transition: all 0.3s ease;
}

.founder-card:hover .founder-image-container {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.founder-card:hover .founder-image {
    transform: scale(1.1);
}

.linkedin-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px;
}

.founder-card:hover .linkedin-overlay {
    opacity: 1;
}

.founder-social-icon {
    width: 30px;
    height: 30px;
    fill: var(--white);
    animation: iconBounce 0.5s ease-out;
}

.founder-name {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.founder-title {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0; /* Start hidden */
    transform: translateY(30px); /* Start below */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Smooth transition */
}

/* When visible class is added by scroll observer */
.contact-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-description {
    font-size: 1.0rem;
    color: var(--text-gray);
}

.email-link {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.email-link:hover {
    color: var(--primary-blue);
}

.email-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.email-link:hover::after {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-blue);
    padding: 1rem 0;
    margin-top: 2rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: calc(-2rem - 0px);
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.copyright {
    padding-top: 1rem;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    50% { 
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(-5px); }
    50% { transform: translateY(-10px); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes iconBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .company-name {
        font-size: 2.5rem;
    }
    
    .main-logo {
        width: 150px;
    }
    
    .header.scrolled .main-logo {
        width: 100px;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .main-logo {
        width: 120px;
    }
    
    .header.scrolled .main-logo {
        width: 80px;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .founder-image-container {
        width: 100px;
        height: 100px;
    }
}