:root {
  --bg: #f8f9fa;
  --dark: #1a1a2e;
  --accent: #4a6cf7;
  --accent-light: #6b8aff;
  --accent-dark: #3a56c7;
  --whatsapp: #25D366;
  --light-blue: #ccd6f6;
  --success: #10b981;
  --gradient: linear-gradient(135deg, #4a6cf7 0%, #6b8aff 100%);
  --data-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
nav {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
nav.scrolled {
  padding: 0.7rem 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.logo {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.logo span {
  color: var(--accent);
  margin-left: 5px;
}
.logo-icon {
  font-size: 1.5rem;
  margin-right: 8px;
}
nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}
nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent);
  transition: width 0.3s;
}
nav a:hover { 
  color: var(--accent-light); 
}
nav a:hover:after {
  width: 100%;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero */
header {
  background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.9)), url("https://images.unsplash.com/photo-1551288049-bebda4e38f71") no-repeat center/cover;
  color: white;
  padding: 12rem 2rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234a6cf7' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}
header h1 { 
  font-size: 3.5rem; 
  margin-bottom: 1.5rem; 
  line-height: 1.2;
  font-weight: 700;
}
header p { 
  font-size: 1.3rem; 
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--light-blue);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn {
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}
.btn:hover { 
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 108, 247, 0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: white;
}
.btn-outline:hover {
  background: var(--accent);
}

/* Sections */
section {
  max-width: 1200px;
  margin: auto;
  padding: 5rem 2rem;
}
h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark);
  font-size: 2.5rem;
  position: relative;
  font-weight: 700;
}
h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Data & AI Philosophy Section */
.data-philosophy {
  background: white;
  border-radius: 15px;
  padding: 4rem 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.data-philosophy:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--data-gradient);
}
.philosophy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.philosophy-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.ai-data-relationship {
  background: var(--bg);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent);
}
.ai-data-relationship h4 {
  margin-bottom: 1rem;
  color: var(--dark);
}

/* Data Process Section */
.data-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background: var(--bg);
  transition: transform 0.3s;
  position: relative;
}
.process-step:hover {
  transform: translateY(-5px);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--data-gradient);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.ai-integration {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.skill-category {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.skill-category:hover {
  transform: translateY(-5px);
}
.skill-category h3 {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.skill-category h3 .icon {
  font-size: 2rem;
  margin-right: 1rem;
}
.skill-list {
  list-style: none;
}
.skill-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}
.skill-list li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* DietMind Case Study */
.dietmind-case {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 15px;
  padding: 4rem 3rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}
.dietmind-case:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 108, 247, 0.1) 0%, transparent 70%);
}
.dietmind-case h2 {
  color: white;
  position: relative;
}
.dietmind-case h2:after {
  background: var(--accent);
}
.dietmind-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.dietmind-features {
  list-style: none;
}
.dietmind-features li {
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  position: relative;
}
.dietmind-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  background: var(--accent);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.dietmind-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.dietmind-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.card h3 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.4rem;
  font-weight: 600;
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

/* Portfolio */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.portfolio-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.portfolio img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-content {
  padding: 1.8rem;
}

/* Contact */
.contact {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--dark);
  color: white;
  border-radius: 20px;
  margin: 3rem auto;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
}
.contact:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 108, 247, 0.1) 0%, transparent 70%);
}
.contact h2 {
  color: white;
  position: relative;
}
.contact h2:after {
  background: var(--accent);
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  position: relative;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-item i {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}
.contact a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.contact a:hover {
  color: white;
  text-decoration: underline;
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-logo span {
  color: var(--accent);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 100;
  transition: all 0.3s;
  text-decoration: none;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  nav {
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    margin-top: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    margin: 0.5rem 0;
    padding: 0.5rem;
  }
  header {
    padding: 10rem 1.5rem 6rem;
  }
  header h1 {
    font-size: 2.5rem;
  }
  header p {
    font-size: 1.1rem;
  }
  section {
    padding: 3rem 1.5rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .philosophy-content, .dietmind-content {
    grid-template-columns: 1fr;
  }
  .data-philosophy, .dietmind-case {
    padding: 2rem 1.5rem;
  }
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }
  .data-process {
    grid-template-columns: 1fr;
  }
  .services {
    grid-template-columns: 1fr;
  }
}