/* ============================================
   BIS FMS - PREMIUM DESIGN SYSTEM
   ============================================ */

:root {
    /* Color Palette */
    --primary: #F2A900;
    --primary-dark: #D99700;
    --primary-light: rgba(242, 169, 0, 0.12);
    --secondary: #0A192F;
    --secondary-light: #112240;
    --accent: #64FFDA;
    --bg-body: #FFFFFF;
    --bg-light: #F1F5F9;
    --bg-dark: #050D1A;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --border: #E2E8F0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F2A900 0%, #FF6B35 100%);
    --gradient-dark: linear-gradient(135deg, #0A192F 0%, #1E3A5F 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 25, 47, 0.92) 0%, rgba(10, 25, 47, 0.6) 50%, rgba(10, 25, 47, 0.85) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-gold: 0 4px 20px rgba(242, 169, 0, 0.3);
    
    /* Transition */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.35s var(--ease);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text-primary); line-height: 1.7; background-color: var(--bg-body); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; color: var(--secondary); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 7rem 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary) 0%, #FF6B35 100%);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============ UTILITY ============ */
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-dark { background: linear-gradient(135deg, var(--primary) 0%, #FF6B35 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.85rem; padding: 0.4rem 1.2rem; border-radius: 50px; margin-bottom: 1rem; letter-spacing: 0.5px; text-transform: uppercase; }
.section-title { font-size: 2.75rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 650px; margin: 0 auto 3.5rem; }
.title-underline { height: 4px; width: 50px; background: var(--gradient-primary); margin-bottom: 2rem; border-radius: 2px; }
.title-underline.center { margin: 0 auto 2rem; }

/* ============ PRELOADER ============ */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--secondary); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-ring { width: 60px; height: 60px; border: 3px solid rgba(242,169,0,0.2); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 1.5rem; }
.preloader-text { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--white); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 2rem; border-radius: 50px; font-weight: 600; font-family: 'Outfit', sans-serif; cursor: pointer; transition: var(--transition); border: none; font-size: 0.95rem; gap: 0.4rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-primary { background: var(--gradient-primary); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%); opacity: 0; transition: opacity 0.4s; }
.btn-glow:hover::after { opacity: 1; }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: var(--white); color: var(--secondary); transform: translateY(-3px); border-color: var(--white); }
.btn-nav-cta { background: var(--gradient-primary); color: var(--white) !important; padding: 0.6rem 1.6rem !important; border-radius: 50px; font-size: 0.9rem; }
.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-nav-cta::after { display: none !important; }
.btn-block { display: block; width: 100%; }

/* ============ HEADER ============ */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.2rem 0; transition: var(--transition); }
.header.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 20px rgba(0,0,0,0.08); padding: 0.8rem 0; }
.header.scrolled .logo-text, .header.scrolled .nav-link:not(.btn-nav-cta) { color: var(--secondary); }
.header.scrolled .hamburger, .header.scrolled .hamburger::before, .header.scrolled .hamburger::after { background: var(--secondary); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-link { display: inline-block; }
.logo-text { font-size: 1.8rem; font-family: 'Outfit', sans-serif; font-weight: 900; color: var(--white); transition: var(--transition); letter-spacing: -0.5px; }
.logo-accent { color: var(--primary); }
.nav-list { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { font-family: 'Outfit', sans-serif; font-weight: 500; color: rgba(255,255,255,0.9); position: relative; font-size: 0.95rem; }
.nav-link:not(.btn-nav-cta)::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: width 0.3s ease; border-radius: 1px; }
.nav-link:not(.btn-nav-cta):hover::after, .nav-link.active:not(.btn-nav-cta)::after { width: 100%; }

/* Hamburger */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); position: absolute; }
.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { content: ''; top: -8px; }
.hamburger::after { content: ''; top: 8px; }
.mobile-toggle.active .hamburger { background: transparent; }
.mobile-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ============ HERO SLIDER ============ */
.hero-slider { position: relative; width: 100%; height: 100vh; min-height: 700px; overflow: hidden; }
.slides-wrapper { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; z-index: 0; }
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay { position: absolute; inset: 0; background: var(--gradient-hero); }
.slide-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; max-width: 700px; color: var(--white); padding-top: 80px; }
.slide-badge { display: inline-block; background: rgba(242,169,0,0.15); backdrop-filter: blur(10px); color: var(--primary); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.85rem; padding: 0.5rem 1.5rem; border-radius: 50px; margin-bottom: 1.5rem; border: 1px solid rgba(242,169,0,0.3); letter-spacing: 1px; text-transform: uppercase; width: fit-content; }
.slide-content h1 { font-size: 4rem; color: var(--white); margin-bottom: 1.5rem; font-weight: 800; line-height: 1.1; }
.slide-content p { font-size: 1.2rem; margin-bottom: 2.5rem; opacity: 0.85; line-height: 1.8; max-width: 550px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slider Controls */
.slider-controls { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 1.5rem; }
.slider-btn { width: 45px; height: 45px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-btn svg { width: 20px; height: 20px; }
.slider-dots { display: flex; gap: 0.6rem; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--primary); transform: scale(1.2); }

/* ============ ABOUT HOME ============ */
.about-home .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text p { margin-bottom: 1.5rem; font-size: 1.05rem; color: var(--text-secondary); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.5rem; }
.about-feature { display: flex; align-items: center; gap: 0.6rem; font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 0.95rem; color: var(--text-primary); }
.feature-icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* About Image Grid */
.about-img-grid { position: relative; width: 100%; height: 520px; }
.about-img-main { position: absolute; top: 0; right: 0; width: 75%; height: 380px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-img-main:hover img { transform: scale(1.05); }
.about-img-small { position: absolute; width: 45%; height: 200px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid var(--white); }
.about-img-small.top { top: 60px; left: 0; }
.about-img-small.bottom { bottom: 0; left: 30px; }
.about-img-small img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-img-small:hover img { transform: scale(1.08); }
.experience-badge-float { position: absolute; bottom: 80px; right: 0; background: var(--gradient-primary); width: 130px; height: 130px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 6px solid var(--white); box-shadow: var(--shadow-lg); animation: pulse-badge 2s ease infinite; }
.badge-num { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.badge-num sup { font-size: 1.2rem; }
.badge-label { font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; text-align: center; line-height: 1.3; }
@keyframes pulse-badge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ============ COUNTERS ============ */
.counters-section { position: relative; padding: 5rem 0; overflow: hidden; }
.counters-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.counters-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,25,47,0.93) 0%, rgba(10,25,47,0.85) 100%); }
.counters-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.counter-item { text-align: center; color: var(--white); padding: 2rem 1rem; }
.counter-item i, .counter-item svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: 1rem; stroke-width: 1.8px; }
.counter-number { font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 800; display: inline; }
.counter-suffix { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; color: var(--primary); }
.counter-item p { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-top: 0.5rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ============ SERVICES HOME ============ */
.services-grid-premium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card-premium { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid rgba(0,0,0,0.06); }
.service-card-premium:hover { transform: translateY(-12px); box-shadow: 0 20px 40px -15px rgba(242, 169, 0, 0.12), var(--shadow-xl); border-color: rgba(242,169,0,0.35); }
.card-img-top { position: relative; height: 220px; overflow: hidden; }
.card-img-top img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card-premium:hover .card-img-top img { transform: scale(1.1); }
.card-number { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); color: var(--white); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.3); }
.card-body { padding: 2rem; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.card-body p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 1rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.service-tags span { background: var(--primary-light); color: var(--primary-dark); font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 50px; }
.card-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary-dark); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.card-link:hover { gap: 0.8rem; color: var(--primary); }
.card-link i { width: 16px; height: 16px; }

/* ============ WHY CHOOSE US ============ */
.why-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.why-card { background: var(--white); padding: 2.5rem 2rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); position: relative; overflow: hidden; }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gradient-primary); transform: scaleX(0); transition: transform 0.4s ease; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon { width: 70px; height: 70px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; transition: var(--transition); }
.why-icon i, .why-icon svg { width: 30px; height: 30px; color: var(--primary); transition: var(--transition); stroke-width: 2px; }
.why-card:hover .why-icon { background: var(--gradient-primary); }
.why-card:hover .why-icon i { color: var(--white); }
.why-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.why-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ============ TESTIMONIALS ============ */
.testimonials-slider { position: relative; overflow: hidden; margin-top: 2rem; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card { min-width: 100%; padding: 0 2rem; }
.testimonial-card > p { background: var(--white); padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; font-style: italic; position: relative; border: 1px solid var(--border); margin-bottom: 2rem; }
.stars { color: var(--primary); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-left: 1rem; }
.author-avatar { width: 55px; height: 55px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.testimonial-author strong { font-family: 'Outfit', sans-serif; font-size: 1.1rem; display: block; }
.testimonial-author span { color: var(--text-muted); font-size: 0.85rem; }
.testimonial-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.t-btn { width: 45px; height: 45px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.t-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.t-btn i, .t-btn svg { width: 18px; height: 18px; stroke-width: 2px; }

/* ============ CTA SECTION ============ */
.cta-section { position: relative; padding: 7rem 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,25,47,0.92) 0%, rgba(10,25,47,0.88) 100%); }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 3rem; color: var(--white); margin-bottom: 1rem; }
.cta-content p { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============ SUBPAGE HERO ============ */
.subpage-hero { position: relative; min-height: 45vh; display: flex; align-items: center; justify-content: center; padding-top: 100px; background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; background-attachment: fixed; }
.services-hero { background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1920&q=80'); }
.contact-hero { background-image: url('https://images.unsplash.com/photo-1516387938699-a93567ec168e?auto=format&fit=crop&w=1920&q=80'); }
.subpage-hero .overlay { position: absolute; inset: 0; background: var(--gradient-hero); z-index: 0; }
.subpage-hero .container { position: relative; z-index: 1; text-align: center; }
.subpage-hero .hero-title { font-size: 3.5rem; color: var(--white); margin-bottom: 0.5rem; }
.subpage-hero .hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.85); }

/* ============ SERVICE ROWS (services.html) ============ */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row-img img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transition: transform 0.5s ease; }
.service-row-img:hover img { transform: translateY(-8px); }
.service-row-text .icon-wrapper { width: 60px; height: 60px; background: var(--gradient-primary); border-radius: var(--radius-md); display: flex; justify-content: center; align-items: center; margin-bottom: 1.5rem; color: var(--white); }
.icon-wrapper svg, .service-row-text .icon-wrapper svg { width: 28px; height: 28px; }
.service-row-text h2 { margin-bottom: 1rem; }
.service-row-text p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 1rem; }

/* ============ CONTACT PAGE ============ */
.contact-page .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1.2rem; background: var(--bg-light); padding: 1.5rem; border-radius: var(--radius-md); transition: var(--transition); }
.contact-card:hover { transform: translateX(8px); background: var(--white); box-shadow: var(--shadow-md); }
.contact-card i, .contact-card svg { color: var(--primary); width: 28px; height: 28px; flex-shrink: 0; stroke-width: 2px; }
.contact-card h4 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-card p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.advanced-form { background: var(--white); padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 5px solid var(--primary); }
.advanced-form h3 { font-size: 1.75rem; margin-bottom: 2rem; }
.form-input { width: 100%; padding: 1rem 1.2rem; margin-bottom: 1.2rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: var(--transition); background: var(--bg-light); color: var(--text-primary); }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); background: var(--white); }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }

/* ============ WHY CHOOSE (about.html) ============ */
.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vm-card { padding: 3rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.vm-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.vm-card p { color: var(--text-secondary); }

/* ============ FOOTER ============ */
.footer { background: var(--bg-dark); color: var(--white); }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-logo { display: block; margin-bottom: 1rem; }
.footer-desc { color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; font-size: 0.92rem; line-height: 1.7; }
.social-links { display: flex; gap: 0.8rem; }
.social-links a { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: rgba(255,255,255,0.06); border-radius: 50%; transition: var(--transition); color: rgba(255,255,255,0.6); }
.social-links a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.social-links a i, .social-links a svg { width: 18px; height: 18px; stroke-width: 2px; }
.footer-heading { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.8rem; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { color: rgba(255,255,255,0.55); transition: var(--transition); display: flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1rem; color: rgba(255,255,255,0.55); font-size: 0.92rem; }
.footer-contact i, .footer-contact svg { color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; stroke-width: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ============ BACK TO TOP ============ */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-primary); color: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-gold); z-index: 99; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top i, .back-to-top svg { width: 22px; height: 22px; stroke-width: 2.5px; }

/* ============ DARK SECTION & BLOBS ============ */
.bg-dark { 
    background-color: var(--secondary); 
    background-image: 
        radial-gradient(rgba(242, 169, 0, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    position: relative; 
    overflow: hidden; 
}
.badge-dark { background: rgba(255,255,255,0.1); color: var(--primary); border: 1px solid rgba(255,255,255,0.2); }
.text-white { color: var(--white) !important; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.dark-card { 
    background: rgba(255,255,255,0.02); 
    border: 1px solid rgba(255,255,255,0.06) !important; 
    box-shadow: none; 
    color: rgba(255,255,255,0.7); 
    transition: var(--transition);
}
.dark-card h3 { color: var(--white); }
.dark-card:hover { 
    background: rgba(255,255,255,0.05); 
    border-color: rgba(242, 169, 0, 0.3) !important;
    box-shadow: 0 20px 40px -15px rgba(242, 169, 0, 0.25), 0 10px 30px rgba(0,0,0,0.4); 
    transform: translateY(-8px);
}
.blob { position: absolute; filter: blur(80px); z-index: 0; opacity: 0.6; animation: floatBlob 10s ease-in-out infinite alternate; }
.blob-1 { top: -100px; left: -100px; width: 400px; height: 400px; background: rgba(242, 169, 0, 0.2); border-radius: 50%; }
.blob-2 { bottom: -150px; right: -50px; width: 500px; height: 500px; background: rgba(100, 255, 218, 0.15); border-radius: 50%; animation-delay: -5s; }
@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } }

/* ============ OUR PROCESS ============ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; margin-top: 3rem; }
.process-steps::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: dashed 2px var(--border); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; }
.step-icon { width: 80px; height: 80px; background: var(--white); border: 2px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; position: relative; box-shadow: var(--shadow-sm); transition: var(--transition); }
.step-icon i, .step-icon svg { width: 32px; height: 32px; color: var(--primary); transition: var(--transition); stroke-width: 2px; }
.process-step:hover .step-icon { background: var(--gradient-primary); border-color: transparent; box-shadow: var(--shadow-gold); transform: translateY(-5px); }
.process-step:hover .step-icon i, .process-step:hover .step-icon svg { color: var(--white); }
.step-number { position: absolute; top: -5px; right: calc(50% - 40px); background: var(--secondary); color: var(--white); font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 700; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--white); z-index: 2; transition: var(--transition); }
.process-step:hover .step-number { background: var(--primary); color: var(--white); }
.process-step h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.process-step p { color: var(--text-secondary); font-size: 0.95rem; }

/* ============ GALLERY ============ */
.gallery-masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 300px; cursor: pointer; }
.gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,25,47,0.9) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 2rem; opacity: 0; transition: var(--transition); }
.gallery-overlay span { color: var(--white); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; transform: translateY(20px); transition: transform 0.4s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .services-grid-premium { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .about-home .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-img-grid { height: 400px; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-steps::before { display: none; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    .nav-list { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--secondary); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; z-index: 998; }
    .nav-list.show { display: flex; }
    .nav-link { color: var(--white) !important; font-size: 1.2rem; }
    .mobile-toggle { display: block; z-index: 999; }
    .slide-content h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .services-grid-premium { grid-template-columns: 1fr; }
    .why-us-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .counter-number { font-size: 2.5rem; }
    .service-row { grid-template-columns: 1fr; gap: 2rem; }
    .service-row.reverse { direction: ltr; }
    .about-grid, .contact-page .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .vision-mission { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 0.8rem; text-align: center; }
    .cta-content h2 { font-size: 2rem; }
    
    /* Overlay menu scrolling fixes */
    .header.menu-open .logo-text { color: var(--white) !important; }
    .header.menu-open .hamburger, 
    .header.menu-open .hamburger::before, 
    .header.menu-open .hamburger::after { 
        background: var(--white) !important; 
    }

    /* About Overlapping Images Mobile Cleanup */
    .about-img-grid { height: auto !important; display: flex; flex-direction: column; }
    .about-img-main { position: relative !important; width: 100% !important; height: 260px !important; right: auto !important; }
    .about-img-small.top, .about-img-small.bottom { display: none !important; }
    .experience-badge-float { position: relative !important; margin: -40px auto 0 !important; bottom: auto !important; right: auto !important; width: 110px !important; height: 110px !important; border-width: 4px !important; }
    .badge-num { font-size: 2.2rem !important; }

    /* Timeline centering (overriding inline padding & aligns) */
    .timeline { padding: 0 1rem; }
    .timeline > div:first-child { display: none !important; }
    .timeline-item { flex-direction: column !important; text-align: center !important; gap: 1rem; }
    .timeline-item > div { width: 100% !important; padding: 0 !important; text-align: center !important; }
    .timeline-item > div:nth-child(2) { position: relative !important; margin: 0.5rem auto !important; left: auto !important; transform: none !important; }

    /* Floating action size reductions */
    .floating-actions { bottom: 80px !important; right: 15px !important; gap: 10px !important; }
    .fab-main { width: 50px !important; height: 50px !important; }
    .fab-main svg { width: 24px !important; height: 24px !important; }
    .fab-child { width: 44px !important; height: 44px !important; }
    .fab-child svg { width: 20px !important; height: 20px !important; }
    .back-to-top { bottom: 1.5rem !important; right: 1.5rem !important; width: 40px !important; height: 40px !important; }
    .back-to-top i, .back-to-top svg { width: 18px !important; height: 18px !important; }
}

@media (max-width: 576px) {
    .hero-cta { flex-direction: column !important; width: 100% !important; gap: 10px !important; }
    .hero-cta .btn { width: 100% !important; text-align: center !important; }
}

@media (max-width: 480px) {
    .slide-content h1 { font-size: 2rem; }
    .counters-grid { grid-template-columns: 1fr 1fr; }
    .slider-controls { bottom: 1.5rem; }
    .about-features { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .process-steps::before { display: none; }
    .gallery-masonry { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 1; }
    .advanced-form { padding: 1.5rem !important; }
}

/* ============ FLOATING ACTION BUTTONS (SPEED DIAL) ============ */
.floating-actions {
    position: fixed;
    bottom: 90px; /* Positioned above the back-to-top button */
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease);
}

.floating-actions.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.fab-main:hover {
    transform: scale(1.05);
}

.fab-main svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s var(--ease);
}

/* Icon toggle states */
.fab-main .icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

.floating-actions.open .fab-main {
    background: var(--secondary);
    box-shadow: 0 10px 25px rgba(10,25,47,0.3);
}

.floating-actions.open .fab-main .icon-msg {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

.floating-actions.open .fab-main .icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Child buttons */
.fab-child {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.6);
}

.fab-child svg {
    width: 24px;
    height: 24px;
}

/* Open states for children (using transitions delays to stagger them) */
.floating-actions.open .fab-child {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.floating-actions.open .fab-child:nth-child(1) {
    transition-delay: 0.1s;
}

.floating-actions.open .fab-child:nth-child(2) {
    transition-delay: 0.05s;
}

/* Tooltips */
.fab-child::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(10, 25, 47, 0.95);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.fab-child:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.fab-whatsapp:hover {
    box-shadow: 0 10px 25px rgba(37,211,102,0.4);
    transform: scale(1.1);
}

.fab-email {
    background: linear-gradient(135deg, #FF6B35 0%, #F2A900 100%);
}

.fab-email:hover {
    box-shadow: 0 10px 25px rgba(242,169,0,0.4);
    transform: scale(1.1);
}
