/* ========================================
   Tiger Labs Ltd. — Main Stylesheet
   Theme: Dark Modern Professional
   ======================================== */

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #05070a;
    color: #eef2ff;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0f1219;
}
::-webkit-scrollbar-thumb {
    background: #f97316;
    border-radius: 8px;
}

/* ---------- Typography ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.15);
}

.section-alt {
    background-color: #080c14;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-title span {
    color: #f97316;
    border-bottom: 3px solid #f97316;
    padding-bottom: 6px;
}

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

/* ---------- Navigation ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(249, 115, 22, 0.25);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    background: none;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #d1d5db;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f97316;
}

/* ---------- Buttons ---------- */
.btn-outline {
    border: 1.5px solid #f97316;
    background: transparent;
    padding: 10px 28px;
    border-radius: 40px;
    color: #f97316;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #f97316;
    color: white;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-primary {
    background: #f97316;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* ---------- Hero Section ---------- */
.hero {
    background: radial-gradient(circle at 30% 10%, #0b1120, #030507);
    padding: 100px 0 90px;
    text-align: center;
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #facc15, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.125rem;
    color: #b9c3d4;
    max-width: 800px;
    margin: 24px auto 32px;
}

/* ---------- Cards ---------- */
.card {
    background: rgba(15, 20, 30, 0.65);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 28px;
    padding: 32px;
    transition: all 0.25s ease;
    height: 100%;
}

.card:hover {
    border-color: #f97316;
    transform: translateY(-5px);
    background: rgba(20, 25, 38, 0.8);
}

.card-icon {
    font-size: 2.2rem;
    color: #f97316;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* ---------- About Grid ---------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ---------- Research Grid ---------- */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.research-item {
    background: rgba(15, 20, 30, 0.5);
    border-radius: 20px;
    padding: 24px;
    border-left: 4px solid #f97316;
    transition: 0.25s;
}

.research-item:hover {
    transform: translateY(-4px);
    background: rgba(20, 25, 38, 0.7);
}

.research-item i {
    font-size: 1.8rem;
    color: #f97316;
    margin-bottom: 16px;
}

.research-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.research-item p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ---------- Project Grid ---------- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.project-card {
    background: linear-gradient(145deg, #0f1422, #090c14);
    border-radius: 24px;
    padding: 28px;
    border-left: 5px solid #f97316;
    transition: 0.25s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -15px rgba(249, 115, 22, 0.2);
}

.badge {
    background: #f97316;
    color: white;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 16px;
    font-weight: 600;
}

.project-icon {
    font-size: 2rem;
    color: #f97316;
    margin-bottom: 16px;
}

.project-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.project-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ---------- News Grid ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.news-card {
    background: rgba(15, 20, 30, 0.5);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #1e293b;
    transition: 0.25s;
}

.news-card:hover {
    border-color: #f97316;
    transform: translateY(-3px);
}

.news-card i {
    font-size: 2rem;
    color: #f97316;
    margin-bottom: 16px;
}

.news-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.news-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.news-date {
    font-size: 0.7rem;
    color: #64748b;
}

/* ---------- Team Preview ---------- */
.team-preview {
    max-width: 700px;
    margin: 0 auto;
}

.director-card {
    background: linear-gradient(145deg, #0f1422, #090c14);
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.director-img {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #f97316, #facc15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 20px;
}

.director-card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.director-title {
    color: #f97316;
    font-size: 1rem;
    margin-bottom: 16px;
}

.director-bio {
    color: #cbd5e1;
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.research-tags span {
    background: rgba(249, 115, 22, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #facc15;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, #0a0f1c, #04070c);
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
    background: #02040a;
    border-top: 1px solid #1e293b;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo span {
    background: none;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #f97316;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: 0.2s;
}

.footer-social a:hover {
    color: #f97316;
}

.footer-contact p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-contact i {
    margin-right: 8px;
    color: #f97316;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .card {
        padding: 20px;
    }
    
    .director-card {
        padding: 24px;
    }
    
    .director-img {
        width: 100px;
        height: 100px;
        font-size: 45px;
    }
}