/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }
}

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

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

@media (min-width: 768px) {
    .logo img {
        width: 200px;
    }
}

@media (min-width: 1024px) {
    .logo img {
        width: 250px;
    }
}

.nav-desktop {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

@media (min-width: 1200px) {
    .nav-list {
        gap: 4rem;
    }
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.2s;
}

@media (min-width: 1200px) {
    .nav-link {
        font-size: 1.25rem;
    }
}

.nav-link:hover {
    color: #1e3a5f;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav {
    display: none;
    background: white;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: background-color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background-color: #f3f4f6;
    color: #1e3a5f;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, white, #DBBE84);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem 1rem 3rem;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 4rem 1.5rem;
    }
}

.hero-badge {
    display: inline-block;
    background: #580E13;
    color: white;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    word-break: break-all;
}

@media (min-width: 768px) {
    .hero-badge {
        padding: 0.5rem 1.5rem;
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-badge {
        font-size: 1.5rem;
    }
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #20335A;
    margin-bottom: 1.5rem;
    max-width: 48rem;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 5.625rem;
    }
}

.hero-desc {
    color: #20335A;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 64rem;
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-desc {
        font-size: 1.5rem;
    }
}

/* Gallery Section */
.gallery {
    background: #20335A;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .gallery {
        padding: 5rem 0;
    }
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .gallery-image-wrapper {
        max-width: 75%;
    }
}

@media (min-width: 1024px) {
    .gallery-image-wrapper {
        max-width: 50%;
    }
}

.gallery-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* News Section */
.news {
    position: relative;
    width: 100%;
    padding: 2rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .news {
        padding: 4rem 0;
    }
}

.news-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/background2.png');
    background-size: cover;
    background-position: center;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, white, #DBBE84);
    opacity: 0.8;
}

.news-content {
    position: relative;
    z-index: 10;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .news-content {
        margin-top: 4rem;
    }
}

/* LinkedIn Section */
.linkedin-section {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .linkedin-section {
        border-radius: 1.5rem;
        padding: 2rem;
        margin-bottom: 6rem;
    }
}

.linkedin-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .linkedin-header {
        margin-bottom: 3rem;
        gap: 1rem;
    }
}

.linkedin-header img {
    width: 35px;
    height: 35px;
}

@media (min-width: 768px) {
    .linkedin-header img {
        width: 55px;
        height: 55px;
    }
}

.linkedin-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #20335A;
}

@media (min-width: 768px) {
    .linkedin-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .linkedin-title {
        font-size: 3rem;
    }
}

/* Carousel */
.carousel {
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 calc(100% - 2rem);
    scroll-snap-align: center;
    min-width: 280px;
}

@media (min-width: 480px) {
    .carousel-slide {
        flex: 0 0 320px;
    }
}

@media (min-width: 768px) {
    .carousel-slide {
        flex: 0 0 400px;
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        flex: 0 0 500px;
    }
}

.linkedin-iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (min-width: 480px) {
    .linkedin-iframe {
        height: 450px;
    }
}

@media (min-width: 768px) {
    .linkedin-iframe {
        height: 500px;
    }
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .carousel-controls {
        margin-top: 2rem;
        padding: 0;
    }
}

.carousel-btn {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn svg {
    width: 32px;
    height: 32px;
}

@media (min-width: 768px) {
    .carousel-btn svg {
        width: 40px;
        height: 40px;
    }
}

/* Services Section */
.services-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .services-section {
        margin-bottom: 4rem;
        padding: 0;
    }
}

.services-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #20335A;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .services-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services-title {
        font-size: 3rem;
    }
}

.services-desc {
    max-width: 48rem;
    margin: 0 auto 2rem;
    color: #20335A;
    font-size: 0.9375rem;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .services-desc {
        margin: 0 auto 4rem;
        font-size: 1rem;
        padding: 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

.services-grid-2 {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .services-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .service-card {
        padding: 2rem;
    }
}

.service-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .service-icon {
        width: 4rem;
        height: 4rem;
        margin-bottom: 1rem;
    }
}

.service-title {
    color: #20335A;
    text-align: center;
    font-weight: 500;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .service-title {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    background: #580E13;
    color: white;
    padding: 3rem 0 5rem;
}

@media (min-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2.5rem;
    }
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 3.5rem;
        margin-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .contact-title {
        font-size: 4.5rem;
        margin-bottom: 5rem;
    }
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-item {
        margin-bottom: 2rem;
    }
}

.contact-icon {
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .contact-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .contact-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.contact-text {
    font-size: 1rem;
    word-break: break-all;
}

@media (min-width: 480px) {
    .contact-text {
        word-break: normal;
    }
}

@media (min-width: 768px) {
    .contact-text {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .contact-text {
        font-size: 1.875rem;
    }
}

.contact-person {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .contact-person {
        justify-content: flex-end;
    }
}

.person-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 16rem;
}

@media (min-width: 768px) {
    .person-image-wrapper {
        max-width: 22rem;
    }
}

@media (min-width: 1024px) {
    .person-image-wrapper {
        max-width: 28rem;
    }
}

.person-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 0.375rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.person-signature {
    position: absolute;
    bottom: -2rem;
    right: 0;
    width: 80%;
    max-width: 14rem;
    height: auto;
}

@media (min-width: 768px) {
    .person-signature {
        bottom: -3rem;
        right: 1rem;
        max-width: 18rem;
    }
}

@media (min-width: 1024px) {
    .person-signature {
        max-width: 20rem;
    }
}

/* Footer */
.footer {
    background: #20335A;
    color: white;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 3rem 0;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-logo {
        margin-bottom: 4rem;
    }
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

@media (min-width: 768px) {
    .footer-logo img {
        max-width: 300px;
    }
}

@media (min-width: 1024px) {
    .footer-logo img {
        max-width: 360px;
    }
}

.footer-divider {
    width: 100%;
    height: 2px;
    background: white;
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-divider {
        margin-bottom: 2rem;
    }
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-nav {
        justify-content: space-between;
        gap: 0.5rem;
    }
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem;
    transition: text-decoration 0.2s;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
    .footer-link {
        font-size: 1.25rem;
        padding: 0.5rem;
    }
}

.footer-link:hover,
.footer-link:active {
    text-decoration: underline;
}
