/* ===== VARIABLES ===== */
:root {
    --primary:#FFC94A;
    --secondary: #2c2e2e;
    --accent: #FFC94A;
    --light: #f4f4f4;
    --dark: #333;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #ff9a00 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;


    --primary-color: #FFC94A;
    --secondary-color: #2c2e2e;
    --accent-color: #2c2e2e;
    --light-gray: #f3f3f3;
    --white: #ffffff;
    --gray: #888888;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);


    --primary-color: #FFC94A;
            --secondary-color: #2c2e2e;
            --accent-color: #2c2e2e;
            --light-gray: #f3f3f3;
            --white: #ffffff;
            --gray: #888888;
            --transition: all 0.3s ease;
            --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1)
  }
  
  /* ===== GENERAL STYLES ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary);
    background-color: #fff;
    overflow-x: hidden;
    background-color: #2c2e2e;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
  }
  
  section:nth-child(odd) {
    background-color: #F5F5F5;
  }
  
  section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: -50px;
    left: 0;
    background-color: inherit;
    transform: skewY(-3deg);
    z-index: 1;
  }
  
  section:last-child::before {
    display: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary);
  }
  
  p {
    margin-bottom: 20px;
  }
  
  a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
  }
  
  a:hover {
    color: var(--accent);
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transition: width 0.5s ease;
  }
  
  .btn:hover::before {
    width: 100%;
  }
  
  .btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(246, 176, 41, 0.4);
  }
  
  .btn-primary:hover {
    box-shadow: 0 7px 20px rgba(246, 176, 41, 0.6);
    transform: translateY(-3px);
    color: #fff;
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--primary);
  }
  
  .btn-secondary:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-header .subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
  }
  
  .section-header .subtitle::before,
  .section-header .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
  }
  
  .section-header .subtitle::before {
    left: -40px;
  }
  
  .section-header .subtitle::after {
    right: -40px;
  }
  
  .section-header .title {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    z-index: 1;
  }
  
  .section-header .title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: 5px;
    left: 0;
    background-color: rgba(246, 176, 41, 0.2);
    z-index: -1;
  }
  
  /* ===== LOADER =====
  .loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
  }
  
  .loader-hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite, colorChange 3s ease-in-out infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @keyframes colorChange {
    0%, 100% { border-top-color: var(--primary); }
    50% { border-top-color: var(--accent); }
  } */
  
  /* ===== NAVBAR ===== */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    background-color: transparent;
  }
  
  header.scrolled {
    background-color: rgba(44, 46, 46, 0.95);
    box-shadow: var(--shadow);
    padding: 10px 0;
    backdrop-filter: blur(10px);
  }
  
  #navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0;
  }
  
  .logo h1 span {
    color: var(--primary);
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 30px;
  }
  
  .nav-links li a {
    color: var(--light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
  }
  
  .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
  }
  
  .nav-links li a:hover,
  .nav-links li a.active {
    color: var(--primary);
  }
  
  .nav-links li a:hover::after,
  .nav-links li a.active::after {
    width: 100%;
  }
  
  .nav-toggle {
    display: none;
    cursor: pointer;
  }
  
  .nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 5px 0;
    transition: var(--transition);
  }

  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: #2c2e2e;
      flex-direction: column;
      align-items: center;
      display: none;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .nav-links li {
      margin: 15px 0;
    }
  
    .nav-toggle {
      display: block;
    }
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: var(--secondary);
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23f6b029" fill-opacity="0.1" d="M0,128L48,144C96,160,192,192,288,192C384,192,480,160,576,149.3C672,139,768,149,864,170.7C960,192,1056,224,1152,224C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 46, 46, 0.9) 0%, rgba(44, 46, 46, 0.7) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.text-content {
  flex: 1;
  max-width: 550px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 450px;
}

.shape {
  position: absolute;
  width: 110%;
  height: 110%;
  background-color: var(--primary);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.7;
  animation: morphShape 10s infinite alternate;
  z-index: -1;
}

@keyframes morphShape {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 50% 50% 30% 70% / 50% 50% 50% 50%;
  }
  50% {
    border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
  }
  75% {
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.profile-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 50%;
  border: #2c2e2e solid 5px;
  box-shadow: var(--shadow);
  animation: floatImage 6s ease-in-out infinite;
  transform: scale(0.95);
  transition: all 1s ease-in-out;
}

.profile-img.visible {
  transform: scale(1);
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.intro {
  font-size: 18px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
}

.intro::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
  left: -60px;
  top: 50%;
}

.title {
  font-size: 48px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
}

.description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 18px;
  max-width: 500px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.7s;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: -130px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.9s;
}

.btn-secondary {
  color: white !important;
  border: solid 2px #f6b029 !important;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  position: relative;
  margin: 0 auto 10px;
}

.wheel {
  width: 4px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

.scroll-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .hero {
    min-height: 600px;
    height: auto;
    padding: 100px 0;
  }
  
  .hero-content {
    gap: 20px;
  }
  
  .title {
    font-size: 42px;
  }
  
  .description {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .text-content, .hero-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .text-content {
    order: 1;
  }
  
  .hero-image {
    order: 2;
    margin: 40px 0;
  }
  
  .cta-buttons {
    order: 3;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  .intro::after {
    display: none;
  }
  
  .description {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 576px) {
  .hero {
    min-height: 500px;
    padding: 60px 0;
  }
  
  .title {
    font-size: 32px;
  }
  
  .subtitle {
    font-size: 18px;
  }
  
  .profile-img {
    max-width: 300px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .cta-buttons a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .scroll-indicator {
    bottom: 150px;
  }
}
  
  
  /* ===== ABOUT SECTION ===== */
  .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .about-image {
    flex-basis: 40%;
    position: relative;
  }
  
  .about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
    transition: var(--transition);
  }
  
  .about-image:hover img {
    transform: scale(1.03);
  }
  
  .experience-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: var(--gradient);
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(246, 176, 41, 0.7);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(246, 176, 41, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(246, 176, 41, 0);
    }
  }
  
  .experience-badge .number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
  }
  
  .experience-badge .text {
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
  }
  
  .about-text {
    flex-basis: 55%;
  }
  
  .about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .about-text h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--gradient);
    bottom: -10px;
    left: 0;
  }
  
  .personal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
  }
  
  .info-item {
    margin-bottom: 10px;
  }
  
  .info-title {
    font-weight: 600;
    color: var(--secondary);
  }
  
  .info-value {
    color: var(--secondary);
  }
  
  
  .about-cta {
    margin-top: 20px;
  }

  /* Responsive - ABOUT SECTION */
@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image,
  .about-text {
    flex-basis: 100%;
    width: 100%;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .experience-badge {
    bottom: -15px;
    right: 15px;
    width: 100px;
    height: 100px;
  }

  .experience-badge .number {
    font-size: 28px;
  }

  .experience-badge .text {
    font-size: 10px;
  }

  .personal-info {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-text h3 {
    font-size: 24px;
  }

  .about-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }
}



  
  /* ===== SKILLS SECTION ===== */
  .skills-container {
    margin-top: 50px;
  }
  
  .skills-category {
    margin-bottom: 50px;
  }
  
  .skills-category h3 {
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
    color: #1E2A78;
  }
  
  .skills-category h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient);
    border-radius: 10px;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
  }
  
  .skill-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
  }
  
  .skill-item:hover {
    transform: translateY(-5px);
  }
  
  .skill-item:hover::before {
    width: 100%;
    opacity: 0.1;
  }
  
  .skill-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(246, 176, 41, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary);
    margin-right: 15px;
    transition: var(--transition);
  }
  
  .skill-item:hover .skill-icon {
    background-color: var(--primary);
    color: #fff;
  }
  
  .skill-info {
    flex: 1;
  }
  
  .skill-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .progress-bar {
    width: 100%;
    height: 8px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    position: relative;
    animation: progressAnimation 2s ease-out forwards;
  }
  
  @keyframes progressAnimation {
    from {
      width: 0;
    }
  }
  
  /* ===== SERVICES SECTION ===== */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 6fr));
    gap: 30px;
  }
  
  .service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient);
    opacity: 0.9;
    transition: height 0.5s ease;
    z-index: -1;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }
  
  .service-card:hover::before {
    height: 100%;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(246, 176, 41, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: var(--primary);
    margin: 0 auto 25px;
    transition: var(--transition);
  }
  
  .service-card:hover .service-icon {
    background-color: #fff;
    transform: rotateY(360deg);
  }
  
  .service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition);
  }
  
  .service-card p {
    margin-bottom: 25px;
    transition: var(--transition);
  }
  
  .service-card:hover h3,
  .service-card:hover p {
    color: #fff;
  }
  
  .service-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
  }
  
  .service-link i {
    margin-left: 5px;
    transition: var(--transition);
  }
  
  .service-card:hover .service-link {
    color: #fff;
  }
  
  .service-link:hover i {
    transform: translateX(5px);
  }
  
  /* ===== PROJECTS SECTION ===== */
  .project-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary);
    color: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    background-color: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.project-item.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: var(--primary);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-img img {
    transform: scale(1.1);
    opacity: 0.8;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 46, 46, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.project-item:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-item:hover .project-link:nth-child(2) {
    transition-delay: 0.1s;
}

.project-link:hover {
    background-color: var(--light);
    color: var(--primary);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.project-item:hover .project-info h3 {
    color: var(--primary);
}

.project-info p {
    margin-bottom: 15px;
    color: var(--gray);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tags span {
    padding: 4px 12px;
    background-color: rgba(246, 176, 41, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}


/* ===== SECTIONS COMMUNES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(246, 176, 41, 0.1);
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.section-header .subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.section-header .title {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

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

.section-header:hover .title::after {
    width: 100px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 100px 0;
    background-color: var(--secondary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: 1;
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-header .subtitle {
    background: rgba(246, 176, 41, 0.2);
    color: var(--primary-color);
}

.testimonials .section-header .title {
    color: var(--white);
}

.testimonial-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 400px;
    perspective: 1000px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    height: 100%;
}

.testimonial-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    padding: 20px;
    transition: all 0.5s ease;
    opacity: 0.4;
    transform: scale(0.8);
}

.testimonial-item.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-item.active .testimonial-content {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(246, 176, 41, 0.05) 0%, rgba(246, 176, 41, 0) 70%);
    z-index: -1;
    animation: gradientAnimation 15s ease infinite;
}

.quote-icon {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.5;
    position: absolute;
    top: 20px;
    left: 20px;
    animation: quoteFloat 6s ease-in-out infinite;
    transform-origin: center;
}

.quote-icone {
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.5;
  position: relative;
  left: 80%;
  animation: quoteFloat 6s ease-in-out infinite;
  transform-origin: center;
  
}

.testimonial-item.active .quote-icon {
    opacity: 0.3;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    padding-left: 10px;
    border-left: 2px solid var(--primary-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.testimonial-space{
  margin-bottom: 7%;
}

.author-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-item.active .author-img {
    transform: scale(1.05);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-img::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(246, 176, 41, 0.3);
    animation: pulse 2s infinite;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.author-info h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.testimonial-item.active .author-info h4::after {
    width: 100%;
}

.author-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-dots {
    display: flex;
    margin: 0 20px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Progress bar */
.progress-container {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .testimonial-slider {
        height: 450px;
    }

    .section-header .title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .testimonial-slider {
        height: 480px;
    }

    .testimonials {
        padding: 80px 0;
    }

    .section-header .title {
        font-size: 28px;
    }

    .testimonial-content {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .testimonial-slider {
        height: 550px;
    }

    .testimonials {
        padding: 60px 0;
    }

    .section-header .title {
        font-size: 24px;
    }

    .testimonial-content {
        padding: 25px 20px;
    }

    .testimonial-text {
        font-size: 16px;
        line-height: 1.7;
    }

    .author-img {
        width: 55px;
        height: 55px;
    }
}

/* Particle effects */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
}
  
  /* ===== CONTACT SECTION ===== */
  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
  }







   /* ===== ANIMATIONS ===== */
   @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== SECTIONS COMMUNES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(246, 176, 41, 0.1);
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.section-header .subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.section-header .title {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

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

.section-header:hover .title::after {
    width: 100px;
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: -1;
    border-radius: 30px;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(246, 176, 41, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 176, 41, 0.4);
}

/* ===== SECTION CONTACT ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--secondary-color) 0%, transparent 100%);
    opacity: 0.05;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    animation: slideInLeft 0.8s ease-out;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-left: 3px solid var(--primary-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 20px;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    transform: rotateY(180deg);
}

.info-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.info-details p {
    color: var(--gray);
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition);
    z-index: -1;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.social-link:hover::before {
    transform: scale(1);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    animation: slideInRight 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 200%;
    animation: gradientAnimation 3s ease infinite;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(246, 176, 41, 0.2);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.5s ease;
}

.contact-form .btn-primary::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover::after {
    opacity: 1;
    right: 30px;
}

#formResponse {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1E2A78;
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--primary-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    animation: fadeIn 0.8s ease-out;
}

.footer-logo h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--white);
    display: inline-block;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: var(--gray);
    max-width: 300px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer-links:hover h3::after {
    width: 100%;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

.footer-newsletter {
    flex: 1;
    min-width: 250px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer-newsletter:hover h3::after {
    width: 100%;
}

.footer-newsletter p {
    color: var(--gray);
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-newsletter input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 15px;
    background-color: #3a3c3c;
    color: var(--white);
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter button {
    padding: 0 25px;
    border: none;
    border-radius: 0 30px 30px 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.footer-newsletter button:hover {
    background: #e8a418;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: #3a3c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: var(--transition);
}

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

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .section-header .title {
        font-size: 32px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-header .title {
        font-size: 28px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-header .title {
        font-size: 24px;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content > div {
        min-width: 100%;
    }
}