@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #1a1a1a, #2d1b4e, #4a1b4e);
  animation: gradientBG 15s ease infinite;
  background-size: 400% 400%;
  color: #fff;
  min-height: 100vh;
}

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

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.9), rgba(45, 27, 78, 0.9));
  backdrop-filter: blur(10px);
  padding: 1rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #9b6dff;
}

.nav-links a.active {
  color: #9b6dff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #9b6dff, transparent);
  border-radius: 3px;
  animation: glow 1.5s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px #9b6dff, 0 0 10px #9b6dff;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 15px #9b6dff, 0 0 20px #9b6dff;
    opacity: 0.8;
  }
}

.main-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 6rem 2rem 2rem;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.title-container {
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #9b6dff, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s ease-in-out infinite;
}

.animated-subtitle {
  min-height: 2rem;
}

.typed-text {
  font-size: 1.8rem;
  color: #fff;
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: #fff;
  margin-left: 2px;
  animation: blink 1s infinite;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.hero-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn.primary {
  background: linear-gradient(45deg, #9b6dff, #ff69b4);
  color: white;
  box-shadow: 0 4px 15px rgba(155, 109, 255, 0.3);
}

.hero-btn.secondary {
  background: rgba(155, 109, 255, 0.1);
  border: 2px solid #9b6dff;
  color: white;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(155, 109, 255, 0.4);
}

.network-grid {
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(155, 109, 255, 0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(155, 109, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(500px) rotateX(45deg);
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

.specialties-section {
  padding: 4rem 2rem;
}

.specialty-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.specialty-card {
  background: rgba(155, 109, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(155, 109, 255, 0.2);
}

.specialty-card:hover {
  transform: translateY(-10px);
  background: rgba(155, 109, 255, 0.2);
  border-color: #9b6dff;
}

.specialty-icon {
  font-size: 2.5rem;
  color: #9b6dff;
  margin-bottom: 1.5rem;
}

.specialty-card h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.specialty-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(155, 109, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 30px rgba(155, 109, 255, 0.8);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 30px 30px; }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .typed-text {
    font-size: 1.4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-btn {
    width: 100%;
  }
}

.portfolio-header {
  text-align: center;
  margin-bottom: 2rem;
}

.subtitle {
  color: #9b6dff;
  font-size: 1.5rem;
  margin: 1rem 0;
  text-shadow: none;
}

.subtitle::after {
  display: none;
}

.tagline {
  color: #fff;
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 1rem;
}

.portfolio-intro {
  margin: 3rem 0;
}

.intro-card {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.6), rgba(26, 26, 26, 0.6));
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(155, 109, 255, 0.3);
  box-shadow: 0 8px 32px rgba(155, 109, 255, 0.2);
}

.intro-card h3 {
  color: #9b6dff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.intro-card p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-item {
  padding: 1.5rem;
  background: rgba(155, 109, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.highlight-text {
  color: #fff;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-top: 2rem;
}

.profile-image {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.6), rgba(26, 26, 26, 0.6));
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(155, 109, 255, 0.3);
  text-align: center;
}

.profile-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #9b6dff;
}

.profile-info {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.6), rgba(26, 26, 26, 0.6));
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(155, 109, 255, 0.3);
}

.profile-info h3 {
  color: #9b6dff;
  margin-bottom: 1rem;
}

.profile-info p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-list i {
  color: #9b6dff;
  width: 20px;
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.welcome-section {
  text-align: center;
  margin: 4rem 0;
}

.welcome-title {
  font-size: 3rem;
  color: #9b6dff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.welcome-subtitle {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.welcome-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.welcome-btn {
  background: linear-gradient(45deg, #9b6dff, #6b3fa0);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(155, 109, 255, 0.4);
  font-weight: 600;
}

.welcome-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(155, 109, 255, 0.3);
  background: linear-gradient(45deg, #6b3fa0, #9b6dff);
}

/* Contact Section Styles */
.contact-section {
  margin: 4rem 0;
  text-align: center;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.6), rgba(26, 26, 26, 0.6));
  border-radius: 15px;
  padding: 2rem;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(155, 109, 255, 0.3);
  transition: all 0.3s ease;
  width: 250px;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(155, 109, 255, 0.2);
  border-color: #9b6dff;
}

.contact-card i {
  font-size: 2.5rem;
  color: #9b6dff;
  margin-bottom: 1rem;
}

.contact-card span {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.contact-cards-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cards-compact .contact-card {
  border-radius: 0;
  margin: 0;
}

.contact-cards-compact .contact-card:first-child {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  border-right: 1px solid rgba(155, 109, 255, 0.3);
}

.contact-cards-compact .contact-card:last-child {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.contact-cards-micro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cards-micro .contact-card {
  border-radius: 15px;
  margin: 0;
  width: 100%;
}

.contact-cards-micro .contact-card:first-child {
  border-right: none;
}

@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-card {
    width: 100%;
    max-width: 300px;
  }
  
  .contact-cards-compact {
    grid-template-columns: 1fr;
  }
  
  .contact-cards-compact .contact-card:first-child {
    border-radius: 15px 15px 0 0;
    border-right: none;
    border-bottom: 1px solid rgba(155, 109, 255, 0.3);
  }
  
  .contact-cards-compact .contact-card:last-child {
    border-radius: 0 0 15px 15px;
  }
  
  .contact-cards-micro {
    grid-template-columns: 1fr;
  }
  
  .contact-cards-micro .contact-card:first-child {
    border-bottom: 1px solid rgba(155, 109, 255, 0.3);
  }
}

/* CV Button Styles */
.cv-download {
  margin-top: 2rem;
  text-align: center;
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #9b6dff, #6b3fa0);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(155, 109, 255, 0.4);
  font-weight: 600;
  margin-top: 1rem;
}

.cv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(155, 109, 255, 0.3);
  background: linear-gradient(45deg, #6b3fa0, #9b6dff);
}

@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-card {
    width: 100%;
    max-width: 300px;
  }
}

.project-card {
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(155, 109, 255, 0.3);
  text-decoration: none;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-item i {
  font-size: 1.5rem;
  color: #9b6dff;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: #fff;
}

.profile-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.profile-social a {
  color: #9b6dff;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.profile-social a:hover {
  color: #fff;
  transform: translateY(-3px);
}

/* New Profile Styles */
.profile-hero {
  min-height: 40vh;
  position: relative;
}

.profile-container {
  max-width: 1200px;
  margin: -100px auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.profile-card {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.95), rgba(26, 26, 26, 0.95));
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(155, 109, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(45deg, rgba(155, 109, 255, 0.1), rgba(255, 105, 180, 0.1));
}

.profile-image-container {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #9b6dff;
  box-shadow: 0 0 20px rgba(155, 109, 255, 0.3);
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(155, 109, 255, 0.2), rgba(255, 105, 180, 0.2));
}

.profile-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #9b6dff, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-content {
  padding: 2rem;
}

.profile-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(155, 109, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(155, 109, 255, 0.1);
}

.profile-section h3 {
  color: #9b6dff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
}

.info-grid li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-grid i {
  color: #9b6dff;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-category h4 {
  color: #9b6dff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-list {
  list-style: none;
  padding-left: 1.5rem;
}

.skill-list li {
  margin-bottom: 0.5rem;
  position: relative;
}

.skill-list li::before {
  content: '→';
  color: #9b6dff;
  position: absolute;
  left: -1.5rem;
}

.profile-footer {
  padding: 2rem;
  background: linear-gradient(45deg, rgba(155, 109, 255, 0.1), rgba(255, 105, 180, 0.1));
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  background: linear-gradient(45deg, #9b6dff, #ff69b4);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(155, 109, 255, 0.3);
}

.cv-btn {
  background: linear-gradient(45deg, #ff69b4, #9b6dff);
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .social-links {
    flex-direction: column;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
  }
}

.logo-container {
  text-align: center;
  margin: 2rem 0;
}

.logo-large {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(155, 109, 255, 0.3));
  transition: transform 0.3s ease;
}

.logo-large:hover {
  transform: scale(1.1);
}

.presentation-section {
  padding: 4rem 2rem;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card.animated {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.6), rgba(26, 26, 26, 0.6));
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(155, 109, 255, 0.3);
  transition: all 0.3s ease;
}

.stat-card.animated:hover {
  transform: translateY(-10px);
  border-color: #9b6dff;
  box-shadow: 0 10px 30px rgba(155, 109, 255, 0.2);
}

.stat-card i {
  font-size: 2.5rem;
  color: #9b6dff;
  margin-bottom: 1rem;
}

.values-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.3), rgba(26, 26, 26, 0.3));
  border-radius: 20px;
  margin: 2rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.6), rgba(26, 26, 26, 0.6));
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(155, 109, 255, 0.3);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: #9b6dff;
  box-shadow: 0 10px 30px rgba(155, 109, 255, 0.2);
}

.value-card i {
  font-size: 2rem;
  color: #9b6dff;
  margin-bottom: 1rem;
}

.structure-section {
  padding: 4rem 2rem;
}

.organigramme-modern {
  width: 100%;
  max-width: 1200px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(155, 109, 255, 0.2);
  margin: 2rem 0;
  transition: transform 0.3s ease;
}

.organigramme-modern:hover {
  transform: scale(1.02);
}

.contact-info {
  padding: 4rem 2rem;
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .stats-cards, .values-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.projects-section {
  padding: 2rem 0;
}

.project-cards {
  margin-top: 2rem;
}

.project-card {
  margin-bottom: 2rem;
}

.project-image {
  margin: 2rem 0;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(155, 109, 255, 0.3);
  box-shadow: 0 10px 30px rgba(155, 109, 255, 0.2);
  transition: transform 0.3s ease;
}

.project-image:hover {
  transform: scale(1.02);
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-details {
  padding: 2rem 0;
}

.project-details h4 {
  color: #9b6dff;
  margin: 1.5rem 0 1rem 0;
  font-size: 1.2rem;
}

.project-description {
  margin: 1rem 0;
  line-height: 1.6;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.project-grid .project-card {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.6), rgba(26, 26, 26, 0.6));
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(155, 109, 255, 0.3);
  transition: all 0.3s ease;
}

.project-grid .project-card:hover {
  transform: translateY(-5px);
  border-color: #9b6dff;
  box-shadow: 0 10px 30px rgba(155, 109, 255, 0.2);
}

.project-grid .project-image {
  margin: 1.5rem 0;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon {
  width: 100%;
  height: 150px;
  filter: drop-shadow(0 4px 8px rgba(155, 109, 255, 0.3));
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.image-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  padding: 20px;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1002;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: rgba(155, 109, 255, 0.5);
  transform: scale(1.1);
}

.image-card img:not(.project-card img),
.server-images img:not(.project-card img),
.profile-image img:not(.project-card img),
.solution-images img:not(.project-card img) {
    cursor: zoom-in;
}

.project-card img {
    cursor: default;
}

.image-card img,
.server-images img,
.profile-image img,
.project-image img {
  cursor: zoom-in;
}

.contact-layout {
  padding: 2rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  color: #9b6dff;
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.contact-method-card {
  background: rgba(155, 109, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(155, 109, 255, 0.3);
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  transform: translateY(-5px);
  border-color: #9b6dff;
  box-shadow: 0 10px 30px rgba(155, 109, 255, 0.2);
}

.contact-icon {
  font-size: 2.5rem;
  color: #9b6dff;
  margin-bottom: 1.5rem;
}

.contact-method-card h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.contact-method-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.contact-button {
  display: inline-block;
  background: linear-gradient(45deg, #9b6dff, #ff69b4);
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(155, 109, 255, 0.3);
}

.contact-location {
  background: rgba(155, 109, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 3rem;
  border: 1px solid rgba(155, 109, 255, 0.3);
}

.contact-location h2 {
  color: #9b6dff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.location-details p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.location-details i {
  color: #9b6dff;
}

@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .location-details {
    grid-template-columns: 1fr;
  }
}

.document-download {
    margin-top: 2rem;
    text-align: center;
}

.document-download .contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #9b6dff, #6b3fa0);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(155, 109, 255, 0.4);
    font-weight: 600;
}

.document-download .contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 109, 255, 0.3);
    background: linear-gradient(45deg, #6b3fa0, #9b6dff);
}

.note-content {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(155, 109, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(155, 109, 255, 0.2);
}

.note-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.note-content ul li {
    margin: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.note-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #9b6dff;
}

.document-link {
    margin-top: 1.5rem;
    text-align: right;
}

.document-link a {
    color: #9b6dff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.document-link a:hover {
    color: #fff;
    transform: translateX(5px);
}

.document-link i {
    font-size: 0.9em;
}
.document-container {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.image-modal {
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.image-modal-content img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.close-modal {
  position: fixed;
  right: 20px;
  top: 20px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1002;
}

.image-card img:not(.project-card .project-image img),
.server-images img:not(.project-card .project-image img),
.profile-image img:not(.project-card .project-image img),
.solution-images img:not(.project-card .project-image img) {
  cursor: zoom-in;
}

.project-card .project-image img {
  cursor: default;
}

.image-card img,
.server-images img,
.profile-image img,
.project-image img {
  cursor: zoom-in;
}