:root{
    --primary-color: #F75023;
    --secondary-color: #8067F0;
    --accent-color: #1CBE59;
    --gradient-primary: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));

    /* slate */
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    --slate-950: #020617;

}
*{
     font-family: "Jost", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 9999;
  padding: 10px 0;
}

.header.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contactbtn{
  padding: 12px 38px;
  background-color: var(--primary-color);
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contactbtn:hover{
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

/* Hero */
.hero-bg{
  background: url("../images/Background.svg") no-repeat center center/cover;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

.hero{
  width: 100%;
  padding-top: 100px !important;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
}

.heroContent h2 {
  font-size: clamp(22px, 3vw, 46px);
  line-height: 1.3;
  color: var(--primary-color);
}

.heroContent h1 {
  font-size: clamp(36px, 6vw, 86px);
  line-height: 1.2;
  color: black;
}

.heroContent h3 {
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.4;
  color: black;
}

h3 span:first-child {
  color: var(--accent-color);
}

h3 span:last-child {
  color: var(--secondary-color);
}

.heroContent p {
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--slate-800);
  max-width: 600px;
}

.cvbtn{
  padding: 12px 38px;
  background-color: var(--primary-color);
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.cvbtn:hover{
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.social-icon {
  width: 58px;
  height: 58px;
  color: black;
  font-size: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.heroImage img{
  max-width: 90%;
  height: auto;
}

/* About */
.about{
  padding-top: 96px;
  padding-bottom: 124px;
}

.aboutImage img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.aboutContent h4{
  font-size: 24px;
  line-height: 30px;
  color: var(--primary-color);
}

.aboutContent h2{
  font-size: 48px;
  line-height: 60px;
  color: black;
}

.aboutContent p{
  font-size: 18px;
  line-height: 30px;
  color: var(--slate-800);
}

.hirebtn{
  padding: 12px 38px;
  background-color: var(--primary-color);
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.hirebtn:hover{
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.decorative-line {
  width: 272px;
  height: 165px;
  bottom: -40px;
  right: -20px;
  pointer-events: none;
}


/* Portfolio */
.portfolio{
  padding-top: 0;
  padding-bottom: 0;
}

.portfolioContent h6{
  font-size: 24px;
  line-height: 30px;
  color: var(--primary-color);
}

.portfolioContent h2{
  font-size: 48px;
  line-height: 60px;
  color: black;
}

.portfolioContent p{
  font-size: 18px;
  line-height: 30px;
  color: var(--slate-800);
}

.portfoliobg1-decorative{
  width: 133px;
  height: 168px;
  top: 40px;
  left: 20px;
  pointer-events: none;
}

#portfolio-tabs .nav-link {
  color: black;
}

#portfolio-tabs .nav-link:hover {
  color: var(--primary-color);
}

#portfolio-tabs .nav-link.active {
  color: white;
  background-color: var(--primary-color);
}

.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-card img {
  border-radius: 12px;
  transition: transform 0.4s ease;
}

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


/* Skills */
.skills {
  padding-top: 100px;
  padding-bottom: 120px;
}

.skills img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.skillsContent h6{
  font-size: 24px;
  line-height: 30px;
  color: var(--primary-color);
}

.skillsContent h2{
  font-size: 48px;
  line-height: 60px;
  color: black;
}

.skillsContent p{
  font-size: 18px;
  line-height: 30px;
  color: var(--slate-800);
}

.progress-figma{
  background-color: #00BFFF;
}

.progress-canva{
  background-color: var(--secondary-color);
}

.progress-html{
  background-color: var(--primary-color);
}

.progress-wordpress{
  background-color: #4169E1;
}

.progress-bootstrap{
  background-color: #9400D3;
}

.progress-seo{
  background-color: var(--accent-color);
}


/* Education */
.education{
  padding-top: 0;
  padding-bottom: 0;
}

.educationContent h6{
  font-size: 24px;
  line-height: 30px;
  color: var(--primary-color);
}

.educationContent h2{
  font-size: 48px;
  line-height: 60px;
  color: black;
}

.educationContent p{
  font-size: 18px;
  line-height: 30px;
  color: var(--slate-800);
}

.timeline-line {
  width: 3px;
  background-color: var(--accent-color);
  bottom: 0;
}

.timeline-item .card {
  background: white;
  box-shadow: 18px 0 87px 0 rgba(10, 15, 70, 0.07);
}

.card h6{
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: var(--primary-color);
}

.card h5{
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  color: black;
}

.card p{
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--slate-600);
}


/* Course */
.courses{
  padding-top: 96px;
  padding-bottom: 96px;
  overflow: hidden;
}

.coursesContent h6{
  font-size: 24px;
  line-height: 30px;
  color: var(--primary-color);
}

.coursesContent h2{
  font-size: 48px;
  line-height: 60px;
  color: black;
}

.coursesContent p{
  font-size: 18px;
  line-height: 30px;
  color: var(--slate-800);
}

.coursesbg1-decorative{
  width: 220.72px;
  height: 196px;
  top: 72;
  left: 72px;
  pointer-events: none; 
  z-index: -1;
}

.course-card {
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--primary-color);
  background-color: white;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.course-img {
  pointer-events: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.course-title {
  color: var(--primary-color);
  font-size: 24px;
  line-height: 36px;
}

a.text-decoration-none {
  color: inherit;
}

a.text-decoration-none:hover {
  text-decoration: none;
  color: inherit;
}


/* Tools */
.tools {
  padding-top: 96px;
  padding-bottom: 96px;
}

.row.g-1 {
  --bs-gutter-x: 4px;
  --bs-gutter-y: 4px;
}

.tool-box {
  border: 1px solid var(--slate-200);
  background-color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tool-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.tool-box:hover .tool-img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}


/* Contact */
.inTouch{
  margin-top: 96px;
  margin-bottom: 96px;
}

.inTouchContent h6{
  font-size: 24px;
  line-height: 30px;
  color: var(--primary-color);
}

.inTouchContent h2{
  font-size: 48px;
  line-height: 60px;
  color: black;
}

.inTouchContent p{
  font-size: 18px;
  line-height: 30px;
  color: var(--slate-800);
}

.inTouchbg1-decorative{
  width: 154px;
  height: 217px;
  top: 10;
  left: 0;
  pointer-events: none; 
  z-index: -1;
}

.icon-box {
  width: 88px;
  height: 88px;
  font-size: 36px;
  transition: all 0.3s ease;
}

.bg-location{
  background-color: #FEDFD7;
  color: var(--primary-color);

}

.bg-location:hover{
  background-color: var(--primary-color);
  color: white;

}

.bg-email{
  background-color: #DDF5E6;
  color: var(--accent-color);

}

.bg-email:hover{
  background-color: var(--accent-color);
  color: white;

}

.bg-phone{
  background-color: #ECE8FD;
  color: var(--secondary-color);

}

.bg-phone:hover{
  background-color: var(--secondary-color);
  color: white;

}

.contact-label {
  font-size: 30px;
  line-height: 42px;
  color: var(--slate-900);
}

.contact-detail {
  font-size: 18px;
  line-height: 28px;
  color: var(--slate-700);
}

.info-item {
  transition: all 0.3s ease;
}

.contact-input {
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background-color: white;
  color: var(--slate-900);
  padding: 14px 20px;
  font-size: 16px;
  line-height: 24px;
  transition: all 0.3s ease;
}

.contact-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  outline: none;
}

.message-box {
  height: 196px !important;
  min-height: 196px !important;
  resize: none;
  overflow-y: auto;
}

.form-floating label {
  color: var(--slate-400);
  font-size: 16px;
}

.sendbtn{
  padding: 12px 38px;
  background-color: var(--primary-color);
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.sendbtn:hover{
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}


/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-text {
  font-size: 16px;
  line-height: 30px;
  color: white;
  text-align: center;
}

.footer-icons {
  width: 58px;
  height: 58px;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-icons:hover {
  background-color: white;
  color: var(--secondary-color);
}


/* Form Submit */
.modalbtn{
 padding: 8px 12px;
  background-color: var(--primary-color);
  color: white;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  border: 1px solid transparent;
  transition: all 0.3s ease; 
}

.modalbtn:hover{
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.modal-content {
  animation: popIn 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
