:root {
    --main-color: #2A4449;
    --white: #FFFFFF;
    --btn: rgba(42, 68, 73, 60%);
}
* {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--main-color) !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.font-caudex {
    font-family: "Caudex", serif;
    font-style: normal;
}
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}
@media screen and (max-width: 1400px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.btn {
    background-color: transparent;
    border: 1px solid var(--main-color);
    border-radius: 20px;
    padding: 5px 20px !important;
}
.btn-full {
    background-color: var(--btn);
    color: var(--white) !important;
    border: 2px solid var(--main-color);
}
.btn-dark {
    border: 1px solid var(--main-color);
}
.btn-dark:hover {
    background-color: var(--main-color);
    color: var(--white) !important;
}
.btn-white {
    border: 1px solid var(--white);
    color: var(--white) !important;
}
.btn-white:hover {
    background-color: var(--white);
    color: var(--main-color) !important;
}
.title {
    font-family: "Caudex", serif;
    font-style: normal;
    font-size: 48px;
}
.hero {
    height: 97vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero h1 {
    font-size: 100px;
    font-weight: 400;
}
.hero-home h1 {
    font-size: 60px;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: 34px;
    margin-top: 6px;
    margin-bottom: 14px;
}
@media screen and (min-width: 769px) {
    .hero-home .hero-home-content h1 {
        max-width: 820px;
    }
    .hero-home .hero-home-content .hero-subtitle {
        max-width: 820px;
    }
    .hero-home .hero-home-content p {
        max-width: 700px;
    }
}
@media screen and (max-width: 768px) {
    .hero {
        height: auto;
    }
    .hero h1 {
        font-size: 56px;
    }
    .hero-home h1 {
        font-size: 42px;
    }
    .hero-subtitle {
        font-size: 28px;
    }
}
.hero h3 {
    font-family: "Caudex", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 64px;
}
@media screen and (max-width: 768px) {
    .hero h3 {
        font-size: 48px;
    }
}
.hero p {
    font-size: 24px;
    line-height: 1.4;
}
@media screen and (max-width: 768px) {
    .hero p {
        font-size: 20px;
    }
}
.hero .btn {
    font-size: 20px;
    padding: 12px 30px !important;
}
@media screen and (max-width: 768px) {
    .hero .btn {
        font-size: 18px;
        padding: 10px 25px !important;
    }
}
.section-blue {
    background-image: url("../assets/images/blue-section.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.section-green {
    background-image: url("../assets/images/green-section.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.section-orange {
    background-image: url("../assets/images/orange-section.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.section-pink {
    background-image: url("../assets/images/pink-section.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.footer {
    background-image: url("../assets/images/footer-section.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.accordion-button {
    background-color: transparent !important;
}
.left-border {
    border-left: 1px solid #3A5B62;
}
.contact-border {
    border-right: 1px solid #cccccc;
}
.nav-item .active {
    background-color: #F7F0EB;
    border-radius: 30px;
}
.service-card-blue:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000;
    h3, p, li {
        color: #000000 !important;
    }
}
.service-card-pink:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000;
    h3, p, li {
        color: #000000 !important;
    }
}
.service-card-green:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000;
    h3, p, li {
        color: #000000 !important;
    }
}
@media screen and (max-width: 768px) {
    .left-border {
        border-left: none !important;
    }
    .contact-border {
        border-right: none !important;
    }
    .section-blue, .footer {
        background: none;
        background-color: #2A4449;
    }
    .section-pink {
        background: none;
        background-color: #D7B49D;
    }
    .section-green {
        background: none;
        background-color: #738063;
    }
    .nav-home {
        background-color: rgba(255, 255, 255, 0.8);
        position: relative !important;
    }
}

/* Testimonials Styles */
.testimonial-card {
    background-color: transparent;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: var(--main-color);
}

.testimonial-author h5 {
    color: var(--main-color);
    font-size: 20px;
}

.testimonial-author p {
    color: #6c757d;
    font-size: 14px;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--main-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: var(--main-color);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--main-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

@media screen and (max-width: 768px) {
    .testimonial-text {
        font-size: 16px;
    }
    
    .testimonial-card {
        padding: 2rem !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

.news-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f8f2ec 0%, #ffffff 65%);
    position: relative;
}

.news-modal-content::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto;
    height: 220px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    pointer-events: none;
    animation: newsGlow 4s ease-in-out infinite;
}

.news-modal-header {
    display: block;
    padding: 1.25rem 1.5rem 0.5rem;
    position: relative;
    background: linear-gradient(120deg, #2A4449 0%, #3f5f66 100%);
}

.news-modal-header .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    filter: invert(1);
    opacity: 0.9;
}

.news-modal-header .modal-title {
    color: #ffffff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    width: 100%;
    padding-right: 26px;
    font-size: 2rem;
    line-height: 1.2;
}

.news-modal-body {
    position: relative;
    z-index: 2;
}

.news-modal-content .modal-body h4 {
    color: #2A4449 !important;
}

.news-modal-text {
    color: #2A4449;
    font-size: 18px;
}

.news-modal-content .btn-dark {
    background-color: transparent;
    border: 1px solid #2A4449;
    color: #2A4449 !important;
}

.news-modal-content .btn-dark:hover {
    background-color: #2A4449;
    color: #ffffff !important;
}

@keyframes newsGlow {
    0%, 100% { opacity: 0.8; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(4px); }
}