* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

:root {
  --header-height: 70px;
}

.section {
  padding: 2rem 0px 4rem;
}

body {
  font-family: "Assistant", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  background-color: #ecfdfd;
  color: #282c3f;
  overflow-x: hidden;
}

/* ================= DARK MODE ================= */
body.dark-mode {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

body.dark-mode .hero-data h1 {
  color: #f5f5f5;
}

body.dark-mode header {
  background-color: #2a2a2a;
}

body.dark-mode nav a {
  color: #f5f5f5;
}
body.dark-mode nav a:hover {
  color: #1abc9c;
}

body.dark-mode .btn-primary {
  background: #1abc9c;
  color: #fff;
}
body.dark-mode .btn-outline {
  border-color: #1abc9c;
  color: #1abc9c;
}
body.dark-mode .btn-outline:hover {
  background: #1abc9c;
  color: #fff;
}

body.dark-mode .service-card {
  background: #2a2a2a;
  border-color: #1abc9c;
}
body.dark-mode .service-card h3,
body.dark-mode .service-card p,
body.dark-mode .service-icon {
  color: #f5f5f5;
}

body.dark-mode h2 {
  color: #f5f5f5;
}

body.dark-mode h3 {
  color: #f5f5f5;
}
body.dark-mode .service-card:hover {
  background: #1abc9c;
  color: #fff;
}

body.dark-mode .tab-btn {
  background: #2a2a2a;
  color: #1abc9c;
}
body.dark-mode .tab-btn.active,
body.dark-mode .tab-btn:hover {
  background: #1abc9c;
  color: #fff;
}
body.dark-mode .timeline-item {
  background: #2a2a2a;
}

body.dark-mode .skills-container {
  background: transparent;
}

body.dark-mode .skills-tab {
  background: #2c2c2c;
  color: #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

body.dark-mode .skills-tab.active {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 188, 156, 0.5);
}

body.dark-mode .skills-panel {
  color: #ddd;
}

body.dark-mode .skill-card {
  background: #2b2b2b;
  border: 1px solid #333;
  color: #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

body.dark-mode .skill-card i {
  color: #1abc9c;
}

body.dark-mode .skill-card:hover {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
}

body.dark-mode .skill-card:hover i {
  color: #fff;
}

body.dark-mode .dark-toggle i {
  color: #f1c40f;
}

body.dark-mode .footer {
  background: #2c2c2c;
}

body.dark-mode .mobile-menu {
  background-color: #282c3f;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
}

body.dark-mode .close-menu {
  color: #fff;
}

body.dark-mode .close-menu:hover {
  color: #1abc9c;
}

body.dark-mode .menu-grid a {
  color: #fff;
}

body.dark-mode .menu-grid a:hover {
  color: #1abc9c;
}

body.dark-mode .menu-grid a i {
  color: #fff;
}

body.dark-mode .menu-grid a:hover i {
  color: #1abc9c;
}

body.dark-mode .contact {
  background-color: #1c1c1c;
  color: #fff;
}

body.dark-mode .contact-intro {
  color: #ccc;
}

body.dark-mode .contact-item i {
  color: #1abc9c;
}

body.dark-mode .contact-item h4,
body.dark-mode .contact-item p {
  color: #eee;
}

/* Form Dark Mode */
body.dark-mode .contact-form {
  background-color: #2c2c2c;
  border: 1px solid #444;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background-color: #1c1c1c;
  color: #fff;
  border: 1px solid #555;
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
  color: #aaa;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
  border-color: #1abc9c;
}

body.dark-mode .contact-form button {
  background-color: #1abc9c;
  color: #fff;
}

body.dark-mode .contact-form button:hover {
  background-color: #16a085;
  box-shadow: 0 6px 15px rgba(26, 188, 156, 0.3);
}

body.dark-mode .nav-links a.active,
body.dark-mode .menu-grid a.active {
  color: #1abc9c;
}

header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  margin-bottom: 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #ecfdfd;
  transition: box-shadow 0.3s ease;
}

header {
  min-height: 80px;
}

header.scrolled {
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
}

header h1 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1abc9c;
  position: relative;
  display: inline-block;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #1abc9c, #16a085);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

header h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #1abc9c, #16a085);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

header h1:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  margin-left: 20px;
  font-family: "Assistant", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #282c3f;
  transition: color 0.3s ease;
  text-decoration: none;
}

nav a:hover {
  color: #1abc9c;
}

nav a.active {
  color: #1abc9c;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: #1abc9c;
  transition: color 0.3s ease, transform 0.3s ease;
}

.hamburger:hover {
  color: #16a085;
  transform: scale(1.1);
}

.dark-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dark-toggle i {
  font-size: 24px;
  color: #282c3f;
  transition: transform 0.3s, color 0.3s;
}

.dark-toggle:hover i {
  color: #16a085;
}

@media screen and (max-width: 768px) {
  header {
    padding: 10px;
    min-height: 50px;
    margin-bottom: 0;
    border-radius: 0;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    justify-content: space-around;
  }

  header h1 {
    font-size: 14px;
  }

  nav .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    border: 1px solid #d4d4d5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: none;
    padding: 10px;
    z-index: 20;
  }

  nav .nav-links a {
    margin: 10px 0;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .nav-links.active {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  padding: 2rem 1rem 3rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 9999;
  border-radius: 15px 15px 0 0;
}

/* Close Button */
.close-menu {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #282c3f;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-menu:hover {
  color: #16a085;
}

/* Grid Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 50px; /* space for close icon */
  text-align: center;
}

.menu-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #282c3f;
  font-weight: 600;
  transition: transform 0.3s, color 0.3s;
}

.menu-grid a i {
  font-size: 24px;
  margin-bottom: 0.5rem;
}

.menu-grid a:hover {
  color: #16a085;
  transform: translateY(-3px);
}

/* Active state - slide up */
.mobile-menu.active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 480px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero {
  padding-top: calc(var(--header-height) + 2rem);
}

.hero-container {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.container {
  margin: 0 auto;
  padding: 0 2.5rem;
  max-width: 1400px;
}

/* Social Links */
.social-link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-links-icon {
  font-size: 1.4rem;
  color: #1abc9c;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-links-icon:hover {
  color: #16a085;
  transform: translateY(-3px);
}

/* Hero Text */
.hero-data h1 {
  font-size: 3.6rem;
  font-weight: 700;
  color: #222;
}

.hero-data h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #555555;
  margin: 0.3rem 0 1rem;
}

.hero-data p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

/* Buttons */
.btn-primary {
  background: #1abc9c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #16a085;
}

.btn-outline {
  border: 2px solid #1abc9c;
  color: #1abc9c;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: #1abc9c;
  color: #fff;
}

/* Scroll Down Button */
.scroll-down {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
  font-size: 0.9rem;
  color: #1abc9c;
  text-decoration: none;
  animation: bounce 2s infinite;
}

.scroll-down .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #1abc9c;
  border-radius: 12px;
  position: relative;
}

.scroll-down .mouse .wheel {
  width: 4px;
  height: 8px;
  background: #1abc9c;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelMove 1s infinite;
}

.scroll-down .arrow {
  font-size: 1.2rem;
}

@keyframes wheelMove {
  0% {
    top: 6px;
    opacity: 1;
  }
  50% {
    top: 18px;
    opacity: 0;
  }
  100% {
    top: 6px;
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(5px);
  }
  60% {
    transform: translateY(3px);
  }
}

.hero-img img {
  width: 100%;
  display: inline-block;
}

.home_blob {
  width: 100%;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .social-link {
    position: absolute;
    top: 20%;
    left: 1rem; /* distance from left edge */
    transform: translateY(-50%);
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    z-index: 1000;
  }

  .hero-container {
    grid-template-columns: 1fr; /* content stacked */
    text-align: left;
  }

  .hero {
    padding-top: 0;
  }

  .hero-img {
    order: -1;
    margin-bottom: 1.5rem;
    justify-self: center;
  }

  .hero-img img {
    max-width: 180px;
  }

  .hero-data h1 {
    font-size: 1.8rem;
  }

  .hero-data h2 {
    font-size: 1.1rem;
  }

  .hero-data p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    gap: 0.8rem;
  }

  .scroll-down {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .hero-img img {
    max-width: 180px;
  }

  .hero {
    padding-top: 0;
  }

  .home_blob {
    max-width: 180px;
  }

  .hero-data h1 {
    font-size: 1.5rem;
  }

  .hero-data h2 {
    font-size: 1rem;
  }

  .hero-data p {
    font-size: 0.9rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

.typewriter {
  font-size: 2rem;
  font-weight: 700;
  color: #1abc9c;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #1abc9c;
  width: fit-content;
  animation: blinkCursor 0.7s steps(1) infinite;
}

@keyframes blinkCursor {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: #1abc9c;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Services grid */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Service card */
.service-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border: 1px solid #1abc9c;
  border-radius: 1rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  background-color: #1abc9c;
  color: #fff;
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

/* Icons */
.service-icon {
  font-size: 2.5rem;
  color: #1abc9c;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #222;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Tablet screens */
@media screen and (max-width: 768px) {
  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .service-card {
    padding: 1.8rem 1.2rem;
  }

  .service-icon {
    font-size: 2.2rem;
  }

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

  .service-card p {
    font-size: 0.9rem;
  }
}

/* Mobile screens */
@media screen and (max-width: 480px) {
  .services-container {
    grid-template-columns: 1fr; /* one card per row */
    gap: 1.2rem;
    padding: 0 0.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-icon {
    font-size: 2rem;
  }

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

  .service-card p {
    font-size: 0.85rem;
  }
}

/* Tabs */
.tabs-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.8rem 1.5rem;
  border: 1px solid #1abc9c;
  border-radius: 0.5rem;
  background: #fff;
  color: #1abc9c;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: Assistant;
}

.tab-btn i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.tab-btn.active,
.tab-btn:hover {
  background: #1abc9c;
  color: #fff;
}

/* Tab panels */
.tab-content {
  text-align: left;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-panel.active {
  display: block;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  background: #fff;
  padding: 1.5rem;
  border-left: 4px solid #1abc9c;
  border-radius: 0.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #222;
}

.timeline-item span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.8rem;
}

/* Fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skills-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.skills-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.skills-tab {
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 50px;
  background: #f3f4f6;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #1abc9c;
}

.skills-tab i {
  margin-right: 0.5rem;
}

.skills-tab.active {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 188, 156, 0.4);
}

.skills-content {
  text-align: center;
}

.skills-panel {
  display: none;
  animation: fadeInUp 0.4s ease-in-out;
}

.skills-panel.active {
  display: block;
}

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

.skill-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #1abc9c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
}

.skill-card i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  color: #1abc9c;
}

.skill-card:hover {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(26, 188, 156, 0.4);
}

.skill-card:hover i {
  color: #fff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.projects {
  padding: 4rem 1rem;
}

.project-item {
  display: flex;
  justify-content: center;
}

.project-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.project-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.project-image img {
  width: 100%;
  max-width: 500px;
}

.project-info {
  flex: 1;
  text-align: left;
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 15px;
}

.project-info .btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  background: #1abc9c;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.project-info .btn:hover {
  background: #16a085;
}

/* Swiper Arrows */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 35px;
  color: #1abc9c;
}

/* Position arrows */
.swiper-button-prev {
  left: 200px;
}
.swiper-button-next {
  right: 200px;
}

@media (max-width: 768px) {
  .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 15px;
    display: block !important;
    text-align: center;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 30px;
    height: 30px;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 25px;
  }

  .swiper-button-prev {
    left: 5px;
  }
  .swiper-button-next {
    right: 5px;
  }

  .project-content {
    flex-direction: column;
    text-align: center;
  }

  .project-info {
    text-align: center;
  }

  .project-image img {
    max-width: 90%;
  }
}

.contact {
  padding: 4rem 1rem;
}

.contact-container {
  display: flex;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
  align-items: flex-start;
  flex-wrap: wrap; /* ensures responsiveness */
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
}

.contact-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 400px; 
}

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

.contact-item i {
  font-size: 1.8rem; 
  color: #1abc9c;
  min-width: 30px; 
  text-align: center;
}

.contact-item h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.contact-item p {
  margin: 0;
  color: #555;
}

/* Form Styling */
.contact-form {
  flex: 1;
  padding: 1rem;
  border-radius: 12px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #d4d4d5;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.3s ease;
  font-family: Assistant;
  background: #cbfefe;
}

/* Focus effect */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1abc9c;
}

.contact-form button {
  padding: 0.8rem 1rem;
  border: none;
  background: #1abc9c;
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #16a085;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26, 188, 156, 0.3);
}

/* Responsive */
@media (max-width: 768px) {

  .contact-intro {
    text-align: center;
    margin: 0 auto 1.5rem auto; 
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }

  .contact-form {
    margin-top: 2rem;
  }

  .contact-item i {
    font-size: 1.6rem;
  }
}

.footer {
  background: #1abc9c;
  color: #fff;
  padding: 3rem 1rem;
  font-family: "Assistant", sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-left p {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

.footer-center a,
.footer-right a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: 0.3s;
}


.footer-center a i {
  font-size: 1.3rem;
}

.footer-right a {
  margin-left: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  opacity: 0.9;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-right a {
    margin: 0.3rem;
  }

  .footer-left p {
    font-size: 0.9rem;
  }
}

#scrollUp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1abc9c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  transform: translateY(100px); /* start hidden below */
  opacity: 0; /* invisible initially */
  transition: all 0.4s ease; /* smooth slide & fade */
  z-index: 9999;
}

#scrollUp.show {
  transform: translateY(0); /* slide up */
  opacity: 1; /* fade in */
}

#scrollUp:hover {
  background-color: #16a085;
  transform: translateY(-3px); /* subtle lift on hover */
}

@media (max-width: 768px) {
  #scrollUp {
    bottom: 20px;
    right: 15px;
    font-size: 22px;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  #scrollUp {
    bottom: 15px;
    right: 15px;
    font-size: 20px;
    padding: 6px;
  }
}
