
/* ===== INDEX.HTML CSS ===== */
:root {
  --bg-dark: #0a0a0a;
  --bg-light: #fafafa;
  --text-dark: #ffffff;
  --text-light: #1a1a1a;
  --accent-dark: #1a1a1a;
  --accent-light: #f0f0f0;
  --highlight-dark: #ffffff;
  --highlight-light: #000000;
  --gradient-1: #6366f1;
  --gradient-2: #8b5cf6;
  --gradient-3: #ec4899;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-dark);
  transition: var(--transition);
  overflow-x: hidden;
  position: relative;
}

body.light-mode {
  background-color: var(--bg-light);
  color: var(--text-light);
}

/* Left Sidebar */
.left-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .left-sidebar {
  background: rgba(250, 250, 250, 0.8);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Animated Background Lines in Sidebar */
.bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.line {
  position: absolute;
  width: 54px;
  height: 0;
  opacity: 1;
  animation: lineGrowSmooth 4s ease-in-out forwards;
}

.line:nth-child(1) {
  left: 8px;
  background: #00ffff;
  animation-delay: 0.3s;
}

.line:nth-child(2) {
  left: 70px;
  background: #ff00ff;
  animation-delay: 0.8s;
}

.line:nth-child(3) {
  left: 132px;
  background: #ffff00;
  animation-delay: 1.3s;
}

/* Sidebar Logo */
.sidebar-logo {
  position: relative;
  z-index: 10;
  margin-top: 100px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .sidebar-logo {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-logo span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gradient-1);
}

@keyframes lineGrowSmooth {
  0% {
    height: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    height: 100vh;
    opacity: 1;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 200px;
  right: 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: var(--transition);
}

body.light-mode header {
  background: rgba(250, 250, 250, 0.9);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: var(--accent-dark);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .theme-toggle {
  background: var(--accent-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-icon {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--text-dark);
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

body.light-mode .theme-icon {
  background: var(--text-light);
  transform: translateX(30px);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav li {
  position: relative;
  cursor: pointer;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
}

nav li:hover {
  color: var(--gradient-1);
}

nav li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  transition: width 0.3s ease;
}

nav li:hover::after {
  width: 100%;
}

.contact-btn {
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.contact-btn::after {
  display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

body.light-mode .mobile-menu-btn {
  border-color: var(--text-light);
  color: var(--text-light);
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .header-controls { gap: 1rem; }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    top: 100%;
    right: 2rem;
    left: 2rem;
    padding: 2rem;
    border-radius: 12px;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  
  body.light-mode nav ul {
    background: rgba(250, 250, 250, 0.95);
  }
  
  nav ul.active {
    display: flex;
  }
}

/* Main Content */
main {
  padding-top: 100px;
  margin-left: 200px;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem 0 5%;
  position: relative;
}



.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-dark), var(--gradient-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero h1 {
  background: linear-gradient(135deg, var(--text-light), var(--gradient-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.hero button {
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  max-width: 250px;
}

.hero button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
  .left-sidebar {
    width: 120px;
  }
  
  .line {
    width: 32px;
  }
  
  .line:nth-child(1) {
    left: 6px;
  }
  
  .line:nth-child(2) {
    left: 42px;
  }
  
  .line:nth-child(3) {
    left: 78px;
  }
  
  .sidebar-logo {
    width: 60px;
    height: 60px;
    margin-top: 80px;
  }
  
  .sidebar-logo span {
    font-size: 1.5rem;
  }
  
  header {
    left: 120px;
  }
  
  main {
    margin-left: 120px;
  }
  
  .hero {
    padding: 0 1rem;
    text-align: center;
  }
}

/* Sections */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition);
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: left;
  margin-bottom: 3rem;
  padding-left: 5%;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 5%;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

body.light-mode .card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: var(--gradient-1);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gradient-1);
}

.card p {
  line-height: 1.6;
  opacity: 0.8;
}

/* Portfolio Carousel */
.portfolio {
  padding: 8rem 2rem;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.carousel img {
  position: absolute;
  max-width: 80%;
  max-height: 80%;
  object-fit: cover;
  border-radius: 16px;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.carousel img.prev,
.carousel img.next {
  opacity: 0.3;
  transform: scale(0.8) translateX(-20px);
}

.carousel img.next {
  transform: scale(0.8) translateX(20px);
}

.carousel img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.carousel img:hover {
  transform: scale(1.05);
}

/* Back to Top */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

#backToTop:hover {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  section h2 {
    padding-left: 2%;
    text-align: center;
  }
  
  .cards {
    padding: 0 2%;
    grid-template-columns: 1fr;
  }
  
  .carousel {
    height: 400px;
  }
  
  .carousel img {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .left-sidebar {
    width: 80px;
  }
  
  .line {
    width: 20px;
  }
  
  .line:nth-child(1) {
    left: 4px;
  }
  
  .line:nth-child(2) {
    left: 28px;
  }
  
  .line:nth-child(3) {
    left: 52px;
  }
  
  .sidebar-logo {
    width: 45px;
    height: 45px;
    margin-top: 70px;
  }
  
  .sidebar-logo span {
    font-size: 1.2rem;
  }
  
  header {
    left: 80px;
    padding: 1rem;
  }
  
  main {
    margin-left: 80px;
  }
  
  section h2 {
    padding-left: 1%;
  }
  
  .cards {
    padding: 0 1%;
  }
}
  


/* ===== CONTACT.CSS ===== */
:root {
  --bg-dark: #0a0a0a;
  --bg-light: #fafafa;
  --text-dark: #ffffff;
  --text-light: #1a1a1a;
  --accent-dark: #1a1a1a;
  --accent-light: #f0f0f0;
  --highlight-dark: #ffffff;
  --highlight-light: #000000;
  --gradient-1: #6366f1;
  --gradient-2: #8b5cf6;
  --gradient-3: #ec4899;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-dark);
  transition: var(--transition);
  overflow-x: hidden;
  position: relative;
}

body.light-mode {
  background-color: var(--bg-light);
  color: var(--text-light);
}

/* Background Lines */
.bg-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.line {
  position: absolute;
  width: 2px;
  height: 100vh;
  opacity: 0.3;
}

.line:nth-child(1) {
  left: 20%;
  background: linear-gradient(180deg, var(--gradient-1), transparent);
}

.line:nth-child(2) {
  left: 50%;
  background: linear-gradient(180deg, var(--gradient-2), transparent);
}

.line:nth-child(3) {
  left: 80%;
  background: linear-gradient(180deg, var(--gradient-3), transparent);
}

/* Header Styles (same as index) */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: var(--transition);
}

body.light-mode header {
  background: rgba(250, 250, 250, 0.9);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: var(--accent-dark);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .theme-toggle {
  background: var(--accent-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-icon {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--text-dark);
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

body.light-mode .theme-icon {
  background: var(--text-light);
  transform: translateX(30px);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav li {
  position: relative;
  cursor: pointer;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
}

nav li:hover {
  color: var(--gradient-1);
}

.contact-btn {
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

body.light-mode .mobile-menu-btn {
  border-color: var(--text-light);
  color: var(--text-light);
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .header-controls { gap: 1rem; }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    top: 100%;
    right: 2rem;
    left: 2rem;
    padding: 2rem;
    border-radius: 12px;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  
  body.light-mode nav ul {
    background: rgba(250, 250, 250, 0.95);
  }
  
  nav ul.active {
    display: flex;
  }
}

/* Contact Section */
.contact-section {
  min-height: calc(100vh - 100px);
  display: grid;
  place-items: center;
  padding: 8rem 2rem 4rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 600px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

body.light-mode .contact-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-card h1 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#contactForm {
  display: grid;
  gap: 2rem;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row label {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

body.light-mode .form-row label {
  color: var(--text-light);
}

.form-row input,
.form-row textarea {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

body.light-mode .form-row input,
body.light-mode .form-row textarea {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body.light-mode .form-row input::placeholder,
body.light-mode .form-row textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--gradient-1);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.submit-row button {
  padding: 1.25rem;
  width: 100%;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.submit-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

#backToTop:hover {
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .contact-card {
    padding: 2rem 1.5rem;
  }
  .contact-card h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}
  