* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    scroll-behavior: smooth;
}

/* Animações base */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Classes de animação */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero {
    background-image: url('../assets/fundo-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(7, 16, 29, 0.3) 0%, rgba(17, 30, 73, 0.2) 100%);
    animation: fadeIn 1s ease-out;
}

.logo {
    width: 450px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Corrigido de #tittle para #hero-title para corresponder ao HTML */
#hero-title {
    margin-left: 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 35ch;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 50ch;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    margin-top: 2rem;
    padding: 15px 30px;
    background-color: #FFFFFF;
    color: #020617;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    animation: fadeInUp 1s ease-out 0.8s both;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(17, 30, 73, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: #00ff22ff;
}

.hero-image {
    max-height: 70vh;
    width: auto;
    align-self: flex-end;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: slideInRight 1s ease-out 0.5s both;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

#tservices {
    font-size: 2.4rem;
    color: #07101dff;
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#tservices.animated {
    opacity: 1;
    transform: translateY(0);
}

#span_ajudar {
    background-color: #111e49ff;
    color: #FFFFFF;
    padding: 2px 12px;
    border-radius: 8px;
}

.card_services {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.service-card-container {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap; 
    padding: 3rem 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

/* No mobile, muda para layout em coluna */
@media (max-width: 768px) {
    .service-card-container {
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
        justify-content: center;
    }
}

/* Esconde a barra de rolagem para Chrome, Safari e Opera */
.service-card-container::-webkit-scrollbar {
    display: none;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #172554;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.1);
    width: 430px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: relative;
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.15),
                0 4px 8px -2px rgba(0, 0, 0, 0.1);
    border-color: #111e49;
}

/* Card menor para "Outros Serviços" - altura reduzida no desktop */
.service-card-small {
    width: 350px;
    padding: 0.6rem 0.9rem;
    border: 0.5px solid #172554;
    height: auto;
    max-height: 160px;
    display: flex;
    flex-direction: column;
}

.service-card-small h3 {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.service-card-small .short-description {
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
}

.service-card-small .card-footer {
    margin-top: 0.2rem;
    padding-top: 0.4rem;
}

.service-card-small .whatsapp-btn {
    padding: 8px 0;
    font-size: 0.8rem;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #172554;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.service-card .short-description {
    color: #475569;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* Long Description — sempre visível */
.service-card .long-description {
    color: #334155;
    font-size: 0.875rem;
    text-align: left;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.whatsapp-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    background-color: #25D366;
    color: #000000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.whatsapp-btn:hover::before {
    width: 300px;
    height: 300px;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.whatsapp-btn .whatsapp-icon {
    color: #000000;
}

/* Otimizações de animação - respeita preferências de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
        min-height: 80vh;
        padding: 2rem 1rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-image {
        display: none;
    }

    .logo {
        width: 70%;
        max-width: 280px;
        margin-bottom: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    #tservices {
        font-size: 1.6rem;
        padding: 0 1rem;
    }

    .card_services {
        padding: 2rem 0;
    }

    .service-card-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
        justify-content: center;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        scroll-snap-align: none;
    }

    .service-card-small {
        width: 100%;
        max-width: 100%;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card .short-description {
        font-size: 0.8rem;
    }

    .service-card .long-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .whatsapp-btn {
        padding: 10px 0;
        font-size: 0.85rem;
    }
}

/* --- Footer --- */
.footer {
  background-color: #0a1229; /* Cor final do gradiente do aboutme */
  color: #ffffff;
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  width: 250px;
  height: auto;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1; /* Cinza claro para informações secundárias */
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
}

.footer-contact:hover {
  color: #ffffff;
}

.footer-contact-whatsapp {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.footer-contact-instagram {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(167, 189, 239, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.footer-contact-instagram:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(167, 189, 239, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.footer-contact-instagram:active {
  transform: translateY(0);
  box-shadow: none;
}

.footer-contact-instagram:focus-visible {
  outline: 3px solid rgba(167, 189, 239, 0.8);
  outline-offset: 3px;
}

.footer-contact-whatsapp:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(37, 211, 102, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.footer-contact-whatsapp:active {
  transform: translateY(0);
  box-shadow: none;
}

.footer-contact-whatsapp:focus-visible {
  outline: 3px solid rgba(167, 189, 239, 0.8);
  outline-offset: 3px;
}

.footer-whatsapp-icon {
  width: 18px;
  height: 18px;
  color: #25D366;
  flex: 0 0 auto;
}

.footer-instagram-icon {
  width: 18px;
  height: 18px;
  color: #a7bdef;
  flex: 0 0 auto;
}

.footer-whatsapp-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-separator {
  color: #475569;
  user-select: none;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: #ffffff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #a7bdef; /* Um azul claro para o hover */
  transform: scale(1.1);
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b; /* Linha sutil de separação */
  width: 100%;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

@media (max-width: 600px) {
  .footer-logo {
    width: 200px;
  }
  .footer-contact {
    font-size: 0.9rem;
  }
  .footer-contact-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
  }
  .footer-contact-instagram {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
  }
  .footer-separator {
    display: none;
  }
}

.footer-credit {
  margin-top: 1rem;
}

.footer-credit p {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}

.footer-credit a {
  color: #a7bdef;
  text-decoration: none;
}
.wave-move {
    animation: wave-move 15s ease-in-out infinite alternate;
}

@keyframes wave-move {
    from { transform: translateX(-50px); }
    to   { transform: translateX(50px); }
}

.aboutme {
  position: relative;
  background: linear-gradient(to bottom, #111e49 70%, #0a1229);
  padding: 4rem 2rem 4rem; /* Diminuído para subir o conteúdo */
  color: #fff;
  padding-left: 5%; /* Aumenta o espaço à esquerda */
  margin-top: 160px; /* Aumentado para afastar ainda mais dos testimonials */
}

.wave-wrapper {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: visible; /* Permite que o SVG "sangre" para fora do contêiner */
  line-height: 0;
  pointer-events: none;
}

.wave-svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px; /* Altura original restaurada */
}

/* Paths das ondas com cores diferentes */
.wave-path-1 {
  fill: rgba(17, 30, 73, 0.3); /* Mais transparente, mais atrás */
}

.wave-path-2 {
  fill: rgba(17, 30, 73, 0.6); /* Meio termo */
}

.wave-path-3 {
  fill: #111e49; /* Cor sólida, frente */
}

@keyframes wave-move-1 {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-25px) translateY(-5px);
  }
}

@keyframes wave-move-2 {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(25px) translateY(-3px);
  }
}

@keyframes wave-move-3 {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-20px) translateY(-2px);
  }
}

.aboutme-container {
  max-width: 1200px; /* Aumenta um pouco a largura máxima */
  margin: 0 auto; /* Centraliza o container na página */
  position: relative; 
  z-index: 1;
  display: flex;
  flex-wrap: wrap; /* Permite que os itens quebrem a linha em telas menores */
  align-items: center; /* Alinha o conteúdo verticalmente ao centro */
  justify-content: space-between; /* Empurra o texto para a esquerda e a foto para a direita */
  gap: 2rem; /* Adiciona um espaço entre o texto e as fotos */
}

.aboutme h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.aboutme h2.animated {
  opacity: 1;
  transform: translateY(0);
}

.aboutme h2 span {
  background-color: #FFFFFF; /* Fundo branco para contraste */
  color: #111e49; /* Texto na cor da seção */
  padding: 2px 12px;
  border-radius: 8px;
}

.aboutme p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 70ch;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.aboutme p.animated {
  opacity: 1;
  transform: translateY(0);
}

.aboutme-text {
  flex: 1;
  min-width: 300px; /* Garante uma largura mínima para o texto */
  max-width: 65ch; /* Limita a largura do texto para melhor legibilidade */
}

.aboutme-photo {
  flex-basis: 450px;
  height: auto;
  min-height: 600px;
  max-width: 100%;
  border-radius: 12px;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
  display: flex;
  flex-direction: column;
  padding-bottom: 60px;
}

.aboutme-photo.animated {
  opacity: 1;
  transform: scale(1);
}

.slider-wrapper {
  width: 100%;
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
}

.slider-container {
  display: flex;
  height: 600px;
  transition: transform 0.5s ease-in-out;
  flex-shrink: 0;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  max-width: 100%;
  background-color: transparent;
}

.slider-controls {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  pointer-events: all;
  flex-shrink: 0;
  z-index: 10;
}

.slider-btn {
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all; /* Habilita cliques nos botões */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.slider-btn:active {
  transform: scale(0.95);
}

/* Responsivo */
@media (max-width: 900px) {
  .aboutme {
    margin-top: 120px;
    padding: 5rem 2rem 3rem;
  }
  
  .wave-wrapper {
    top: -60px;
    height: 60px;
  }
  
  .wave-svg {
    height: 90px;
  }
  
  .aboutme h2 {
    font-size: 2rem;
  }
  
  .aboutme p {
    font-size: 1.1rem;
  }

  .aboutme-container {
    flex-direction: column;
    text-align: center;
  }

  .aboutme h2, .aboutme p {
    text-align: center;
  }

  .aboutme-photo {
    order: 1;
    margin-top: 2rem;
    margin-bottom: 0;
    height: auto;
    min-height: 450px;
    max-height: none;
    padding-bottom: 60px;
  }

  .slider-container {
    height: 450px;
  }
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        /* Move o contêiner pela metade de sua largura total, criando o loop */
        transform: translateX(-50%);
    }
}

.testimonials {
    background-color: #f8fafc; /* Cor de fundo restaurada */
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
}

.testimonials h2 {
    font-size: 2.2rem;
    color: #07101d;
    margin-bottom: 3rem; /* Aumenta o espaço para os cards */
    font-weight: 700;
}

.testimonials h2 span {
    background-color: #111e49ff;
    color: #ffffffff;
    padding: 2px 12px;
    border-radius: 8px;
}

.testimonial-cards-container {
    display: flex;
    gap: 2rem;
    padding: 1rem 2rem;
    justify-content: flex-start;    
    animation: scroll 40s linear infinite;
    -ms-overflow-style: none;  /* IE e Edge */
    scrollbar-width: none;  /* Firefox */
}

.testimonial-cards-container:hover {
    animation-play-state: paused;
}

.testimonial-cards-container::-webkit-scrollbar {
    display: none; /* Esconde a barra de rolagem */
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.1);
    width: 340px; /* Largura base */
    border: 1px solid #172554;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: #334155;
    margin-top: 0;
    margin-bottom: 1.5rem; /* Espaço entre o texto e o autor */
    flex-grow: 1; /* Faz o texto ocupar o espaço disponível */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author span {
    font-weight: 700;
    color: #172554;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
/* Responsividade Mobile - Testimonials e outras seções */
@media (max-width: 768px) {
    .testimonials {
        padding: 2rem 0;
    }

    .testimonials h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .testimonial-cards-container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .testimonial-card {
        width: 280px;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-author span {
        font-size: 0.85rem;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }

    .aboutme {
        margin-top: 80px;
        padding: 3rem 1rem 2rem;
    }

    .aboutme-container {
        flex-direction: column;
        gap: 2rem;
    }

    .aboutme-text {
        min-width: 100%;
        max-width: 100%;
    }

    .aboutme h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .aboutme p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .aboutme-photo {
        flex-basis: auto;
        width: 100%;
        height: auto;
        min-height: 700px;
        max-height: none;
        order: 1;
        margin-top: 2rem;
        padding-bottom: 60px;
    }

    .slider-container {
        height: 700px;
    }

    .slide {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: transparent;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-logo {
        width: 200px;
    }

    .footer-contact {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 1rem;
    }

    .footer-copyright p {
        font-size: 0.75rem;
    }

    .footer-credit p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .logo {
        width: 60%;
        max-width: 250px;
    }

    #tservices {
        font-size: 1.4rem;
    }

    .service-card {
        padding: 0.875rem;
    }

    .testimonial-card {
        width: 260px;
        padding: 1.25rem;
    }

    .aboutme-photo {
        height: auto;
        min-height: 700px;
        max-height: none;
        order: 1;
        margin-top: 1.5rem;
        padding-bottom: 60px;
    }

    .slider-container {
        height: 700px;
    }

    .slide {
        object-fit: contain;
        background-color: transparent;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
    }

    .slider-btn svg {
        width: 18px;
        height: 18px;
    }

    .aboutme h2 {
        font-size: 1.6rem;
    }

    .aboutme p {
        font-size: 0.9rem;
    }
}
