/* HM Engineering Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700&display=swap');

:root {
    /* Brand Colors */
    --navy-blue: #0f2c59; /* Rich Dark Navy */
    --royal-blue: #163659;
    --teal-blue: #007c66;
    --emerald-green: #059669; /* Modern Vibrant Emerald */
    --deep-green: #047857;
    --metallic-silver: #94a3b8;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --bg-gray: #F8FAFC; 
    --text-dark: #0f172a;
    --text-light: #475569;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0f2c59 0%, #059669 100%);
    --gradient-dark: linear-gradient(135deg, #0f2c59 0%, #081a2b 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-body);
    color: #444;
    background: radial-gradient(circle at 10% 20%, rgba(5,150,105,0.05), transparent 40%), radial-gradient(circle at 90% 80%, rgba(15,44,89,0.05), transparent 40%) #F8FAFC;
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}
a { text-decoration: none; color: var(--navy-blue); transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 100px; }
@media (max-width: 992px) { .container { padding: 0 40px; } }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(23, 106, 120, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 106, 120, 0.4);
    color: var(--white);
}
.btn-secondary {
    background: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--navy-blue);
}
.btn-secondary:hover {
    background: var(--gradient-dark);
    color: var(--white);
    border-color: transparent;
}
.btn-whatsapp {
    background: var(--emerald-green);
    color: var(--white);
}
.btn-whatsapp:hover {
    background: var(--deep-green);
    color: var(--white);
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(5,150,105,0.15);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 2px solid var(--emerald-green);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
    z-index: 1000;
    list-style: none;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}
.dropdown-menu li {
    display: block;
    width: 100%;
}
.dropdown-menu li a {
    padding: 9px 14px;
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    color: #333;
    transition: all 0.2s ease;
    text-decoration: none;
}
.dropdown-menu li a:hover {
    background: rgba(5,150,105,0.08);
    color: var(--emerald-green);
    padding-left: 18px;
}

.header-actions { display: flex; gap: 10px; align-items: center; }

/* Mobile Menu */
.hamburger { display: none; cursor: pointer; font-size: 22px; color: var(--navy-blue); }

/* Sections */
.section { padding: 80px 0; position: relative; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}
.section-title h2 { font-size: 36px; margin-bottom: 15px; }
.section-title p { color: var(--text-light); font-size: 18px; max-width: 600px; margin: 0 auto; }
.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 15px auto 0;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-widget h4 { color: var(--white); margin-bottom: 20px; font-size: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--emerald-green);
    color: var(--white);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(8, 114, 79, 0.4);
    z-index: 100;
    transition: var(--transition);
}
.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(8, 114, 79, 0.6);
}

/* ---------------------------------
   GLOSSY AND MODERN STYLES
   --------------------------------- */

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.glass-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(5, 150, 105, 0.15), 0 0 0 1px rgba(5,150,105,0.1);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(5, 150, 105, 0.2);
}
.glass-panel-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transition: var(--transition);
}
.glass-panel-dark:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}
.glass-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.glass-pill-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

/* Hero Section */
.hero-video-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; overflow: hidden;
}
.hero-video-wrapper video {
    width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(18, 59, 112, 0.7) 0%, rgba(23, 106, 120, 0.5) 50%, rgba(8, 114, 79, 0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #F4F7F8 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}
.about-section::after {
    content: ''; position: absolute; right: -10%; top: -10%; width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(23,106,120,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.about-image { position: relative; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(8, 114, 79, 0.15); }
.about-image img { width: 100%; height: auto; display: block; transition: transform 0.6s ease; }
.about-image:hover img { transform: scale(1.05); }

/* Featured Locations */
.location-card {
    position: relative; border-radius: 24px; overflow: hidden; height: 380px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); transition: var(--transition);
}
.location-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.location-card:hover img { transform: scale(1.1); }
.location-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 30px 30px;
    background: linear-gradient(to top, rgba(18, 59, 112, 0.95) 0%, rgba(18, 59, 112, 0.4) 60%, rgba(0,0,0,0) 100%);
    backdrop-filter: blur(4px); color: white; display: flex; flex-direction: column; justify-content: flex-end;
}

/* Why Choose Us */
.feature-box {
    background: rgba(255,255,255,0.7); backdrop-filter: blur(10px);
    padding: 50px 30px; border-radius: 24px; text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.03); border: 1px solid rgba(255,255,255,0.5);
    transition: var(--transition); position: relative; overflow: hidden;
}
.feature-box:hover {
    transform: translateY(-10px); background: #ffffff;
    box-shadow: 0 20px 40px rgba(23, 106, 120, 0.15);
}
.feature-icon {
    width: 90px; height: 90px; margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(23, 106, 120, 0.1), rgba(8, 114, 79, 0.1));
    color: var(--teal-blue); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 36px;
    transition: var(--transition);
}
.feature-box:hover .feature-icon {
    background: var(--gradient-primary); color: white; transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(8, 114, 79, 0.3);
}

/* Testimonials */
.testimonial-card {
    background: #ffffff; padding: 50px 40px; border-radius: 24px;
    box-shadow: 0 15px 40px rgba(18,59,112,0.06); position: relative;
    border-top: 5px solid transparent; background-clip: padding-box;
}
.testimonial-card::before {
    content: ''; position: absolute; top: -5px; left: 0; right: 0; height: 5px;
    background: var(--gradient-primary); border-radius: 24px 24px 0 0;
}
.client-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-right: 20px; border: 3px solid #f4f7f8; }

/* Contact Forms & CTA */
.cta-section {
    background: var(--gradient-primary); position: relative; overflow: hidden; padding: 100px 0;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; left: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%); border-radius: 50%;
}
.form-control {
    width: 100%; padding: 16px 20px; border: 2px solid #f0f0f0; border-radius: 12px;
    font-size: 16px; transition: var(--transition); background: #fafafa;
}
.form-control:focus {
    background: #ffffff; border-color: var(--teal-blue);
    box-shadow: 0 0 0 4px rgba(23,106,120,0.1); outline: none;
}
.contact-info-box { background: var(--navy-blue); padding: 60px; border-radius: 24px; color: white; position: relative; overflow: hidden; }
.contact-form-box { background: var(--white); padding: 60px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .glass-dark { padding: 30px; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .header-actions { display: none; }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 36px; }
    .hero-actions { flex-direction: column; }
    .hero { padding: 80px 0; }
}