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

:root {
    --primary-color: #1a1a1a;
    --accent-color: #7BA7D6;
    --text-color: #2c2c2c;
    --light-gray: #fafafa;
    --medium-gray: #e5e5e5;
    --dark-gray: #666666;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background: var(--white);
    font-weight: 300;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(123, 167, 214, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 167, 214, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(123, 167, 214, 0.05) 2px, transparent 2px),
        linear-gradient(90deg, rgba(123, 167, 214, 0.05) 2px, transparent 2px);
    background-size: 150px 150px;
    pointer-events: none;
    z-index: 0;
}

.container,
.nav-container,
section,
nav,
footer {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    transition: var(--transition);
    padding: 0.5rem 0;
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Mega Dropdown */
.dropdown-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    display: none;
    min-width: 600px;
    margin-top: 1rem;
    border-radius: 8px;
}

.has-dropdown:hover .dropdown-mega {
    display: flex;
    gap: 3rem;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.dropdown-section ul {
    list-style: none;
}

.dropdown-section ul li {
    margin-bottom: 0.5rem;
}

.dropdown-section ul li a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 300;
}

.dropdown-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-btn {
    padding: 0.6rem 1.8rem;
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 2px;
    cursor: pointer;
    font-weight: 400;
    transition: var(--transition);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Video Hero Section */
.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 167, 214, 0.5) 0%, rgba(255, 255, 255, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 200;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content .italic {
    font-style: italic;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 300;
}

.video-controls {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 3;
}

.video-btn {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.video-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* News Section */
.news-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 200;
    letter-spacing: -0.5px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Featured Post */
.featured-post {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--medium-gray);
}

.featured-image {
    height: 350px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-content {
    padding: 2rem;
}

.post-date {
    display: block;
    font-size: 0.75rem;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.category {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.read-time {
    color: var(--dark-gray);
}

.featured-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
    font-weight: 400;
}

.featured-content p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 300;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Scrollable Posts */
.posts-scroll {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 1rem;
}

.posts-scroll::-webkit-scrollbar {
    width: 8px;
}

.posts-scroll::-webkit-scrollbar-track {
    background: var(--medium-gray);
    border-radius: 10px;
}

.posts-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.post-item {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.post-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.post-thumbnail {
    width: 180px;
    min-width: 180px;
    height: 140px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.post-item:nth-child(2) .post-thumbnail {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.post-item:nth-child(3) .post-thumbnail {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.post-item:nth-child(4) .post-thumbnail {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.post-item:nth-child(5) .post-thumbnail {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.post-item:nth-child(6) .post-thumbnail {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-excerpt {
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-weight: 300;
}

.post-content h4 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.4;
}

/* Process Timeline Section */
.process-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    font-size: 1rem;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.process-container {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--medium-gray);
}

.timeline-dot {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 50%;
    margin-bottom: 3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot:hover {
    transform: scale(1.1);
    border-color: var(--accent-color);
}

.timeline-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.dot-number {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.timeline-dot.active .dot-number {
    color: var(--white);
}

/* Slides */
.slides-container {
    position: relative;
    min-height: 350px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

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

.slide p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 300;
}

.slide ul {
    list-style: none;
    padding-left: 0;
}

.slide ul li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 300;
}

.slide ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.3rem 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Return to Proposal Button */
.return-to-proposal {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9999;
    letter-spacing: 0.5px;
}

.return-to-proposal:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .process-container {
        grid-template-columns: 100px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .post-item {
        flex-direction: column;
    }

    .post-thumbnail {
        width: 100%;
        height: 200px;
    }

    .process-container {
        grid-template-columns: 1fr;
    }

    .timeline {
        display: flex;
        justify-content: space-between;
        padding: 0;
    }

    .timeline-line {
        left: 0;
        right: 0;
        top: 30px;
        width: 100%;
        height: 2px;
    }

    .timeline-dot {
        margin-bottom: 0;
    }
}
