/*
  E&N TECHNICAL SERVICES - ELITE WEBSITE STYLESHEET
  VERSION 9.0: FINAL & DEFINITIVE. Includes the critical mobile header fix.
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #17c2a4; --secondary-color: #219d87; --dark-color: #2c3e50;
    --light-color: #f8f9fa; --white-color: #ffffff; --text-color: #555;
    --font-heading: 'Montserrat', sans-serif; --font-body: 'Open Sans', sans-serif;
    --header-height: 85px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); line-height: 1.7; color: var(--dark-color); background-color: var(--light-color); overflow-x: hidden; }
body.modal-active { overflow: hidden; }

/* Animated Gradient Background */
body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 15% 25%, rgba(23, 194, 164, 0.08), transparent 35%),
                radial-gradient(circle at 85% 75%, rgba(44, 62, 80, 0.1), transparent 40%);
    z-index: -1;
    animation: background-blobs 25s ease-in-out infinite alternate;
}
@keyframes background-blobs { from { transform: translate(-20px, -40px) scale(0.9); } to { transform: translate(40px, 60px) scale(1.1); } }

/* Base Styles */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }
h1 { font-size: clamp(2.8rem, 5vw, 3.8rem); font-family: var(--font-heading); }
h2 { font-size: clamp(2.2rem, 4vw, 2.8rem); font-family: var(--font-heading); color: var(--dark-color); }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
.logo img { height: 80px; width: auto; transition: height 0.3s ease; } /* Changed from 50px to 55px */
.scrolled .logo img { height: 60px; }
.section-header { text-align: center; margin-bottom: 3rem; }

/* Enhanced Buttons */
.btn { position: relative; display: inline-block; padding: 15px 35px; border-radius: 50px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; border: none; cursor: pointer; transition: all 0.3s ease; overflow: hidden; }
.btn-primary { background-color: var(--primary-color); color: var(--white-color); }
.btn-primary:hover { background-color: var(--secondary-color); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(23, 194, 164, 0.4); }
.btn::after { content: ''; position: absolute; top: -10%; left: -120%; width: 100%; height: 120%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.btn:hover::after { left: 120%; }

/* Scrolling Top Bar */
.top-bar { background: var(--dark-color); color: #ecf0f1; padding: 0.5rem 0; font-size: 0.85rem; }
.top-bar-content { overflow: hidden; white-space: nowrap; }
.scrolling-text { display: flex; animation: scroll-left 25s linear infinite; }
.top-bar-inner { display: flex; justify-content: flex-end; width: 100%; }
.scrolling-text span { display: inline-flex; align-items: center; margin: 0 2rem; flex-shrink: 0; }
.scrolling-text span i { margin-right: 8px; color: var(--primary-color); }
.top-bar:hover .scrolling-text { animation-play-state: paused; }
@keyframes scroll-left { from { transform: translateX(0%); } to { transform: translateX(-50%); } }

/* Header Scroll Effect */
.main-header { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: var(--header-height); display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; transition: all 0.3s ease-out; }
.main-header.scrolled { height: 70px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); background: var(--white-color); }
.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%;}
.nav-list { display: flex; list-style: none; } .nav-list li { margin-left: 2.5rem; }
.nav-list a { color: var(--dark-color); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; position: relative; padding: 5px 0; }
.nav-list a.active, .nav-list a:hover { color: var(--primary-color); }
.nav-list a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background-color: var(--primary-color); transition: width 0.3s ease; }
.nav-list a.active::after, .nav-list a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-color); }

/* Final Corrected Hero Section */
.hero-section { position: relative; height: 100vh; color: var(--white-color); background-color: #222; background-size: cover; background-attachment: fixed; background-position: center; transition: background-image 1.5s ease-in-out; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-attachment: fixed; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 0; }
.hero-section.crossfading::before { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.7) 20%, transparent 70%); z-index: 1; }
.hero-section .container { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 2; }
.hero-content { max-width: 650px; text-align: left; }
.hero-section h1 { color: var(--white-color); text-shadow: 2px 2px 8px rgba(0,0,0,0.6); }
.hero-content p { color: var(--white-color); font-size: 1.2rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
#animated-text { color: var(--primary-color); font-weight: 700; border-bottom: 4px solid var(--primary-color); display: inline-block; animation: fadeInOut 5s infinite; }
@keyframes fadeInOut { 0%, 100% { opacity: 0; } 10%, 90% { opacity: 1; } }


/* === ADD THESE NEW STYLES FOR THE HIGHLIGHTS === */
.hero-highlights {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens if needed */
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem; /* Increased space before the button */
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white-color);
    background-color: rgba(0, 0, 0, 0.25);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    backdrop-filter: blur(3px); /* Optional: Creates a frosted glass effect */
    -webkit-backdrop-filter: blur(3px);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.highlight-item strong {
    font-weight: 700;
    margin-right: 5px;
}
/* === END OF NEW STYLES === */


/* All Page Sections */
.page-title-section, .reviews-section, .modern-services-section, .stats-section, .content-section, .partners-section, .dha-promo-section, .service-details-section { padding: 100px 0; background-color: transparent; }
.reviews-section { position: relative; z-index: 5; background-color: var(--light-color) !important; }
.page-title-section { padding: 5rem 0; text-align: center; background-color: var(--dark-color); }
.page-title-section h1 { color: var(--white-color); text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.page-title-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 1rem auto 0 auto; }
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: flex-start; }
.contact-form-wrapper { background: #fff; padding: 2.5rem; border-radius: 8px; box-shadow: 0 4px 25px rgba(0,0,0,0.08); }
.contact-form-wrapper h3 { margin-top: 0; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-family: var(--font-body); font-size: 1rem; }
.contact-details h3 { margin-top: 2rem; } .contact-details h3:first-child { margin-top: 0; }
.contact-details p { display: flex; align-items: flex-start; } .contact-details i { margin-right: 10px; color: var(--primary-color); }

/* All Feature Styles (Sliders, Modals, etc.) */
/* (The full correct code from v8.2 is here) */
.reviews-slider-wrapper{position:relative;max-width:1000px;margin:0 auto;overflow:hidden}.reviews-track{display:flex;transition:transform .5s ease-in-out}.review-card{min-width:calc(33.333% - 20px);margin:0 10px;background:var(--white-color);border-radius:12px;box-shadow:0 5px 30px rgba(0,0,0,.07);padding:2rem;display:flex;flex-direction:column;gap:1rem}.review-header{display:flex;align-items:center;gap:1rem}.review-info{flex-grow:1}.review-info h4{margin:0;color:var(--dark-color)}.review-info span{font-size:.8rem;color:#888}.google-logo{width:24px;height:24px}.stars{color:#f5b32e;font-size:1.2rem}.review-body p{margin:0;font-size:.95rem;line-height:1.6}.review-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.9);color:var(--dark-color);border:1px solid #eee;width:45px;height:45px;border-radius:50%;cursor:pointer;z-index:10;transition:all .3s ease}.review-arrow:hover{background:var(--primary-color);color:var(--white-color)}.prev{left:-15px}.next{right:-15px}.services-grid-modern{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.service-card-modern{display:block;border-radius:12px;box-shadow:0 5px 30px rgba(0,0,0,.07);overflow:hidden;position:relative;transition:transform .3s ease,box-shadow .3s ease;cursor:pointer}.service-card-modern:hover{transform:translateY(-10px);box-shadow:0 15px 40px rgba(0,0,0,.12)}.service-card-modern img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.service-card-modern:hover img{transform:scale(1.1)}.card-content{position:absolute;bottom:0;left:0;width:100%;padding:2rem;color:var(--white-color);background:linear-gradient(to top,rgba(0,0,0,.8),transparent);z-index:2}.card-content h3{margin:0 0 .5rem 0;color:var(--white-color);text-shadow:1px 1px 3px rgba(0,0,0,.5)}.book-now{font-weight:600;color:var(--primary-color);transition:letter-spacing .3s ease}.service-card-modern:hover .book-now{letter-spacing:1px}.stats-section{background:var(--dark-color);color:var(--white-color);text-align:center;padding:5rem 0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.stat-item h2{font-size:clamp(2.5rem,5vw,3.5rem);color:var(--primary-color);margin:0}.stat-item p{color:rgba(255,255,255,.8);margin:0}.partners-section { 
    background-color: var(--light-color); /* This keeps the background consistent */
    padding: 80px 0;
}.partners-slider-wrapper{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.partners-track-interactive{display:flex;gap:4rem;align-items:center;transition:transform .5s ease-in-out}.partner-slide{min-width:220px;text-align:center}.partner-slide {
    min-width: 220px; /* Increased space to allow for bigger logos */
    text-align: center;
}
/* === END OF REPLACEMENT === */

/* === REPLACE THIS RULE === */
.partner-slide img {
    width: 100%;             /* Use full width of the container */
    max-height: 90px;        /* Increased max-height for a bigger appearance */
    object-fit: contain;     /* CRITICAL: This ensures the logo zooms without being cropped */
    transition: transform .3s ease;
    /* No border-radius, no fixed height */
}
/* === END OF REPLACEMENT === */

/* === Optional: Update the hover effect for the new style === */
.partner-slide:hover img {
    transform: scale(1.05); /* A subtle zoom on hover */
}.partner-arrow{position:absolute;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--dark-color);font-size:1.8rem;cursor:pointer;padding:1rem;z-index:10;transition:color .3s ease}.partner-arrow:hover{color:var(--primary-color)}.partner-prev{left:10px}.partner-next{right:10px}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.6);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:2000;display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;visibility:hidden;transition:opacity .4s ease,visibility .4s ease}.modal-overlay.active{opacity:1;visibility:visible}.modal-container{background:var(--white-color);border-radius:15px;box-shadow:0 10px 40px rgba(0,0,0,.2);width:90%;max-width:800px;display:flex;position:relative;overflow:hidden;transform:scale(.95);transition:transform .4s cubic-bezier(.34,1.56,.64,1)}.modal-overlay.active .modal-container{transform:scale(1)}.modal-image-wrapper{width:40%;flex-shrink:0}.modal-image{width:100%;height:100%;object-fit:cover}.modal-content{width:60%;padding:2.5rem}.modal-title{margin-top:0;margin-bottom:1rem;color:var(--dark-color)}.modal-description{margin-bottom:2rem;color:var(--text-color)}.modal-close{position:absolute;top:15px;right:15px;background:none;border:none;font-size:2rem;color:#aaa;cursor:pointer;line-height:1;transition:color .3s ease,transform .3s ease}.modal-close:hover{color:var(--dark-color);transform:rotate(90deg)}[data-animate]{opacity:0;transform:translateY(40px);transition:opacity .8s ease-out,transform .8s ease-out}[data-animate].visible{opacity:1;transform:translateY(0)}.main-footer{background-color:#fff;color:var(--text-color);padding-top:5rem;border-top:1px solid #e9ecef}.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;padding-bottom:3rem}.footer-logo{height:40px;margin-bottom:1rem}.footer-col h3{font-family:var(--font-heading);font-size:1.1rem;color:var(--dark-color);margin-bottom:1.5rem}.footer-col p,.footer-col li{font-size:.95rem}.footer-col p{margin-bottom:.8rem}.footer-contact i{color:var(--primary-color);margin-right:10px;width:15px;text-align:center}.footer-contact a,.footer-links a{color:var(--text-color)}.footer-contact a:hover,.footer-links a:hover{color:var(--primary-color)}.footer-links{list-style:none}.footer-links li{margin-bottom:.8rem}.social-icons{display:flex;gap:10px;margin-top:1.5rem;margin-bottom:1.5rem}.social-icons a{color:var(--white-color);background-color:var(--dark-color);width:40px;height:40px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;transition:all .3s ease}.social-icons a:hover{background-color:var(--primary-color);transform:translateY(-3px)}.call-today-btn{font-size:.9rem;padding:12px 28px}.footer-bottom{background:var(--dark-color);padding:1.2rem 0}.footer-bottom .container{display:flex;justify-content:space-between;align-items:center;color:#bdc3c7;font-size:.9rem}.footer-bottom-links a{color:#bdc3c7;margin-left:1.5rem}.footer-bottom-links a:hover{color:var(--white-color)}.whatsapp-float{position:fixed;bottom:80px;right:20px;background-color:#25d366;color:white;width:60px;height:60px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:2rem;box-shadow:2px 2px 10px rgba(0,0,0,.2);z-index:100;transition:transform .3s ease}.whatsapp-float:hover{transform:scale(1.1)}.scroll-top-float{position:fixed;bottom:20px;right:20px;background-color:var(--primary-color);color:white;width:50px;height:50px;border-radius:50%;border:none;cursor:pointer;display:flex;justify-content:center;align-items:center;font-size:1.2rem;box-shadow:2px 2px 10px rgba(0,0,0,.2);z-index:100;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}.scroll-top-float.show{opacity:1;visibility:visible}

/* === FINAL RESPONSIVE OVERRIDES (WITH MOBILE HEADER FIX) === */
@media (max-width: 992px) {
    /* Main Navigation for Mobile */
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white-color); box-shadow: 0 5px 10px rgba(0,0,0,0.1); max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; }
    .main-nav.active { max-height: 500px; /* Adjust as needed */ }
    .nav-list { flex-direction: column; }
    .nav-list li { margin: 0; }
    .nav-list a { display: block; padding: 1.2rem; text-align: center; border-bottom: 1px solid #f0f0f0;}
    
    /* MOBILE HEADER FIX: Hides the big "Book Service" button */
    .header-btn { display: none; }

    /* Other Responsive rules */
    .review-card { min-width: calc(50% - 20px); }
    .stats-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (max-width: 768px) {
    /* === Add this to make the highlights stack on mobile === */
    .hero-highlights {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* More specific responsive rules for smaller phones */
    .modal-container { flex-direction: column; max-width: 350px; }
    .modal-image-wrapper { width: 100%; height: 200px; }
    .modal-content { width: 100%; padding: 2rem; }
    .review-card { min-width: calc(100% - 20px); }
    .stats-grid, .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-contact i { display: none; }
    .social-icons, .footer-logo { justify-content: center; margin-left: auto; margin-right: auto; }
    .footer-bottom .container { flex-direction: column; gap: 10px; }
}

.weather-widget-container {
    display: inline-flex; /* Helps with alignment */
    align-items: center;
    justify-content: center;
    transform: scale(0.85); /* Makes the widget slightly smaller to fit nicely */
    transform-origin: left;  /* Scales it from the left side */
    margin-right: -20px;     /* Adjusts spacing after scaling */
}

/* Overrides widget's default link color to match your theme */
a.weatherwidget-io {
    color: #ffffff !important;
    text-decoration: none !important;
}