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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (max-width: 992px) {
    html {
        scroll-padding-top: 70px;
    }
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    overflow-x: hidden;
    padding-top: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #2d5a5a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-text {
    color: #2d5a5a;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Navigation Menu */
.navbar-transparent {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1050;
    top: 0 !important;
    position: fixed !important;
}

.navbar-transparent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    transform: translateY(100%);
}

.navbar-transparent .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
    align-items: center;
    position: relative;
}

/* Desktop: меню всегда видно */
@media (min-width: 993px) {
    .navbar-transparent .navbar-collapse {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        position: relative;
        width: 100%;
    }
}

/* Mobile: меню скрыто по умолчанию, управляется через Bootstrap collapse */
@media (max-width: 992px) {
    .navbar-transparent .navbar-collapse {
        display: none !important;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        margin-top: 10px;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        justify-content: flex-start;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    /* Показываем меню только когда есть класс show */
    .navbar-transparent .navbar-collapse.collapse.show,
    .navbar-transparent .navbar-collapse.show {
        display: flex !important;
    }
    
    /* Скрываем меню когда нет класса show */
    .navbar-transparent .navbar-collapse.collapse:not(.show) {
        display: none !important;
    }
    
    /* Стили для анимации открытия/закрытия */
    .navbar-transparent .navbar-collapse.collapsing {
        display: block !important;
        height: 0;
        overflow: hidden;
        transition: height 0.35s ease;
    }
}


.navbar-transparent .navbar-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    margin: 0;
}

#languageButtons {
    position: relative;
    z-index: 10;
}

.navbar-transparent .navbar-nav .nav-link {
    color: #2d5a5a !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.navbar-transparent .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 0;
    height: 2px;
    background-color: #a87c4f;
    transition: width 0.3s ease;
}

.navbar-transparent .navbar-nav .nav-link:hover::after,
.navbar-transparent .navbar-nav .nav-link.active::after {
    width: calc(100% - 40px);
}

.navbar-transparent .navbar-nav .nav-link:hover {
    color: #a87c4f !important;
}

.navbar-transparent .navbar-nav .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 90, 90, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 250px;
}

.navbar-transparent .navbar-nav .dropdown-item {
    color: #2d5a5a;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.navbar-transparent .navbar-nav .dropdown-item:hover {
    background-color: rgba(168, 124, 79, 0.1);
    color: #a87c4f;
}

.navbar-transparent .navbar-nav .dropdown-toggle::after {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.navbar-transparent .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.navbar-transparent .navbar-toggler {
    border: 2px solid #2d5a5a;
    border-radius: 6px;
    padding: 6px 10px;
    transition: all 0.3s ease;
}

.navbar-transparent .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 90, 0.25);
}

.navbar-transparent .navbar-toggler:hover {
    border-color: #a87c4f;
    background-color: rgba(168, 124, 79, 0.05);
}

.navbar-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 90, 90, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* Language Buttons */
.language-btn {
    min-width: 45px;
    height: 45px;
    padding: 8px 15px;
    border: 2px solid #2d5a5a;
    background-color: transparent;
    color: #2d5a5a;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-btn:hover {
    background-color: transparent;
    color: #a87c4f !important;
    border-color: #a87c4f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(168, 124, 79, 0.2);
}

.language-btn.active {
    background-color: #2d5a5a;
    color: #ffffff;
    border-color: #2d5a5a;
}

/* Main Page Container - Fixed Background */
.page-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/background/riga-historical.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
}

.logo-container {
    position: fixed;
    top: 120px;
    left: 100px;
    z-index: 1100;
    will-change: transform;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.main-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    transform-origin: top left;
    will-change: transform;
    transition: all 0.3s ease;
}

/* Catalog Section */
.catalog-section {
    min-height: 100vh;
    padding: 550px 0 100px;
    position: relative;
    z-index: 1;
}

.catalog-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Category Divider (Colorful Header with Distressed Texture) */
.category-divider {
    width: 100%;
    padding: 0;
    margin: 60px 0 40px;
    text-align: center;
    border-radius: 0;
    position: relative;
    scroll-margin-top: 0;
    overflow: hidden;
}

.category-divider:first-child {
    margin-top: 0;
}

/* Рваные края сверху и снизу - distressed texture */
.category-divider::before,
.category-divider::after {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    height: 35px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.25;
}

.category-divider::before {
    top: -15px;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 8px,
            rgba(0, 0, 0, 0.4) 8px,
            rgba(0, 0, 0, 0.4) 12px
        ),
        radial-gradient(ellipse at 15% 50%, rgba(0, 0, 0, 0.3) 0%, transparent 25%),
        radial-gradient(ellipse at 35% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 30%),
        radial-gradient(ellipse at 55% 50%, rgba(0, 0, 0, 0.25) 0%, transparent 28%),
        radial-gradient(ellipse at 75% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 32%),
        radial-gradient(ellipse at 90% 50%, rgba(0, 0, 0, 0.3) 0%, transparent 27%);
    transform: translateY(-50%);
    clip-path: polygon(0% 0%, 8% 15%, 15% 8%, 22% 18%, 28% 10%, 35% 20%, 42% 12%, 50% 22%, 58% 14%, 65% 24%, 72% 16%, 80% 26%, 88% 18%, 95% 28%, 100% 20%, 100% 0%, 0% 0%);
}

.category-divider::after {
    bottom: -15px;
    background: 
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 8px,
            rgba(0, 0, 0, 0.4) 8px,
            rgba(0, 0, 0, 0.4) 12px
        ),
        radial-gradient(ellipse at 12% 50%, rgba(0, 0, 0, 0.3) 0%, transparent 25%),
        radial-gradient(ellipse at 32% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 30%),
        radial-gradient(ellipse at 52% 50%, rgba(0, 0, 0, 0.25) 0%, transparent 28%),
        radial-gradient(ellipse at 72% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 32%),
        radial-gradient(ellipse at 92% 50%, rgba(0, 0, 0, 0.3) 0%, transparent 27%);
    transform: translateY(50%);
    clip-path: polygon(0% 100%, 6% 85%, 12% 92%, 18% 82%, 24% 90%, 30% 80%, 36% 88%, 42% 78%, 48% 86%, 54% 76%, 60% 84%, 66% 74%, 72% 82%, 78% 72%, 84% 80%, 90% 70%, 96% 78%, 100% 72%, 100% 100%, 0% 100%);
}

.category-divider-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    position: relative;
    z-index: 1;
}

.category-divider-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-divider-subtitle {
    font-size: 1.2rem;
    font-weight: normal;
    margin: 10px 0 0 0;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    font-style: italic;
}

/* Distressed texture overlay */
.category-divider::after {
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        ),
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.04) 0%, transparent 60%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d5a5a;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Georgia', 'Times New Roman', serif;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, #a87c4f, transparent);
}

.category-section {
    margin-bottom: 80px;
}

.category-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2d5a5a;
    margin-bottom: 60px;
    text-align: left;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.2;
    display: none; /* Скрываем старый заголовок, используем цветные плашки */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.product-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 1px solid rgba(45, 90, 90, 0.1);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-info {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #5a3a2a;
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail-box {
    background-color: #f0f0f0;
    padding: 12px 16px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.95rem;
    color: #5a3a2a;
    font-weight: 600;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.detail-value {
    font-size: 0.95rem;
    color: #5a3a2a;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.product-image-container {
    width: 300px;
    min-width: 300px;
    height: 250px;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

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

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-transparent .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo-container {
        display: none;
    }

    .navbar-transparent {
        padding: 8px 0;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        min-height: 60px;
    }

    .navbar-transparent .navbar-toggler {
        padding: 4px 8px;
        font-size: 1rem;
    }


    .navbar-transparent .navbar-nav {
        position: static;
        transform: none;
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    #languageButtons {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px !important;
        margin-top: 10px;
    }

    .navbar-transparent .navbar-nav .nav-link {
        padding: 14px 15px !important;
        border-bottom: 1px solid rgba(45, 90, 90, 0.1);
        font-size: 1rem;
        text-align: left;
    }

    .navbar-transparent .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-transparent .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-transparent .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(45, 90, 90, 0.05);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin-left: 15px;
        margin-right: 15px;
    }

    .navbar-transparent .navbar-nav .dropdown-item {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(45, 90, 90, 0.1);
        font-size: 0.95rem;
        color: #2d5a5a;
    }

    .navbar-transparent .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar-transparent .navbar-nav .dropdown-item:hover {
        background-color: rgba(168, 124, 79, 0.15);
        color: #a87c4f;
    }

    .language-btn {
        min-width: 45px;
        height: 45px;
        font-size: 0.9rem;
        flex: 0 0 auto;
    }

    .catalog-section {
        padding: 100px 0 60px;
        margin-top: 0;
    }

    .page-container {
        background-attachment: scroll;
    }

    /* About Section на мобильных */
    .about-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    /* Contact Section на мобильных */
    .contact-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .category-divider {
        margin: 40px 0 30px;
    }

    .category-divider-content {
        padding: 35px 15px;
    }

    .category-divider-title {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }

    .category-divider-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px;
    }

    .logo-container {
        display: none;
    }

    .navbar-transparent {
        padding: 6px 0;
        min-height: 56px;
    }

    .navbar-transparent .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-transparent .navbar-toggler {
        padding: 3px 6px;
        font-size: 0.9rem;
    }

    .navbar-transparent .navbar-collapse {
        margin-top: 8px;
        padding: 12px;
        max-height: calc(100vh - 70px);
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        flex-direction: column;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .product-card:active {
        transform: scale(0.98);
    }
    
    .product-image-container {
        width: 100%;
        min-width: 100%;
        height: 200px;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-name {
        font-size: 1.1rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .product-detail-box {
        padding: 10px 14px;
    }

    .detail-label {
        font-size: 0.9rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }
    
    .category-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        padding-bottom: 15px;
    }

    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    .catalog-section {
        padding: 80px 0 50px;
        margin-top: 0;
    }

    .about-section {
        padding: 80px 0 50px;
        min-height: auto;
    }

    .contact-section {
        padding: 80px 0 50px;
        min-height: auto;
    }

    .category-divider {
        margin: 30px 0 20px;
        border-radius: 0;
    }

    .category-divider-content {
        padding: 30px 15px;
    }

    .category-divider-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
        line-height: 1.3;
    }

    .category-divider-subtitle {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    .category-section {
        margin-bottom: 50px;
    }
}

/* About Section */
.about-section {
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.98);
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #a87c4f;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
    font-style: italic;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a3a2a;
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

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

.about-block {
    background: rgba(255, 255, 255, 0.9);
    padding: 35px;
    border-radius: 10px;
    border-left: 4px solid #2d5a5a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.about-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(45, 90, 90, 0.2);
}

.about-block-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d5a5a;
    margin-bottom: 20px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.about-block-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #5a3a2a;
    text-align: justify;
}

/* Responsive for About Section */
@media (max-width: 992px) {
    .about-section {
        padding: 80px 0;
    }

    .about-blocks {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .about-description {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 40px;
        line-height: 1.7;
    }
    
    .about-blocks {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .about-block {
        padding: 25px 20px;
        border-left-width: 3px;
    }
    
    .about-block-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .about-block-content {
        font-size: 0.95rem;
        text-align: left;
        line-height: 1.7;
    }

    .about-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* Contact Section */
.contact-section {
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: #2d5a5a;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item h5 {
    color: #2d5a5a;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #5a3a2a;
    margin: 0;
    font-size: 1rem;
}

.contact-item a {
    color: #2d5a5a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #a87c4f;
    text-decoration: underline;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-form-container h4 {
    color: #2d5a5a;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.contact-form-container .form-label {
    color: #2d5a5a;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form-container .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form-container .form-control:focus {
    border-color: #2d5a5a;
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 90, 0.25);
    outline: none;
}

.contact-form-container .btn-primary {
    background-color: #2d5a5a;
    border-color: #2d5a5a;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-form-container .btn-primary:hover {
    background-color: #a87c4f;
    border-color: #a87c4f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(168, 124, 79, 0.3);
}

#formMessage {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #2d5a5a;
    color: #ffffff;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-year {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Responsive for Contact Section and Footer */
@media (max-width: 992px) {
    .contact-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .contact-info,
    .contact-form-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .contact-item {
        margin-bottom: 25px;
        gap: 15px;
    }

    .contact-item i {
        font-size: 1.3rem;
    }

    .contact-item h5 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.95rem;
    }

    .contact-form-container h4 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .contact-form-container .form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .contact-form-container .btn-primary {
        width: 100%;
        padding: 14px 30px;
    }
    
    .footer {
        padding: 35px 0;
        text-align: center;
    }
    
    .footer .col-md-6.text-md-end {
        text-align: center !important;
        margin-top: 20px;
    }

    .footer h5 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .footer p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-year {
        font-size: 0.85rem;
    }
}
