/* Custom Styles */

/* Colors */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f8fafc;
    --accent-color: #7c3aed;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --bg-light: #0f172a;
    --bg-white: #1e293b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--bg-white);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-top: 6rem;
}
@media screen and (max-width: 1100px) {
    .hero-content {
        padding-top: 1rem;
    }
}


.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 4px solid var(--primary-color);
}

/* Como Trabalho Section */
.como-trabalho-section {
    background-color: var(--bg-light);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Experiência Section */
.experience-section {
    background-color: var(--bg-white);
}

.experience-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.experience-card .card-body {
    padding: 1.75rem;
}

.experience-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.experience-card .company {
    font-size: 1rem;
    font-weight: 600;
}

.experience-card .period {
    font-size: 0.875rem;
}

.experience-card ul li {
    margin-bottom: 0.75rem;
}

.experience-card ul li i {
    width: 1.25rem;
}

/* Formação Acadêmica Section */
.education-section {
    background-color: var(--bg-white);
}

.education-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.education-card .card-body {
    padding: 1.75rem;
}

.education-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-card .institution {
    font-size: 1rem;
    font-weight: 600;
}

.education-card .period {
    font-size: 0.875rem;
}

.education-card ul li {
    margin-bottom: 0.75rem;
}

.education-card ul li i {
    width: 1.25rem;
}

/* Certificações e Cursos */
.certificate-card, .course-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.certificate-card:hover, .course-card:hover {
    background-color: var(--bg-white);
    transform: translateY(-2px);
}

.certificate-card h5, .course-card h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.certificate-card p, .course-card p {
    margin-bottom: 0.25rem;
}

.certificate-card .period, .course-card .period {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.course-card i {
    font-size: 1.5rem;
    width: 40px;
}

.course-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.course-card p {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.course-card .period {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Habilidades Section */
.skills-section {
    background-color: var(--bg-light);
}

.skill-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.skill-card .card-body {
    padding: 1.75rem;
}

.skill-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.tech-stack {
    margin-top: 1.5rem;
}

.tech-item {
    margin-bottom: 1.5rem;
}

.tech-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.tech-item h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.tech-item p {
    margin-bottom: 0.5rem;
}

.progress {
    height: 6px;
    background-color: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-body {
    padding: 2rem;
}

.como-trabalho-section .card-body {
    padding: 1.5rem;
}

.como-trabalho-section .card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.como-trabalho-section .card-body p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.como-trabalho-section .card-body ul {
    margin-bottom: 0;
}

.como-trabalho-section .card-body li {
    margin-bottom: 0.75rem;
}

.como-trabalho-section .card-body li i {
    width: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Navbar Scroll Effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    position: relative;
    padding: 0.75rem 0 !important;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Project Cards */
.projects-section {
    background-color: var(--bg-light);
}

.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card .card-body {
    padding: 1.75rem;
}

.project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.project-card .badge {
    font-size: 0.875rem;
    padding: 0.35em 0.75em;
}

.project-card .project-actions {
    display: flex;
    gap: 0.5rem;
}

.project-card .project-actions .btn {
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
}

.project-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-details p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.project-tech {
    margin-bottom: 1rem;
}

.project-tech .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    color: var(--text-color);
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.project-actions a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.project-actions a:hover {
    color: var(--primary-dark);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 4rem 0;
}

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

.timeline-item {
    position: relative;
    padding: 2rem 0;
}

.timeline-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    max-width: 500px;
    margin-left: 100px;
}

.timeline-content h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.timeline-content .period {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.timeline-content .responsibilities {
    margin-bottom: 1.5rem;
}

.timeline-content .responsibilities li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.timeline-content .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-content .tech-stack .badge {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 0.5rem 1rem;
}

/* Articles */
.articles-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-meta .badge {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 0.5rem 1rem;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Skills Grid */
.skills-section {
    padding: 4rem 0;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: background 0.3s ease;
    flex-direction: column;
    align-items: flex-start;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.skill-item i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

/* About Section */
.about {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text {
  color: var(--text-light);
}

.about-text h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Skills Section */
.skills {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  overflow: hidden;
}

.section-title {
  color: white !important;
}

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

.skill-category {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
}

.skill-category h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-category h3 i {
  color: var(--primary-color);
  font-size: 1.75rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.skill-percent {
  color: var(--primary-color);
  font-weight: 600;
}

.skill-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 4px;
  transition: width 1.5s ease-in-out;
}
.rounded-circle {
    border-radius: 50%;
}

/* Portfolio Section */
.portfolio {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-info h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.portfolio-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.portfolio-links {
  display: flex;
  gap: 1rem;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.portfolio-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--secondary-color);
}

.contact-text p,
.contact-text a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .skills-container {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --secondary-color: #f8fafc;
    --bg-light: #0f172a;
    --bg-white: #1e293b;
  }
  
  body {
    background-color: #0f172a;
    color: var(--text-color);
  }
  
  .card,
  .skill-category,
  .contact-form input,
  .contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
  }
  
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
  }
  
  .filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
  }
  
  .navbar {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
  }
  
  .nav-link {
    color: var(--text-color) !important;
  }
}
.footer-section{
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.accordion-button{
  color:white;
}

.accordion-body {
  background-color: #23334e !important;
}

.course-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.course-card h5 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.course-card p {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.course-card i {
    font-size: 1.2rem;
}

.hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Animações para a seção Como Trabalho */
.about-section {
    transform: rotate(-3deg);
    opacity: 0.8;
    transition: transform 2s ease-in-out;
}

.about-section .section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* Hero Section Animation */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a192f 0%, #142340 100%);
    padding: 2rem 1rem;
}

.hero-section .hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-section.observer-visible .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-section .hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #64ffda 0%, #9bf6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.hero-section .hero-content p {
    font-size: 1.25rem;
    background: linear-gradient(135deg, #64ffda 0%, #9bf6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.3);
}

.hero-section .hero-content .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-section .hero-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.hero-section .hero-content .btn:hover::before {
    left: 100%;
}

.hero-section .hero-content .btn-primary {
    background: linear-gradient(135deg, #64ffda 0%, #9bf6ff 100%);
    border: none;
    color: #0a192f;
}

.hero-section .hero-content .btn-outline-primary {
    border: 2px solid #64ffda;
    color: #64ffda;
}

.hero-section .hero-content .btn-outline-primary:hover {
    background: linear-gradient(135deg, #64ffda 0%, #9bf6ff 100%);
    color: #0a192f;
}

.hero-section .hero-content .progress-bar {
    background: linear-gradient(135deg, #64ffda 0%, #9bf6ff 100%);
    height: 12px;
    border-radius: 6px;
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

.progress-bar-animated {
    animation: 1s linear infinite progress-bar-stripes;
}

@keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }
    to {
        background-position: 0 0;
    }
}

/* Ajuste para progress bars específicos */
.skill-card .progress-bar {
    height: 12px;
    border-radius: 6px;
}

.hero-section img {
    position: relative;
    z-index: 1;
    transform: scale(0.8);
    transition: all 0.5s ease;
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
}

.hero-section.observer-visible img {
    transform: scale(1);
}

/* Estilos para o efeito de onda nos botões */
.hero-section .btn .wave {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: all 1s ease-out;
}

/* Responsividade para Hero Section */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-section .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-section img {
        max-width: 250px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 1rem;
    }
    
    .hero-section .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-section .hero-content p {
        font-size: 1rem;
    }
    
    .hero-section img {
        max-width: 200px;
    }
    
    .hero-section .hero-content .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 0.5rem;
    }
    
    .hero-section .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .hero-section img {
        max-width: 350px;
    }
    
    .hero-section .hero-content .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Responsividade para imagens dos projetos */
.project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

@media (max-width: 991.98px) {
    .project-image img {
        height: 15em;
    }
}

@media (max-width: 767.98px) {
    .project-image img {
        height: 12em;
    }
}

@media (max-width: 575.98px) {
    .project-image img {
        height: 10em;
    }
}

.about-section .card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    will-change: opacity, transform;
}

.about-section .card:nth-child(1) {
    transition-delay: 0.2s;
}

.about-section .card:nth-child(2) {
    transition-delay: 0.4s;
}

.about-section .card:nth-child(3) {
    transition-delay: 0.6s;
}

.about-section.observer-visible .card {
    opacity: 1;
    transform: translateY(0);
}

.about-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.about-section .card:hover .icon-circle {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.about-section .card:hover .card-body {
    padding: 1.25rem;
    transition: padding 0.3s ease;
}

.about-section .icon-circle {
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Animações gerais */
.card {
    will-change: opacity, transform;
}

.progress-bar {
    will-change: width;
}

.counter {
    will-change: opacity, transform;
}

.badge {
    will-change: opacity, transform;
}