/* ===================================
   ANTICORR SA - Estilos Unificados
   =================================== */

/* Reset y Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #A52320;
    --secondary-color: #454545;
    --text-color: #868686;
    --heading-color: #454545;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #EEEEEE;
    --gray-medium: #B5B5B5;
    --gray-dark: #636363;
    --font-primary: 'Montserrat', Helvetica, Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-h1: 28px;
    --font-size-h2: 24px;
    --font-size-h3: 20px;
    --font-size-h4: 16px;
    --font-size-h5: 14px;
    --font-size-h6: 12px;
    --container-width: 1170px;
    --section-padding: 50px 0;
}

/* Critical CSS - Prevent FOUC and layout shifts */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--heading-color);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ===================================
   HEADER
   =================================== */

.header {
    background-color: var(--white);
    position: relative;
    z-index: 1002;
}

.topbar {
    background-color: var(--gray-light);
    padding: 8px 0;
}

.topbar-separator {
    margin: 0 10px;
    color: var(--gray-medium);
}

.topbar-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.topbar-contacts {
    color: var(--text-color);
    font-size: 13px;
}

.topbar-contacts i {
    color: var(--primary-color);
    margin-right: 5px;
}

.topbar-contacts a {
    color: var(--text-color);
}

.topbar-contacts a:hover {
    color: var(--primary-color);
}

.header-middle {
    padding: 15px 0;
}

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

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

.header-contacts {
    display: flex;
    gap: 40px;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contact-info {
    display: flex;
    flex-direction: column;
}

.header-contact-title {
    font-size: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.header-contact-link {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 400;
}

/* Main Navigation */
.main-nav {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1002;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item a {
    display: block;
    padding: 18px 20px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-item:hover a,
.nav-item.active a {
    border-bottom-color: var(--gray-medium);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    position: relative;
}

.hamburger-icon .line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.2s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-icon .line:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-icon .line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-icon .line:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: top 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 80px);
}

.mobile-menu.active {
    top: 80px;
}

.mobile-nav {
    padding: 20px 0;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--secondary-color);
    font-weight: 600;
    border-bottom: 1px solid var(--gray-light);
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.mobile-menu-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    border-top: 2px solid var(--gray-light);
    margin-top: auto;
    background-color: #f9f9f9;
}

.mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(165, 35, 32, 0.3);
}

.mobile-menu-icon:hover,
.mobile-menu-icon:active {
    background-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(69, 69, 69, 0.4);
}

/* Mobile Menu Overlay (created by JS) */
.mobile-menu-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 600px;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

.hero-title {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-cta {
    font-size: 14px;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
    padding: 50px 0 30px;
}

.section-header {
    text-align: left;
    margin-bottom: 40px;
}

.section-subtitle {
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--heading-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
    background-color: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    color: var(--white);
    font-size: 36px;
}

.service-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.service-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* ===================================
   QUOTE SECTION
   =================================== */

.quote-section {
    padding: 50px 0;
    background: var(--black) url('../images/uploads/revslider/homepage-02/slider-home02-037bf47bf4.jpg') center/cover no-repeat;
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.quote-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-intro {
    font-size: 22px;
    color: #cccccc;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.6;
}

.quote-text {
    font-size: 16px;
    color: var(--white);
    font-weight: 700;
    line-height: 1.6;
    margin: 20px 0;
    padding: 0 0 0 20px;
    border: none;
    border-left: 3px solid var(--primary-color);
}

.quote-author {
    font-size: 16px;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 5px;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    padding: 50px 0;
    border-top: 50px solid var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    margin: 20px 0;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--heading-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #f2f2f2;
    border-color: rgba(0, 0, 0, 0.01);
}

.btn-primary:hover {
    background-color: #bf0900;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(165, 35, 32, 0.3);
}

/* ===================================
   VIDEO SECTION
   =================================== */

.video-section {
    padding: 50px 0;
    background-color: var(--gray-light);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===================================
   CONTACT INFO SECTION
   =================================== */

.contact-info-section {
    padding: 50px 0;
    background-color: var(--gray-dark);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-info-card {
    background-color: rgba(10, 10, 10, 0.42);
    padding: 30px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    background-color: rgba(0, 0, 0, 0.62);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: var(--primary-color);
    font-size: 32px;
}

.contact-info-title {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-info-text {
    color: var(--white);
    font-size: 14px;
    line-height: 1.6;
}

.contact-info-text a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
}

.contact-info-text a {
    color: var(--white);
}

.contact-info-text a:hover {
    color: var(--primary-color);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: var(--black);
    color: rgba(255, 255, 255, 0.5);
}

.footer-widgets {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-widget-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-logo img {
    width: 50%;
    margin-bottom: 15px;
}

.footer-widget p {
    max-width: 50%;
    line-height: 1.8;
    text-align: center;
}

.footer-menu {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}

.footer-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-menu a {
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px 0;
}

.footer-bottom-content {
    text-align: center;
}

.footer-copyright p {
    font-size: 13px;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-color);
}

/* ===================================
   GALLERY LIGHTBOX
   =================================== */

.gallery-item {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ===================================
   PAGE TITLE SECTION (internal pages)
   =================================== */

.page-title {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-title-text {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Page Content */
.page-content {
    padding: 80px 0;
}

/* About Detail Section */
.about-detail-section {
    margin-bottom: 80px;
}

.about-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.image-gallery {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 5px;
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-image.active {
    opacity: 1;
}

.content-title {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.title-separator {
    width: 100%;
    height: 1px;
    background-color: var(--gray-light);
    margin: 20px 0;
}

.content-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-text strong {
    color: var(--heading-color);
}

/* Info Sections */
.info-sections {
    padding: 50px 0;
    margin-top: 50px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-left: 3px solid var(--primary-color);
    border-radius: 3px;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--heading-color);
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.info-content p {
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
}

/* Contact Page Styles */
.contact-top-section {
    margin-bottom: 50px;
}

.contact-top-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details-card {
    background-color: #232323;
    padding: 40px;
    border-radius: 5px;
    color: var(--white);
}

.contact-details-card h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 20px;
}

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

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.contact-detail-text {
    flex: 1;
    min-width: 0;
    color: var(--white);
    line-height: 1.6;
}

.contact-detail-text a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--white);
}

/* Google Map */
.google-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 5px;
    overflow: hidden;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: var(--white);
    font-size: 40px;
}

/* Activities Page */
.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.activities-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.activity-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.activity-images img {
    width: 100%;
    border-radius: 5px;
}

.activity-content {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
}

.activity-highlight {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-left: none;
    margin-bottom: 20px;
}

.activity-description {
    border-left: 3px solid var(--primary-color);
    padding: 20px 30px;
    margin: 0;
}

.activity-description ul {
    margin-top: 15px;
    padding-left: 20px;
}

.activity-description li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.activities-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 50px;
}

.note-item {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.note-item p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 50px;
}

.benefits-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    line-height: 1.4;
}

.benefits-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.benefits-images img {
    width: 100%;
    border-radius: 5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    font-size: 14px;
    line-height: 1.8;
}

.benefit-item p {
    margin-bottom: 15px;
}

.benefit-item ul {
    list-style: none;
    padding: 0;
}

.benefit-item li {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Brochure Download Section */
.brochure-download-section {
    background-color: var(--primary-color);
    width: 100%;
    padding: 50px 20px;
    box-sizing: border-box;
}

.brochure-download-content {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brochure-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.brochure-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brochure-cta:hover {
    transform: translateY(-3px);
}

.brochure-cta:hover .brochure-icon {
    background-color: #454545;
}

.brochure-icon {
    width: 80px;
    height: 80px;
    background-color: #353535;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.brochure-icon i {
    font-size: 30px;
    color: var(--white);
}

.brochure-text {
    color: var(--white);
}

.brochure-subtitle {
    font-size: 14px;
    color: rgba(252, 252, 252, 0.4);
    margin-bottom: 5px;
}

.brochure-link {
    font-size: 16px;
    font-weight: 600;
    color: #a0a0a0;
    letter-spacing: 0.5px;
}

/* Resources Technical Page */
.resources-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.resources-main, .resources-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.resource-section {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
}

.resource-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.resource-section blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

.resource-section blockquote p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.resources-image img {
    width: 100%;
    border-radius: 5px;
}

/* Laboratory Page */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.lab-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lab-column blockquote {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    margin: 0;
}

.lab-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.lab-column ul {
    list-style: none;
    padding: 0;
}

.lab-column li {
    padding: 8px 0;
    line-height: 1.8;
}

.lab-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.lab-images img {
    width: 100%;
    border-radius: 5px;
}

.download-brochure {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 5px;
    text-align: center;
}

.download-brochure h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.download-brochure p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-brochure .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.download-brochure .btn:hover {
    background-color: var(--heading-color);
    color: var(--white);
    border-color: var(--heading-color);
}

/* Quality Page */
.quality-intro {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.quality-icon img {
    width: 180px;
    height: auto;
}

.quality-text p {
    line-height: 1.8;
    margin: 0;
}

.quality-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.quality-images img {
    width: 100%;
    border-radius: 5px;
}

.quality-commitments {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.commitment-column blockquote {
    background-color: #f9f9f9;
    border-left: 3px solid var(--primary-color);
    padding: 30px;
    margin: 0;
}

.commitment-column h4 {
    margin-bottom: 20px;
}

.commitment-column ul {
    list-style: none;
    padding: 0;
}

.commitment-column li {
    padding: 10px 0;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.commitment-column li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===================================
   SCROLL REVEAL ANIMATIONS
   =================================== */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media screen and (max-width: 992px) {
    .header-contacts {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .header-middle-content {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 0 60px;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        left: 15px;
        z-index: 10;
        -webkit-tap-highlight-color: transparent;
    }

    .logo {
        text-align: center;
        flex: 1;
        margin: 0 auto;
    }

    .main-nav {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .services-grid,
    .about-grid,
    .contact-info-grid,
    .footer-grid,
    .about-detail-grid,
    .info-grid,
    .contact-top-grid,
    .activities-grid,
    .activities-notes,
    .activity-images,
    .benefits-images,
    .benefits-grid,
    .resources-grid,
    .lab-grid,
    .quality-commitments {
        grid-template-columns: 1fr;
    }

    .about-detail-grid {
        gap: 40px;
    }

    .footer-logo img,
    .footer-widget p {
        width: 100%;
        max-width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 30px;
    }

    .brochure-download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brochure-cta {
        justify-content: center;
    }

    .brochure-image {
        display: flex;
        justify-content: center;
    }

    .quality-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .quality-icon {
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .topbar {
        display: none;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        height: 50px;
    }

    .header-middle {
        padding: 15px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 20px;
        padding: 10px 15px;
    }

    .lightbox-close {
        font-size: 30px;
        top: -35px;
    }

    .page-title {
        height: 250px;
    }

    .page-title-text {
        font-size: 28px;
    }

    .page-content {
        padding: 50px 0;
    }

    .content-title {
        font-size: 24px;
    }

    .about-detail-section {
        margin-bottom: 50px;
    }

    .image-gallery {
        height: 350px;
    }

    .lab-images,
    .quality-images {
        grid-template-columns: 1fr;
    }

    .contact-details-card {
        padding: 20px;
    }

    .google-map {
        min-height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero {
        height: 350px;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .page-title {
        height: 200px;
    }

    .page-title-text {
        font-size: 22px;
    }

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