/* ============================================
   TUTUME Worldwide Ltd - Website Styles
   Multi-Page, Image-Heavy Design
   ============================================ */

:root {
    --orange: #F7941D;
    --orange-dark: #E8830A;
    --orange-light: #FDB95B;
    --orange-glow: rgba(247, 148, 29, 0.3);
    --charcoal: #2D2D2D;
    --dark: #1a1a1a;
    --gray-900: #333333;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #cccccc;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --green: #2D8B4E;
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-orange: 0 4px 20px rgba(247,148,29,0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-900); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
.lead { font-size: 1.15rem; color: var(--gray-700); line-height: 1.8; }
.rounded-img { border-radius: var(--radius-lg); object-fit: cover; width: 100%; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); gap: 8px; }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--orange); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: var(--transition); }
.navbar.scrolled { background: var(--white); padding: 10px 0; box-shadow: var(--shadow-sm); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 50px; transition: var(--transition); }
.nav-logo .logo-default { display: none; }
.nav-logo .logo-white { display: block; }
.navbar.scrolled .nav-logo .logo-default { display: block; }
.navbar.scrolled .nav-logo .logo-white { display: none; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem; color: var(--white); position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--orange); transition: var(--transition); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.navbar.scrolled .nav-menu a { color: var(--gray-900); }
.navbar.scrolled .nav-menu a:hover, .navbar.scrolled .nav-menu a.active { color: var(--orange); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; padding: 10px 24px !important; border-radius: 50px !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-dark) !important; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 28px; height: 2px; background: var(--white); transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--gray-900); }

/* ============================================
   HERO - with Image Slider
   ============================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(247,148,29,0.88) 0%, rgba(200,100,0,0.82) 50%, rgba(45,45,45,0.7) 100%); z-index: 1; }
.hero-globe { position: absolute; left: -100px; top: 50%; transform: translateY(-50%); width: 600px; height: 600px; z-index: 2; opacity: 0.2; animation: globeRotate 30s linear infinite; }
@keyframes globeRotate { 0% { transform: translateY(-50%) rotate(0deg); } 100% { transform: translateY(-50%) rotate(360deg); } }
.globe-svg { width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 3; text-align: center; max-width: 900px; padding: 120px 20px 80px; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--white); margin-bottom: 24px; font-weight: 800; letter-spacing: -0.5px; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto 40px; line-height: 1.8; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-tagline { font-family: var(--font-heading); font-size: 1.2rem; color: var(--white); font-weight: 600; font-style: italic; opacity: 0.9; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; }
.hero-scroll a { display: block; width: 30px; height: 50px; border: 2px solid rgba(255,255,255,0.5); border-radius: 25px; position: relative; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; width: 6px; height: 6px; margin-left: -3px; background: var(--white); border-radius: 50%; animation: scrollBounce 2s infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(20px); opacity: 0.3; } }

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero { position: relative; min-height: 400px; display: flex; align-items: center; background-size: cover; background-position: center; background-color: var(--orange); }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(247,148,29,0.9) 0%, rgba(200,100,0,0.85) 50%, rgba(45,45,45,0.6) 100%); }
.page-hero-content { position: relative; z-index: 2; padding-top: 100px; }
.page-hero-content h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 12px; }
.page-hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 600px; }
.breadcrumb { margin-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: var(--white); font-weight: 500; }
.breadcrumb span { margin: 0 8px; }

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section { padding: 100px 0; position: relative; overflow: hidden; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray-100); }
.section-orange { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); color: var(--white); }
.section-dark { background: var(--dark); color: var(--white); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { display: inline-block; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--orange); margin-bottom: 12px; }
.section-label.light { color: rgba(255,255,255,0.8); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--gray-900); margin-bottom: 16px; }
.section-title.light { color: var(--white); }
.section-subtitle { font-size: 1.05rem; color: var(--gray-700); max-width: 700px; margin: 0 auto; }

/* ============================================
   INTRO WITH IMAGE
   ============================================ */
.intro-grid-img { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-image { position: relative; }
.intro-image img { height: 500px; object-fit: cover; }
.intro-image-badge { position: absolute; bottom: -20px; right: -20px; background: var(--orange); color: var(--white); padding: 20px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-lg); }
.badge-number { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; }
.badge-text { font-size: 0.75rem; font-weight: 500; }
.intro-image-float { position: absolute; bottom: 40px; left: -40px; width: 200px; z-index: 2; border: 4px solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.float-img { height: 150px; object-fit: cover; }
.intro-text p { margin-bottom: 20px; color: var(--gray-700); }

/* ============================================
   PHOTO STRIP BANNER
   ============================================ */
.photo-strip { overflow: hidden; padding: 0; background: var(--dark); }
.photo-strip-track { display: flex; gap: 4px; animation: photoScroll 30s linear infinite; width: max-content; }
.photo-strip-track img { width: 250px; height: 180px; object-fit: cover; flex-shrink: 0; filter: brightness(0.9); transition: var(--transition); }
.photo-strip-track img:hover { filter: brightness(1.1); transform: scale(1.02); }
@keyframes photoScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================
   COMBINING CARDS WITH IMAGES
   ============================================ */
.combining-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.combining-card-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--white); transition: var(--transition); }
.combining-card-img:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cc-image { height: 220px; overflow: hidden; position: relative; }
.cc-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.combining-card-img:hover .cc-image img { transform: scale(1.08); }
.cc-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3)); }
.cc-content { padding: 28px; }
.combining-icon { width: 50px; height: 50px; background: var(--orange); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); margin-bottom: 16px; margin-top: -40px; position: relative; z-index: 2; box-shadow: var(--shadow-sm); }
.combining-icon svg { width: 24px; height: 24px; }
.cc-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cc-content p { font-size: 0.85rem; color: var(--gray-700); }

/* ============================================
   SERVICES PREVIEW (Homepage)
   ============================================ */
.services-preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-preview-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 350px; }
.spc-image { position: absolute; inset: 0; }
.spc-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-preview-card:hover .spc-image img { transform: scale(1.08); }
.spc-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%); }
.spc-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; z-index: 2; color: var(--white); }
.spc-content h3 { font-size: 1.3rem; margin-bottom: 8px; }
.spc-content p { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.spc-link { color: var(--orange-light); font-weight: 600; font-size: 0.9rem; }
.spc-link:hover { color: var(--orange); }

/* ============================================
   STATS WITH IMAGE BACKGROUND
   ============================================ */
.section-stats { position: relative; padding: 100px 0; background-size: cover; background-position: center; background-color: var(--dark); }
.stats-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.85); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--orange); display: inline; }
.stat-suffix { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--orange); }
.stat-label { display: block; color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 8px; font-weight: 500; }

/* ============================================
   WHY CHOOSE - With Image
   ============================================ */
.why-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-image img { height: 500px; object-fit: cover; }
.why-list { margin-top: 24px; }
.why-list-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.why-check { width: 28px; height: 28px; flex-shrink: 0; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); margin-top: 2px; }
.why-check svg { width: 14px; height: 14px; }
.why-list-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.why-list-item p { font-size: 0.8rem; color: var(--gray-700); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner { position: relative; padding: 100px 0; background-size: cover; background-position: center; color: var(--white); }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(247,148,29,0.9) 0%, rgba(200,100,0,0.88) 100%); }
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }

/* ============================================
   MEANING OF TUTUME
   ============================================ */
.section-meaning { position: relative; min-height: 500px; display: flex; align-items: center; color: var(--white); }
.meaning-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--orange); }
.meaning-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(247,148,29,0.93) 0%, rgba(200,100,0,0.9) 100%); }
.meaning-grid-full { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.meaning-swahili { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.meaning-content p { margin-bottom: 16px; color: rgba(255,255,255,0.9); line-height: 1.8; }
.meaning-tagline { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; font-style: italic; color: var(--white); margin-top: 24px; padding-top: 20px; border-top: 2px solid rgba(255,255,255,0.3); }
.meaning-image-side img { height: 450px; object-fit: cover; border: 4px solid rgba(255,255,255,0.3); }

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: linear-gradient(to bottom, var(--orange), var(--orange-light)); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 20px 40px; }
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; }
.timeline-dot { position: absolute; top: 30px; width: 20px; height: 20px; background: var(--orange); border: 4px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 4px var(--orange); z-index: 2; }
.timeline-item.left .timeline-dot { right: -10px; }
.timeline-item.right .timeline-dot { left: -10px; }
.timeline-content { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--transition); }
.timeline-content:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.timeline-year { display: inline-block; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--orange); margin-bottom: 4px; }
.timeline-content h3 { font-size: 1rem; margin-bottom: 8px; }
.timeline-content p { font-size: 0.85rem; color: var(--gray-700); }
.timeline-future { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); color: var(--white); }
.timeline-future .timeline-year { color: var(--white); }
.timeline-future h3, .timeline-future p { color: rgba(255,255,255,0.9); }
.paper-plane { width: 40px; height: 40px; margin-top: 10px; color: var(--white); animation: flyPlane 3s ease-in-out infinite; }
@keyframes flyPlane { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -8px); } }

/* ============================================
   CHALLENGE & GAP
   ============================================ */
.challenge-image-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.challenge-subtitle-dark { font-size: 1.3rem; color: var(--orange); margin-bottom: 20px; }
.challenge-text p { color: var(--gray-700); margin-bottom: 16px; line-height: 1.8; }
.challenge-photo img { height: 400px; object-fit: cover; }
.gap-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.gap-banner-image img { height: 350px; object-fit: cover; border: 4px solid rgba(255,255,255,0.3); }
.gap-banner-text h2 { font-size: 2rem; margin-bottom: 16px; }
.gap-banner-text p { color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.gap-list { margin: 20px 0; }
.gap-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: rgba(255,255,255,0.9); font-weight: 500; }
.gap-bullet { width: 10px; height: 10px; background: var(--white); border-radius: 50%; flex-shrink: 0; }
.gap-closing { font-weight: 600; font-style: italic; }

/* ============================================
   SOLUTION CARDS WITH IMAGES
   ============================================ */
.solution-intro { text-align: center; max-width: 800px; margin: -20px auto 40px; color: var(--gray-700); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.solution-card-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); transition: var(--transition); }
.solution-card-img:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sci-image { height: 200px; overflow: hidden; }
.sci-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.solution-card-img:hover .sci-image img { transform: scale(1.08); }
.sci-content { padding: 24px; text-align: center; }
.sci-content h3 { color: var(--orange); margin-bottom: 8px; }
.sci-content p { font-size: 0.85rem; color: var(--gray-700); }
.solution-closing { text-align: center; color: var(--gray-700); font-style: italic; }

/* ============================================
   VISION & MISSION
   ============================================ */
.section-vision { position: relative; background-size: cover; background-position: center; background-color: var(--orange); }
.vision-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(247,148,29,0.9) 0%, rgba(200,100,0,0.85) 100%); }
.vm-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.vm-card { background: rgba(255,255,255,0.95); border-radius: var(--radius-lg); padding: 40px; backdrop-filter: blur(10px); }
.vm-icon { width: 50px; height: 50px; color: var(--orange); margin-bottom: 16px; }
.vm-icon svg { width: 50px; height: 50px; }
.vm-card h2 { font-size: 1.8rem; color: var(--orange); margin-bottom: 16px; }
.vm-card p { color: var(--gray-700); line-height: 1.8; }

/* ============================================
   CORE VALUES
   ============================================ */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 30px 20px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.value-card:hover { background: rgba(255,255,255,0.05); border-color: var(--orange); transform: translateY(-6px); }
.value-icon { width: 50px; height: 50px; margin: 0 auto 16px; color: var(--orange); }
.value-icon svg { width: 50px; height: 50px; }
.value-card h3 { font-size: 0.95rem; color: var(--white); margin-bottom: 10px; }
.value-card p { font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ============================================
   SERVICES PAGE - Full Service Layout
   ============================================ */
.service-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-full-grid.reverse .service-full-images { order: 2; }
.service-full-grid.reverse .service-full-text { order: 1; }
.service-full-images { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.sfi-main img { height: 380px; object-fit: cover; }
.sfi-secondary img { height: 380px; object-fit: cover; }
.service-full-text h2 { color: var(--orange); margin-bottom: 16px; }
.service-full-text p { color: var(--gray-700); margin-bottom: 20px; }
.service-bullets { padding-left: 0; }
.service-bullets li { padding: 8px 0 8px 28px; position: relative; color: var(--gray-700); }
.service-bullets li::before { content: ''; position: absolute; left: 0; top: 16px; width: 12px; height: 12px; background: var(--orange); border-radius: 50%; }

/* ============================================
   CASE STUDIES PAGE
   ============================================ */
.case-full { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.case-full.reverse .case-full-images { order: 2; }
.case-full.reverse .case-full-text { order: 1; }
.case-full-images { }
.cfi-main { margin-bottom: 16px; }
.cfi-main img { height: 300px; object-fit: cover; }
.cfi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cfi-grid img { height: 180px; object-fit: cover; }
.case-full-text h2 { color: var(--orange); margin-bottom: 16px; }
.case-full-text p, .case-full-text .lead { color: var(--gray-700); margin-bottom: 16px; }
.case-extra-box { background: var(--gray-100); border-left: 4px solid var(--orange); padding: 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 20px; }
.case-extra-box p { font-style: italic; font-size: 0.9rem; margin: 0; }

/* ============================================
   NETWORK PAGE - Equipment Gallery
   ============================================ */
.network-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.network-content-full p { color: var(--gray-700); margin-bottom: 20px; line-height: 1.8; }
.network-assets h4 { color: var(--gray-900); margin-bottom: 12px; font-size: 1rem; }
.network-assets ul { margin-bottom: 20px; }
.network-assets li { padding: 6px 0 6px 24px; position: relative; color: var(--gray-700); font-size: 0.9rem; }
.network-assets li::before { content: ''; position: absolute; left: 0; top: 13px; width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }
.network-images img { width: 100%; height: 280px; object-fit: cover; }
.equipment-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; grid-template-rows: auto auto; }
.eq-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 250px; }
.eq-item.eq-large { grid-row: span 2; height: 100%; }
.eq-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.eq-item:hover img { transform: scale(1.05); }
.eq-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; }

/* ============================================
   GEOGRAPHIC
   ============================================ */
.section-geographic { position: relative; min-height: 400px; display: flex; align-items: center; background-size: cover; background-position: center; background-color: var(--charcoal); }
.geographic-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(45,45,45,0.85) 0%, rgba(26,26,26,0.9) 100%); }
.geographic-content { position: relative; z-index: 2; max-width: 700px; color: var(--white); }
.geographic-content p { color: rgba(255,255,255,0.85); margin-bottom: 16px; line-height: 1.8; }

/* ============================================
   FUTURE SECTION
   ============================================ */
.section-future { background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%); }
.future-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.future-image img { height: 450px; object-fit: cover; }
.future-content p { color: var(--gray-700); margin-bottom: 24px; line-height: 1.8; }
.future-list { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.future-list li { background: var(--orange); color: var(--white); padding: 10px 24px; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; }

/* ============================================
   PARTNERS MARQUEE
   ============================================ */
.partners-marquee { overflow: hidden; padding: 30px 0; }
.marquee-track { display: flex; gap: 60px; animation: marqueeScroll 40s linear infinite; width: max-content; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-width: 120px; height: 60px; }
.partner-item img { max-height: 45px; max-width: 120px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.partner-item img:hover { filter: grayscale(0%); opacity: 1; }
.partner-name { font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; color: var(--gray-500); white-space: nowrap; padding: 10px 20px; border: 1px solid var(--gray-300); border-radius: 8px; transition: var(--transition); }
.partner-name:hover { color: var(--orange); border-color: var(--orange); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-side h2 { font-size: 1.8rem; margin-bottom: 12px; }
.contact-info-side > p { color: var(--gray-700); margin-bottom: 30px; }
.contact-office-card { background: var(--gray-100); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; border-left: 4px solid var(--orange); }
.contact-office-card h3 { font-size: 1rem; color: var(--orange); margin-bottom: 12px; }
.office-flag { margin-bottom: 8px; }
.flag-emoji { font-size: 1.8rem; }
.office-details { display: grid; gap: 8px; }
.od-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--gray-700); }
.od-item svg { flex-shrink: 0; color: var(--orange); }
.od-item a { color: var(--orange); }
.contact-image { margin-top: 24px; }
.contact-image img { height: 250px; object-fit: cover; }
.contact-form-card { background: var(--gray-100); border-radius: var(--radius-lg); padding: 36px; }
.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--gray-700); margin-bottom: 24px; font-size: 0.9rem; }
.contact-form { display: grid; gap: 16px; }
.form-group { }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.85rem; color: var(--gray-700); }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: 8px; font-family: var(--font-body); font-size: 0.9rem; transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,148,29,0.15); }
.form-group textarea { resize: vertical; }

/* Team banner */
.team-banner { overflow: hidden; }
.team-banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.team-banner-grid img { width: 100%; height: 300px; object-fit: cover; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #111; color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-tagline { color: var(--orange); font-weight: 600; font-style: italic; margin-top: 8px; }
.footer-links h4, .footer-services h4, .footer-contact h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-links li, .footer-services li { margin-bottom: 8px; }
.footer-links a, .footer-services a { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover, .footer-services a:hover { color: var(--orange); }
.footer-contact p { font-size: 0.85rem; margin-bottom: 6px; }
.footer-contact a { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.footer-website { color: var(--orange); }

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .equipment-gallery { grid-template-columns: 1fr 1fr; }
    .eq-item.eq-large { grid-row: span 1; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .nav-toggle { display: flex; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; padding: 80px 30px 30px; gap: 0; transition: var(--transition); box-shadow: var(--shadow-lg); z-index: 1001; }
    .nav-menu.open { right: 0; }
    .nav-menu a { color: var(--gray-900) !important; padding: 14px 0; display: block; border-bottom: 1px solid var(--gray-100); font-size: 1rem; }
    .nav-cta { margin-top: 20px; text-align: center; }
    .hero-content { padding: 100px 20px 60px; }
    .hero-globe { width: 300px; height: 300px; left: -50px; }
    .page-hero { min-height: 300px; }

    .intro-grid-img,
    .combining-grid,
    .solution-grid,
    .services-preview-grid,
    .challenge-image-section,
    .gap-banner,
    .case-full,
    .network-full-grid,
    .contact-page-grid,
    .vm-grid,
    .future-grid,
    .meaning-grid-full,
    .why-section-grid,
    .service-full-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .service-full-grid.reverse .service-full-images,
    .service-full-grid.reverse .service-full-text,
    .case-full.reverse .case-full-images,
    .case-full.reverse .case-full-text { order: unset; }
    .service-full-images { grid-template-columns: 1fr 1fr; }
    .sfi-main img, .sfi-secondary img { height: 250px; }

    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 50px; padding-right: 0; text-align: left !important; }
    .timeline-dot { left: 10px !important; right: auto !important; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .stat-number { font-size: 2.2rem; }
    .photo-strip-track img { width: 200px; height: 140px; }
    .team-banner-grid { grid-template-columns: 1fr; }
    .team-banner-grid img { height: 200px; }
    .intro-image img { height: 350px; }
    .intro-image-float { display: none; }
    .intro-image-badge { right: 10px; bottom: -10px; }
    .meaning-image-side img { height: 300px; }
    .why-image img { height: 300px; }
    .future-image img { height: 300px; }
    .equipment-gallery { grid-template-columns: 1fr 1fr; }
    .eq-item.eq-large { grid-row: span 1; }
    .eq-item { height: 200px; }
    .contact-image img { height: 200px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .services-preview-grid { grid-template-columns: 1fr; }
    .service-preview-card { height: 280px; }
    .cfi-grid { grid-template-columns: 1fr; }
    .service-full-images { grid-template-columns: 1fr; }
    .equipment-gallery { grid-template-columns: 1fr; }
}

/* ─── WhatsApp Floating Button ─── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Sits to the right of the chatbot button */
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg { flex-shrink: 0; }
.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--charcoal);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@media (max-width: 480px) {
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
    .whatsapp-tooltip { display: none; }
}

/* ─── AI Chatbot Widget ─── */
.chatbot-wrapper { position: fixed; bottom: 30px; right: 100px; z-index: 9998; }
.chatbot-toggle {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--orange);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px var(--orange-glow);
    transition: transform 0.3s ease, background 0.3s ease;
    color: #fff;
    position: relative;
}
.chatbot-toggle:hover { transform: scale(1.1); background: var(--orange-dark); }
.chatbot-icon-close { display: none; }
.chatbot-wrapper.open .chatbot-icon-open { display: none; }
.chatbot-wrapper.open .chatbot-icon-close { display: block; }

.chatbot-window {
    position: absolute;
    bottom: 72px; right: 0;
    width: 380px;
    max-height: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.3s ease;
}
.chatbot-wrapper.open .chatbot-window { display: flex; }

@keyframes chatSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
    background: var(--orange);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chatbot-header-info { display: flex; align-items: center; gap: 10px; }
.chatbot-avatar {
    width: 40px; height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.chatbot-avatar img { width: 26px; height: 26px; }
.chatbot-name { display: block; font-weight: 600; font-size: 0.95rem; }
.chatbot-status { display: block; font-size: 0.75rem; opacity: 0.85; }
.chatbot-close {
    background: none; border: none; color: #fff;
    font-size: 1.6rem; cursor: pointer; line-height: 1;
    padding: 0 4px;
}
.chatbot-close:hover { opacity: 0.7; }

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 350px;
    min-height: 200px;
    background: var(--gray-100);
}

.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg.bot { justify-content: flex-start; }

.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}
.chat-msg.user .chat-bubble {
    background: var(--orange);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-msg.bot .chat-bubble {
    background: #fff;
    color: var(--gray-900);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Typing indicator */
.typing-indicator .chat-bubble {
    display: flex; align-items: center; gap: 4px;
    padding: 12px 20px;
}
.typing-indicator .dot {
    width: 8px; height: 8px;
    background: var(--gray-500);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}
.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.chatbot-input {
    display: flex;
    padding: 10px 12px;
    border-top: 1px solid var(--gray-300);
    background: #fff;
    gap: 8px;
}
.chatbot-input input {
    flex: 1;
    border: 1px solid var(--gray-300);
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 0.9rem;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}
.chatbot-input input:focus { border-color: var(--orange); }
.chatbot-input button {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--orange);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s;
}
.chatbot-input button:hover { background: var(--orange-dark); }

/* Mobile chatbot */
@media (max-width: 480px) {
    .chatbot-wrapper { bottom: 80px; right: 10px; }
    .chatbot-toggle { width: 50px; height: 50px; }
    .chatbot-toggle svg { width: 24px; height: 24px; }
    .chatbot-window { width: calc(100vw - 20px); right: -10px; max-height: 70vh; }
}
