@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* ===== RESET & BASE STYLES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', 'Argentum Sans', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

.main-content {
    width: 100%;
    overflow-x: hidden;
}

/* ===== COMMON COMPONENTS ===== */
.industry-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    /* padding: 2rem 1rem; */
    width: 100%;
}

.industry-hero-overlay {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50vh;
    background: linear-gradient(135deg, #AA7218, #363c4fbe);
}

.industry-hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.628);
    line-height: 1.2;
}

.industry-hero p {
    font-size: 1rem;
    color: white;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #dddddd15;
    padding: 15px;
    background: #aa721828;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.194);
    font-weight: 300;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.services-intro {
    padding: 20px 1rem;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #D3A31C;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: #363C4F;
    text-align: center;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    grid-template-columns: 1fr;
}

.service-card {
    background: white;
    padding: 1.25rem;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.194);
    transition: transform 0.3s ease;
    border-top: 2px solid #D3A31C;
    height: 100%;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
    font-size: 1.2rem;
    line-height: 1.3;
}

.service-card p {
    color: #34495e;
    line-height: 1.6;
    font-size: 0.95rem;
}

.image-gallery {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    padding: 0 1rem;
    grid-template-columns: 1fr;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.228);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.cta-section {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 5px;
    margin: 3rem 1rem;
    background: #D3A31C;
}

.cta-section h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #363c4feb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', 'Argentum Sans', sans-serif;
}

.cta-button:hover {
    background-color: #363C4F;
}

/* ===== PAGE 3: HOTELS, HOSPITALS & INSTITUTIONS ===== */
/* .hotels-institutions .industry-hero {
    background-image: url(../images/contact/hero.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hotels-institutions .image-gallery {
    grid-template-columns: 1fr;
} */

.industry-hero {
    background-image: url(../images/industries-hero.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Small tablets and large phones (600px and up) */
@media (min-width: 600px) {
    .industry-hero-overlay {
        padding: 2rem 1.5rem;
    }
    
    .industry-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-intro {
        padding: 20px 1.5rem;
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
        gap: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
        gap: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .cta-section {
        margin: 3rem 1.5rem;
        padding: 2.5rem 1.5rem;
    }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .industry-hero {
        min-height: 55vh;
    }
    
    .industry-hero-overlay {
        padding: 3rem 2rem;
        min-height: 55vh;
    }
    
    .industry-hero h1 {
        font-size: 2.5rem;
    }
    
    .industry-hero p {
        font-size: 1.1rem;
        padding: 20px;
        max-width: 90%;
    }
    
    .services-intro {
        padding: 20px 2rem;
        font-size: 1.2rem;
        text-underline-offset: 10px;
    }
    
    .services-grid {
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .image-gallery {
        padding: 0 2rem;
        gap: 1.5rem;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .cta-section {
        margin: 4rem 2rem;
        padding: 3rem 2rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
        max-width: 80%;
        margin: 0 auto 1.5rem;
    }
}

/* Small desktops (1024px and up) */
@media (min-width: 1024px) {
    .industry-hero-overlay {
        padding: 60px 45px;
    }
    
    .industry-hero h1 {
        font-size: 2.8rem;
    }
    
    .industry-hero p {
        margin-right: 300px;
        max-width: 70%;
    }
    
    .services-intro {
        padding: 20px 45px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        padding: 0 45px;
        gap: 2rem;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 45px;
        gap: 1.5rem;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .cta-section {
        margin: 5rem 45px;
        padding: 3rem 2rem;
    }
    
    .cta-button {
        padding: 7px 25px;
        font-size: 1rem;
    }
}

/* Large desktops (1200px and up) */
@media (min-width: 1200px) {
    .industry-hero p {
        margin-right: 400px;
        max-width: 65%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        margin: 0 auto 3rem;
    }
    
    .image-gallery {
        max-width: 1200px;
        margin: 2rem auto;
    }
    
    .cta-section {
        max-width: 1200px;
        margin: 5rem auto;
    }
}

/* Extra large screens (1440px and up) */
@media (min-width: 1440px) {
    .industry-hero p {
        margin-right: 500px;
        max-width: 60%;
    }
    
    .services-grid {
        max-width: 1400px;
    }
    
    .image-gallery {
        max-width: 1400px;
    }
    
    .cta-section {
        max-width: 1400px;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .cta-button:active {
        background-color: #363C4F;
        transform: scale(0.98);
    }
    
    .service-card:active {
        transform: translateY(-2px);
    }
}

/* ===== REDUCED MOTION PREFERENCES ===== */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .cta-button {
        transition: none;
    }
    
    .gallery-item img {
        transition: none;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .industry-hero-overlay {
        background: linear-gradient(135deg, #AA7218, #363C4F);
    }
    
    .service-card {
        border-top: 3px solid #D3A31C;
        box-shadow: 0 0 0 2px #000;
    }
    
    .cta-button {
        border: 2px solid #000;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .industry-hero-overlay {
        background: none !important;
        color: #000 !important;
        min-height: auto;
    }
    
    .industry-hero h1 {
        color: #000 !important;
        text-shadow: none !important;
    }
    
    .industry-hero p {
        color: #000 !important;
        border: 1px solid #000 !important;
        background: none !important;
        box-shadow: none !important;
    }
    
    .cta-section {
        background: none !important;
        border: 2px solid #000 !important;
    }
    
    .cta-button {
        display: none !important;
    }
    
    .footer-social,
    .footer-map {
        display: none !important;
    }
}

/* ===== FLEXBOX FALLBACK FOR OLDER BROWSERS ===== */
@supports not (display: grid) {
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-card {
        flex: 1 0 300px;
        max-width: 350px;
        margin: 0.75rem;
    }
    
    .image-gallery {
        display: flex;
        flex-wrap: wrap;
    }
    
    .gallery-item {
        flex: 1 0 300px;
        margin: 0.5rem;
    }
}