/* ============================================
   MAHI ENGINEERING & CONSTRUCTION
   Industrial Corporate Website Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1a365d;
    --primary-dark: #0f2942;
    --primary-light: #2c5282;
    --secondary: #c9a227;
    --secondary-light: #ecc94b;
    --accent: #e53e3e;
    --dark: #1a202c;
    --gray-dark: #2d3748;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --light: #f7fafc;
    --white: #ffffff;
    --success: #38a169;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-light);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128c7e;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text h1 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(145deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a227;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 25px rgba(26, 54, 93, 0.4),
        0 4px 0 #0f2942,
        inset 0 2px 0 rgba(255,255,255,0.1),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    border: 3px solid #c9a227;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.5s;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
}

.logo:hover .logo-icon {
    transform: translateY(-5px) rotateX(10deg) rotateY(-5deg) scale(1.08);
    box-shadow: 
        0 15px 35px rgba(201, 162, 39, 0.4),
        0 8px 0 #0f2942,
        inset 0 2px 0 rgba(255,255,255,0.2);
    border-color: #ecc94b;
    background: linear-gradient(145deg, #c9a227 0%, #ecc94b 50%, #c9a227 100%);
    color: #1a365d;
}

.logo:hover .logo-icon::before {
    left: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.logo-text h1 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(26, 54, 93, 0.1);
    position: relative;
}

.logo-text h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c9a227, #ecc94b);
    transition: width 0.4s ease;
}

.logo-text span {
    font-size: 0.7rem;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.logo-text span::before {
    content: '◆';
    position: absolute;
    left: -12px;
    color: #c9a227;
    font-size: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.logo:hover .logo-text h1 {
    background: linear-gradient(135deg, #c9a227 0%, #ecc94b 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover .logo-text h1::after {
    width: 100%;
}

.logo:hover .logo-text span {
    padding-left: 12px;
    color: #ecc94b;
}

.logo:hover .logo-text span::before {
    opacity: 1;
    left: 0;
}

/* Header scroll effect for logo */
.header.scrolled .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1rem;
}

.header.scrolled .logo-text h1 {
    font-size: 0.95rem;
}

.header.scrolled .logo-text span {
    font-size: 0.6rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile Menu - Slide from Right */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 90px 25px 30px;
        gap: 8px;
        box-shadow: -5px 0 40px rgba(0,0,0,0.4);
        transform: translateX(100%);
        opacity: 1;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        align-items: flex-start;
        border-left: 4px solid var(--secondary);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu::before {
        content: 'MENU';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: var(--primary);
        color: var(--white);
        display: flex;
        align-items: center;
        padding: 0 25px;
        font-weight: 700;
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .nav-link {
        color: var(--primary-dark);
        font-size: 1.05rem;
        padding: 12px 15px;
        border-bottom: 1px solid var(--gray-light);
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
        border-radius: 8px;
    }
    
    .nav-link i {
        color: var(--primary);
        font-size: 1.1rem;
        width: 25px;
        text-align: center;
    }
    
    .nav-link:hover {
        color: var(--primary);
        background: var(--light);
        padding-left: 20px;
    }
    
    .nav-link.active {
        color: var(--primary);
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border-bottom: none;
        font-weight: 700;
    }
    
    .nav-link.active i {
        color: var(--primary-dark);
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Overlay when menu is open */
    .nav-menu.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.6);
        z-index: -1;
    }
}

.nav-link {
    padding: 10px 14px;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 1rem;
    color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(201, 162, 39, 0.1);
}

.nav-link:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(201, 162, 39, 0.15);
}

.nav-link.active i {
    color: var(--primary);
}

.nav-cta {
    margin-left: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5" x="0" y="0" width="100" height="100"/></svg>');
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 50%;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 500;
}

.hero-badge i {
    color: var(--secondary);
}

.hero-company-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-company-name::before,
.hero-company-name::after {
    content: '';
    height: 2px;
    width: 40px;
    background: var(--secondary);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    text-align: left;
}

.hero h1 span {
    color: var(--secondary);
    display: block;
    margin-top: 0.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 100%;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    justify-content: flex-start;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 80%;
    opacity: 0.9;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
}

/* Stats Counter Section */
.stats-section {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: var(--light);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-card .label {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Services Preview */
.services-preview {
    background: var(--light);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--secondary);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--secondary);
    gap: 10px;
}

/* Clients Section */
.clients-section {
    background: var(--white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-logo {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.client-logo h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 0;
}

.client-logo span {
    color: var(--gray);
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
}

/* Projects Preview */
.projects-preview {
    background: var(--primary);
    color: var(--white);
}

.projects-preview .section-title h2 {
    color: var(--white);
}

.projects-preview .section-title p {
    color: rgba(255,255,255,0.7);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--primary-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    height: 200px;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary);
}

.project-content {
    padding: 25px;
}

.project-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--secondary);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.project-badge.completed {
    background: var(--success);
    color: var(--white);
}

.project-card h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.project-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials {
    background: var(--light);
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 25px;
    padding-left: 40px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 40px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 2px;
    font-size: 1rem;
}

.author-info span {
    color: var(--gray);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--primary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

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

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 25px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-top: 3px;
}

.about-feature span {
    color: var(--gray-dark);
    font-weight: 500;
}

/* Mission Vision */
.mission-vision {
    background: var(--white);
}

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

.mv-card {
    padding: 40px;
    border-radius: 12px;
    background: var(--light);
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}

.mv-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.mv-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.mv-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Services Page */
.services-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.service-detail-card:hover .service-icon-large {
    background: var(--primary);
    color: var(--secondary);
}

.service-detail-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-dark);
}

.service-features-list li i {
    color: var(--success);
    font-size: 0.875rem;
}

/* Projects Page */
.projects-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.projects-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.projects-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--light);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.project-detail-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: var(--transition);
}

.project-detail-card:hover {
    box-shadow: var(--shadow-xl);
}

.project-detail-image {
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.project-detail-image i {
    font-size: 4rem;
    color: var(--secondary);
}

.project-detail-content {
    padding: 35px;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--gray);
}

.project-meta i {
    color: var(--secondary);
}

/* Team Page */
.team-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.team-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    height: 300px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-image i {
    font-size: 6rem;
    color: rgba(255,255,255,0.3);
}

.team-content {
    padding: 30px;
}

.team-role {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.team-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.team-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Clients Page */
.clients-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.clients-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.clients-section-full {
    background: var(--light);
}

.clients-large-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.client-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.client-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.client-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.client-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-light);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-info-item p {
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    margin-top: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--gray);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb i {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumb span {
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Mobile Header Logo Fix */
    .navbar {
        height: 70px;
    }
    
    .logo-img {
        height: 40px;
        max-width: 140px;
    }
    
    .logo-text h1 {
        font-size: 0.85rem;
    }
    
    .logo-text span {
        font-size: 0.7rem;
    }
    
    /* Mobile Hero Fix */
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero p {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-company-name {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .hero-company-name::before,
    .hero-company-name::after {
        width: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .hero-slider {
        position: relative;
        width: 100%;
        height: 250px;
        transform: none;
        top: auto;
        right: auto;
        margin-top: 30px;
        border-radius: 12px;
    }
    
    .hero-slider-dots {
        bottom: 10px;
    }
    
    .hero-slider-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-icon-large {
        margin: 0 auto;
    }
    
    .service-features-list {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .project-detail-card {
        grid-template-columns: 1fr;
    }
    
    .projects-tabs {
        flex-wrap: wrap;
    }
    
    .experience-badge {
        right: 10px;
        bottom: -10px;
        padding: 15px 25px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-slider {
        height: 200px;
    }
    
    /* Extra small screen header fixes */
    .logo-img {
        height: 35px;
        max-width: 120px;
    }
    
    .logo-text h1 {
        font-size: 0.75rem;
    }
    
    .logo-text span {
        font-size: 0.65rem;
    }
    
    .navbar {
        height: 65px;
    }
    
    .nav-menu {
        top: 65px;
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   ENHANCED LOGO & BRANDING
   ============================================ */

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

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    width: 140px;
    height: 140px;
    background: linear-gradient(145deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 4px solid #c9a227;
    box-shadow: 
        0 0 60px rgba(201, 162, 39, 0.6),
        0 8px 0 #0f2942,
        inset 0 4px 0 rgba(255,255,255,0.15),
        inset 0 -4px 0 rgba(0,0,0,0.3);
    animation: pulse-logo 2s infinite;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    padding: 15px;
}

.preloader-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.preloader-logo::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px solid rgba(201, 162, 39, 0.4);
    border-radius: 18px;
}

.preloader-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: preloader-shine 2s infinite;
}

@keyframes preloader-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.preloader-logo span {
    font-size: 2.5rem;
    font-weight: 900;
    color: #c9a227;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(201, 162, 39, 0.6), 0 8px 0 #0f2942; }
    50% { transform: scale(1.05); box-shadow: 0 0 80px rgba(201, 162, 39, 0.9), 0 8px 0 #0f2942; }
}

.preloader h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.preloader p {
    color: var(--secondary);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin: 25px auto 0;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--secondary);
    border-radius: 2px;
    animation: load-progress 2s ease-in-out forwards;
}

@keyframes load-progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Header scroll effect for logo */
.header.scrolled .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
}

.header.scrolled .logo-text h1 {
    font-size: 1rem;
}

.header.scrolled .logo-text span {
    font-size: 0.6rem;
}

/* Footer enhanced logo */
.footer-brand .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #c9a227 0%, #ecc94b 50%, #c9a227 100%);
    color: #1a365d;
    border-color: #ffffff;
    box-shadow: 
        0 6px 20px rgba(201, 162, 39, 0.4),
        0 4px 0 #0f2942,
        inset 0 2px 0 rgba(255,255,255,0.3);
}

.footer-brand .logo-icon::after {
    border-color: rgba(26, 54, 93, 0.3);
}

.footer-brand .logo-text h1 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .logo-text span {
    color: #c9a227;
}

.footer-brand .logo-text span::before {
    color: #ffffff;
}

.footer-brand .logo:hover .logo-icon {
    background: linear-gradient(145deg, #ffffff 0%, #f7fafc 50%, #ffffff 100%);
    color: #1a365d;
    border-color: #c9a227;
    transform: translateY(-3px) rotateX(5deg) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 255, 255, 0.3),
        0 4px 0 #0f2942;
}

.footer-brand .logo:hover .logo-text h1 {
    background: linear-gradient(135deg, #c9a227 0%, #ecc94b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .logo:hover .logo-text span {
    color: #ecc94b;
}

/* ============================================
   HERO SLIDER STYLES
   ============================================ */

.hero-slider {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: 95%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-slider-dots .dot:hover,
.hero-slider-dots .dot.active {
    background: var(--secondary);
    border-color: var(--white);
    transform: scale(1.2);
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.hero-slider-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-slider-nav button:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .hero-slider {
        position: relative;
        width: 100%;
        height: 400px;
        transform: none;
        top: auto;
        margin-top: 40px;
    }
}

/* ============================================
   IMAGE GALLERY STYLES
   ============================================ */

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: var(--primary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 54, 93, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay i {
    color: var(--white);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay i {
    transform: scale(1);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    color: var(--white);
    text-align: center;
    font-size: 1.1rem;
    padding: 10px;
}

/* ============================================
   FACILITY SHOWCASE STYLES
   ============================================ */

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

.facility-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

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

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

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95), transparent);
    padding: 30px 20px 20px;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.facility-item:hover .facility-overlay {
    transform: translateY(0);
    opacity: 1;
}

.facility-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.facility-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .facility-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
