* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #F8F8F8;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(0, 0, 128, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 0, 128, 0.8), 0 0 30px rgba(0, 0, 128, 0.4);
  }
}

.animate {
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
}

.fadeInDown { animation-name: fadeInDown; }
.fadeInUp { animation-name: fadeInUp; }

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

.pulse-infinite {
  animation: pulse 2s infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-bounce {
  opacity: 0;
  transform: translateY(0);
  transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  will-change: opacity, transform;
}

.reveal-bounce.active {
  opacity: 1;
  animation: bounceInFromZero 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes bounceInFromZero {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-scale-bounce {
  opacity: 0;
  transform: scale(1);
  transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  will-change: opacity, transform;
}

.reveal-scale-bounce.active {
  opacity: 1;
  animation: scaleBounceIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes scaleBounceIn {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal-flip {
  opacity: 0;
  transform: perspective(400px) rotateY(90deg);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-flip.active {
  opacity: 1;
  transform: perspective(400px) rotateY(0deg);
}

.reveal-rotate {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-rotate.active {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.reveal-slide-bounce {
  opacity: 0;
  transform: translateX(0);
  transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  will-change: opacity, transform;
}

.reveal-slide-bounce.active {
  opacity: 1;
  animation: slideBounceIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes slideBounceIn {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal-fade-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-fade-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.portfolio-hero {
  padding: 120px 0 80px 0;
  background: url('../imgs/Banner\ Portfolio.jpg') center center/cover no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: "Montserrat", Sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.1;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: "Montserrat", Sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.6;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.portfolio-tabs {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.portfolio-tabs * {
  display: none !important;
  visibility: hidden !important;
}

.tab-button {
  background: transparent;
  border: 2px solid #e0e0e0;
  color: #666;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.tab-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.tab-button:hover::before {
  left: 0;
}

.tab-button:hover {
  color: white;
  border-color: #000059;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 89, 0.3);
}

.tab-button.active {
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  border-color: #000059;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 89, 0.4);
}

.tab-button.active::before {
  left: 0;
}

.project-card {
  transition: all 0.4s ease;
}

.project-card.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  overflow: hidden;
  transition: all 0.4s ease;
}

.project-card.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .portfolio-tabs {
    display: none !important;
  }
  
  .tab-button {
    padding: 12px 20px;
    font-size: 14px;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .portfolio-tabs {
    display: none !important;
  }
  
  .tab-button {
    width: 100%;
    max-width: 280px;
  }
}
.projects-section {
  padding: 100px 0;
  background: #F8F8F8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 80px 80px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  opacity: 1;
  
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 25px 30px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-name {
  font-family: "Montserrat", Sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000080;
  margin-bottom: 8px;
  line-height: 1.2;
}

.project-location {
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4D7279;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: "Montserrat", Sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.tag-line {
  background: linear-gradient(135deg, #223E70 0%, #000059 100%);
  color: #ffffff;
  border: 1px solid #223E70;
}

.tag-category {
  background: rgba(0, 0, 128, 0.1);
  color: #000080;
  border: 1px solid rgba(0, 0, 128, 0.2);
}

.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.project-arrow {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000080;
  font-size: 16px;
  transition: all 0.3s ease;
}

.project-card:hover .project-arrow {
  background: rgba(0, 0, 128, 0.1);
  transform: translateX(5px);
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #000059 0%, #223E70 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: "Montserrat", Sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Montserrat", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  background: #20b85a;
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.cta-button i {
  font-size: 20px;
}

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.floating-whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.floating-whatsapp a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .hero-title {
    font-size: 52px;
  }
  
  .cta-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .portfolio-hero {
    padding: 100px 0 60px 0;
  }
  
  .hero-title {
    font-size: 42px;
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .projects-section {
    padding: 80px 0;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 20px;
  }
  
  .project-image {
    height: 300px;
  }
  
  .project-info {
    padding: 20px 25px;
  }
  
  .project-name {
    font-size: 20px;
  }
  
  .project-location {
    font-size: 14px;
  }
  
  .project-arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .project-tags {
    margin-top: 10px;
    gap: 6px;
  }
  
  .tag {
    padding: 3px 10px;
    font-size: 11px;
  }
  
  .cta-section {
    padding: 80px 0;
  }
  
  .cta-title {
    font-size: 36px;
    margin-bottom: 30px;
  }
  
  .cta-button {
    padding: 15px 30px;
    font-size: 16px;
  }
  
  .floating-whatsapp {
    bottom: 25px;
    right: 25px;
  }
  
  .floating-whatsapp a {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .portfolio-hero {
    padding: 80px 0 50px 0;
  }
  
  .hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .projects-section {
    padding: 60px 0;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .project-image {
    height: 250px;
  }
  
  .project-info {
    padding: 20px 15px;
  }
  
  .project-name {
    font-size: 18px;
  }
  
  .project-location {
    font-size: 13px;
  }
  
  .project-arrow {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .project-tags {
    margin-top: 8px;
    gap: 5px;
  }
  
  .tag {
    padding: 2px 8px;
    font-size: 10px;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 14px;
  }
  
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-whatsapp a {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .cta-title {
    font-size: 24px;
  }
  
  .cta-button {
    padding: 10px 20px;
    font-size: 13px;
  }
}
.project-image img {
  background: #f0f0f0;
  background-image: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.project-image img[src] {
  background: none;
  animation: none;
}
.project-card:focus {
  outline: 3px solid #000080;
  outline-offset: 2px;
}

.cta-button:focus {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.floating-whatsapp a:focus {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .animate,
  .reveal,
  .project-card,
  .project-image img,
  .cta-button,
  .floating-whatsapp a {
    animation: none;
    transition: none;
  }
  
  .project-card:hover {
    transform: none;
  }
  
  .project-card:hover .project-image img {
    transform: none;
  }
}
