/* ==========================================================================
   GLOBAL VARIABLES & RESET - PREMIUM WHITE THEME (3D EFFECTS)
   ========================================================================== */
:root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --accent-color: #F89B20;
    --accent-hover: #E68A00;
    --border-color: rgba(15, 23, 42, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-light: 0 20px 40px rgba(15, 23, 42, 0.05);
    --shadow-heavy: 0 30px 60px rgba(15, 23, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--primary-bg); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }
.relative-z { position: relative; z-index: 10; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: all 0.4s ease; background: transparent; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-light); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo-container { display: inline-flex; align-items: center; }
.logo-container img { height: 40px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 35px; }
.nav-item { position: relative; height: 90px; display: flex; align-items: center; }
.nav-link { font-size: 1rem; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 5px; }
.nav-link:hover { color: var(--accent-color); }
.caret { font-size: 0.7rem; transition: transform 0.3s ease; }
.nav-item:hover .caret { transform: rotate(180deg); }

/* 3D DROPDOWN */
.dropdown-menu { position: absolute; top: 90px; left: 50%; transform: translateX(-50%) perspective(1000px) rotateX(-15deg); transform-origin: top; background: var(--primary-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; min-width: 320px; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--shadow-heavy); }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) perspective(1000px) rotateX(0deg); }
.dropdown-item { display: block; padding: 12px 15px; border-radius: 8px; color: var(--text-muted); font-weight: 600; position: relative; overflow: hidden; z-index: 1; }
.dropdown-item::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background: rgba(248,155,32,0.1); z-index: -1; transition: width 0.3s ease; }
.dropdown-item:hover { color: var(--text-main); }
.dropdown-item:hover::before { width: 100%; }

/* BUTTONS */
.btn-primary { background: var(--accent-color); color: #FFF; padding: 12px 28px; border-radius: 50px; font-weight: 800; font-size: 0.95rem; display: inline-flex; align-items: center; justify-content: center; transition: 0.3s; box-shadow: 0 10px 20px rgba(248,155,32,0.3); }
.btn-glow:hover { background: var(--accent-hover); box-shadow: 0 15px 30px rgba(248,155,32,0.5); transform: translateY(-3px) scale(1.02); }
.btn-ghost { padding: 18px 40px; border: 2px solid var(--border-color); border-radius: 50px; font-weight: 800; font-size: 1.1rem; color: var(--text-main); transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; }
.btn-ghost:hover { border-color: var(--text-main); background: var(--text-main); color: #FFF; }

/* ==========================================================================
   HOMEPAGE LAYOUTS & ANIMATIONS (WHITE THEME)
   ========================================================================== */

/* Glowing Background Orbs (Softened for white theme) */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; pointer-events: none; opacity: 0.4; }
.orb-1 { width: 600px; height: 600px; background: rgba(248,155,32,0.2); top: -200px; left: -200px; }
.orb-2 { width: 800px; height: 800px; background: rgba(15,23,42,0.1); top: 300px; right: -300px; }

.section-header { margin-bottom: 60px; position: relative; z-index: 10; }
.section-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -1px; margin-bottom: 20px; color: var(--text-main); }

/* 1. HERO SECTION */
.hero-section {
    padding: 220px 0 150px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(248,155,32,0.05) 0%, var(--primary-bg) 60%);
}

.hero-container { position: relative; z-index: 10; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; padding: 8px 16px; background: rgba(248,155,32,0.1); color: var(--accent-color); border-radius: 50px; font-weight: 800; font-size: 0.9rem; margin-bottom: 30px; letter-spacing: 1.5px; text-transform: uppercase; }
.mega-title { font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 35px; color: var(--text-main); }
.text-gradient { background: linear-gradient(135deg, #F89B20 0%, #FF512F 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin-bottom: 50px; line-height: 1.7; font-weight: 500; }
.hero-buttons { display: flex; gap: 20px; }

/* Hero Visual with Actual Image */
.hero-visual { position: relative; height: 500px; width: 100%; display: flex; justify-content: center; align-items: center; }
.hero-image { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 30px; box-shadow: var(--shadow-heavy); }

/* 2. PREMIUM BENTO SERVICES LAYOUT */
.services-overview { padding: 150px 0; background: linear-gradient(135deg, #F8FAFC 0%, #FFF5EC 100%); position: relative; }
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; position: relative; z-index: 10; }
.bento-card { background: #FFFFFF; border: 1px solid rgba(15,23,42,0.05); border-radius: 40px; overflow: hidden; transition: 0.4s; box-shadow: var(--shadow-light); display: flex; flex-direction: column; }
.bento-card:hover { box-shadow: var(--shadow-heavy); transform: translateY(-10px); }
.large-card { grid-column: span 2; flex-direction: row; align-items: center; }

.bento-image-container { position: relative; overflow: hidden; background: #F8FAFC; display: flex; justify-content: center; align-items: center; }
.standard-card .bento-image-container { height: 450px; border-bottom: 1px solid rgba(15,23,42,0.05); }
.large-card .bento-image-container { width: 50%; height: 100%; min-height: 450px; border-right: 1px solid rgba(15,23,42,0.05); border-bottom: none; }
.bento-image-container img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: 0.6s; }
.bento-card:hover .bento-image-container img { transform: scale(1.05); }

.bento-content { padding: 50px; flex: 1; }
.card-icon { font-size: 2.2rem; color: #FFF; background: linear-gradient(135deg, #F89B20, #E68A00); width: 70px; height: 70px; display: inline-flex; justify-content: center; align-items: center; border-radius: 20px; margin-bottom: 30px; position: relative; z-index: 2; box-shadow: 0 10px 20px rgba(248,155,32,0.3); }
.bento-card h3 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.bento-card p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }
.card-link { font-weight: 700; color: var(--accent-color); display: inline-flex; align-items: center; }
.card-link:hover { color: var(--text-main); letter-spacing: 1px; }

/* 3. VISION & MISSION (3D Isometric Diagram) */
.vision-mission-section { padding: 120px 0; background: #FFFFFF; position: relative; overflow: hidden; }
.vision-mission-section::before { content: ''; position: absolute; top: 50%; left: 50%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(248,155,32,0.08) 0%, transparent 60%); transform: translate(-50%, -50%); z-index: 0; pointer-events: none; }
.isometric-layout { display: flex; align-items: center; justify-content: center; gap: 40px; position: relative; max-width: 1200px; margin: 0 auto; perspective: 1500px; z-index: 2; }

.iso-text-block { flex: 1; z-index: 10; padding: 40px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border-radius: 30px; box-shadow: var(--shadow-light); border: 1px solid rgba(15,23,42,0.05); transition: 0.4s; }
.iso-text-block h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.iso-text-block p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; }
.panel-tag { display: inline-block; padding: 6px 15px; background: rgba(248,155,32,0.1); color: var(--accent-color); font-weight: 700; border-radius: 20px; font-size: 0.9rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.tag-blue { background: rgba(15,23,42,0.1); color: #0F172A; }

/* 3D Scene Container */
.iso-diagram-container { flex: 1.2; height: 500px; display: flex; justify-content: center; align-items: center; position: relative; }
.iso-scene { width: 300px; height: 300px; position: relative; transform-style: preserve-3d; transform: rotateX(60deg) rotateZ(-45deg); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

/* The Base (Mission) */
.iso-base { position: absolute; bottom: 0; left: 50px; width: 200px; height: 200px; transform-style: preserve-3d; transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.base-face { position: absolute; border: 1px solid rgba(255,255,255,0.05); }
.base-face.top { width: 200px; height: 200px; background: #0F172A; transform: translateZ(20px); box-shadow: inset 0 0 50px rgba(0,0,0,0.8); }
.base-face.front { width: 200px; height: 20px; background: #1E293B; transform: rotateX(-90deg) translateZ(0px); transform-origin: top; }
.base-face.right { width: 20px; height: 200px; background: #0B1120; transform: rotateY(90deg) translateZ(200px); transform-origin: left; }

/* The Core (Vision) */
.iso-core { position: absolute; top: 100px; left: 100px; width: 100px; height: 100px; transform-style: preserve-3d; transform: translateZ(120px); transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); animation: floatCore 4s infinite ease-in-out alternate; }
.cube-face { position: absolute; width: 100px; height: 100px; border: 1px solid rgba(255,255,255,0.2); }
.cube-face.top { background: #F89B20; transform: translateZ(100px); box-shadow: inset 0 0 30px rgba(255,255,255,0.3); }
.cube-face.front { background: #E68A00; transform: rotateX(-90deg) translateZ(0); transform-origin: top; }
.cube-face.right { background: #CC7A00; transform: rotateY(90deg) translateZ(100px); transform-origin: left; }
.core-glow { position: absolute; width: 150px; height: 150px; background: radial-gradient(circle, rgba(248,155,32,0.8) 0%, transparent 70%); transform: translateZ(50px) translate(-25px, -25px); filter: blur(25px); }

/* The Data Streams */
.iso-beams { position: absolute; top: 125px; left: 145px; width: 10px; height: 100px; transform-style: preserve-3d; transform: translateZ(40px) rotateX(90deg); }
.beam { position: absolute; width: 4px; height: 80px; background: linear-gradient(to top, transparent, var(--accent-color)); opacity: 0.5; animation: beamFlow 2s infinite linear; }
.beam-1 { left: -30px; animation-delay: 0s; }
.beam-2 { left: 10px; animation-delay: 0.6s; }
.beam-3 { left: 40px; animation-delay: 1.2s; }

/* Keyframes */
@keyframes floatCore { 0% { transform: translateZ(120px); } 100% { transform: translateZ(150px); } }
@keyframes beamFlow { 0% { transform: translateY(0); opacity: 0; } 50% { opacity: 0.8; } 100% { transform: translateY(-80px); opacity: 0; } }

/* Advanced CSS Interactivity using :has() */
.isometric-layout:has(.iso-vision:hover) .iso-core { transform: translateZ(180px) scale(1.1); }
.isometric-layout:has(.iso-vision:hover) .core-glow { width: 200px; height: 200px; filter: blur(30px); background: radial-gradient(circle, rgba(248,155,32,0.8) 0%, transparent 70%); }
.isometric-layout:has(.iso-mission:hover) .iso-base { transform: translateZ(-20px) scale(1.05); }
.isometric-layout:has(.iso-mission:hover) .base-face.top { background: rgba(15,23,42,1); box-shadow: inset 0 0 60px rgba(0,0,0,0.8); }
.isometric-layout:has(.iso-diagram-container:hover) .iso-scene { transform: rotateX(50deg) rotateZ(-30deg); }

/* 4. WHY CHOOSE AMAZEOPS (Soft Colorful Badges) */
.why-choose-section { padding: 150px 0; background: linear-gradient(135deg, #F0F4F8 0%, #F8FAFC 100%); position: relative; }
.badges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 10; }
.badge-card { text-align: center; padding: 50px 30px; border: 1px solid rgba(15,23,42,0.05); border-radius: 30px; background: #FFFFFF; box-shadow: var(--shadow-light); transition: 0.4s; position: relative; overflow: hidden; }
.badge-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #F89B20, #FF512F); transform: scaleX(0); transition: 0.4s; transform-origin: left; }
.badge-card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(248,155,32,0.15); border-color: rgba(248,155,32,0.2); }
.badge-card:hover::after { transform: scaleX(1); }
.badge-icon { font-size: 2.5rem; color: #0F172A; margin-bottom: 30px; transition: 0.4s; background: rgba(15,23,42,0.05); width: 80px; height: 80px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; margin: 0 auto 30px; }
.badge-card:hover .badge-icon { color: #FFF; background: var(--accent-color); transform: scale(1.1); box-shadow: 0 10px 20px rgba(248,155,32,0.3); }
.badge-card h4 { font-size: 1.25rem; font-weight: 800; color: var(--text-main); line-height: 1.4; }

/* 5. OUR PROCESS */
.process-section { padding: 150px 0; background: var(--primary-bg); position: relative; }
.timeline-container { max-width: 900px; margin: 0 auto; position: relative; padding: 40px 0; }
.timeline-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--secondary-bg); transform: translateX(-50%); border-radius: 4px; }
.timeline-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: var(--timeline-progress, 0%); background: var(--accent-color); box-shadow: 0 0 20px var(--accent-color); transition: height 0.1s ease-out; border-radius: 4px; }
.timeline-step { position: relative; margin-bottom: 100px; width: 50%; padding-right: 60px; text-align: right; }
.timeline-step.right-step { margin-left: 50%; padding-right: 0; padding-left: 60px; text-align: left; }
.step-dot { position: absolute; top: 50%; right: -12px; transform: translateY(-50%); width: 24px; height: 24px; background: var(--primary-bg); border: 4px solid var(--border-color); border-radius: 50%; z-index: 2; transition: 0.4s; }
.right-step .step-dot { right: auto; left: -12px; }
.timeline-step:hover .step-dot { border-color: var(--accent-color); box-shadow: 0 0 20px rgba(248,155,32,0.4); }
.step-content.glass-card { padding: 40px; }
.step-content h3 { font-size: 2.2rem; font-weight: 900; margin-bottom: 20px; color: var(--text-main); }
.step-content p { color: var(--text-muted); font-size: 1.1rem; }

/* 6. FAQ ACCORDION */
.faq-section { padding: 150px 0; background: var(--secondary-bg); position: relative; }
.accordion-container { max-width: 900px; margin: 0 auto; position: relative; z-index: 10; }
.accordion-item { border-bottom: 1px solid var(--border-color); margin-bottom: 20px; }
.accordion-header { width: 100%; padding: 30px 0; background: transparent; border: none; text-align: left; font-size: 1.4rem; font-weight: 800; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.accordion-header:hover { color: var(--accent-color); }
.accordion-header i { color: var(--accent-color); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); font-size: 1.2rem; }
.accordion-item.active .accordion-header i { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.accordion-content { padding: 0 0 40px 0; color: var(--text-muted); font-size: 1.15rem; line-height: 1.8; }

/* FINAL CTA */
.final-cta { padding: 150px 0; background: var(--primary-bg); position: relative; overflow: hidden; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--secondary-bg); padding: 100px 0 30px; border-top: 1px solid var(--border-color); position: relative; z-index: 10; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 80px; }
.footer-col h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 30px; color: var(--text-main); letter-spacing: 1px; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--text-muted); font-size: 1rem; }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.newsletter-form { display: flex; flex-direction: column; gap: 15px; }
.newsletter-input { background: var(--primary-bg); border: 1px solid var(--border-color); padding: 15px 20px; border-radius: 12px; color: var(--text-main); font-family: inherit; width: 100%; outline: none; transition: 0.3s; }
.newsletter-input:focus { border-color: var(--accent-color); box-shadow: 0 0 10px rgba(248,155,32,0.1); }
.btn-secondary { background: var(--text-main); color: #FFF; padding: 15px; border-radius: 12px; font-weight: 800; border: none; cursor: pointer; transition: 0.3s; font-size: 1rem; }
.btn-secondary:hover { background: var(--accent-color); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 40px; display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.9rem; }

/* FLOATING WHATSAPP */
.whatsapp-float { position: fixed; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; text-decoration: none; font-size: 35px; box-shadow: 0px 10px 30px rgba(37, 211, 102, 0.4); z-index: 9999; transition: all 0.3s ease; }
.whatsapp-float:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0px 15px 40px rgba(37, 211, 102, 0.6); color: #FFF; }

/* ==========================================================================
   MOBILE MENU & RESPONSIVE
   ========================================================================== */
.mobile-menu-overlay { display: none; }
.hamburger { display: none; cursor: pointer; background: transparent; border: none; width: 30px; height: 20px; position: relative; z-index: 1001; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text-main); position: absolute; left: 0; transition: all 0.3s ease; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
    .nav-menu, .nav-cta { display: none; }
    .hamburger { display: block; }
    .mobile-menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--primary-bg); z-index: 999; padding: 100px 5% 50px; transform: translateY(-100%); opacity: 0; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); overflow-y: auto; }
    .mobile-menu-overlay.active { transform: translateY(0); opacity: 1; }
    .mobile-nav-link { display: block; font-size: 1.8rem; font-weight: 900; color: var(--text-main); padding: 15px 0; border-bottom: 1px solid var(--border-color); }
    
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { width: 100%; }
    .hero-visual { margin-top: 40px; }
    
    /* Mobile overrides for Bento Layout */
    .bento-grid { grid-template-columns: 1fr; }
    .large-card { grid-column: span 1; flex-direction: column; }
    .large-card .bento-image-container { width: 100%; height: 400px; border-right: none; border-bottom: 1px solid rgba(15,23,42,0.05); }
    .standard-card .bento-image-container { height: 400px; }
    
    .isometric-layout { flex-direction: column; gap: 60px; }
    .iso-diagram-container { height: 400px; width: 100%; order: -1; }
    .iso-scene { transform: rotateX(60deg) rotateZ(-45deg) scale(0.8); }
    
    .badges-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .timeline-line { left: 20px; }
    .timeline-step { width: 100%; padding-left: 60px; padding-right: 0; text-align: left; margin-bottom: 60px; }
    .timeline-step.right-step { margin-left: 0; }
    .step-dot, .right-step .step-dot { left: 8px; right: auto; }
}

@media (max-width: 768px) {
    /* Reduce massive section paddings for mobile */
    .hero-section { padding: 150px 0 80px; }
    .services-overview, .vision-mission-section, .why-choose-section, .process-section, .faq-section, .final-cta { padding: 80px 0; }
    .site-footer { padding: 60px 0 30px; }
    
    /* Adjust typography for narrow screens */
    .mega-title { font-size: clamp(2.2rem, 8vw, 3rem); letter-spacing: -1px; margin-bottom: 25px; }
    .section-title { font-size: clamp(2rem, 7vw, 2.5rem); margin-bottom: 15px; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 35px; }
    .glass-panel h2 { font-size: 2.2rem; }
    .glass-panel p { font-size: 1.1rem; }
    .step-content h3 { font-size: 1.8rem; }
    .accordion-header { font-size: 1.2rem; padding: 20px 0; }
    
    /* Layout adjustments */
    .badges-grid { grid-template-columns: 1fr; }
    .glass-panel { padding: 40px 25px; }
    .glass-card { padding: 40px 25px; }
    .badge-card { padding: 40px 25px; }
    
    /* Floating button resize */
    .whatsapp-float { bottom: 20px; right: 20px; width: 55px; height: 55px; font-size: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; } /* Slightly larger padding edges on very small screens */
    .mega-title { font-size: 2.2rem; }
}
