/* --- RESET & VARIABLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary-blue: #ffffff;
  --dark-slate: #ffffff;
  --text-body: #e2e8f0;
  --bg-light: #1a1a1a;
  --white: #000000;
  --accent-color: #ffffff;
  --dark-bg: #000000;
  --card-bg: #0f0f0f;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: #000000;
  color: #e2e8f0;
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #222222;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { color: #ffffff; text-decoration: none; font-size: 15px; font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: #999999; }

.nav-cta {
  background: #ffffff;
  color: #000000 !important;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  white-space: nowrap;
}
.nav-cta:hover { background: #cccccc; }

/* --- HERO SECTION --- */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px 5% 60px;
  background: #000000;
}

.hero-content { max-width: 100%; }

.hero-animation {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.badge {
  display: inline-block;
  background: #1a1a1a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid #333333;
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero p { font-size: 20px; color: #cbd5e1; margin-bottom: 40px; max-width: 600px; }

.cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.btn-primary { background: #ffffff; color: #000000; border: none; box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3); }
.btn-primary:hover { background: #cccccc; transform: translateY(-2px); }

.btn-secondary { background: transparent; color: #ffffff; border: 2px solid #333333; }
.btn-secondary:hover { border-color: #ffffff; background: #ffffff; color: #000000; }

/* --- SECTIONS --- */
section { padding: 100px 5%; }
.bg-light { background: #0a0a0a; }

.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 42px; font-weight: 800; color: #ffffff; margin-bottom: 16px; letter-spacing: -1px; }
.section-header p { font-size: 18px; color: #cbd5e1; max-width: 600px; }

/* --- SERVICES GRID --- */
.service-category-wrapper {
  position: relative;
  padding: 50px;
  margin-bottom: 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-category-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.service-category-wrapper::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.85) 0%, rgba(5, 5, 5, 0.95) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.service-category-wrapper > * {
  position: relative;
  z-index: 2;
}

/* Hover effects */
.service-category-wrapper:hover {
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-category-wrapper:hover::before {
  transform: scale(1.05);
}

.service-category-wrapper:hover::after {
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.75) 0%, rgba(5, 5, 5, 0.85) 100%);
}

/* Background Assignments */
.ai-bg::before { background-image: url('/images/AI.jpeg'); }
.cyber-bg::before { background-image: url('/images/cyber.jpeg'); }
.it-bg::before { background-image: url('/images/IT.jpeg'); }
.strategy-bg::before { background-image: url('/images/Strategy.jpeg'); }

.services-category {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 15px;
}
.services-category i { color: #ffffff; opacity: 0.8; font-size: 20px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }

.service-card {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(255,255,255,0.05); border-color: #ffffff; }

.icon-box {
  width: 60px; height: 60px; background: rgba(255, 255, 255, 0.05); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #ffffff; margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card h3 { font-size: 20px; font-weight: 700; color: #ffffff; margin-bottom: 12px; }
.service-card p { font-size: 15px; line-height: 1.6; color: #cbd5e1; }

/* --- PROJECTS --- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.project-card {
  background: #111111; border-radius: 16px; overflow: hidden;
  border: 1px solid #222222; transition: all 0.3s; display: flex; flex-direction: column;
}
.project-card:hover { box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.1); transform: translateY(-5px); }

.project-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img { transform: scale(1.05); }

.project-link {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
  text-decoration: none;
}

.project-link:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.1);
}

.project-content { padding: 40px; flex: 1; display: flex; flex-direction: column; }
.project-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #ffffff; letter-spacing: 1px; margin-bottom: 16px; }
.project-card h3 { font-size: 24px; color: #ffffff; margin-bottom: 12px; font-weight: 800; }
.project-desc { color: #cbd5e1; font-size: 15px; margin-bottom: 20px; }

.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tech-tag { background: #1a1a1a; color: #ffffff; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* --- TESTIMONIALS --- */
.testimonials-section { background: #0a0a0a; padding: 100px 5%; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; margin-top: 60px; }
.testimonial-card { background: #111111; padding: 40px; border-radius: 16px; border: 1px solid #222222; transition: all 0.3s; position: relative; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(255,255,255,0.08); }
.quote-icon { color: #ffffff; font-size: 32px; opacity: 0.2; margin-bottom: 20px; }
.testimonial-text { color: #cbd5e1; font-size: 16px; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #ffffff, #cccccc); display: flex; align-items: center; justify-content: center; color: #000000; font-weight: 700; font-size: 18px; }
.author-info h4 { font-size: 16px; font-weight: 700; color: #ffffff; margin-bottom: 4px; }
.author-info p { font-size: 14px; color: #cbd5e1; }
.rating { color: #fbbf24; font-size: 14px; margin-bottom: 16px; }

/* --- ABOUT & STATS --- */
.about-section { background: #000000; color: white; border-top: 1px solid #222222; }
.about-container { max-width: 900px; margin: 0 auto; text-align: center; }
.about-section h2 { color: white; font-size: 42px; margin-bottom: 40px; font-weight: 800; }
.about-text { font-size: 18px; color: #cbd5e1; line-height: 1.8; margin-bottom: 24px; }
.stat-grid { display: flex; justify-content: center; gap: 60px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.stat-item h4 { font-size: 48px; font-weight: 800; color: #ffffff; margin-bottom: 5px; }
.stat-item span { color: #94a3b8; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* --- OUR TEAM SECTION --- */
.team-section { background: #000000; padding: 100px 5%; border-top: 1px solid #222222; }
.text-center { text-align: center; margin-bottom: 60px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.team-card { background: #111111; border-radius: 16px; border: 1px solid #222222; overflow: hidden; transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(255, 255, 255, 0.05); border-color: #444444; }
.team-info { padding: 40px; text-align: center; }
.team-info h3 { font-size: 24px; color: #ffffff; margin-bottom: 5px; }
.team-role { display: block; font-size: 14px; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.team-info p { color: #cbd5e1; font-size: 15px; margin-bottom: 24px; line-height: 1.6; }

/* --- CONTACT --- */
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  background: #111111; border-radius: 24px; overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.1); border: 1px solid #222222;
}

.contact-info { background: #ffffff; padding: 60px; color: #000000; }
.contact-info h3 { font-size: 32px; margin-bottom: 20px; color: #000000; }
.contact-info p { color: #475569; margin-bottom: 40px; }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 18px; word-break: break-word; color: #000000; }

.contact-form { padding: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid #222222; border-radius: 8px;
  font-family: inherit; font-size: 16px; transition: all 0.3s;
  background: #1a1a1a; color: #ffffff;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #ffffff; }

/* --- FOOTER --- */
footer { background: #000000; padding: 40px 5%; border-top: 1px solid #222222; text-align: center; color: #cbd5e1; }
.footer-links { margin-top: 20px; display: flex; justify-content: center; gap: 30px; font-size: 14px; flex-wrap: wrap; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #ffffff; }
.social-links { margin-bottom: 20px; display: flex; justify-content: center; gap: 20px; }
.social-links a { color: #ffffff; font-size: 20px; transition: color 0.3s; }
.social-links a:hover { color: #999999; }
.social-links a:first-child:hover { color: #0077b5; }
.social-links a:last-child:hover { color: #E1306C; }

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 15px 20px; flex-wrap: wrap; }
  .logo { font-size: 22px; }
  .logo-img { height: 42px; width: 42px; }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 20px; font-size: 14px; }
  .whatsapp-float { width: 55px; height: 55px; font-size: 26px; bottom: 20px; right: 20px; }
  .hero { grid-template-columns: 1fr; padding: 100px 20px 40px; min-height: auto; }
  .hero-animation { margin-top: 40px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; line-height: 1.2; }
  .hero p { font-size: 16px; margin-bottom: 30px; }
  .badge { font-size: 12px; padding: 6px 14px; }
  .cta-group { flex-direction: column; width: 100%; }
  .btn { width: 100%; padding: 14px 24px; font-size: 15px; }
  section { padding: 60px 20px; }
  .section-header h2 { font-size: 32px; letter-spacing: -0.5px; }
  .section-header p { font-size: 16px; }
  .service-category-wrapper { padding: 30px 20px; margin-bottom: 30px; }
  .services-category { font-size: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-card { padding: 30px 24px; }
  .projects-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-content { padding: 30px 24px; }
  .project-card h3 { font-size: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }
  .testimonial-card { padding: 30px 24px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 0; }
  .contact-info { padding: 40px 24px; }
  .contact-info h3 { font-size: 26px; }
  .info-item { font-size: 15px; flex-wrap: wrap; }
  .contact-form { padding: 40px 24px; }
  .stat-grid { flex-direction: column; gap: 30px; align-items: center; }
  .stat-item { text-align: center; }
  .about-section h2 { font-size: 32px; }
  .about-text { font-size: 16px; }
  footer { padding: 30px 20px; }
  .footer-links { gap: 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .section-header h2 { font-size: 28px; }
  .services-category { font-size: 18px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { font-size: 14px; }
  .project-card h3 { font-size: 18px; }
  .project-desc { font-size: 14px; }
  .contact-info h3 { font-size: 22px; }
  .stat-item h4 { font-size: 36px; }
  .about-section h2 { font-size: 28px; }
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 768px) {
  .hamburger { display: block; cursor: pointer; color: white; font-size: 24px; }
  
  .nav-links {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    padding: 20px;
    border-bottom: 2px solid #00f2fe;
    text-align: center;
  }

  .nav-links.active {
    display: flex; /* Show when 'active' class is added */
  }

  .nav-links li { margin: 15px 0; }
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
  .hamburger { display: none; }
  .nav-links { display: flex; flex-direction: row; }
}
