/* ===== BASE STYLES ===== */
:root {
  --primary-color: #66eae3;
  --primary-dark: #1b6f6b;
  --secondary-color: #2c3e50;
  --accent-color: #ff6b6b;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --white: #fff;
  --black: #000;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  padding-top: 80px;
  /* Account for fixed header */
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
  box-shadow: var(--box-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--secondary-color);
  font-size: 1.8rem;
  font-weight: bold;
  transition: var(--transition);
}

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

.logo-icon {
  width: 125px;
  height: 50px;
  background: none;
  border-radius: 12px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius:50%;
  
}

.nav-pills {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  color: var(--white);
  padding: 5rem 0;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/front-end.jpg') center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
  opacity: 0.85;
  z-index: -1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  color: var(--primary-color);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Button Styles */
.flat-rounded-btn {
  padding: 12px 30px;
  border-radius: 25px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.flat-rounded-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== SKILLS SECTION ===== */
.skills-section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
}

.skill-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.skill-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.skill-list {
  margin-top: 1.5rem;
  text-align: left;
}

.skill-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-color);
}

.skill-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Footer Styles */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
}

.footer h3,
.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer h3 {
  font-size: 1.8rem;
}

.footer p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer ul li {
  margin-bottom: 0.8rem;
}

.footer ul li a:hover {
  color: var(--primary-color);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nav-pills {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    gap: 20px;
    transition: var(--transition);
  }

  .nav-pills.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 15px 30px;
  }

  .hero {
    padding: 3rem 0;
    text-align: center;
  }

  .hero-container {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  .hero-buttons {
    flex-direction: column !important;
    gap: 1rem;
    align-items: stretch;
  }
  .hero-buttons .flat-rounded-btn {
    width: 100%;
    text-align: center;
  }
}
