/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0e1111;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

/* Global smooth transitions */
*, *::before, *::after {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation optimization */
a, button, img, .carousel-item, .skillCard {
  will-change: transform;
}

#logo {
  width: 40px;
  height: 40px;
  margin-left: 32px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

#logo:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0px 20px;
  background-color: #0e1111;
  color: #f2f0ef;
  box-shadow: #0e1111 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  max-width: 100vw;
}

.navItems {
  display: flex;
  color: #f2f0ef;
  align-items: center;
}

.navItems a {
  margin-right: 32px;
  color: #f2f0ef;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.navItems a:hover {
  transform: translateY(-2px);
}

.navItems a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3185FC;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navItems a:hover::before {
  width: 100%;
}

.navItems .navItem4 {
  background-color: #f2f0ef;
  color: #0e1111;
  padding: 8px 16px;
  border-radius: 16px;
  font-weight: bold;
  border: #0e1111 3px solid;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.navItems .navItem4:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: #3185FC;
  color: #f2f0ef;
  border-color: #3185FC;
  box-shadow: 0 8px 25px rgba(49, 133, 252, 0.3);
}

.navItem4 {
  transition: all ease .5s;
}

.navItem2,
.navItem3,
.navItem5 {
  position: relative;
  text-decoration: none;
}

.navItem2::before,
.navItem3::before,
.navItem5::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3185FC;
  transition: width 0.3s ease;
}

.navItem2:hover::before,
.navItem3:hover::before,
.navItem5:hover::before {
  width: 100%;
}

.navItem4:hover {
  background-color: #3185FC;
  color: #f2f0ef;
  border: #f2f0ef 2px solid;
  transition: all ease-in-out .5s;
}

.cta {
  height: 600px;
  width: 100%;
  display: flex;
  font-weight: 100;
  transition: all ease 1s;
  z-index: 0;
  overflow: hidden;
}

.cta1, .cta2 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta1 {
  background-color: #f2f0ef;
  background-image: url(../images/backgroundcta1.svg);
  background-position: right;
  background-repeat: no-repeat;
  flex: 65;
  flex-direction: column;
  transform: none;
  opacity: 1;
  /* Remove animation for instant appearance */
  animation: none;
  /* Ensure background image appears instantly */
  transition: none;
}

.cta2 {
  background-color: #3185FC;
  flex: 35;
  transform: none;
  opacity: 1;
  /* Remove animation for instant appearance */
  animation: none;
}

.cta h1 {
  color: #0e1111;
  font-size: 2em;
  transform: translateY(20px);
  opacity: 0;
  animation: slideInUp 1s ease-out 0.9s forwards;
}

.logo2 {
  width: 250px;
  margin: 0 120px;
  margin-top: 86.39px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.8);
  opacity: 0;
  animation: scaleIn 1s ease-out 1.2s forwards;
}

.logo2:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.name {
  transform: translateY(30px);
  opacity: 0;
  animation: slideInUp 1s ease-out 0.6s forwards;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.name:hover {
  transform: translateY(-5px) scale(1.02);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* Keyframe animations */
@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

h2 {
  color: #f2f0ef;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 2em;
  margin: 0;
}

.myWork {
  padding: 50px 20px;
  background-color: #0e1111;
  text-align: center;
}

.myworktitle {
  width: 298px;
  height: 126px;
}

.project-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.project-item {
  margin: 20px 0;
  position: relative;
}

.project-link {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f2f0ef;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #3185FC;
}

.project-image {
  position: absolute;
  top: 50%;
  right: 60%;
  width: 300px;
  height: auto;
  opacity: 0;
  border: 3px solid #f2f0ef;
  border-radius: 16px;
  transform: translateY(-50%) translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.project-item:hover .project-image {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}

.aboutMe {
  background-color: #f2f0ef;
  background-image: url(../images/wave1.svg), url(../images/wave2.svg);
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
  background-position: top, bottom;
  height: 1001px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f2f0ef;

}

.aboutmetitle {
  width: 268px;
  height: 126px;
  opacity: 0;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.aboutMeContainer {
    max-width: 700px;
    margin: auto;
    opacity: 0;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.aboutMe h3 {
  font-size: 3.5em;
  margin: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.aboutMe h3:hover {
  transform: scale(1.05);
  color: #3185FC;
}

.aboutMe h4 {
  margin: 0;
  font-weight: 400;
  font-size: 3em;
  min-height: 1.25em;
  color: #0e1111;
  font-weight: bold;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.aboutMe h4:hover {
  transform: translateX(10px);
  color: #3185FC;
}

.aboutMe p {
  margin-top: 32px;
  width: 100%;
  font-size: 1.25em;
  color: #0e1111;
  font-weight: 300;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.aboutMe p:hover {
  transform: translateX(5px);
  color: #3185FC;
}

.hidden {
  visibility: hidden;
  background-color: #0e1111;
}

footer {
  background-color: #0e1111;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.5s forwards;
}

footer h5 {
  margin: 0;
  color: #f2f0ef;
  font-size: 1em;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

footer h5:hover {
  transform: scale(1.05);
  color: #3185FC;
}

footer h5 .year {
  font-weight: 400;
}

.contact-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f2f0ef;
  color: #f2f0ef;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  margin-right: 32px;
  transform: translateY(0) scale(1);
  animation: floatButton 3s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.contact-button:hover {
  background-color: #3185FC;
  color: #f2f0ef;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0px 12px 25px rgba(49, 133, 252, 0.4), 0px 6px 15px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
}

.contact-button a {
  text-decoration: none;
  color: #0e1111;
  transition: color 0.3s ease;
}

.contact-button:hover a {
  color: #f2f0ef;
}

.contact-button img {
  width: 32px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.contact-button:hover img {
  transform: rotate(15deg) scale(1.1);
}

@keyframes floatButton {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: #f2f0ef;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgba(14, 17, 17, 0) 0%, rgba(14, 17, 17, 0) 100%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(0px);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  background: linear-gradient(135deg, rgba(14, 17, 17, 0.95) 0%, rgba(26, 66, 121, 0.5) 50%, rgba(14, 17, 17, 0.98) 100%);
  backdrop-filter: blur(20px);
}

/* Hide contact button when mobile menu is active */
.mobile-nav-overlay.active ~ .contact-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-overlay a {
  color: #f2f0ef;
  text-decoration: none;
  font-size: 1.5em;
  margin: 20px 0;
  padding: 10px 20px;
  border-radius: 0;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: none;
  position: relative;
  background: none;
  border: none;
  font-weight: 400;
}

.mobile-nav-overlay a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3185FC;
  transition: width 0.3s ease;
}

.mobile-nav-overlay a:hover::before {
  width: 100%;
}

.mobile-nav-overlay a:hover {
  background: none;
  color: #f2f0ef;
  border: none;
}

.mobile-nav-overlay.active a {
  opacity: 1;
  transform: translateY(0);
  animation: slideInUp 0.6s ease forwards;
}

.mobile-nav-overlay.active a:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-nav-overlay.active a:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-nav-overlay.active a:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel effects */
.carouselWrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.carousel {
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  width: 60%;
  max-width: 100%;
}

.carousel img {
  scroll-snap-align: start;
  width: 540px;
  height: 288px;
  margin-right: 20px;
  border-radius: 16px;
  border: #f2f0ef 3px solid;
  max-width: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  filter: brightness(0.9) contrast(1.1);
  overflow: hidden;
  will-change: transform, filter, box-shadow;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.carousel-item:hover .carousel img {
  transform: translateY(-12px) scale(1.06) translateZ(0);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 10px 25px rgba(49, 133, 252, 0.2);
  border-color: #3185FC;
  filter: brightness(1.15) contrast(1.25) saturate(1.15);
}

.carousel img:last-child {
  margin-right: 0;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  transform: scale(0.95);
  opacity: 0.8;
}

.carousel-item:hover {
  transform: scale(1.05) translateY(-10px);
  opacity: 1;
  z-index: 2;
}

.carousel-item.active {
  transform: scale(1);
  opacity: 1;
  z-index: 1;
}

/* Carousel buttons */

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f2f0ef;
  color: #0e1111;
  padding: 8px 16px;
  border-radius: 16px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
  border: none;
}

.carousel-button:hover {
  background-color: #3185FC;
  color: #f2f0ef;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-button-left {
  left: 20px;
}

.carousel-button-right {
  right: 20px;
}

/* Carousel dots */

.carousel-dots {
  width: 100%;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(241, 240, 239, 0.5);
  border-radius: 50%;
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}

.carousel-dot:hover {
  background-color: rgba(49, 133, 252, 0.7);
  transform: scale(1.2);
}

.carousel-dot.active {
  background-color: #3185FC;
  width: 16px;
  height: 16px;
  box-shadow: 0px 0px 15px 0px rgba(49, 133, 252, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.3);
}


.carousel-prev {
  color: #f2f0ef;
  font-weight: bold;
  background-color: transparent;
  border: 0;
  font-size: 2em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px;
  border-radius: 50%;
  opacity: 0.7;
}

.carousel-prev:hover {
  color: #3185FC;
  background-color: rgba(241, 240, 239, 0.15);
  transform: scale(1.2) translateX(-5px);
  opacity: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-next {
  color: #f2f0ef;
  font-weight: bold;
  background-color: transparent;
  border: 0;
  font-size: 2em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px;
  border-radius: 50%;
  opacity: 0.7;
}

.carousel-next:hover {
  color: #3185FC;
  background-color: rgba(241, 240, 239, 0.15);
  transform: scale(1.2) translateX(5px);
  opacity: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.aContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.aContainer:hover {
  text-decoration: none;
}

.itemTitle {
  color: #f2f0ef;
  font-size: 2em;
  margin-top: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.carousel-item:hover .itemTitle {
  color: #f2f0ef;
  transform: translateY(-2px);
}

.itemTitle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #3185FC;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.carousel-item:hover .itemTitle::after {
  width: 100%;
}

/* Carousel Transitions */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes brightness {
  from {
    filter: brightness(0);
  }
  to {
    filter: brightness(1);
  }
}

.name {
  margin-top: 86.39px;
  width: 616px;
  height: 126px;
}

.occupation {
  color: #f2f0ef !important;
  background-color: #0e1111;
  border-radius: 200px;
  padding: 6px 12px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 14px !important;
  margin: 0;
  margin-top: 10px;
  width: 178px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1;
}


/* Responsive Styles */

/* Large Desktop Screens */
@media (max-width: 1440px) {
  .carousel img {
    width: 480px;
    height: 256px;
  }
  
  .logo2 {
    width: 220px;
    margin: 0 100px;
  }
}

/* Desktop/Laptop */
@media (max-width: 1200px) {
  .cta {
    flex-direction: column;
    height: auto;
    min-height: 500px;
  }

  .cta1, .cta2 {
    flex: 1;
    min-height: 300px;
    padding: 40px 20px;
  }

  .cta1 {
    border-bottom: 3px solid #0e1111;
  }

  .cta2 {
    border-top: 3px solid #0e1111;
  }

  .name {
    width: 50%;
    max-width: 500px;
  }

  .occupation {
    width: 140px;
    height: 30px;
    font-size: 12px !important;
    padding: 5px 10px;
    margin-top: 8px;
  }

  .logo2 {
    width: 180px;
    margin: 0 80px;
  }

  .carousel {
    width: 70%;
  }

  .carousel img {
    width: 420px;
    height: 224px;
  }

  .itemTitle {
    font-size: 1.8em;
  }

  .myworktitle {
    width: 250px;
    height: 105px;
  }

  .aboutmetitle {
    width: 220px;
    height: 105px;
  }

  .aboutMe {
    height: auto;
    min-height: 800px;
    padding: 60px 20px;
  }

  .aboutMeContainer {
    padding: 0 40px;
  }

  .servicesContainer {
    padding: 0 30px;
  }
  
  .servicesTitle {
    font-size: 2.5em;
  }
  
  .servicesGrid {
    gap: 25px;
    max-width: 900px;
  }
  
  .serviceCard {
    padding: 35px 25px;
  }
}

/* Tablet Portrait */
@media (max-width: 992px) {
  .cta {
    flex-direction: column;
    height: auto;
  }

  .cta1, .cta2 {
    flex: 1;
    min-height: 300px;
    padding: 40px 20px;
  }

  .cta1 {
    border-bottom: 3px solid #0e1111;
  }

  .cta2 {
    border-top: 3px solid #0e1111;
  }

  .name {
    width: 60%;
    max-width: 400px;
    margin-top: 40px;
  }

  .occupation {
    width: 120px;
    height: 26px;
    font-size: 11px !important;
    padding: 4px 8px;
    margin-top: 6px;
  }

  .logo2 {
    width: 150px;
    margin: 0;
  }

  .carousel {
    width: 80%;
  }

  .carousel img {
    width: 350px;
    height: 187px;
  }

  .carousel-prev, .carousel-next {
    font-size: 1.5em;
    padding: 0 10px;
  }

  .itemTitle {
    font-size: 1.6em;
  }

  .aboutMe h4 {
    font-size: 2.5em;
  }

  .aboutMe p {
    font-size: 1.1em;
  }

  .servicesContainer {
    padding: 0 25px;
  }
  
  .servicesTitle {
    font-size: 2.2em;
  }
  
  .servicesSubtitle {
    font-size: 1em;
  }
  
  .servicesGrid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
  }
  
  .serviceCard {
    padding: 30px 20px;
  }
  
  .serviceIcon {
    font-size: 2.5em;
  }
  
  .serviceName {
    font-size: 1.2em;
  }
  
  .servicesCallToAction {
    margin-top: 40px;
    padding: 30px 20px;
  }
  
  .servicesCallToAction h3 {
    font-size: 1.6em;
  }
}

/* Tablet Landscape / Small Desktop */
@media (max-width: 768px) {
  nav {
    padding: 0 15px;
    height: 56px;
  }

  #logo {
    width: 35px;
    height: 35px;
    margin-left: 20px;
  }

  .navItems {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .name {
    width: 70%;
    max-width: 350px;
  }

  .occupation {
    width: 100px;
    height: 22px;
    font-size: 10px !important;
    padding: 3px 6px;
    margin-top: 5px;
  }

  .cta1, .cta2 {
    min-height: 250px;
    padding: 30px 15px;
  }

  .logo2 {
    width: 120px;
  }

  .carousel {
    width: 90%;
  }

  .carousel img {
    width: 300px;
    height: 160px;
  }

  .itemTitle {
    font-size: 1.4em;
    margin-top: 12px;
  }

  .myworktitle {
    width: 200px;
    height: 85px;
  }

  .aboutmetitle {
    width: 180px;
    height: 85px;
  }

  .aboutMe {
    min-height: 600px;
    padding: 40px 15px;
  }

  .aboutMe h4 {
    font-size: 2em;
  }

  .aboutMe p {
    font-size: 1em;
    margin-top: 24px;
  }

  .servicesContainer {
    padding: 0 20px;
  }
  
  .servicesTitle {
    font-size: 2em;
  }
  
  .servicesSubtitle {
    font-size: 0.9em;
  }
  
  .servicesGrid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 15px;
    max-width: 400px;
  }
  
  .serviceCard {
    padding: 25px 15px;
  }
  
  .serviceIcon {
    font-size: 2em;
  }
  
  .serviceName {
    font-size: 1.1em;
  }
  
  .serviceDescription {
    font-size: 0.9em;
  }
  
  .serviceFeatures {
    gap: 6px;
  }
  
  .serviceFeatures span {
    font-size: 0.7em;
    padding: 3px 8px;
  }
  
  .servicesCallToAction {
    margin-top: 30px;
    padding: 25px 15px;
  }
  
  .servicesCallToAction h3 {
    font-size: 1.4em;
  }
  
  .servicesCallToAction p {
    font-size: 0.9em;
  }
  
  .servicesContactBtn {
    font-size: 1em;
    padding: 12px 25px;
  }
}

/* Mobile Landscape */
@media (max-width: 640px) {
  .carousel {
    width: 95%;
  }

  .carousel img {
    width: 280px;
    height: 149px;
  }

  .carousel-prev, .carousel-next {
    font-size: 1.2em;
  }

  .itemTitle {
    font-size: 1.2em;
  }

  .aboutMe h4 {
    font-size: 1.8em;
  }

  .myWork {
    padding: 30px 15px;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  nav {
    padding: 0 10px;
    height: 50px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #logo {
    width: 30px;
    height: 30px;
    margin-left: 15px;
  }

  .navItems {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    margin-right: 15px;
  }

  .name {
    width: 80%;
    max-width: 280px;
    margin-top: 20px;
  }

  .occupation {
    display: none;
  }

  .cta1, .cta2 {
    min-height: 200px;
    padding: 20px 10px;
  }

  .logo2 {
    width: 100px;
    margin-top: 30px;
  }

  .carousel {
    width: 100%;
    padding: 15px 0;
  }

  .carousel img {
    width: 250px;
    height: 133px;
  }

  .carousel-prev, .carousel-next {
    font-size: 1em;
    padding: 0 5px;
  }

  .itemTitle {
    font-size: 1.1em;
    margin-top: 8px;
  }

  .myworktitle {
    width: 150px;
    height: 65px;
  }

  .aboutmetitle {
    width: 130px;
    height: 65px;
  }

  .aboutMe {
    min-height: 500px;
    padding: 30px 10px;
  }

  .aboutMe h4 {
    font-size: 1.5em;
  }

  .aboutMe p {
    font-size: 0.9em;
    margin-top: 20px;
  }

  .aboutMeContainer {
    padding: 0 15px;
  }

  .contact-button {
    padding: 8px 16px;
    margin-right: 15px;
    bottom: 15px;
    right: 15px;
  }

  .contact-button img {
    width: 24px;
  }

  .myWork {
    padding: 25px 10px;
  }

  .carousel-dots {
    margin-top: 15px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    margin: 0 6px;
  }

  .carousel-dot.active {
    width: 14px;
    height: 14px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .name {
    width: 85%;
    max-width: 240px;
  }

  .carousel img {
    width: 220px;
    height: 117px;
  }

  .itemTitle {
    font-size: 1em;
  }

  .aboutMe h4 {
    font-size: 1.3em;
  }

  .aboutMe p {
    font-size: 0.85em;
  }

  .myworktitle {
    width: 130px;
    height: 55px;
  }

  .aboutmetitle {
    width: 110px;
    height: 55px;
  }

  .contact-button {
    padding: 6px 12px;
  }

  .contact-button img {
    width: 20px;
  }
}

/* Very Large Screens */
@media (min-width: 1920px) {
  .carousel img {
    width: 600px;
    height: 320px;
  }
  
  .logo2 {
    width: 300px;
    margin: 0 150px;
  }
  
  .name {
    width: 700px;
    height: 140px;
  }
  
  .occupation {
    width: 200px;
    height: 42px;
    font-size: 16px !important;
    padding: 8px 16px;
    margin-top: 12px;
  }
  
  .aboutMe {
    min-height: 1200px;
  }
  
  .myworktitle {
    width: 350px;
    height: 150px;
  }
  
  .aboutmetitle {
    width: 300px;
    height: 150px;
  }
}

/* Skills Section */
.skillsSection {
  background-color: #0e1111;
  color: #f2f0ef;
  padding: 80px 0;
  width: 100%;
  min-height: 600px;
}

.skillsContainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.skillsTitle {
  font-family: "Poppins", sans-serif;
  font-size: 2.2em;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #f2f0ef;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.skillsSubtitle {
  font-family: "Poppins", sans-serif;
  font-size: 1.2em;
  font-weight: 300;
  margin: 0 0 60px 0;
  color: #f2f0ef;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.skillsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.skillCard {
  background-color: #1a1e1e;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: skillCardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.skillCard:nth-child(1) { animation-delay: 0.6s; }
.skillCard:nth-child(2) { animation-delay: 0.7s; }
.skillCard:nth-child(3) { animation-delay: 0.8s; }
.skillCard:nth-child(4) { animation-delay: 0.9s; }
.skillCard:nth-child(5) { animation-delay: 1.0s; }
.skillCard:nth-child(6) { animation-delay: 1.1s; }

@keyframes skillCardAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skillCard:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: #3185FC;
  box-shadow: 0 20px 40px rgba(49, 133, 252, 0.3);
}

.skillIcon {
  font-size: 3em;
  margin-bottom: 20px;
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skillCard:hover .skillIcon {
  transform: scale(1.2) rotateY(15deg);
  color: #3185FC;
}

.skillName {
  font-family: "Poppins", sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: #f2f0ef;
}

.skillDescription {
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  font-weight: 300;
  margin: 0 0 20px 0;
  color: #f2f0ef;
  opacity: 0.7;
  line-height: 1.5;
}

.skillFeatures {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 15px;
}

.skillFeatures span {
  background-color: #3185FC;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 0.8em;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 15px;
  white-space: nowrap;
}

.skillsCallToAction {
  margin-top: 60px;
  padding: 40px;
  background-color: #f2f0ef;
  border-radius: 20px;
  text-align: center;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

.skillsCallToAction h3 {
  font-family: "Poppins", sans-serif;
  font-size: 2em;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: #0e1111;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skillsCallToAction h3:hover {
  transform: scale(1.05);
  color: #3185FC;
}

.skillsCallToAction p {
  font-family: "Poppins", sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  margin: 0 0 30px 0;
  color: #0e1111;
  opacity: 0.8;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skillsCallToAction p:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.skillsContactBtn {
  display: inline-block;
  background-color: #3185FC;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
  box-shadow: 0 4px 15px rgba(49, 133, 252, 0.2);
}

.skillsContactBtn:hover {
  background-color: #2574e3;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(49, 133, 252, 0.4);
}

/* Skills Section Responsive */

/* Desktop/Laptop */
@media (max-width: 1200px) {
  .skillsContainer {
    padding: 0 30px;
  }
  
  .skillsTitle {
    font-size: 2.2em;
  }
  
  .skillsGrid {
    gap: 25px;
    max-width: 900px;
  }
  
  .skillCard {
    padding: 35px 25px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .skillsSection {
    padding: 60px 0;
  }
  
  .skillsContainer {
    padding: 0 20px;
  }
  
  .skillsTitle {
    font-size: 2.2em;
  }
  
  .skillsSubtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }
  
  .skillsGrid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
  }
  
  .skillCard {
    padding: 30px 20px;
  }
  
  .skillIcon {
    font-size: 2.5em;
  }
  
  .skillName {
    font-size: 1.2em;
  }
  
  .skillFeatures {
    gap: 6px;
  }
  
  .skillFeatures span {
    font-size: 0.7em;
    padding: 3px 8px;
  }
  
  .skillsCallToAction {
    margin-top: 40px;
    padding: 30px 20px;
  }
  
  .skillsCallToAction h3 {
    font-size: 1.6em;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .skillsSection {
    padding: 40px 0;
  }
  
  .skillsContainer {
    padding: 0 15px;
  }
  
  .skillsTitle {
    font-size: 2.2em;
  }
  
  .skillsSubtitle {
    font-size: 0.9em;
  }
  
  .skillsGrid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 15px;
    max-width: 400px;
  }
  
  .skillCard {
    padding: 25px 15px;
  }
  
  .skillIcon {
    font-size: 2em;
  }
  
  .skillName {
    font-size: 1.1em;
  }
  
  .skillDescription {
    font-size: 0.9em;
  }
  
  .skillFeatures {
    gap: 5px;
  }
  
  .skillFeatures span {
    font-size: 0.6em;
    padding: 2px 6px;
  }
  
  .skillsCallToAction {
    margin-top: 30px;
    padding: 25px 15px;
  }
  
  .skillsCallToAction h3 {
    font-size: 1.4em;
  }
  
  .skillsCallToAction p {
    font-size: 0.9em;
  }
  
  .skillsContactBtn {
    font-size: 1em;
    padding: 12px 25px;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .skillsContainer {
    max-width: 1400px;
    padding: 0 50px;
  }
  
  .skillsTitle {
    font-size: 2.2em;
  }
  
  .skillsGrid {
    gap: 40px;
    max-width: 1200px;
  }
  
  .skillCard {
    padding: 50px 40px;
  }
}

/* Bloglist Section */
.bloglist-section {
  margin: 60px auto 0 auto;
  max-width: 1200px;
  text-align: center;
  position: relative;
}

.bloglist-title {
  font-size: 2.2em;
  color: #f2f0ef;
  margin-bottom: 30px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}

.bloglist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0 auto;
  max-width: 1000px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 30px;
}

.blog-card {
  background: #1a1e1e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(49,133,252,0.08);
  text-decoration: none;
  color: #f2f0ef;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
  border: 2px solid transparent;
  min-height: 320px;
}

.blog-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px rgba(49,133,252,0.18);
  border-color: #3185FC;
}

.blog-card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 2px solid #3185FC;
  background: #0e1111;
}

.blog-card-content {
  padding: 24px 18px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.blog-card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #f2f0ef;
}

.blog-card-meta {
  font-size: 0.95em;
  color: #3185FC;
  margin-bottom: 10px;
  font-weight: 500;
}

.blog-card-desc {
  font-size: 1em;
  color: #f2f0ef;
  opacity: 0.8;
  margin: 0;
  margin-top: auto;
}

/* Bloglist Arrow */
.bloglist-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #3185FC;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2em;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(49,133,252,0.15);
  transition: background 0.3s, transform 0.3s;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.bloglist-arrow:hover {
  background: #2574e3;
  transform: scale(1.1);
}

.bloglist-arrow-left {
  left: 0;
}

.bloglist-arrow-right {
  right: 0;
}

/* Bloglist card animations */
.bloglist-move-in-right {
  animation: bloglistMoveInRight 0.5s cubic-bezier(0.4,0,0.2,1);
}
.bloglist-move-in-left {
  animation: bloglistMoveInLeft 0.5s cubic-bezier(0.4,0,0.2,1);
}

@keyframes bloglistMoveInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes bloglistMoveInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Bloglist */
@media (max-width: 992px) {
  .bloglist {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 600px;
  }
  .blog-card-thumb {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .bloglist {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 350px;
  }
  .blog-card-thumb {
    height: 90px;
  }
  .bloglist-arrow {
    font-size: 1.5em;
    width: 36px;
    height: 36px;
    right: 10px;
  }
  .bloglist-arrow-left {
    left: 10px;
  }
  .bloglist-arrow-right {
    right: 10px;
  }
}

@media (min-width: 1201px) {
  .cta {
    flex-direction: row;
  }
  .name,
  .occupation {
    position: relative;
    left: -50px;
  }
}

