/* css/style.css */

/* --- 1. VARIABLES & RESET --- */
:root {
    --primary: #FF9800;
    --secondary: #FF5722;
    --accent: #FFEB3B;
    --dark: #1A1A1A;
    --black: #111111;
    --light: #F9F9F9;
    --gradient: linear-gradient(135deg, #FFEB3B 0%, #FF9800 50%, #FF5722 100%);
    --gradient-text: linear-gradient(135deg, #FFEB3B, #FF9800, #FF5722);
    --glass: rgba(26, 26, 26, 0.95);
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
}

body { margin: 0; font-family: 'Poppins', sans-serif; background: var(--light); color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

/* --- 2. NAVIGATION BAR --- */
.navbar {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 15px 0; /* Initial padding */
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}
.nav-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }

/* --- DYNAMIC LOGO STYLES --- */

/* 1. Base Container */
.logo {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    height: 50px;
    transition: all 0.4s ease;
}

/* 2. The Text */
.logo span {
    margin-left: 115px; /* Keeps text safely away from the logo */
    font-weight: 700;   
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

/* 3. The Image (With Your 3D Emboss Effect) */
.logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #fff;
    
    position: absolute;
    top: -10px; /* The "Sweet Spot" positioning */
    left: 0;
    z-index: 1100;
    
    /* YOUR 3D EMBOSS STYLE */
    border: 4px solid #fff;
    padding: 5px;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.3), 
        inset 0 4px 8px rgba(255,255,255,1), 
        inset 0 -4px 8px rgba(0,0,0,0.05);
        
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Effect: Pop out slightly more */
.logo img:hover {
    transform: scale(1.05); /* Slight grow */
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.4), 
        inset 0 4px 8px rgba(255,255,255,1), 
        inset 0 -4px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}

/* --- SCROLLED STATE --- */
.navbar.scrolled .logo img {
    width: 50px;
    height: 50px;
    top: 0; 
    border-width: 2px;
    /* Flatten the shadow when scrolled/small */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    padding: 2px;
    transform: none;
}

.navbar.scrolled .logo span {
    margin-left: 65px;
    font-size: 18px;
}


/* --- MENU LINKS --- */
.menu { display: flex; gap: 30px; }
.menu a { color: rgba(255,255,255,0.8); font-weight: 500; font-size: 15px; position: relative; padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.menu a:hover { color: var(--primary); transform: translateY(-2px); }
.menu a.active { color: var(--accent); font-weight: 600; }
.menu a.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #FFEB3B, #FF5722); border-radius: 2px; box-shadow: 0 0 10px rgba(255, 152, 0, 0.5); }
.hamburger { display: none; font-size: 24px; color: white; cursor: pointer; }

/* --- 3. HERO SECTION --- */
.hero { height: 65vh; background-size: cover; background-position: center; background-attachment: fixed; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; color: white; }
.hero::before { content: ''; position: absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7)); }
.hero-content { position: relative; z-index: 2; background: rgba(0,0,0,0.3); padding: 40px; border-radius: 10px; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); animation: fadeInUp 1s ease-out; max-width: 800px; }
.hero h1 { font-size: 3.5rem; margin: 0; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.hero-divider { height: 4px; width: 80px; background: var(--gradient); margin: 20px auto; border-radius: 2px; }
.hero p { font-size: 1.2rem; color: #eee; margin-top: 15px; font-weight: 300; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* --- 4. GLOBAL COMPONENTS --- */
.container { max-width: 1100px; margin: 60px auto; padding: 0 20px; min-height: 400px; }
.btn, .btn-submit, .btn-cta, .btn-service { background: var(--gradient); border: none; padding: 12px 30px; color: white; cursor: pointer; display: inline-block; font-weight: 600; border-radius: 50px; box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3); transition: all 0.3s ease; font-family: 'Poppins', sans-serif; font-size: 15px; }
.btn:hover, .btn-submit:hover, .btn-cta:hover, .btn-service:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(255, 152, 0, 0.4); opacity: 0.95; }

/* --- 5. NEWS GRID (CARDS) --- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: white; padding: 30px; box-shadow: var(--shadow); border-radius: 12px; transition: transform 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.news-card h4 { margin-top: 0; color: var(--secondary); font-size: 1.3rem; margin-bottom: 10px; }
.news-card p { color: #666; flex-grow: 1; }
.news-read-more { color: var(--primary); font-weight: 600; display: inline-block; margin-top: 15px; }

/* --- 6. CONTACT FORM --- */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
.contact-info h2 { color: var(--dark); border-bottom: 3px solid var(--primary); display: inline-block; padding-bottom: 5px; margin-bottom: 20px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #444; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; font-family: 'Poppins', sans-serif; background: #fff; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1); }
.btn-submit { width: 100%; margin-top: 10px;}
.alert { padding: 15px; margin-bottom: 25px; border-radius: 8px; font-weight: 500; }
.alert.success { background-color: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert.error { background-color: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* --- 7. FOOTER --- */
.footer { background: var(--black); color: #bbb; margin-top: 80px; font-size: 0.95rem; }
.footer-gradient-bar { height: 4px; background: var(--gradient); width: 100%; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 60px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; }
.footer-col h3 { color: white; font-size: 1.3rem; margin-top: 0; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 50px; background: var(--primary); }
.footer-logo { font-size: 1.8rem !important; font-weight: 800; text-transform: uppercase; border: none !important; padding: 0 !important; }
.footer-logo span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-logo::after { display: none; }
.social-links { display: flex; gap: 10px; }
.social-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; transition: 0.3s; }
.social-icon:hover { background: var(--primary); transform: translateY(-3px); }
.footer-col ul li a { color: #bbb; transition: 0.3s; display: flex; align-items: center; gap: 10px; }
.footer-col ul li a:hover { color: white; transform: translateX(5px); }
.newsletter-box input { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); padding: 10px 15px; color: white; border-radius: 4px 0 0 4px; width: 100%; outline: none; }
.newsletter-box button { background: var(--primary); border: none; padding: 0 20px; color: white; border-radius: 0 4px 4px 0; cursor: pointer; transition: 0.3s; }
.newsletter-box button:hover { background: var(--secondary); }
.footer-bottom { background: #000; padding: 20px; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }

/* --- 8. SERVICES PAGE (SPLIT LAYOUT) --- */
.services-split-layout { display: grid; grid-template-columns: 35% 65%; gap: 60px; margin-bottom: 80px; position: relative; }
.services-split-layout::after { content: ""; position: absolute; top: 20px; bottom: 20px; left: calc(35% + 30px); width: 1px; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(200, 200, 200, 0.5) 20%, rgba(200, 200, 200, 0.5) 80%, rgba(0,0,0,0) 100%); z-index: 1; }
.services-info-col { position: relative; }
.sticky-wrapper { position: sticky; top: 100px; padding-right: 10px; }
.page-title { font-size: 2.5rem; color: var(--dark); margin-bottom: 15px; line-height: 1.2; }
.title-accent { width: 60px; height: 4px; background: var(--gradient); margin-bottom: 30px; border-radius: 2px; }
.service-description-text { font-size: 1.05rem; color: #555; line-height: 1.8; }
.service-description-text h2 { font-size: 1.5rem; color: var(--secondary); margin-top: 20px; }
.service-description-text ul { list-style: disc; padding-left: 20px; margin-bottom: 20px; }

/* Horizontal Service Cards (List View) */
.services-list-col { display: flex; flex-direction: column; gap: 30px; }
.horizontal-service-card { display: flex; background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; transition: transform 0.3s ease, box-shadow 0.3s ease; align-items: center; }
.horizontal-service-card:hover { transform: translateX(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: rgba(255, 152, 0, 0.3); }
.h-card-img { width: 200px; height: 100%; min-height: 200px; flex-shrink: 0; }
.h-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.horizontal-service-card:hover .h-card-img img { transform: scale(1.05); }
.h-card-body { padding: 25px; flex-grow: 1; }
.h-card-body h3 { margin: 0 0 10px 0; color: var(--secondary); font-size: 1.3rem; }
.h-card-body p { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 15px; overflow: hidden; }
.link-arrow { color: var(--primary); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 5px; transition: 0.3s; }
.horizontal-service-card:hover .link-arrow { color: var(--dark); gap: 10px; }
.empty-state { text-align: center; padding: 40px; background: #fff; border-radius: 10px; color: #777; }

/* --- 9. HOMEPAGE SERVICE CARDS (Grid View) --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s ease; border: 1px solid #eee; display: flex; flex-direction: column; position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.service-img-wrap { height: 180px; overflow: hidden; position: relative; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img-wrap img { transform: scale(1.1); }
.service-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); opacity: 0; transition: 0.3s; }
.service-card:hover .service-overlay { opacity: 1; }
.service-body { padding: 25px; text-align: center; }
.service-body h3 { margin-top: 0; color: var(--secondary); font-size: 1.4rem; margin-bottom: 15px; }

/* --- 10. GALLERY & LIGHTBOX --- */
.gallery-intro { text-align: center; max-width: 800px; margin: 0 auto 50px auto; font-size: 1.1rem; color: #555; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; padding-bottom: 50px; }
.gallery-img-wrap { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; background: #000; aspect-ratio: 1 / 1; }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s ease; }
.gallery-img-wrap:hover img { transform: scale(1.1); opacity: 0.7; }
.gallery-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; background: rgba(0,0,0,0.4); }
.gallery-img-wrap:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: var(--accent); }

/* Lightbox */
.lightbox { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(5px); justify-content: center; align-items: center; animation: fadeIn 0.3s ease; }
.lightbox-content { position: relative; max-width: 90%; max-height: 90%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.lightbox-content img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 2px solid #333; }
.lightbox-content h3 { color: white; margin-top: 15px; font-weight: 300; letter-spacing: 1px; }
.close-btn { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 2001; }
.close-btn:hover { color: var(--primary); }

/* --- 11. MANAGER SECTION --- */
.manager-wrapper { 
    margin: 20px 0 60px 0; /* CHANGED: Reduced top margin from 60px to 20px to fix spacing */
    display: flex; 
    justify-content: center; 
}
.manager-card { background: white; max-width: 700px; width: 100%; border-radius: 100px 20px 20px 100px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 30px; padding: 15px; padding-right: 40px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #eee; }
.manager-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); border-color: var(--primary); }
.mgr-img-container img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary); }
.mgr-info { flex-grow: 1; }
.mgr-header h3 { margin: 0; color: var(--secondary); font-size: 1.3rem; }
.mgr-role { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.mgr-snippet { color: #555; font-style: italic; line-height: 1.5; margin-bottom: 10px; }
.btn-text { color: var(--primary); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }

/* Manager Modal */
.modal-backdrop { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 3000; justify-content: center; align-items: center; animation: fadeIn 0.3s; }
.modal-content { background: white; width: 90%; max-width: 800px; border-radius: 15px; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); animation: slideUp 0.4s; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; color: #aaa; z-index: 10; transition: 0.2s; }
.close-modal:hover { color: var(--primary); }
.modal-body { display: flex; }
.modal-img { width: 35%; background: #f4f4f4; display: flex; align-items: center; justify-content: center; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-text { width: 65%; padding: 40px; }
.modal-title { margin: 0; color: var(--primary); font-size: 1.8rem; }
.modal-message-scroll { max-height: 400px; overflow-y: auto; color: #444; line-height: 1.8; padding-right: 10px; }

/* --- 12. FLEET PAGE --- */
.fleet-item { background: white; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; transition: 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; }
.fleet-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.fleet-info { padding: 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.fleet-info h4 { margin: 0 0 5px 0; color: var(--secondary); font-size: 1.2rem; }
.fleet-info p { font-size: 0.9rem; color: #666; margin-bottom: 15px; flex-grow: 1; }
.btn-book { background: var(--dark); color: white; border: none; padding: 10px 20px; border-radius: 30px; cursor: pointer; font-weight: 600; transition: 0.3s; width: 100%; font-family: 'Poppins', sans-serif; }
.btn-book:hover { background: var(--primary); transform: scale(1.02); }
.btn-book i { margin-left: 5px; }

/* --- 13. COMPACT BOOKING MODAL --- */
.booking-modal-content { background: white; width: 95%; max-width: 420px; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.3); animation: slideUp 0.3s ease-out; }
.booking-header { background: var(--gradient); padding: 20px; text-align: center; color: white; position: relative; }
.booking-header h2 { margin: 0; font-size: 1.4rem; color: white; text-transform: uppercase; letter-spacing: 1px; }
.booking-header p { margin: 5px 0 0 0; font-size: 0.9rem; opacity: 0.9; color: #fff; }
.close-booking { position: absolute; top: 15px; right: 15px; color: white; font-size: 24px; cursor: pointer; opacity: 0.8; transition: 0.3s; }
.close-booking:hover { opacity: 1; transform: rotate(90deg); }
.booking-body { padding: 25px; }
.booking-body .form-group { margin-bottom: 15px; }
.booking-body label { font-size: 0.85rem; color: #666; margin-bottom: 5px; font-weight: 600; }
.booking-body input, .booking-body textarea, .booking-body select { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.9rem; font-family: 'Poppins', sans-serif; transition: 0.3s; background: #f9f9f9; }
.booking-body input:focus, .booking-body textarea:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn-book-submit { width: 100%; padding: 12px; background: var(--dark); color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; margin-top: 10px; transition: 0.3s; }
.btn-book-submit:hover { background: var(--primary); transform: translateY(-2px); }

/* --- 14. HOMEPAGE SPECIFIC LAYOUT --- */
.home-content-wrapper { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; /* CHANGED: Reduced from 30px to 10px to tighten layout */
}

.home-intro-section { 
    text-align: center; 
    max-width: 900px; 
    margin: 50px auto 0px auto; 
    font-size: 1.5rem; 
    font-weight: 600;  
    line-height: 1.6;
    color: #444;
    padding-bottom: 0; /* Ensure no extra padding pushes content down */
}

/* --- MANAGER SECTION FIXES --- */
.manager-wrapper { 
    margin: 10px 0 50px 0; /* CHANGED: Reduced top margin significantly (was 20px) */
    display: flex; 
    justify-content: center; 
}

.manager-card { 
    background: white; 
    max-width: 700px; 
    width: 100%; 
    border-radius: 100px 20px 20px 100px; /* The "Pill" Shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    display: flex; 
    align-items: center; 
    gap: 25px; /* Space between image and text */
    
    /* PADDING ADJUSTMENT for alignment */
    padding: 10px; 
    padding-left: 15px; /* Slightly more on left to center image in the curve */
    padding-right: 40px; 
    
    cursor: pointer; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border: 1px solid #eee; 
}

.manager-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); 
    border-color: var(--primary); 
}

/* FIX: Image Container Configuration */
.mgr-img-container {
    flex-shrink: 0; /* CRITICAL: Prevents image from being squashed by text */
    width: 130px;   /* Fixed width */
    height: 130px;  /* Fixed height */
    position: relative; /* Helps with alignment */
}

.mgr-img-container img { 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 4px solid var(--primary); 
    display: block;
}

.mgr-info { flex-grow: 1; }
.mgr-header h3 { margin: 0; color: var(--secondary); font-size: 1.3rem; }
.mgr-role { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.mgr-snippet { color: #555; font-style: italic; line-height: 1.5; margin-bottom: 10px; }
.btn-text { color: var(--primary); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }

.home-services-section { margin-bottom: 60px; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { color: var(--dark); font-size: 2rem; margin-bottom: 10px; }
.header-line { height: 4px; width: 60px; background: var(--primary); margin: 0 auto; border-radius: 2px; }

/* --- 15. RESPONSIVE --- */
@media (max-width: 900px) {
    .services-split-layout { grid-template-columns: 1fr; gap: 40px; }
    .services-split-layout::after { display: none; }
    .sticky-wrapper { position: static; padding-right: 0; text-align: center; }
    .horizontal-service-card { flex-direction: column; align-items: flex-start; }
    .h-card-img { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
    /* Mobile Nav */
    .menu { display: none; flex-direction: column; width: 100%; background: #1A1A1A; position: absolute; top: 60px; left: 0; padding: 20px 0; border-top: 1px solid #333; gap: 0; }
    .menu.active { display: flex; }
    .menu a { padding: 15px 30px; width: 100%; box-sizing: border-box; font-size: 16px; }
    .hamburger { display: block; }
    .hero { height: 50vh; }
    
    /* Responsive Adjustments */
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .news-grid { grid-template-columns: 1fr; }
    /* --- OPTIMIZED MOBILE MODAL --- */
    .manager-card { 
        flex-direction: column; 
        border-radius: 20px; 
        text-align: center; 
        padding: 25px; 
        gap: 15px; 
    }
    
    /* Make the Modal Compact */
    .modal-content {
        width: 90%;           /* Keep some margin on sides */
        max-height: 80vh;     /* Limit height to 80% of screen so it doesn't cover everything */
        overflow-y: auto;     /* Enable scrolling if content is too long */
        border-radius: 12px;  /* Slightly sharper corners for mobile */
    }

    .modal-body { 
        flex-direction: column; 
    }

    .modal-img { 
        width: 100%; 
        height: 140px; /* CHANGED: Reduced from 200px to save vertical space */
    }
    
    .modal-text { 
        width: 100%; 
        padding: 20px; /* CHANGED: Reduced padding from 40px to 20px */
        box-sizing: border-box; /* Ensures padding doesn't widen the box */
    }

    .modal-title {
        font-size: 1.4rem; /* Smaller title font for mobile */
        margin-bottom: 5px;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    /* Remove the inner scroll on mobile since the whole modal scrolls now */
    .modal-message-scroll {
        max-height: none; 
        padding-right: 0;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        color: white; /* Make close button visible on top of the image */
        background: rgba(0,0,0,0.3); /* Add background so it's easy to tap */
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 20px;
    }
    
    /* HIDE Logo Text on Mobile */
    .logo span { 
        display: none; /* Completely removes the text */
    }
    
    /* Reset Logo Image for Mobile */
    .logo img { 
        width: 50px; 
        height: 50px; 
        top: 0; 
        transform: none; 
        box-shadow: none; 
        border-width: 2px; 
        position: relative; /* Keeps it in flow since text is gone */
    }
    
    /* Center the Logo on Mobile Header */
    .logo {
        margin: 0 auto 0 0; /* Aligns logo to left */
        width: 50px; /* Takes only the space of the image */
    }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- 16. HERO VIDEO BACKGROUND --- */
.hero {
    position: relative;
    overflow: hidden; /* Ensures video doesn't spill out */
    /* background-image set dynamically in header.php if using image */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind content */
    pointer-events: none; /* Prevents clicking the video */
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio logic */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); /* Darkens video so text pops */
    z-index: 1;
}

/* Ensure Hero Content sits ON TOP of video */
.hero-content {
    position: relative;
    z-index: 2; /* Higher than video layer */
}

/* --- 17. SERVICES SLIDER STYLES --- */
.services-slider-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 10px 40px; /* Space for arrows */
}

.services-slider-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px; /* Hide scrollbar if any */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.services-slider-track::-webkit-scrollbar { display: none; }

.service-slide-card {
    min-width: 300px; /* Fixed width for slider cards */
    max-width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    flex-shrink: 0; /* Prevent shrinking */
    transition: transform 0.3s;
}

.service-slide-card:hover {
    transform: translateY(-5px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    color: var(--primary);
    transition: 0.3s;
}
.slider-btn:hover { background: var(--primary); color: white; }
.prev-btn { left: 0; }
.next-btn { right: 0; }


/* --- 18. NEWS GRID ADJUSTMENT (4 Columns) --- */
.news-grid.four-col {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


/* --- 19. ELEGANT BOTTOM CONTENT BOX --- */
.home-intro-section {
    margin-top: 60px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.elegant-content-box {
    background: #fff;
    padding: 50px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    
    /* Typography */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Decorative Top Border */
.elegant-content-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient);
    border-radius: 0 0 4px 4px;
}

.box-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 20px;
}