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

html, body {
  background: #080008;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  height: 100%;
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  background: #111;

  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}
.logo .dot {
  color: #ff0055;
}

.nav-links {
  display: flex;
  font-weight: bold;
  gap: 30px;
  list-style: none;
}
.nav-links li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links li a:hover {
  color: #ff0055;
}

.home-section {
  display: flex;
  align-items: center;
  justify-items: left;
  justify-content:left;
  height: 100vh;
  padding:0 10%;
  background: url('images/background.png') no-repeat center center/cover;
  position: relative;
}


.text-content {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  padding: 20px;
  text-align:left;
  align-items:flex-start ;
  animation: fadeSlide 1.2s ease-out;
}

.text-content h1 {
  font-size: 3.5rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.text-content h1:hover {
  color: #ff0055;
  cursor: default;
}

.text-content h2 {
  font-size: 2rem;
  color: #00ffc8;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.text-content h2::after {
  content: '';
  width: 100%;
  height: 3px;
  background-color: #00ffc8;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: width 0.3s;
}

.text-content h2:hover::after {
  width: 0;
}

.text-content p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.text-content p:hover {
  transform: translateX(5px);
  color: #ffffff;
}

.text-content .btn {
  margin-top: 10px;
  background: linear-gradient(135deg, #ff0055, #ff3366);
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}

.text-content .btn:hover {
  background: linear-gradient(135deg, #ff3366, #ff0055);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 85, 0.6);
}

.social-icons a {
  margin-top: 10px;
  margin-right: 10px;
  color: white;
  font-size: 1.4rem;
  transition: transform 0.3s;
}
.social-icons a:hover {
  color: #ff0055;
  transform: scale(1.2);
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #ff0055;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.btn:hover {
  background: #ff3366;
}

#typing-text {
  color: #00ffc8;
  font-size: 1.8rem;
  font-weight: 600;
  border-right: 2px solid #ff1476;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: #ff1476; }
}


@media (max-width: 768px) {
  .home-section {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .text-content, .image-content {
    max-width: 100%;
    text-align: center;
  }

  .text-content h1 {
    font-size: 2.5rem;
  }

  .text-content h2 {
    font-size: 1.5rem;
  }

  .text-content h1:hover {
  color: #ff0055;
  cursor: default;
}
}

/* -------for toogle menu---------- */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 2000;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #0e0e0e;
    flex-direction: column;
    padding-top: 100px;
    align-items: center;
    gap: 25px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.7);
    transition: right 0.4s ease-in-out;
    z-index: 1100;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;

  }

  .nav-links li a:hover {
    background-color: #222;
  color: #ff0055;
  transform: translateX(5px);  }
}

.nav-links li i {
  min-width: 20px;
  font-size: 1.2rem;
}

/*------------------- About page -------------*/

.about-section {
  padding: 50px 20px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: auto;
}

.about-image img {
  width: 280px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #ffc107, #ff9800);
  padding: 10px;
  animation: fadeIn 1s ease-in;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.about-content p {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.tab-button {
  background: none;
  border: none;
  font-size: 1rem;
  color: #ccc;
  font-weight: bold;
  padding-bottom: 5px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.tab-button.active,
.tab-button:hover {
  color: #fff;
}

.tab-button.active::after {
  content: '';
  width: 100%;
  height: 2px;
  background-color: #ff1744;
  position: relative;
  left: 0;
  bottom: -5px;
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeInUp 0.6s ease-out;
}

.tab-content.active {
  display:block;
}

.skill-item {
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.skill-item:hover {
  transform: translateX(10px);
}

.skill-title {
  font-weight: bold;
  color: #ff1744;
  display: block;
}

.skill-desc {
  color: #ccc;
}

/* Animation */

.tab-content.fade-in-tab {
  animation: fadeTab 0.5s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease;
}



/* -----------skills---------------- */

.skills-section {
  padding: 60px 20px;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.skills-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

.skills-description {
  font-size: 1rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 30px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease-in-out;
}

.skill-icon {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.skill-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.skill-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 20px rgba(0, 255, 200, 0.3);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* -----------------Services section ----------*/

/* Section Title */
.section-title {
  font-size: 3rem;
  text-align: center;
  margin: 40px 0 20px;
  font-weight: bold;
}

/* Services Container */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px 60px;
}

/* Card Styling */
.service-card {
  background-color: #1c1c1c;
  border-radius: 16px;
  padding: 30px 20px;
  width: 300px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Icons */
.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #00ffc8;
}

/* Headings & Paragraphs */
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 15px;
}

/* Learn More Link */
.learn-more {
  color: #00ffc8;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.learn-more:hover {
  border-color: #00ffc8;
}

/* Responsive */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }
}


/* -----------------work section---------------- */

/* Section Title */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  padding-top: 40px;
  margin-bottom: 20px;
}

/* Work Section */
.work-section {
  padding: 0 20px 60px;
}

.work-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  animation: fadeInUp 1s ease;
}

/* Card Styling */
.work-card {
  background-color: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.work-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,255,200,0.1);
}

.work-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.work-info {
  padding: 20px;
  position: relative;
}

.work-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.work-info p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 15px;
}

.work-link {
  color: #ff3c6f;
  font-size: 1.2rem;
  position: absolute;
  bottom: 20px;
  right: 20px;
  transition: transform 0.3s;
}

.work-link:hover {
  transform: scale(1.3);
}

/* See More Button */
.see-more-container {
  text-align: center;
  margin-top: 30px;
}

.see-more-button {
  padding: 10px 25px;
  background-color: transparent;
  border: 1px solid #ff3c6f;
  color: #ff3c6f;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.see-more-button:hover {
  background-color: #ff3c6f;
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .work-container {
    flex-direction: column;
    align-items: center;
  }
}


/* ------------contact------------ */

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 20px 60px;
  justify-content: center;
}

.contact-left {
  flex: 1;
  min-width: 280px;
}

.contact-left p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.icon {
  color: #ff1476;
  margin-right: 10px;
}

.social-icons a {
  color: white;
  margin-right: 15px;
  font-size: 1.3rem;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #ff1476;
  transform: scale(1.3);
}

.download-cv {
  display: inline-block;
  margin-top: 15px;
  color: #ff1476;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.download-cv:hover {
  color: white;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 300px;
}

.contact-form input,
.contact-form textarea {
  background-color: #222;
  border: none;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  padding: 12px;
  background-color: #ff1476;
  color: white;
  border: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #e10060;
}

#msg {
  margin-top: 10px;
  font-size: 0.9rem;
  display: block;
  font-weight: bold;
}


.footer {
  background-color: #111;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  color: #aaa;
}

/* Animations */
 @keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease;
} 


/* Responsive */
 @media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
} 

