* {
    padding: 0;
    margin: 0;
    outline: 0;
    font-family: 'Montserrat';
}

:root {
    --primary: #0a2a42;
    --secondary: #3498db;
    --accent: #4ecdc4;
    --gold:#2c51a2;
    --gold-light: #f0d991;
    --light: #f8f9fa;
    --dark: #0a2a42;
    --text: #333;
    --transition: all 0.4s ease;
}

.anniversary-hero {
    float: left;
    width: 100%;
    background:#f5f6f8;
    color: white;
    text-align: center;
    padding:60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.anniversary-badge {
    background: var(--gold);
    color:#ffffff;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-size:14px;
    font-weight:500;
    margin-bottom:20px;
    transform: rotate(-5deg);
}

.anniversary-hero h2 {
    font-family: 'Montserrat';
    font-size: 19px;
    color: #2c51a2;
    margin-bottom: 20px;
    font-weight:400;
}

.anniversary-hero h2 span {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.anniversary-hero p {
    font-family: 'Montserrat';
    font-size: 15px;
    color: #404041;
    line-height: 19px;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.gold-btn {
    background: var(--gold);
    color:#ffffff;
    padding: 12px 20px;
    border-radius:50px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.gold-btn:hover {
    background:#333333;
}


.timeline-section {
    float:left;
    width:100%;
    padding:60px 0;
    background:#ffffff;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 19px;
    color: #2c51a2;
    margin-bottom:15px;
    font-weight:400;
    position: relative;
    display: inline-block;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
    color: #404041;
    line-height: 19px;
}


.timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}


.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background: var(--gold);
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}


.timeline-item {
    display: flex;
    column-gap:40px;
    margin-bottom: 80px;
    position: relative;
    align-items: stretch;
    background:#f5f6f8;
    padding: 30px;
    border-radius:20px;
}

.timeline-item:last-child{
    margin-bottom:0;
}


.timeline-item:nth-child(odd) {
    flex-direction: row;
}


.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}


.timeline-content {
    width:50%;
   /* background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
    position: relative;
    transition: var(--transition);
    z-index: 3;
}

.timeline-carousel-container {
    width:50%;
    position: relative;
    z-index: 2;
}


.timeline-carousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    background: #f5f5f5;
}


.timeline-carousel .swiper {
    width: 100%;
    height: 300px;
}


.swiper-slide {
    text-align: center;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.swiper-button-next, .swiper-button-prev {
    color:#ffffff;
    background:#333333;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--gold);
    color:#ffffff;
    opacity:0.6;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size:14px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #ddd;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
}


.timeline-year {
/*    position: absolute;*/
    top: -25px;
    left:30px;
    background: var(--gold);
    color:#ffffff;
    font-size:15px;
    font-weight:500;
    padding:7px 15px;
    border-radius: 50px;
    z-index: 10;
    margin-bottom:15px;
    display: inline-block;
    width: 120px;
    text-align: center;
}

.timeline-content h3 {
    font-size: 19px;
    color: #2c51a2;
    margin-bottom: 15px;
    font-weight:400;
}

.timeline-content p {
    font-size: 15px;
    color: #404041;
    line-height: 19px;
    margin-bottom:20px;
}

.timeline-content p:last-child{
    margin-bottom:0;
}


.timeline-content ul {
    margin-left:0;
    color: #666;
    line-height: 1.8;
}

.timeline-content ul li {
    font-size: 15px;
    color: #404041;
    line-height:20px;
    margin-bottom: 5px;
    background: url(../images/home-arrow.webp) left center no-repeat;
    padding-left: 15px;
}

.timeline-item.wide-carousel .timeline-carousel .swiper {
    height: 350px;
}


.timeline-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.timeline-link:hover {
    color: #c5a227;
    text-decoration: underline;
}

.timeline-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 10px;
}

.timeline-button:hover {
    background: #c5a227;
    transform: translateY(-2px);
}

.projects-section {
    float:left;
    width:100%;
    padding:60px 0 40px;
    background:#f5f6f8;
}

.projects-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:0 5px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 20px rgba(0,0,0,0.15);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 19px;
    line-height:26px;
    color: #2c51a2;
    margin-bottom: 15px;
    font-weight:400;
}

.project-content p {
    font-size: 15px;
    color: #404041;
    line-height: 19px;
    margin-bottom:15px;
}

.project-content address{
    font-size: 15px;
    color: #404041;
    line-height: 19px;
    font-weight: 600;
    margin-bottom: 9px;
}

.project-content p:last-child{
    margin-bottom:0;
}


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}


@media (max-width:1250px) {
    .hero-content{max-width:90%;}
    .timeline{max-width:90%;}
    .projects-grid{max-width:90%;}
    .section-title{max-width:90%;margin:0 auto 40px;}
    .anniversary-hero{padding:40px 0;}
    .timeline-section{padding:40px 0;}
    .projects-section{padding:40px 0;}
    .timeline-item{margin-bottom:40px;}
    .projects-grid{gap:30px;}
}

@media (max-width:1100px) {
/*    .project-card .project-image{height:220px;}*/
}

@media (max-width: 992px) {
    .anniversary-hero h1 {
        font-size: 3rem;
    }
    .timeline{padding:0;}

    .timeline::before {
        left:0;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        margin-left:20px;
        align-items: flex-start;
    }
    .timeline-content {
        width: 100%;
        margin-bottom:30px;
    }

    .timeline-carousel-container {
        width: 100%;
        padding: 0;
    }

    .timeline-carousel .swiper {
        height: auto;
        aspect-ratio: 3 / 1.50;
        object-fit: cover;
    }

    .timeline-year {
        top: -18px;
        left: -50px !important;
        right: auto !important;
    }

    .timeline-item.wide-carousel .timeline-carousel-container {
        width: 100%;
    }

    .timeline-item.wide-carousel .timeline-content {
        width: 100%;
    }

    .projects-grid{grid-template-columns:repeat(2, 1fr);}

    .project-card .project-image{height: auto;aspect-ratio: 3 / 1.30;object-fit: cover;}
    .projects-grid{padding:0;}
}

@media (max-width:820px) {
    .project-content h3{min-height:52px;}
}

@media (max-width: 768px) {
    .timeline-item{padding:20px;}
    .projects-grid {grid-template-columns: repeat(1, 1fr);}
    .project-content h3{min-height:initial;}
}

@media (max-width: 576px) {

    .anniversary-hero h1 {
        font-size: 1.8rem;
    }

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


.project-image {
    position: relative;
    height:auto;
    aspect-ratio: 3.73 / 2.02;
    overflow: hidden;
}

.project-image .swiper {
    width: 100%;
    height: 100%;
}

.project-image .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image .swiper-button-next,
.project-image .swiper-button-prev {
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.project-image .swiper-button-next:after,
.project-image .swiper-button-prev:after {
    font-size: 14px;
    color: white;
}

.project-image .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.project-image .swiper-pagination-bullet-active {
    background: var(--gold);
}


.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color:#ffffff;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 10;
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header-right {
        align-items: center;
    }

    .contact-info {
        align-items: center;
    }

    .contact-info a {
        justify-content: center;
    }
}