:root {
  --primary-color: #00c896;
  --accent-color: #16a085;
  --bg-color: #121212;
  --text-color: #ffffff;
  --nav-bg: #1c1c1c;
  --card-bg: rgba(255, 255, 255, 0.05);
  --blur: blur(14px);
}

body.light-mode {
  --primary-color: #00c896;
  --accent-color: #16a085;
  --bg-color: #ffffff;
  --text-color: #000000;
  --nav-bg: #f9f9f9;
  --card-bg: #f3f3f3;
  --blur: blur(14px);
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.4s, color 0.4s;
}

nav {
  background-color: var(--nav-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.4s;
}

nav .logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  cursor: pointer ;
}

nav .hamburger-menu {
  display: none;
}

@media (max-width: 990px) {
  nav .desktop-menu {
    display: none;
  }

  nav .hamburger-menu {
    display: block;
  }

nav .hamburger-menu svg{
  height:40px;
  width:40px;
  cursor: pointer;
  stroke: var(--accent-color) ;
}
}

.small-screen-nav {
position: fixed;
top: 0;
right: -100%;
width: 80%;
max-width: 320px;
height: 100vh;
color: white;
background: #96e5d6;
z-index: 2000;
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 2rem 1.5rem;
transition: right 0.4s ease-in-out;
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
}

body.light-mode .small-screen-nav {
  background: #96e5d6;
  color: var(--text-light);
}

.small-screen-nav.active {
background: #96e5d6;
right: 0;
}

/* Close (X) button */
.small-screen-nav .cross {
align-self: flex-end;
cursor: pointer;
width: 30px;
height: 30px;
margin-bottom: 2rem;
}

.small-screen-nav .cross svg {
width: 100%;
height: 100%;
transition: transform 0.3s ease;
fill: var(--accent-color);
}

.small-screen-nav .cross:hover svg {
transform: rotate(90deg);
}

/* Small menu links */
.small-screen-nav .small-menu {
list-style: none;
padding: 0;
margin: 0;
width: 100%;
display: flex;
flex-direction: column;
gap: 1.2rem;
}

.small-screen-nav .small-menu li a {
color: var(--text-dark);
text-decoration: none;
font-size: 1.1rem;
font-weight: 500;
transition: color 0.3s, transform 0.3s;
}

body.light-mode .small-screen-nav .small-menu li a {
color: var(--text-light);
}

.small-screen-nav .small-menu li a:hover {
color: var(--accent);
transform: translateX(5px);
}

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a,
.resume-btn,
#theme-toggle {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 500;
}

nav ul li a:hover,
.resume-btn:hover,
#theme-toggle:hover {
  background-color: var(--primary-color);
  color: white;
}

nav ul li a.active {
  background-color: var(--primary-color);
  color: white;
}

.resume-btn {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

#theme-toggle {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Glowing arrow graphics nav */
.graphics-nav {
  position: relative;
}

.graphics-arrow {
  position: absolute;
  left: 60%;
  transform: translateX(-50%);
  bottom: -18px;
  opacity: 0;
  cursor: pointer;
  animation: fadeInArrow 0.5s ease forwards 1.5s;
}

.arrow-up-glow {
  width: 18px;
  height: 18px;
  color: #00ffc3;
  filter: drop-shadow(0 0 6px #00ffc3);
  animation: arrowFloat 1.8s ease-in-out infinite, arrowGlow 2s ease-in-out infinite alternate;
}

/* Floating movement */
@keyframes arrowFloat {
  0%, 100% { transform: translate(-50%, 2px); }
  50% { transform: translate(-50%, -4px); }
}

@keyframes arrowGlow {
  0% { opacity: 0.6; filter: drop-shadow(0 0 4px #00ffc3); }
  100% { opacity: 1; filter: drop-shadow(0 0 12px #00ffc3); }
}

@keyframes fadeInArrow {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
/* Hero */
.hero {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  background: radial-gradient(circle at center, #00c89625, transparent 80%);
  transition: background 0.4s;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
}

.hero h1 span {
  background:#00c896;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 2.5rem;
}

.hero p {
  max-width: 600px;
  margin: 1rem auto;
  opacity: .85;
}
/* Fade-in on load */
@keyframes fadeInUp {
0% {
    opacity: 0;
    transform: translateY(20px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}

/* Continuous floating animation */
@keyframes floatUpDown {
0% {
    transform: translateY(0);
}
50% {
    transform: translateY(-10px);
}
100% {
    transform: translateY(0); 
}
}

/* Apply animations to hero text */
.hero h1 {
font-size: 3rem;
font-weight: 700;
opacity: 0;
animation: fadeInUp 1s ease forwards, floatUpDown 3s ease-in-out infinite;
animation-delay: 0.3s, 1.5s; 
}

.hero h1 span {
background: #00c896;
-webkit-background-clip: text;
color: transparent;
display: inline-block;
opacity: 0;
animation: fadeInUp 1s ease forwards, floatUpDown 3s ease-in-out infinite;
animation-delay: 0.8s, 1.5s;
}

.hero p {
max-width: 600px;
margin: 1rem auto;
opacity: 0;
animation: fadeInUp 1s ease forwards, floatUpDown 3s ease-in-out infinite;
animation-delay: 1.3s, 1.8s;
}
.hero {
position: relative;
overflow: hidden;
}

/* Workflow line container */
.workflow-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0; 
}

/* Individual lines */
.workflow-bg span {
position: absolute;
display: block;
width: 3px; 
height: 120%; 
background: linear-gradient(to bottom, rgba(0,200,150,0.1), var(--primary-color), rgba(0,200,150,0.1));
opacity: 0.4; 
box-shadow: 0 0 8px rgba(0,200,150,0.6); 
animation: moveLine 4s linear infinite;
}

/* Different positions and speeds for lines */
.workflow-bg span:nth-child(1) { left: 10%; animation-duration: 3s; }
.workflow-bg span:nth-child(2) { left: 25%; animation-duration: 4s; }
.workflow-bg span:nth-child(3) { left: 40%; animation-duration: 5s; }
.workflow-bg span:nth-child(4) { left: 55%; animation-duration: 3.5s; }
.workflow-bg span:nth-child(5) { left: 70%; animation-duration: 4.5s; }
.workflow-bg span:nth-child(6) { left: 85%; animation-duration: 5.5s; }

/* Line movement animation */
@keyframes moveLine {
0% {
    transform: translateY(-120%);
    opacity: 0;
}
10% {
    opacity: 0.6;
}
90% {
    opacity: 0.6;
}
100% {
    transform: translateY(120%);
    opacity: 0;
}
}

/* Agent Section */
.agent-grid {
  padding: 4rem 6%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.agent-card {
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 18px;
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.35s, box-shadow 0.35s, background 0.4s;
  text-align: center;
}

.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 200, 150, 0.35);
}

.agent-card i {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  margin: 2rem auto;
  padding: 14px 34px;
  background: #00c896;
  border-radius: 30px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.3s;
  font-weight: 600;
  
}

.btn:hover {
  transform: scale(1.05);
}

.ai-agent-btn{
    text-decoration: none;
}
 /* Contact */
 #contact {
  padding: 2rem;
  text-align: center;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-color);
}
footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--nav-bg);
    font-size: 0.9rem;
  }
  