/* ===== Root Variables ===== */
:root {
  --primary-color: #1A73EE;
  --secondary-color: #6D35C8;
  --accent-color: #33D895;
  --dark-color: #2A2E35;
  --light-color: #F1F1F1;
  --highlight-color: #F7A541;
  --primary-gradient: linear-gradient(135deg, #1A73EE 0%, #6D35C8 100%);
  --secondary-gradient: linear-gradient(135deg, #6D35C8 0%, #33D895 100%);
  --success-gradient: linear-gradient(135deg, #33D895 0%, #1A73EE 100%);
  --text-dark: #2A2E35;
  --text-muted: #6c757d;
  --bg-light: #F1F1F1;
  --shadow-sm: 0 2px 8px rgba(42, 46, 53, 0.05);
  --shadow-md: 0 4px 12px rgba(42, 46, 53, 0.1);
  --shadow-lg: 0 8px 24px rgba(42, 46, 53, 0.15);
}

/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
  
}

.container {
  max-width: 1200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
}

/* ===== Glass Morphism Effect ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===== Modern Navigation ===== */
.modern-navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.modern-navbar.scrolled {
  padding: 0.25rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.logo-img {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
  transform: scale(1.05);
}

.modern-navbar .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.modern-navbar .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.modern-navbar .nav-link:hover::before,
.modern-navbar .nav-link.active::before {
  width: 70%;
}

.modern-navbar .nav-link:hover {
  color: var(--primary-color);
  background: rgba(102, 126, 234, 0.05);
}

.btn-gradient-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.navbar-toggler {
  padding: 0.5rem;
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero-section {
  /*width: 1200px;*/
  padding: 20px;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-gradient);
  top: 10%;
  left: 10%;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary-gradient);
  bottom: 10%;
  right: 10%;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--success-gradient);
  top: 50%;
  left: 50%;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-illustration {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.hero-svg {
  width: 100%;
  border-radius: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(102, 126, 234, 0.3));
}

.floating-tech-icon {
  position: absolute;
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.floating-tech-icon:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.floating-tech-icon i {
  font-size: 2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.icon-1 {
  top: 5%;
  left: -5%;
  animation-delay: 0s;
}

.icon-2 {
  top: 15%;
  right: -5%;
  animation-delay: -1s;
}

.icon-3 {
  bottom: 30%;
  left: -8%;
  animation-delay: -2s;
}

.icon-4 {
  bottom: 20%;
  right: -8%;
  animation-delay: -1.5s;
}

.icon-5 {
  top: 50%;
  left: -10%;
  animation-delay: -2.5s;
}

.icon-6 {
  bottom: 5%;
  right: 0;
  animation-delay: -3s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== Stats Boxes ===== */
.stats-box {
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.stats-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.3);
}

.stats-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.stats-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Education Cards ===== */
.education-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.education-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.education-card:hover .education-icon {
  transform: scale(1.15) rotate(5deg);
}

.education-card h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  min-height: 50px;
}

/* ===== Skills ===== */
.skill-card {
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.skill-icon {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.skill-icon-colored {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon-colored {
    transform: scale(1.2) rotate(5deg);
}

.progress {
    height: 10px;
    border-radius: 10px;
    background: #e2e8f0;
    margin-top: 1rem;
}

.progress-bar {
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 1s ease;
}

/* ===== Tools ===== */
.tool-card {
  padding: 2rem;
  transition: all 0.3s ease;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.tool-icon {
    font-size: 3rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tool-icon-colored {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.tool-card:hover .tool-icon-colored {
    transform: scale(1.2) rotate(-5deg);
}

/* ===== Services ===== */
.service-card {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 3.5rem;
  background: var(--success-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(-5deg);
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* ===== Portfolio ===== */
.portfolio-card {
  overflow: hidden;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-content p {
  flex-grow: 1;
}

/* ===== Gallery ===== */
.gallerySwiper {
  padding: 2rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1.5rem;
  font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* ===== Contact ===== */
.contact-info {
  padding: 2rem;
}

/* ===== About Section ===== */
.about-image-wrapper {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.profile-photo-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    transition: all 0.4s ease;
}

.profile-photo-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 30px;
    z-index: -1;
}

.profile-photo-container:hover::before {
    opacity: 0.8;
}

.profile-photo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.4);
}

.profile-photo {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.experience-badge:hover {
    transform: translateY(-5px);
}

.badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.badge-content h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-progress {
    margin-top: 2rem;
}

.skill-item .progress {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-item .progress-bar {
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.btn-outline-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--primary-gradient) border-box;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.about-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== Contact Section ===== */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.25rem;
}

.contact-item h6 {
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin: 0;
  color: var(--text-muted);
}

.contact-section .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-section .social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.contact-section .social-links a:hover {
  transform: translateY(-5px) rotate(360deg);
  box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 2rem 0;
  margin-top: 5rem;
}

.footer a {
  color: var(--primary-color);
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20ba5a;
  color: white;
}

/* ===== Modal ===== */
.modal-content {
  border-radius: 20px;
  border: none;
}

.modal-header {
  border-bottom: 2px solid #f0f0f0;
  padding: 1.5rem;
}

.modal-body {
  padding: 2rem;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* ===== Toast ===== */
.toast {
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

/* ===== Section Graphics ===== */
.graphic-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.graphic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.graphic-card:hover::before {
    left: 100%;
}

.graphic-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.section-graphic {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* ===== Modern Footer ===== */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    margin-top: 5rem;
}

.footer-top {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: auto;
    max-width: 160px;
    filter: none;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links ul li a i {
    font-size: 0.7rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

.footer-links ul li a:hover i {
    transform: translateX(3px);
}

.footer-contact ul li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: start;
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}
    .hero-section {
        text-align: center;
    }
    
    .hero-illustration {
        margin-top: 3rem;
    }
    
    .floating-tech-icon {
        width: 50px;
        height: 50px;
    }
    
    .floating-tech-icon i {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .section-graphic {
        max-width: 200px;
    }
    
    .stats-box h3 {
        font-size: 2rem;
    }
}