:root {
    --light-bg: #ffffff;
    --section-bg: #f8f9fa;
    --accent-blue: #0066cc;
    --dark-text: #333333;
    --border-color: rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.6;
}
html, body {
    overscroll-behavior-y: none;
  }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 74%, var(--light-bg) 100%), 
                url('herobackground.jpg') center/cover no-repeat;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-blue);
    letter-spacing: 2px;
}

/* Perfect Hamburger Menu */
.menu-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark-text);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--light-bg);
    padding: 80px 40px;
    transition: 0.5s;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    border-left: 1px solid var(--border-color);
}

.sidebar.active {
    right: 0;
}

.nav-list {
    list-style: none;
}

.nav-list li {
    margin: 25px 0;
}

.nav-list a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-list a:hover {
    color: var(--accent-blue);
    border-bottom: 1px solid var(--accent-blue);
}

/* Content Sections */
.content-section {
    padding: 100px 15%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--section-bg);
    position: relative;
}

.content-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(transparent 65%, var(--light-bg)),
        repeating-linear-gradient(
            45deg,
            rgba(0, 102, 204, 0.02) 0px,
            rgba(0, 102, 204, 0.02) 2px,
            transparent 2px,
            transparent 6px
        );
    z-index: -1;
}

.content-section:nth-child(even) {
    background-color: var(--light-bg);
}

.text-content {
    flex: 1;
    padding: 40px;
    z-index: 2;
}

.text-content h2 {
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.text-content p {
    margin-bottom: 15px;
}

.image-content {
    flex: 1;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.image-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.02);
}

.alternate {
    flex-direction: row-reverse;
}


footer {
    background: #1a3e72;
    padding: 60px 15%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-column h3 {
    color: var(--light-bg);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-column ul {
    list-style: none;
}
.footer-column p {
    color: var(--section-bg);
}
.footer-column li {
    margin: 10px 0;
    color: var(--section-bg);
}

.footer-column a {
    color: var(--section-bg);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-blue);
}
h3 .textline {
    width: 8rem;
    height: 3px;
    background-color: var(--section-bg);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.timeline {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #4da6ff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #0066cc;
    border-radius: 50%;
    top: 30px;
    right: -8px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-left: 3px solid #0066cc;
}

.timeline-date {
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.timeline-text {
    color: #333;
    line-height: 1.5;
}
.logo {
    position: absolute;
    top: 0px;
    left: 10px;
    font-size: 50px;
}
.textline {
    width: 8rem;
    height: 3px;
    background-color: var(--accent-blue);
}
.textheader {
    word-wrap: break-word;
}
#headercontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

#headercontainer.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 23px;
        right: auto;
    }
}

@media (max-width: 1024px) {
    .content-section, footer {
        padding: 80px 10%;
    }
}

@media (max-width: 860px) {
    .content-section {
        flex-direction: column;
        padding: 60px 5%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    footer {
        grid-template-columns: 1fr;
        padding: 40px 5%;
    }

    .text-content, .image-content {
        padding: 20px;
    }

    .menu-toggle {
        top: 20px;
        right: 20px;
    }
}
   