/* style.css */
:root {
    --primary-color: #0d2342;
    /* Dark Navy for header, mission, categories */
    --secondary-color: #3b6b4e;
    /* Green for main button */
    --tertiary-color: #f1ebd9;
    /* Beige for hero bg */
    --footer-bg: #27568c;
    /* Medium Blue for footer */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #555555;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background: linear-gradient(to top, #1F3271, #357FC2);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #fff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-list li a {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.nav-list li a:hover {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-icon {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.search-icon:hover {
    opacity: 0.8;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 5rem 0 3rem;
    position: relative;
    background-image: url(./images/header-banner.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 800px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #2b503a;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 110%;
    margin-right: -5%;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mission Section */
.mission {
    background-color: var(--primary-color);
    padding: 5rem 0;
    text-align: center;
    color: var(--text-light);
}

.mission-container h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mission-container p {
    max-width: 850px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.link-white {
    color: var(--text-light);
    text-decoration: underline;
    font-weight: 500;
    text-underline-offset: 6px;
    font-size: 0.95rem;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.link-white-noborder {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.link-white:hover,
.link-white-noborder:hover {
    opacity: 0.8;
}

.mission-image-wrapper {
    margin-top: 3.5rem;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mission-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: #ffffff;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1.8;
    position: relative;
    overflow: hidden;
}

.feature-row .feature-image {
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
}

.feature-row.reverse .feature-image {
    border-radius: 0;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-image .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}

.feature-text {
    flex: 1;
}

.feature-row .feature-text {
    padding-right: max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
}

.feature-row.reverse .feature-text {
    padding-left: max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
}

.feature-text h3 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 50px;
}

.feature-text p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.link-black {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 600;
    text-underline-offset: 5px;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.link-black:hover {
    color: var(--secondary-color);
}

/* Categories Section */
.categories {
    background-color: var(--primary-color);
    padding: 5rem 0;
    text-align: center;
}

.categories h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.categories .view-all {
    display: inline-block;
    margin-bottom: 3.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* Assuming cards might have white borders/backgrounds */
}

.category-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.03);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.card-overlay p {
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
}

/* Stats Banner */
.stats-banner {
    padding: 4rem 0 6rem;
    background-color: #ffffff;
}

.stats-container {
    background-image: url('./images/calc.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 15rem 2rem 5rem 2rem;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.stats-content {
    position: relative;
    z-index: 2;
}

.stats-content p {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 2rem 0 6rem;
    background-color: #ffffff;
}

.contact-box {
    background-color: var(--primary-color);
    border-radius: 12px;
    padding: 4rem;
    margin: 0 auto;
    color: var(--text-light);
}

.contact-box h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.input-wrapper input,
.input-wrapper select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: #333;
}

.input-wrapper input {
    padding-left: 2.8rem;
}

.select-wrapper::after {
    content: '\f107';
    /* FontAwesome angle-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.2rem;
    pointer-events: none;
    color: #666;
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    grid-column: span 2;
}

.btn-outline-white {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    border-radius: 4px;
    padding: 0.8rem 2.5rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(to top, #1F3271, #357FC2);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 100px;
}

.footer-links {
    flex: 0.8;
}

.footer-logo {
    flex: 2;
}

.footer-links ul {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.footer-links a {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.3s;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-container,
    .feature-row,
    .feature-row.reverse {
        gap: 3rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-contact {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(to bottom, #1F3271, #357FC2);
        padding: 6rem 2rem 2rem;
        transition: right 0.4s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .hero {
        height: auto;
        min-height: 420px;
        padding: 2rem 0 3rem;
        display: flex;
        align-items: flex-start;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        justify-content: flex-start;
        padding-top: 0;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-content p {
        display: none;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image img {
        margin-right: 0;
        max-width: 100%;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        padding: 15px;
    }

    .feature-row .feature-image,
    .feature-row.reverse .feature-image {
        border-radius: 20px;
    }

    .feature-row .feature-text,
    .feature-row.reverse .feature-text {
        padding-left: 0;
        padding-right: 0;
    }

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

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-submit {
        grid-column: span 1;
        text-align: center;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 1.2rem;
    }

    .stats-content p {
        font-size: 1.3rem;
    }

    .stats-container {
        padding: 3rem 1.5rem;
    }

    .contact-box {
        padding: 2.5rem;
    }
}

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

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

    .mission-container h2,
    .categories h2,
    .contact-box h2,
    .feature-text h3 {
        font-size: 1.8rem;
    }

    .mission,
    .features,
    .categories,
    .stats-banner {
        padding: 4rem 0;
    }

    .contact-box {
        padding: 2rem 1.5rem;
    }
}

/* --- New Pages CSS --- */
.page-hero {
    width: 100%;
    position: relative;
}

.page-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 800px;
}

.page-hero .whatsapp-float {
    bottom: 30px;
    right: 30px;
}

/* Contact Page */
.page-title-banner {
    background: linear-gradient(to right, #2c5f94, #1b3d68);
    color: var(--text-light);
    text-align: center;
    padding: 2.5rem 0;
}

.page-title-banner h1 {
    font-size: 2.2rem;
    font-weight: 600;
}

.page-contact-wrapper {
    background-color: var(--primary-color);
    padding: 5rem 0;
}

.page-contact-wrapper .contact-box {
    background-color: transparent;
    padding: 0;
    max-width: 1000px;
}

.page-contact-wrapper h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

.page-contact-wrapper .form-group label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.page-contact-wrapper .form-group label span {
    color: #ff4d4d;
    margin-left: 3px;
}

/* About Page */
.narrative {
    padding: 6rem 0;
    background-color: #ffffff;
}

.narrative-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.narrative-title {
    flex: 1;
}

.narrative-title h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    line-height: 1.3;
    font-weight: 700;
}

.narrative-text {
    flex: 1.2;
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.mission-banner {
    background: linear-gradient(to top, #1F3271, #357FC2);
    color: var(--text-light);
    text-align: center;
    padding: 5rem 1.5rem;
}

.mission-banner h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.mission-banner p {
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-images {
    grid-gap: 0px;
    display: flex;
    width: 100%;
    margin-top: 15px;
}

.about-images img {
    width: 25%;
    height: 100%;
    object-fit: cover;
}

.about-images img:last-child {
    border-right: none;
}

.advantage {
    padding: 6rem 0 3rem 0;
    background-color: #ffffff;
}

.advantage-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.advantage-title {
    flex: 1;
}

.advantage-title h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    font-weight: 700;
}

.advantage-text {
    flex: 1.2;
}

.advantage-text p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.advantage-text p strong {
    color: #1a1a1a;
}

/* Products Page */
.products-header {
    background-color: #f4f6f8;
    text-align: center;
    padding: 4rem 0 3rem;
}

.products-header h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    padding-bottom: 10px;
    ;
}

.products-list {
    display: flex;
    flex-direction: column;
}

.product-item {
    position: relative;
    width: 100%;
    padding-bottom: 10px;
}

.product-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-item .whatsapp-float {
    bottom: 40px;
    right: 40px;
}

/* New Footer Layout */
.footer-columns-wrapper {
    display: flex;
    gap: 6rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.footer-help-col {
    text-align: left;
}

.footer-help-col h4 {
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.footer-help-col p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.footer-help-col a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {

    .narrative-container,
    .advantage-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-images {
        flex-wrap: wrap;
    }

    .about-images img {
        width: 50%;
        height: 300px;
        border-bottom: 4px solid #ffffff;
        border-right: none;
    }

    .footer-columns-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .footer-links-col ul,
    .footer-help-col {
        text-align: center;
    }

    .footer-container {
        justify-content: center !important;
        gap: 3rem !important;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-up {
    transform: translateY(40px);
}

.slide-in-left {
    transform: translateX(-60px);
}

.slide-in-right {
    transform: translateX(60px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
}

.animate-on-scroll.is-visible:not(.flip-in) {
    transform: translate(0, 0);
}

.flip-in {
    transform: perspective(400px) rotateY(90deg);
}

.animate-on-scroll.is-visible.flip-in {
    transform: perspective(400px) rotateY(0deg);
}

/* Animation Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.25s;
}

.delay-3 {
    transition-delay: 0.4s;
}

.delay-4 {
    transition-delay: 0.55s;
}

/* ── Search Bar Dropdown ── */
      .header-container {
        position: relative;
      }

      .search-icon-btn {
        background: none;
        border: none;
        cursor: pointer;
        color: #fff;
        padding: 6px 8px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s;
      }

      .search-icon-btn:hover {
        opacity: 0.7;
      }

      .search-dropdown {
        position: absolute;
        top: calc(100% + -5px);
        right: 20px;
        background: #ffffff;
        border: 1px solid #e2e2e2;
        border-radius: 10px;
        padding: 12px 18px;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition:
          opacity 0.25s ease,
          transform 0.25s ease;
        z-index: 9999;
        width: 30%;
      }

      .search-dropdown.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
      }

      .search-dropdown .search-prefix-icon {
        color: #aaa;
        font-size: 14px;
        flex-shrink: 0;
      }

      .search-dropdown input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 15px;
        font-family: "Inter", sans-serif;
        color: #222;
        background: transparent;
      }

      .search-dropdown input::placeholder {
        color: #bbb;
      }

      .search-close-btn {
        background: none;
        border: none;
        cursor: pointer;
        color: #999;
        padding: 5px 7px;
        border-radius: 50%;
        font-size: 14px;
        line-height: 1;
        transition:
          background 0.2s,
          color 0.2s;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .search-close-btn:hover {
        background: #f0f0f0;
        color: #333;
      }
      @media (max-width: 600px) {
  .search-dropdown {
    right: 0;
    left: 0;
    width: auto;       /* stretch full container width */
    border-radius: 0 0 10px 10px;  /* flat top, rounded bottom */
  }
}

/* Event style */

/* HERO */
.events-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* TITLE BAR */
.events-title {
    background: linear-gradient(to top, #1F3271, #357FC2);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.events-title h1 {
    margin: 0 0 15px 0;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.events-title p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
}

/* SECTION */
.events-section {
    background: #f4f6f8;
    padding: 80px 0;
}

.events-section .container {
    max-width: 1600px;
    padding: 0 6%;
}

/* ROW */
.event-row {

    margin-bottom: 60px;
    gap: 50px;
}

/* YEAR */
.year {
    padding-bottom: 30px;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    flex-shrink: 0;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 25px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    object-position: center;
    background-color: #f5f5f5;
}

.card h3, .card h4 {
    margin: 22px 22px 8px;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
}

.card p {
    margin: 0 22px 22px;
    font-size: 15px;
    color: var(--text-gray);
}

/* SCROLL GALLERY */
.scroll-gallery {
    overflow: hidden;
    padding: 20px 0;
}

.scroll-track {
    display: flex;
    width: max-content;
    animation: scroll 12s linear infinite;
}

.scroll-track img {
    width: 350px;
    height: 280px;
    margin-right: 20px;
    object-fit: cover;
}

/* ANIMATION */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- Events Page Responsive --- */
@media (max-width: 1024px) {
    .events-section .container {
        padding: 0 4%;
    }
    
    .event-row {
        gap: 30px;
    }
    
    .year {
        width: 140px;
        font-size: 28px;
    }
    
    .cards {
        gap: 15px;
    }
    
    .card img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .events-title {
        padding: 40px 0;
    }
    
    .events-title h1 {
        font-size: 36px;
    }
    
    .events-section {
        padding: 50px 0;
    }
    
    .event-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
        gap: 20px;
    }
    
    .year {
        width: 100%;
        font-size: 32px;
        text-align: left;
    }
    
    .cards {
        padding: 0 15px;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .card {
        width: 100%;
    }
    
    .card img {
        height: 220px;
    }
    
    .scroll-track img {
        width: 250px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .events-title h1 {
        font-size: 28px;
    }
    
    .events-title p {
        font-size: 16px;
    }
    
    .year {
        font-size: 28px;
    }
    
    .card img {
        height: 180px;
    }
    
    .scroll-track img {
        width: 200px;
        height: 150px;
    }
}

.sociallinks {
    display: flex;
}

.sociallinks i {
    font-size: 20px;
    padding-right: 20px;
    margin-top: 30px;
}
.details {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
.sociallinks {
    justify-content: center;
}
}