/*
Theme Name: IncognitAI
Theme URI: https://incognitai.com
Author: IncognitAI Solutions
Author URI: https://incognitai.com
Description: AI-first dark theme for IncognitAI — cursor-spotlight hero, neural-network ambience, and glassmorphism sections. Based on Twenty Twenty.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: incognitai
*/

/* Global Styles */
:root {
  --primary-color: #00e676;
  --primary-dark: #00c853;
  --secondary-color: #757575;
  --dark-color: #121212;
  --dark-surface: #1e1e1e;
  --dark-card: #252525;
  --light-color: #e0e0e0;
  --gray-color: #333333;
  --text-color: #ffffff;
  --text-secondary: #9e9e9e;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --gradient: linear-gradient(135deg, var(--dark-color), #000000);
  --accent-gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--dark-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: black;
  box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 230, 118, 0.4);
  filter: brightness(110%);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: black;
  transform: translateY(-3px);
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-header h2 {
  font-size: 3.6rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.8rem;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--gray-color);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

.logo a {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-color);
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 2.5rem;
}

.nav-links a {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-color);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 18rem 0 12rem;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 60%;
}

.hero-image {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: flex-end;
}

.hero h1 {
  font-size: 4.8rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.shape-divider .shape-fill {
  fill: var(--dark-surface);
}

/* Hero Section Animations */
.animated-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  animation: float-particle 15s linear infinite;
  box-shadow: 0 0 10px 2px rgba(0, 230, 118, 0.2);
}

.particle:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-duration: 25s;
  width: 3px;
  height: 3px;
}

.particle:nth-child(2) {
  top: 20%;
  left: 20%;
  animation-duration: 18s;
  animation-delay: 1s;
  width: 4px;
  height: 4px;
}

.particle:nth-child(3) {
  top: 30%;
  left: 80%;
  animation-duration: 22s;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  top: 40%;
  left: 40%;
  animation-duration: 16s;
  animation-delay: 0.5s;
  width: 2px;
  height: 2px;
}

.particle:nth-child(5) {
  top: 50%;
  left: 60%;
  animation-duration: 20s;
  animation-delay: 1.5s;
}

.particle:nth-child(6) {
  top: 60%;
  left: 30%;
  animation-duration: 19s;
  animation-delay: 3s;
  width: 6px;
  height: 6px;
}

.particle:nth-child(7) {
  top: 70%;
  left: 70%;
  animation-duration: 21s;
  animation-delay: 2.5s;
}

.particle:nth-child(8) {
  top: 80%;
  left: 50%;
  animation-duration: 17s;
  animation-delay: 1s;
  width: 4px;
  height: 4px;
}

.particle:nth-child(9) {
  top: 85%;
  left: 15%;
  animation-duration: 23s;
  animation-delay: 0s;
}

.particle:nth-child(10) {
  top: 25%;
  left: 90%;
  animation-duration: 24s;
  animation-delay: 3.5s;
  width: 3px;
  height: 3px;
}

.particle:nth-child(11) {
  top: 15%;
  left: 45%;
  animation-duration: 26s;
  animation-delay: 2s;
}

.particle:nth-child(12) {
  top: 55%;
  left: 85%;
  animation-duration: 19s;
  animation-delay: 1s;
  width: 2px;
  height: 2px;
}

.particle:nth-child(13) {
  top: 75%;
  left: 25%;
  animation-duration: 20s;
  animation-delay: 2.5s;
}

.particle:nth-child(14) {
  top: 35%;
  left: 5%;
  animation-duration: 22s;
  animation-delay: 3s;
  width: 5px;
  height: 5px;
}

.particle:nth-child(15) {
  top: 95%;
  left: 65%;
  animation-duration: 18s;
  animation-delay: 1.5s;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-30vh) translateX(20vw);
    opacity: 0;
  }
}

/* Service Card Animation */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 230, 118, 0.1) 0%,
    rgba(0, 230, 118, 0) 50%,
    rgba(0, 230, 118, 0.1) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: transform 0.8s ease;
}

.service-card:hover .service-hover-effect {
  transform: translateX(200%);
}

/* Animated Circles for Services Section */
.animated-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 230, 118, 0.1);
  opacity: 0.4;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -150px;
  animation: pulse-circle 8s infinite alternate,
    float-circle 20s infinite linear;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: -100px;
  animation: pulse-circle 6s infinite alternate,
    float-circle 15s infinite linear reverse;
}

.circle-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-circle 10s infinite alternate,
    float-circle 25s infinite linear;
}

@keyframes pulse-circle {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

@keyframes float-circle {
  0% {
    transform: rotate(0deg) translateX(50px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(50px) rotate(-360deg);
  }
}

/* Portfolio Floating Dots Animation */
.floating-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.floating-dots .dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0;
  animation: float-dot 3s ease-in-out infinite;
}

.portfolio-item:hover .floating-dots .dot {
  opacity: 0.7;
}

.floating-dots .dot-1 {
  top: 20%;
  left: 30%;
  animation-delay: 0.2s;
}

.floating-dots .dot-2 {
  top: 40%;
  left: 70%;
  animation-delay: 0.5s;
}

.floating-dots .dot-3 {
  top: 70%;
  left: 20%;
  animation-delay: 0.8s;
}

.floating-dots .dot-4 {
  top: 60%;
  left: 80%;
  animation-delay: 1.1s;
}

.floating-dots .dot-5 {
  top: 30%;
  left: 50%;
  animation-delay: 1.4s;
}

@keyframes float-dot {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* About Section */
.about {
  padding: 10rem 0;
  background-color: var(--dark-surface);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about-image {
  flex: 1;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-icon-item {
  background: var(--dark-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-icon-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.about-icon-item i {
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(0, 230, 118, 0.6);
}

.about-icon-item span {
  display: block;
  font-size: 1.4rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.about-text p {
  margin-bottom: 3rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  background: var(--dark-card);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.stat-number {
  display: block;
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1.4rem;
  color: var(--text-secondary);
}

/* Services Section */
.services {
  padding: 10rem 0;
  background-color: var(--dark-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.service-card {
  background: var(--dark-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  padding: 3rem;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3.6rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  background: rgba(0, 230, 118, 0.1);
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.service-card p {
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.service-card ul {
  margin-top: auto;
}

.service-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.service-card ul li i {
  color: var(--primary-color);
  margin-right: 1rem;
}

/* Expertise Section */
.expertise {
  padding: 10rem 0;
  background-color: var(--dark-surface);
}

.expertise-content {
  margin-top: 4rem;
}

.expertise-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.tab {
  padding: 1rem 2rem;
  cursor: pointer;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background: var(--dark-card);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab:hover {
  color: var(--text-color);
}

.tab.active {
  background: var(--primary-color);
  color: black;
  font-weight: 600;
  border-color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 3rem;
}

.tech-item {
  text-align: center;
  padding: 2rem;
  background: var(--dark-card);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.tech-item i {
  display: block;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--primary-color);
}

.tech-item span {
  font-weight: 500;
  color: var(--text-color);
}

/* Why Choose Us Section */
.why-us {
  padding: 10rem 0;
  background-color: var(--dark-color);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.why-us-card {
  background: var(--dark-card);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.why-us-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.why-us-icon {
  font-size: 3.6rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.why-us-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.why-us-card p {
  color: var(--text-secondary);
}

/* Portfolio Section */
.portfolio {
  padding: 10rem 0;
  background-color: var(--dark-surface);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.portfolio-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.portfolio-img {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--dark-color);
  aspect-ratio: 16/9;
}

.portfolio-icon-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.portfolio-img i {
  transition: var(--transition);
  color: var(--primary-color);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.5));
}

.portfolio-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(0, 230, 118, 0.2) 0%,
    rgba(0, 230, 118, 0) 70%
  );
  border-radius: 50%;
  z-index: 1;
  animation: pulse 3s infinite alternate;
}

.portfolio-item:hover .portfolio-img i {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-glow {
  animation: pulse 1.5s infinite alternate;
}

.portfolio-info {
  padding: 2rem;
  background: var(--dark-card);
}

.portfolio-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.portfolio-info p {
  color: var(--text-secondary);
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.portfolio-tech span {
  background: var(--dark-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  padding: 10rem 0;
  background-color: var(--dark-color);
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--dark-card);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
  margin: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-text {
  margin-bottom: 2rem;
}

.testimonial-text i {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 1rem;
  display: block;
}

.testimonial-client {
  display: flex;
  align-items: center;
}

.client-img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 230, 118, 0.1);
}

.client-info h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.client-info p {
  color: var(--text-secondary);
}

.testimonial-dots {
  text-align: center;
  margin-top: 3rem;
}

.dot {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: var(--dark-card);
  border-radius: 50%;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* Contact Section */
.contact {
  padding: 10rem 0;
  background-color: var(--dark-surface);
}

.contact-content {
  display: flex;
  gap: 5rem;
}

.contact-info {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.contact-card {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.contact-icon {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-card p {
  color: var(--text-secondary);
}

.contact-social {
  grid-column: span 2;
  text-align: center;
  padding: 2rem;
  background: var(--dark-card);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--dark-color);
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: var(--transition);
  border: 1px solid var(--primary-color);
}

.social-icons a:hover {
  background: var(--primary-color);
  color: black;
  transform: translateY(-3px);
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  transition: var(--transition);
  background-color: var(--dark-card);
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 230, 118, 0.2);
}

.form-group textarea {
  resize: none;
  height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo a {
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
}

.footer-logo p {
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
  color: var(--text-color);
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 5rem;
  height: 2px;
  background: var(--primary-color);
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a,
.footer-services ul li a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer-newsletter p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 1.2rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: "Poppins", sans-serif;
  background-color: var(--dark-card);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  background: var(--primary-color);
  color: black;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Glossy Effects */
.service-card,
.tech-item,
.why-us-card,
.portfolio-item,
.testimonial-card,
.contact-card {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.tech-item::before,
.why-us-card::before,
.portfolio-item::before,
.testimonial-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.03)
  );
  transform: skewX(-25deg);
  transition: var(--transition);
}

.service-card:hover::before,
.tech-item:hover::before,
.why-us-card:hover::before,
.portfolio-item:hover::before,
.testimonial-card:hover::before,
.contact-card:hover::before {
  left: 150%;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  html {
    font-size: 55%;
  }

  .hero {
    padding: 15rem 0 10rem;
  }

  .about-content,
  .contact-content {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 4rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: var(--dark-color);
    width: 100%;
    height: calc(100vh - 80px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 0;
    padding: 2rem;
    width: 100%;
    text-align: center;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content,
  .hero-image {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 4rem;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-social {
    grid-column: span 1;
  }
}

@media screen and (max-width: 576px) {
  .section-header h2 {
    font-size: 3rem;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* SEO Keywords */
.seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.keyword {
  background: rgba(0, 230, 118, 0.1);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 5rem;
  font-size: 1.4rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(0, 230, 118, 0);
  }
}

/* Blog Section */
.blog {
  padding: 10rem 0;
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
}

.blog-slider {
  display: flex;
  gap: 3rem;
  margin: 0 auto;
  max-width: 1200px;
  overflow-x: hidden;
  position: relative;
  transition: transform 0.4s ease;
}

.blog-card {
  background: var(--dark-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  min-width: calc(33.33% - 2rem);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  height: 100%;
  animation: slideIn 0.5s ease-out forwards;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.03)
  );
  transform: skewX(-25deg);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.blog-card:hover::before {
  left: 150%;
}

.blog-img {
  padding: 5rem;
  background-color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-content {
  padding: 2rem;
}

.blog-date {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.blog-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.4;
}

.blog-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.read-more i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--text-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

.blog-dots {
  text-align: center;
  margin-top: 3rem;
}

.blog-dots .dot {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: var(--dark-card);
  border-radius: 50%;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-dots .dot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.text-center {
  text-align: center;
  margin-top: 3rem;
}

.view-all {
  display: inline-block;
}

/* Industries Section */
.industries {
  padding: 10rem 0;
  background-color: var(--dark-surface);
  position: relative;
  overflow: hidden;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.industry-card {
  background: var(--dark-card);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.03)
  );
  transform: skewX(-25deg);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.industry-card:hover::before {
  left: 150%;
}

.industry-icon {
  font-size: 3.6rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  background: rgba(0, 230, 118, 0.1);
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 2rem;
}

.industry-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.industry-card p {
  color: var(--text-secondary);
}

/* Floating Chat */
.floating-chat {
  position: fixed;
  bottom: 3rem;
  right: 9rem;
  z-index: 99;
}

.chat-button {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 2.5rem;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite alternate;
}

.chat-button:hover {
  transform: translateY(-5px);
  background: var(--primary-dark);
}

.chat-popup {
  position: absolute;
  bottom: 7rem;
  right: 0;
  width: 300px;
  background: var(--dark-card);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid var(--primary-color);
  overflow: hidden;
  display: none;
  transform-origin: bottom right;
  animation: scaleUp 0.3s forwards;
}

.chat-popup.active {
  display: block;
}

.chat-header {
  background: var(--primary-color);
  color: black;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 1.6rem;
}

.close-chat {
  cursor: pointer;
  font-size: 1.6rem;
}

.chat-body {
  padding: 1.5rem;
  max-height: 300px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  max-width: 80%;
}

.chat-message.bot {
  background-color: var(--dark-surface);
  color: var(--text-color);
  align-self: flex-start;
}

.chat-message.user {
  background-color: var(--primary-color);
  color: black;
  align-self: flex-end;
  margin-left: auto;
}

.chat-input {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.chat-input input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  background-color: var(--dark-surface);
  color: var(--text-color);
}

.chat-input button {
  background-color: var(--primary-color);
  color: black;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Animation Keyframes */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Additional Animations */
.hero-image i {
  animation: floatAnimation 3s ease-in-out infinite;
}

.service-icon,
.industry-icon,
.tech-item i {
  animation: floatAnimation 3s ease-in-out infinite;
}

.portfolio-item,
.why-us-card,
.tech-item,
.blog-card,
.industry-card {
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
  animation-fill-mode: both;
}

.portfolio-item:nth-child(1),
.why-us-card:nth-child(1),
.tech-item:nth-child(1),
.blog-card:nth-child(1),
.industry-card:nth-child(1) {
  animation-delay: 0.1s;
}

.portfolio-item:nth-child(2),
.why-us-card:nth-child(2),
.tech-item:nth-child(2),
.blog-card:nth-child(2),
.industry-card:nth-child(2) {
  animation-delay: 0.2s;
}

.portfolio-item:nth-child(3),
.why-us-card:nth-child(3),
.tech-item:nth-child(3),
.blog-card:nth-child(3),
.industry-card:nth-child(3) {
  animation-delay: 0.3s;
}

.portfolio-item:nth-child(4),
.why-us-card:nth-child(4),
.tech-item:nth-child(4),
.blog-card:nth-child(4),
.industry-card:nth-child(4) {
  animation-delay: 0.4s;
}

.portfolio-item:nth-child(5),
.why-us-card:nth-child(5),
.tech-item:nth-child(5),
.blog-card:nth-child(5),
.industry-card:nth-child(5) {
  animation-delay: 0.5s;
}

.portfolio-item:nth-child(6),
.why-us-card:nth-child(6),
.tech-item:nth-child(6),
.blog-card:nth-child(6),
.industry-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive adjustments for new sections */
@media screen and (max-width: 768px) {
  .blog-slider {
    flex-direction: column;
  }

  .blog-card {
    min-width: 100%;
  }

  .floating-chat {
    right: 3rem;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Expertise Section */
.expertise {
  padding: 10rem 0;
  background-color: var(--dark-surface);
}

.tab-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 1.5rem 3rem;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem;
}

.tool-item {
  background: var(--dark-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.tool-item i {
  margin-bottom: 1rem;
  font-size: 2.4rem;
  color: var(--primary-color);
}

.tool-item span {
  display: block;
  font-size: 1.4rem;
  color: var(--text-secondary);
}
