:root {
    --bg: #ececec;
    --card: #ffffff;
    --text: #202020;
    --muted: #606060;
    --brand-soft: #f7f2ee;
    --accent: #f07e62;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto Condensed', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-wrap {
    width: min(1480px, calc(100% - 32px));
    margin-inline: auto;
}

.topbar {
    background: var(--brand-soft);
    min-height: 58px;
    border-bottom: 1px solid #e7dfd8;
}

.brand img {
    height: 42px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 40px);
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.main-nav a:last-child {
    text-transform: none;
}

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

.social-links a {
    font-size: 16px;
    color: #3a3f54;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 20px;
}

.hero-panel {
    background: var(--card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(22px, 4vw, 64px);
        margin-top: -10px;
}

.quick-links {
    display: flex;
    flex-direction: column;
}

.quick-item {
    text-align: center;
    font-size: 30px;
}

.quick-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.quick-item span {
    display: block;
    font-size: 27px;
    margin-top: 4px;
}

.hero-logo{
        display: flex;
        justify-content: center;
        align-items: center;
}
.hero-logo img {
    width: min(100%, 700px);
}

.home-main {
    margin-top: 18px;
}

.section-card {
    background: var(--card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 18px;
}

.featured-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.featured-viewport {
    width: 100%;
    overflow: hidden;
}

.featured-track {
    display: flex;
    gap: 24px;
    transition: transform 450ms ease;
    will-change: transform;
}

.feature-slide {
    min-width: calc((100% - 48px) / 3);
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: #1f2430;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 180ms ease, background-color 180ms ease;
}

.carousel-btn:hover {
    transform: translateY(-1px);
    background: #10141d;
}

.feature-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
    background: #f7f7f7;
}

.feature-card img {
    width: 100%;
    height: 660px;
    object-fit: cover;
    display: block;
}

.feature-card h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}

.feature-copy {
    padding: 14px 14px 16px;
}

.feature-tag {
    display: inline-flex;
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 999px;
    background: #f6e7e1;
    color: #a64a2f;
    padding: 5px 10px;
}

.feature-copy p {
    margin: 10px 0 0;
    color: #555;
    font-size: 16px;
    line-height: 1.35;
}

.slider-dots {
    margin-top: 16px;
    text-align: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: #d0d0d0;
    margin: 0 4px;
    border: 0;
    cursor: pointer;
    transition: all 180ms ease;
}

.dot.active {
    background: #9eb5ad;
    transform: scale(1.2);
}

.section-label {
    text-align: center;
    margin: 0 0 16px;
    font-size: 18px;
    color: #555;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.ads-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.blogs-section h2 {
    margin: 0 0 20px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 54px;
    font-weight: 500;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.blog-tile {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.blog-tile img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
    transition: transform 350ms ease;
}

.blog-tile:hover img {
    transform: scale(1.06);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.blog-tile:hover .tile-overlay {
    opacity: 1;
    transform: translateY(0);
}

.tile-overlay h3 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
}

.tile-overlay p {
    margin: 0;
    font-size: 20px;
}

.overlay-cta {
    display: inline-flex;
    margin-top: 10px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.blog-spotlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.spotlight-copy h2 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
}

.spotlight-copy p {
    margin: 6px 0 0;
    color: #525252;
    font-size: 22px;
}

.spotlight-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.spotlight-chip-row span {
    border: 1px solid #d8d8d8;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 15px;
    background: #fafafa;
}

.about-section {
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 32px;
    align-items: start;
}

.about-copy h2 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 55px;
    line-height: 1.2;
}

.about-copy > p {
    margin: 20px 0 10px;
    font-size: 31px;
    color: #343434;
    line-height: 1.6;
}

.about-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-top: 10px;
}

.about-columns h3 {
    margin: 0 0 8px;
    font-size: 42px;
    font-weight: 700;
}

.about-columns p {
    margin: 0;
    color: #3d3d3d;
    font-size: 31px;
    line-height: 1.5;
}

.discover-btn {
    margin-top: 24px;
    display: inline-block;
    border: 1px solid #2b2b2b;
    padding: 8px 14px;
    font-size: 20px;
}

.about-media img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.timeline-section {
    position: relative;
    padding: 36px 38px;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 50%;
    height: 80px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 80'%3E%3Cpath d='M0,40 C80,0 160,80 240,40 C320,0 400,80 480,40 C560,0 640,80 720,40 C800,0 880,80 960,40 C980,35 995,35 1000,40' fill='none' stroke='%23c6c6c6' stroke-width='2' stroke-dasharray='8 8'/%3E%3C/svg%3E") center/100% 100% no-repeat;
    opacity: 0.8;
}

.timeline-pin {
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.timeline-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 3;
    margin-left: 6%;
}

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

.timeline-item img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
}

.timeline-item span {
    display: block;
    margin-top: 8px;
    font-size: 29px;
    font-weight: 600;
}

.site-footer {
    margin-top: 16px;
    background: var(--brand-soft);
    box-shadow: var(--shadow);
}

.footer-top {
    text-align: center;
    padding: 26px 0 10px;
}

.footer-logo img {
    width: min(460px, 90%);
}

.footer-bottom {
    padding: 8px 0 20px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 22px;
}

.footer-nav {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 20px;
}

@media (max-width: 1240px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 58px;
        left: 16px;
        right: 16px;
        background: #fff;
        border-radius: 10px;
        box-shadow: var(--shadow);
        z-index: 20;
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .main-nav.open {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-panel {
        padding: 18px;
        min-height: auto;
    }

    .hero-logo img {
        width: min(100%, 540px);
    }

    .feature-slide {
        min-width: calc((100% - 24px) / 2);
    }

    .feature-card img {
        height: 420px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

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

    .about-section {
        grid-template-columns: 1fr;
    }

    .about-copy h2 {
        font-size: 40px;
    }

    .about-copy > p,
    .about-columns p {
        font-size: 24px;
    }

    .about-columns h3 {
        font-size: 30px;
    }

    .timeline-item span {
        font-size: 22px;
    }

    .tile-overlay h3 {
        font-size: 21px;
    }

    .tile-overlay p {
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .ads-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        flex-direction: column;
        gap: 16px;
    }

    .quick-links {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }

    .quick-item span {
        font-size: 20px;
    }

    .blogs-section h2 {
        font-size: 42px;
    }

    .feature-slide {
        min-width: 100%;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .blog-spotlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .spotlight-copy h2 {
        font-size: 38px;
    }

    .spotlight-copy p {
        font-size: 18px;
    }

    .spotlight-chip-row {
        justify-content: flex-start;
    }

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

    .timeline-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 4px;
        margin-left: 0;
    }

    .timeline-pin {
        display: none;
    }

    .timeline-section::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .page-wrap {
        width: calc(100% - 16px);
    }

    .section-card {
        padding: 14px;
    }

    .social-links {
        gap: 10px;
    }

    .brand img {
        height: 32px;
    }

    .feature-card h3 {
        font-size: 22px;
    }

    .feature-card img {
        height: 300px;
    }

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

    .blog-tile img {
        height: 250px;
    }

    .tile-overlay {
        opacity: 1;
        transform: none;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.26));
    }

    .tile-overlay h3 {
        font-size: 18px;
    }

    .tile-overlay p {
        font-size: 14px;
    }

    .footer-bottom p,
    .footer-nav a {
        font-size: 16px;
    }
}
