/* ============================================
   CeaLogger — Futuristic Light Theme (Navy & Gold)
   ============================================ */

:root {
  /* Colors - Astrological Theme */
  --bg-main: #FFFFFF;
  --bg-light: #F8FAFC; /* Off-white */
  --bg-card: rgba(255, 255, 255, 0.7);
  
  --primary: #0A2540; /* Navy Blue */
  --primary-glow: rgba(10, 37, 64, 0.3);
  --secondary: #F5A623; /* Gold / Yellow */
  --secondary-glow: rgba(245, 166, 35, 0.3);
  
  --text-main: #0F172A;
  --text-muted: #334155;
  --text-dim: #64748B;
  
  --border-light: rgba(10, 37, 64, 0.1);
  --border-glass: rgba(255, 255, 255, 0.5);
  
  --shadow-sm: 0 4px 6px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 12px 30px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 30px 60px rgba(10, 37, 64, 0.15);
  
  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* Spacing & Layout */
  --container-w: 1200px;
  --section-py: 120px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  
  /* Transitions */
  --transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-muted);
  line-height: 1.7;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Futuristic Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(10,37,64,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,37,64,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

/* Animated Ambient Glows */
body::after {
  content: '';
  position: fixed;
  top: -20vh;
  left: -10vw;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  animation: pulse-glow 15s ease-in-out infinite alternate;
}

.bg-light {
  position: relative;
  background: transparent;
}
.bg-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-light) 50%, var(--bg-main) 100%);
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

/* Utilities */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  color: var(--primary);
  text-transform: capitalize;
}

.section-desc {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-dim);
}

.text-gradient {
  background: linear-gradient(135deg, var(--secondary), #FFA000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.98);
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-alt {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  100% { transform: scale(1.2) translate(10vw, 5vh); opacity: 0.8; }
}

.float-anim {
  animation: float 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.float-anim-alt {
  animation: float-alt 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Glassmorphic Cards (Futuristic) */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  z-index: 1;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding: 16px 0;
  box-shadow: 0 10px 30px rgba(10,37,64,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 30px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--secondary);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-switcher {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), #1E3A8A);
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(245, 166, 35, 0.08);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 30px;
  border: 1px solid rgba(245, 166, 35, 0.2);
  backdrop-filter: blur(10px);
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 30px;
  color: var(--primary);
  text-shadow: 0 10px 30px rgba(10,37,64,0.1);
}

.hero-desc {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 48px;
  color: var(--text-muted);
  max-width: 90%;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1E3A8A);
  color: #fff;
  border: none;
  box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255,255,255,0.8);
  color: var(--primary);
  border: 1px solid rgba(10, 37, 64, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(10,37,64,0.1);
}

.hero-image-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.6);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 60%);
  z-index: 1;
  animation: pulse-glow 8s alternate infinite;
}

/* MISSION SECTION */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  perspective: 1000px;
}

.mission-card {
  padding: 48px 32px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.mission-card:hover {
  transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 25px 50px rgba(10,37,64,0.12);
  border-color: rgba(245, 166, 35, 0.4);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 30px;
  display: inline-block;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(255,255,255,0.6);
  transform: translateZ(20px);
}

.mission-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--primary);
  transform: translateZ(10px);
}

.mission-card p {
  transform: translateZ(5px);
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}

.services-image-wrapper {
  position: relative;
  perspective: 1000px;
}

.services-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(10,37,64,0.15);
  z-index: 2;
  position: relative;
  border: 2px solid rgba(255,255,255,0.8);
}

.services-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
  z-index: 1;
  animation: pulse-glow 10s alternate-reverse infinite;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.services-list li {
  display: flex;
  gap: 24px;
  background: rgba(255,255,255,0.4);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.services-list li:hover {
  transform: translateX(10px);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,37,64,0.2);
}

.list-icon {
  font-size: 2.2rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10,37,64,0.05), rgba(10,37,64,0.1));
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.5);
}

.services-list h4 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

/* CONNECT SECTION */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 32px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.connect-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(10,37,64,0.1);
  border-color: rgba(245, 166, 35, 0.3);
}

.connect-card:hover .connect-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 35px var(--primary-glow);
}

.connect-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.connect-icon svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.connect-icon.playstore { background: linear-gradient(135deg, var(--primary), #1E3A8A); }
.connect-icon.youtube { background: linear-gradient(135deg, #F5A623, #FFB300); }
.connect-icon.whatsapp { background: linear-gradient(135deg, #2E7D32, #69F0AE); }

.connect-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--primary);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 100px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(10,37,64,0.03));
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-brand img {
  width: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.75rem;
}

.footer-desc {
  max-width: 450px;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-links a {
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(-5px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(10,37,64,0.1);
  padding-top: 40px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid, .services-grid { grid-template-columns: 1fr; gap: 60px; }
  .mission-grid, .connect-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .section-header.align-left { text-align: center; }
  .services-image-wrapper { order: -1; }
  .footer-content { flex-direction: column; gap: 50px; }
  .footer-links { text-align: left; }
  .footer-links a:hover { transform: translateX(5px); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root { --section-py: 80px; }
  .mission-grid, .connect-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    flex-direction: column;
    padding: 30px;
    border-bottom: 1px solid var(--border-light);
    clip-path: inset(0 0 100% 0);
    transition: clip-path var(--transition);
    border-radius: 0 0 24px 24px;
    display: flex;
  }
  
  .nav-links.open { clip-path: inset(0 0 0 0); }
}
