/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #e0e0e0; background: #0a0e17; line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ===== COLORS ===== */
:root {
    --primary: #105AD5;
    --primary-dark: #0B39B3;
    --accent: #1569E5;
    --dark-bg: #0a0e17;
    --dark-bg-2: #0f1623;
    --dark-bg-3: #141c2e;
    --text: #e0e0e0;
    --text-muted: #94a3b8;
    --white: #ffffff;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.from-left {
    transform: translateX(-50px);
}
.reveal.from-right {
    transform: translateX(50px);
}
.reveal.from-scale {
    transform: scale(0.92);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.48s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.56s; }

/* Hero entrance animation */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-animate {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-animate-delay-1 { animation-delay: 0.2s; }
.hero-animate-delay-2 { animation-delay: 0.4s; }
.hero-animate-delay-3 { animation-delay: 0.6s; }

/* Parallax-like float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-animation { animation: float 6s ease-in-out infinite; }

/* ===== TOP BAR ===== */
.top-bar { background: #060a12; padding: 8px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.social-links a { color: var(--text-muted); margin-right: 16px; transition: color 0.3s; }
.social-links a:hover { color: var(--primary); }
.top-email { color: var(--text-muted); }
.top-email:hover { color: var(--primary); }

/* ===== NAVBAR ===== */
.navbar { position: sticky; top: 0; z-index: 1000; background: rgba(10,14,23,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0; transition: box-shadow 0.3s; }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--white); }
.logo-icon { color: var(--primary); width: 20px; height: 20px; }
.evansly_logo{
    width: 40px;
}
.logo-accent { color: var(--primary); }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { color: var(--text); padding: 8px 16px; border-radius: 6px; font-size: 15px; font-weight: 500; transition: all 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(14,165,233,0.1); }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: all 0.3s; white-space: nowrap; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Dropdown */

.has-dropdown { position: relative; }
.has-dropdown > a i { font-size: 10px; margin-left: 4px; }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--dark-bg-2); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; min-width: 260px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 16px; border-radius: 6px; font-size: 14px; }
.dropdown a:hover { background: rgba(14,165,233,0.1); }

/* Mobile Nav */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; border-radius: 2px; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
 
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1;
}

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

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* .slidethree{
    width: 70%;
} */

.slide.active {
    opacity: 1;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,14,23,0.85) 0%, rgba(10,14,23,0.4) 30%, rgba(10,14,23,0.5) 60%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 120px 0 80px; }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 36px; max-width: 640px; line-height: 1.8; }

/* ===== SERVICE PAGE HERO ===== */
.service-page-hero { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.service-page-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.service-page-hero .hero-overlay { background: linear-gradient(135deg, rgba(10,14,23,0.90) 0%, rgba(10,14,23,0.60) 50%, rgba(10,14,23,0.80) 100%); }
.service-page-hero .hero-content { max-width: 700px; }
.service-page-hero .hero-subtitle { color: var(--primary); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.service-page-hero .hero-desc { font-size: 17px; color: var(--text-muted); line-height: 1.8; max-width: 600px; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,165,233,0.3); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.center-btn { display: block; width: fit-content; margin: 32px auto 0; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--dark-bg-2);
 }

 .split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-layout .content {
    flex: 1;
}

.earth_obwerveimg{
    
    width: 50vh;
    height: 80vh;
}

.earth_obwerveimg img {
    width: 100%;
    height: 100vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.section-accent { background: var(--dark-bg-3); }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.section-desc { font-size: 17px; color: var(--text-muted); max-width: 700px; line-height: 1.8; }
.section-desc.center { margin-left: auto; margin-right: auto; }
.text-highlight { color: var(--primary); }

/* ===== SPLIT CONTENT ===== */
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 16px; }
.split-image img { border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.feature-card { background: var(--dark-bg-3); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 36px 28px; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.feature-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: 0 16px 48px rgba(14,165,233,0.12); }
.feature-icon { width: 56px; height: 56px; background: rgba(14,165,233,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary); font-size: 22px; transition: all 0.3s; }
.feature-card:hover .feature-icon { background: rgba(14,165,233,0.2); transform: scale(1.1); }
.feature-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; color: var(--white); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 50px; }
.service-card { position: relative; border-radius: 16px; overflow: hidden; height: 320px; display: block; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card:hover img { transform: scale(1.08); }
.service-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; color: var(--white); margin-bottom: 8px; }
.service-link { color: var(--primary); font-size: 14px; font-weight: 600; }

/* Services listing grid (services overview page) */
.services-listing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.service-listing-card { background: var(--dark-bg-3); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; overflow: hidden; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); display: block; }
.service-listing-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: 0 16px 48px rgba(14,165,233,0.1); }
.service-listing-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s; }
.service-listing-card:hover img { transform: scale(1.05); }
.service-listing-card .card-body { padding: 24px; }
.service-listing-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; color: var(--white); margin-bottom: 8px; }
.service-listing-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.service-listing-card .learn-more { color: var(--primary); font-size: 14px; font-weight: 600; }

/* ===== STATS ===== */
.section-stats { position: relative; padding: 120px 0; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-overlay { position: absolute; inset: 0; background: rgba(10,14,23,0.88); }
.stats-content { position: relative; z-index: 2; }
.stats-row { display: flex; justify-content: center; gap: 80px; margin-top: 50px; }
.stat { text-align: center; }
.stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 56px; font-weight: 800; color: var(--primary); }
.stat-plus { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-label { display: block; color: var(--text-muted); font-size: 15px; margin-top: 8px; }

/* ===== INDUSTRIES ===== */
.industries-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 50px; }
.industry-item { background: var(--dark-bg-3); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 20px 28px; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--text); transition: all 0.3s; }
.industry-item i { color: var(--primary); font-size: 18px; }
.industry-item:hover { border-color: var(--primary); background: rgba(14,165,233,0.05); transform: translateY(-2px); }

/* ===== CTA ===== */
.section-cta { background: linear-gradient(135deg, var(--dark-bg-3), var(--dark-bg-2)); padding: 100px 0; }
.section-cta .section-desc { margin: 0 auto 36px; }

/* ===== FOOTER ===== */
.footer { background: #060a12; padding: 60px 0 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--text-muted); margin: 16px 0; font-size: 14px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.3s; }
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-links h4, .footer-contact h4 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; color: var(--white); margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { color: var(--text-muted); font-size: 14px; }
.footer-contact i { color: var(--primary); margin-right: 8px; }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { color: var(--text-muted); font-size: 13px; text-align: center; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { padding: 140px 0 80px; 
    background: var(--dark-bg-2); text-align: center; }
.page-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4vw, 52px); font-weight: 700; color: var(--white); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.about-grid h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; color: var(--white); margin: 30px 0 10px; }
.about-grid p { color: var(--text-muted); font-size: 15px; }
.values-list { list-style: none; }
.values-list li { padding: 10px 0; color: var(--text); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.values-list li i { color: var(--primary); margin-right: 10px; }

/* ===== SERVICES PAGE ===== */
.service-section { padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.service-section:nth-child(even) { background: var(--dark-bg-2); }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail h3 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; color: var(--white); margin-bottom: 16px; }
.service-detail p { color: var(--text-muted); margin-bottom: 16px; font-size: 15px; }
.service-detail ul { list-style: none; margin-bottom: 20px; }
.service-detail ul li { padding: 6px 0; color: var(--text); font-size: 14px; }
.service-detail ul li::before { content: "✦ "; color: var(--primary); margin-right: 8px; }
.service-detail img { border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.3); }

/* Service detail page feature cards */
.service-features-gri{
    display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; margin-top: 40px; width: 75%;
}
.service-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.service-feature-card { background: var(--dark-bg-3); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 32px; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.service-feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(14,165,233,0.1); }
.service-feature-card .icon { width: 48px; height: 48px; background: rgba(14,165,233,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--primary); font-size: 18px; }
.service-feature-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; color: var(--white); }

/* Additional content section */
.additional-content { max-width: 800px; margin: 0 auto; }
.additional-content p { color: var(--text-muted); font-size: 17px; line-height: 1.9; margin-bottom: 20px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form { background: var(--dark-bg-3); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--text); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 12px 16px; color: var(--white); font-size: 15px; font-family: 'Inter', sans-serif; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; color: var(--white); margin-bottom: 20px; }
.contact-info p { color: var(--text-muted); margin-bottom: 30px; }
.contact-detail { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon { width: 48px; height: 48px; background: rgba(14,165,233,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 18px; }
.contact-detail span { color: var(--text); font-size: 15px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .split-content, .about-grid, .service-detail, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
    .service-detail.reverse { direction: ltr; }
    .features-grid { grid-template-columns: repeat(1, 1fr); }
    .stats-row { gap: 40px; }
    .services-listing { grid-template-columns: repeat(2, 1fr); }
    .service-features-grid { grid-template-columns: 1fr; }
  
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: var(--dark-bg); flex-direction: column; padding: 20px; gap: 4px; transform: translateY(-120%); transition: transform 0.3s; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-links.active { transform: translateY(0); }
    .nav-cta { display: none; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; box-shadow: none; padding: 0 0 0 16px; }
    .features-grid, .services-grid { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; gap: 30px; }
    .hero-content { padding: 80px 0 60px; }
    .section { padding: 60px 0; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .services-listing { grid-template-columns: 1fr; }
       .split-layout {
        flex-direction: column;
    }
    .service-features-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; margin-top: 40px; width: 100%;}
}
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
