/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1e40af;
    --light-blue: #dbeafe;
    --primary-green: #10b981;
    --dark-green: #059669;
    --light-green: #d1fae5;
    --grey-dark: #1f2937;
    --grey-medium: #6b7280;
    --grey-light: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--grey-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--grey-medium);
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--grey-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

.btn-contact {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--grey-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(16, 185, 129, 0.85)),
                url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600&h=900&fit=crop') center/cover;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-mission {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
    font-weight: 500;
    line-height: 1.6;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Core Focus Areas Section */
.focus-areas-section {
    background: var(--white);
    padding: 3.5rem 0;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.focus-card {
    background: var(--grey-light);
    padding: 2rem 1.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
    position: relative;
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-green);
}

.focus-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.15;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.focus-card h3 {
    color: var(--grey-dark);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
}

.focus-card p {
    color: var(--grey-medium);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--grey-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--grey-medium);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    margin: 0 auto;
    border-radius: 2px;
}

.divider-left {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    margin: 1rem 0 1.5rem 0;
    border-radius: 2px;
}

/* Introduction Section */
.intro-section {
    background: var(--white);
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--grey-medium);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--grey-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--grey-medium);
    font-weight: 500;
}

/* Highlights Section */
.highlights-section {
    background: var(--grey-light);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--grey-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.highlight-card p {
    color: var(--grey-medium);
    line-height: 1.6;
}

/* Projects Showcase */
.projects-showcase {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--grey-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.project-info p {
    color: var(--grey-medium);
}

/* Research Section */
.research-section {
    background: var(--light-blue);
}

.research-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.research-text h2 {
    font-size: 2.25rem;
    color: var(--grey-dark);
    margin-bottom: 1rem;
}

.research-text p {
    color: var(--grey-medium);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.research-list {
    list-style: none;
    margin: 2rem 0;
}

.research-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--grey-dark);
    font-weight: 500;
}

.research-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.research-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.research-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News Preview */
.news-preview {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--grey-light);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-badge {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-date {
    color: var(--grey-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: var(--grey-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--grey-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-blue);
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--grey-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: var(--grey-light);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--grey-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    background: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--grey-light);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-mission {
        font-size: 1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .research-content {
        grid-template-columns: 1fr;
    }

    .research-image {
        order: -1;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-mission {
        font-size: 0.95rem;
    }

    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }
}
