/* ===== GENOVAINTEL SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-deep: #0D0805;
  --bg-card: #150E09;
  --bg-glass: rgba(255,220,180,0.04);
  --border-glass: rgba(255,220,180,0.08);
  --grad-primary: linear-gradient(135deg, #8B3A0F 0%, #C0622A 100%);
  --grad-alt: linear-gradient(135deg, #F4A261 0%, #C0622A 50%, #8B3A0F 100%);
  --blue: #C0622A;
  --purple: #8B3A0F;
  --cyan: #F4A261;
  --white: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --text-dim: rgba(255,255,255,0.35);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-glow: 0 0 40px rgba(192,98,42,0.25);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --font: 'Poppins', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(192,98,42,0.06) 0%, transparent 55%);
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #C0622A, #8B3A0F); border-radius: 3px; }

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }

.gradient-text {
  background: linear-gradient(135deg, #E8956D 0%, #C0622A 50%, #8B3A0F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: #F4A261; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; display: inline-block; width: 24px; height: 2px; background: #F4A261; border-radius: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { max-width: 560px; margin: 1rem auto 0; font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.95rem;
  font-weight: 600; cursor: pointer; border: none; text-decoration: none;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.btn::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.1); opacity: 0; transition: opacity 0.3s; }
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 4px 20px rgba(192,98,42,0.4); animation: btnGlow 3s ease-in-out infinite; }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(192,98,42,0.6); animation: none; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: #C0622A !important; color: #C0622A !important; }
.btn-ghost { background: var(--bg-glass); border: 1px solid var(--border-glass); color: #fff; backdrop-filter: blur(10px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

.card {
  background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: var(--radius-md);
  padding: 32px; backdrop-filter: blur(10px); transition: all 0.35s ease; position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); }
.card:hover { border-color: rgba(192,98,42,0.4) !important; transform: translateY(-4px); box-shadow: 0 8px 40px rgba(192,98,42,0.2) !important; }
.card::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent); transition: left 0.5s ease; pointer-events: none; }
.card:hover::after { left: 150%; }

.icon-box { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--bg-glass); border: 1px solid var(--border-glass); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; flex-shrink: 0; }
.icon-box.gradient { background: var(--grad-primary); border: none; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 40px; height: 70px; display: flex; align-items: center; background: rgba(5,8,18,0.7); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-glass); transition: all 0.3s ease; }
.nav-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: #fff; cursor: pointer; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); transition: all 0.2s; cursor: pointer; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px; height: 1.5px; background: var(--cyan); transform: scaleX(0); transition: transform 0.25s ease; border-radius: 2px; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: #fff !important; background: rgba(192,98,42,0.12) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; border-radius: 8px; transition: background 0.2s; }
.nav-hamburger:hover { background: var(--bg-glass); }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-overlay { display: none; position: fixed; inset: 0; top: 70px; background: rgba(13,8,5,0.97); backdrop-filter: blur(20px); z-index: 999; flex-direction: column; padding: 32px 24px; gap: 8px; overflow-y: auto; border-top: 1px solid var(--border-glass); }
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a { color: var(--text-muted); font-size: 1.1rem; font-weight: 500; padding: 14px 16px; border-radius: var(--radius-sm); text-decoration: none; border: 1px solid transparent; transition: all 0.2s; cursor: pointer; display: block; }
.nav-mobile-overlay a:hover, .nav-mobile-overlay a.active { color: #fff; background: rgba(192,98,42,0.1) !important; border-color: rgba(192,98,42,0.2) !important; }
.nav-mobile-cta { margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--border-glass); }
.nav-mobile-cta .btn { width: 100%; justify-content: center; }

/* PAGE BANNER */
.page-banner { padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(192,98,42,0.18) 0%, transparent 65%); }
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 { margin-bottom: 16px; }
.page-banner p { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* SECTION DIVIDER */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(192,98,42,0.5), rgba(244,162,97,0.3), transparent); margin: 0; border: none; }

/* FOOTER */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--border-glass); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand p { font-size: 0.9rem; margin: 16px 0 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 8px; background: var(--bg-glass); border: 1px solid var(--border-glass); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; text-decoration: none; color: inherit; }
.social-btn:hover { background: #C0622A !important; border-color: #C0622A !important; }
.footer-col h4 { font-size: 0.9rem; margin-bottom: 20px; color: #fff; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border-glass); font-size: 0.82rem; color: var(--text-dim); }
.footer-bottom a { color: var(--blue); text-decoration: none; }

/* FLOATING BUTTONS */
.float-wa { position: fixed; bottom: 32px; left: 32px; z-index: 900; width: 52px; height: 52px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; cursor: pointer; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.3s; border: none; }
.float-wa:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
.float-wa-tooltip { position: absolute; left: 64px; bottom: 50%; transform: translateY(50%); background: #0d1225; border: 1px solid var(--border-glass); padding: 8px 14px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; color: #fff; }
.float-wa:hover .float-wa-tooltip { opacity: 1; }
.float-demo { position: fixed; bottom: 32px; right: 32px; z-index: 900; background: var(--grad-primary); color: #fff; border: none; border-radius: var(--radius-sm); padding: 12px 20px; font-family: var(--font); font-size: 0.85rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 20px rgba(192,98,42,0.5); transition: all 0.3s; display: flex; align-items: center; gap: 8px; animation: floatBtn 3s ease-in-out infinite; }
.float-demo:hover { transform: translateY(-4px) !important; box-shadow: 0 8px 30px rgba(192,98,42,0.7) !important; animation: none; }
.form-group { margin-bottom: 20px; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; display: block; }
.form-input { width: 100%; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 12px 16px; color: #fff; font-family: var(--font); font-size: 0.9rem; transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-input:focus { border-color: #C0622A !important; box-shadow: 0 0 0 3px rgba(192,98,42,0.15) !important; }
.form-input::placeholder { color: var(--text-dim); }
select.form-input option { background: #0d1225; }
textarea.form-input { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* PAGE LOADER */
#page-loader { position: fixed; inset: 0; background: #0D0805; z-index: 10000; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px; transition: opacity 0.6s ease, visibility 0.6s ease; }
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-family: var(--font); font-size: 1.8rem; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 0.05em; }
.loader-bar-wrap { width: 200px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.loader-bar { height: 100%; background: var(--grad-primary); border-radius: 2px; animation: loadBar 1.4s cubic-bezier(0.4,0,0.2,1) forwards; }
.loader-text { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); }

/* CURSOR */
.cursor-glow { position: fixed; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle,rgba(244,162,97,0.7) 0%,transparent 70%); pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform 0.08s ease, opacity 0.3s; mix-blend-mode: screen; }
.cursor-ring { position: fixed; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(244,162,97,0.35); pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: transform 0.18s ease, width 0.3s, height 0.3s, border-color 0.3s; }

/* BG ORBS */
.bg-orb { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(90px); }
.bg-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle,rgba(192,98,42,0.12) 0%,transparent 70%); top: -150px; right: -150px; animation: orbDrift1 20s ease-in-out infinite; opacity: 0.7; }
.bg-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle,rgba(139,58,15,0.1) 0%,transparent 70%); bottom: -50px; left: -150px; animation: orbDrift2 26s ease-in-out infinite; opacity: 0.6; }

/* TECH MARQUEE */
.tech-marquee { overflow: hidden; padding: 20px 0; position: relative; }
.tech-marquee::before, .tech-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.tech-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.tech-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg-deep), transparent); }
.tech-track { display: flex; gap: 32px; animation: marqueeScroll 22s linear infinite; width: max-content; }
.tech-track:hover { animation-play-state: paused; }
.tech-pill { display: flex; align-items: center; gap: 8px; padding: 8px 18px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 100px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; transition: all 0.3s; flex-shrink: 0; }
.tech-pill:hover { border-color: rgba(244,162,97,0.4); color: #fff; background: rgba(192,98,42,0.08); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.reveal.reveal-left  { transform: translateX(-50px); }
.reveal.reveal-right { transform: translateX(50px); }
.reveal.reveal-scale { transform: scale(0.9) translateY(20px); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1{transition-delay:0.08s} .reveal-delay-2{transition-delay:0.18s} .reveal-delay-3{transition-delay:0.28s}
.reveal-delay-4{transition-delay:0.38s} .reveal-delay-5{transition-delay:0.48s}
.section-highlight { position: relative; }
.section-highlight::after { content: ''; position: absolute; bottom: -8px; left: 0; height: 3px; width: 0; background: var(--grad-primary); border-radius: 2px; transition: width 0.8s cubic-bezier(0.22,1,0.36,1) 0.3s; }
.section-highlight.visible::after { width: 60px; }

/* RIPPLE */
.ripple-effect { position: absolute; border-radius: 50%; background: rgba(244,162,97,0.15); animation: rippleExpand 0.6s ease-out forwards; pointer-events: none; z-index: 0; transform: scale(0); }

/* TYPED CURSOR */
.typed-cursor { display: inline-block; width: 3px; height: 1em; background: #F4A261; margin-left: 3px; vertical-align: text-bottom; animation: blink 0.85s step-end infinite; border-radius: 1px; }

/* ANIMATIONS */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes float { 0%,100%{transform:translateY(0) rotate(0deg)} 33%{transform:translateY(-10px) rotate(0.5deg)} 66%{transform:translateY(-5px) rotate(-0.5deg)} }
@keyframes floatBtn { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
@keyframes btnGlow { 0%,100% { box-shadow: 0 4px 20px rgba(192,98,42,0.4); } 50% { box-shadow: 0 4px 40px rgba(192,98,42,0.75), 0 0 70px rgba(244,162,97,0.2); } }
@keyframes popIn { 0%{transform:scale(0.78) translateY(20px);opacity:0} 60%{transform:scale(1.04) translateY(-4px);opacity:1} 100%{transform:scale(1) translateY(0);opacity:1} }
@keyframes popEmoji { 0%{transform:scale(0) rotate(-20deg);opacity:0} 70%{transform:scale(1.2) rotate(5deg)} 100%{transform:scale(1) rotate(0deg);opacity:1} }
@keyframes badgeShimmer { 0%{left:-100%} 50%,100%{left:150%} }
@keyframes ringPulse { 0%,100%{inset:-12px;opacity:0.6} 50%{inset:-22px;opacity:0.15} }
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes loadBar { 0%{width:0%} 60%{width:75%} 100%{width:100%} }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes gridPulse { 0%,100%{opacity:0.5;background-size:60px 60px} 50%{opacity:1;background-size:62px 62px} }
@keyframes rippleExpand { to{transform:scale(4);opacity:0} }
@keyframes orbDrift1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-60px,80px) scale(1.1)} 66%{transform:translate(40px,-50px) scale(0.95)} }
@keyframes orbDrift2 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(80px,-60px) scale(1.05)} 66%{transform:translate(-40px,40px) scale(1.1)} }
@keyframes scanDown { 0%{top:0%;opacity:0} 5%{opacity:1} 95%{opacity:1} 100%{top:100%;opacity:0} }
@keyframes rainFall { 0%{transform:translateY(-100%)} 100%{transform:translateY(200%)} }
@keyframes shimmerLine { 0%,100%{opacity:0.6;background-position:0% 0%} 50%{opacity:1;background-position:100% 0%} }
@keyframes countdownShrink { 0%{transform:scaleX(1)} 100%{transform:scaleX(0)} }
@keyframes cardHoverPulse { 0%,100%{box-shadow:0 0 0 rgba(192,98,42,0)} 50%{box-shadow:0 0 30px rgba(192,98,42,0.15)} }
@keyframes glowPop { 0%{filter:brightness(1)} 50%{filter:brightness(1.15)} 100%{filter:brightness(1)} }
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* NOISE */
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"); opacity: 0.4; }
#particle-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container{padding:0 24px} .section{padding:72px 0}
  .nav{padding:0 24px} .nav-links{display:none} .nav > .btn-primary{display:none} .nav-hamburger{display:flex}
  .footer-top{grid-template-columns:1fr 1fr;gap:36px}
  .cta-banner{margin:0 16px;padding:60px 40px} .cta-banner h2{font-size:2.2rem}
  .form-row{grid-template-columns:1fr 1fr}
}
@media (max-width: 768px) {
  .container{padding:0 16px} .section{padding:56px 0} .section-header{margin-bottom:40px}
  .footer{padding:56px 0 24px} .footer-top{grid-template-columns:1fr;gap:32px}
  .footer-bottom{flex-direction:column;gap:12px;text-align:center}
  .float-wa{bottom:80px;left:16px;width:46px;height:46px;font-size:1.2rem}
  .float-demo{bottom:16px;right:16px;font-size:0.78rem;padding:10px 16px}
  .float-wa-tooltip{display:none}
  .popup-box{padding:32px 24px}
  .form-row{grid-template-columns:1fr}
}
@media (max-width: 480px) {
  .container{padding:0 12px}
.project-img {
  width: 100%;
  height: 250px; /* உன் designக்கு adjust பண்ணலாம் */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* optional background */
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 🔥 full image visible */
}
