@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");

/* Services Section Styles */
.service-card {
  background: #1c1c1c;
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1;
  min-width: 300px;
}

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

.service-card i {
  font-size: 40px;
  color: #ff004f;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin: 20px 0;
}

.service-features li {
  margin: 10px 0;
  color: #ababab;
  position: relative;
  padding-left: 25px;
}

.service-features li::before {
  content: "→";
  color: #ff004f;
  position: absolute;
  left: 0;
}

.service-link {
  color: #ff004f;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 15px;
}

/* Certificate Styles */
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
  perspective: 1000px;
}

.certificate-card {
  background: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  transform-style: preserve-3d;
}

.certificate-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
}

.certificate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.certificate-card:hover::before {
  opacity: 0.1;
}

.certificate-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certificate-card:hover::after {
  opacity: 1;
}

.certificate-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 15px;
  display: block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(20px);
}

.certificate-card:hover img {
  transform: translateZ(30px) scale(1.05);
}

.certificate-info {
  padding: 25px;
  background: var(--bg-light);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(10px);
}

.certificate-card:hover .certificate-info {
  transform: translateZ(20px) translateY(-5px);
}

.certificate-info h3 {
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.certificate-card:hover .certificate-info h3 {
  color: var(--primary-color);
  transform: scale(1.05);
}

.certificate-info p {
  color: var(--text-gray);
  margin: 5px 0;
  font-size: 14px;
  transition: all 0.3s ease;
}

.certificate-card:hover .certificate-info p {
  color: var(--text-light);
}

/* Add a subtle pulse animation */
@keyframes certificatePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.certificate-card {
  animation: certificatePulse 3s infinite ease-in-out;
}

/* Add a shine effect */
.certificate-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.certificate-card:hover::before {
  opacity: 1;
  animation: shine 1.5s ease;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* My Works Section Styles */
#works {
  padding: 80px 0;
}

.works-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
  position: relative;
}

.filter-btn {
  padding: 10px 25px;
  background: var(--bg-light);
  border: none;
  border-radius: 8px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  position: relative;
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.works-container {
  position: relative;
  padding: 0 40px;
  margin: 30px 0;
  overflow: hidden;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px 0;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item {
  aspect-ratio: 16/9;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  width: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
}

.work-item.hidden {
  display: none;
  opacity: 0;
}

.work-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(45, 90, 124, 0.9),
    rgba(255, 107, 107, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
}

.work-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.work-item:hover .work-img img {
  transform: scale(1.1);
}

.work-item:hover .work-overlay {
  opacity: 1;
  transform: translateY(0);
}

.work-info {
  text-align: center;
  padding: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover .work-info {
  transform: translateY(0);
  opacity: 1;
}

.work-info h3 {
  color: var(--text-light);
  font-size: 24px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.work-info p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.work-date {
  display: inline-block;
  padding: 5px 15px;
  background: var(--accent-color);
  color: var(--text-light);
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.work-item:hover .work-info h3,
.work-item:hover .work-info p,
.work-item:hover .work-date {
  transform: translateY(-5px);
}

/* Reviews Section Styles */
.reviews-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  padding: 20px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  perspective: 1000px;
}

/* Review Cards */
.review-card {
  flex: 0 0 350px;
  background: var(--bg-light);
  color: var(--text-light);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.review-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.review-card:hover::before {
  opacity: 0.1;
}

.review-card:hover .rating i {
  transform: scale(1.2);
  color: #ffd700;
}

.review-card:hover .client img {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Star Rating Styling */
.rating {
  color: #ffd700;
  margin-bottom: 15px;
  display: flex;
  gap: 5px;
}

.rating i {
  margin-right: 5px;
  color: #ffd700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Client Info Section */
.client {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.client img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.review-card:hover .client img {
  border-color: var(--accent-color);
}

.client-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.review-card:hover .client-info h4 {
  color: var(--accent-color);
}

.client-info span {
  font-size: 14px;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.review-card:hover .client-info span {
  color: var(--text-light);
}

/* Review Text Animation */
.review-card p {
  position: relative;
  transition: all 0.3s ease;
}

.review-card:hover p {
  transform: translateY(-5px);
}

/* Add a subtle pulse animation to the review cards */
@keyframes subtlePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.review-card {
  animation: subtlePulse 3s infinite ease-in-out;
}

/* Add a smooth scroll snap */
.reviews-container {
  scroll-snap-type: x mandatory;
}

.review-card {
  scroll-snap-align: center;
}

/* Add a gradient border effect */
.review-card {
  position: relative;
}

.review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-card:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
  }

  .review-card {
    width: 90%;
    max-width: 100%;
    flex: 0 0 auto;
  }
}

/* Contact Form Success Icon */
.success-icon {
  display: none;
  text-align: center;
  color: #00ff00;
  font-size: 50px;
  margin-top: 20px;
}

.success-icon.show {
  display: block;
  animation: scaleUp 0.3s ease;
}

@keyframes scaleUp {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

/* Enhanced Responsive Styles for iPhone 16 */
@media (max-width: 430px) {
  .service-card {
    min-width: 100%;
    margin-bottom: 20px;
  }

  .certificate-grid {
    gap: 20px;
    padding: 10px;
  }

  .reviews-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-card {
    width: 100%;
    min-height: auto;
  }

  .client img {
    width: 40px;
    height: 40px;
  }

  .certificate-card img {
    max-height: 300px;
  }

  .certificate-info {
    padding: 15px;
  }

  .certificate-info h3 {
    font-size: 18px;
  }
}

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  scroll-behavior: smooth;
}

.container {
  padding: 10px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  padding: 20px 5%;
  z-index: 100;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  list-style: none;
  margin: 10px 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

#header {
  width: 100%;
  height: 100vh;
  background-image: url(images/backpicc.png);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

#header .container {
  position: relative;
  z-index: 2;
}

.header-text {
  margin-top: 15%;
  font-size: 30px;
  max-width: 800px;
}

.header-text h2 {
  font-size: 60px;
  margin-top: 20px;
}

.header-text h2 span {
  color: #ff004f;
}

.header-text p {
  font-size: 18px;
}

.btn {
  background: var(--accent-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.btn-cv {
  margin: 30px 0;
  display: inline-block;
}

/* About Section */
#about {
  padding: 80px 0;
  color: #ababab;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 35%;
}

.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}

.about-col-2 {
  flex-basis: 60%;
}

.sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}

.tab-titles {
  display: flex;
  margin: 20px 0 40px;
}

.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 50%;
}

.tab-contents {
  display: none;
}

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

.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}

.tab-contents ul li span {
  color: #ff004f;
  font-size: 14px;
}

/* Services */
#services {
  padding: 80px 0;
}

.services-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.services-list div {
  flex: 1;
  background: #1c1c1c;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.services-list div:hover {
  background: #2a2a2a;
}

.services-list h2 {
  margin-bottom: 10px;
  color: #ff004f;
}

/* Contact */
#contact {
  padding: 80px 0;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  background: var(--bg-light);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#contact-form input,
#contact-form textarea {
  padding: 15px 20px;
  background: var(--bg-dark);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.15);
  transform: translateY(-2px);
}

#contact-form textarea {
  resize: vertical;
  min-height: 150px;
  max-height: 300px;
  line-height: 1.6;
}

#contact-form .btn {
  align-self: flex-start;
  margin-top: 10px;
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(45deg, var(--accent-color), #ff8585);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
  background: linear-gradient(45deg, #ff8585, var(--accent-color));
}

@media (max-width: 768px) {
  #contact-form {
    padding: 20px;
    gap: 20px;
  }

  #contact-form input,
  #contact-form textarea {
    padding: 12px 15px;
    font-size: 15px;
  }

  #contact-form .btn {
    width: 100%;
    padding: 12px 25px;
    font-size: 15px;
  }
}

.success-msg {
  color: #0f0;
  display: none;
  font-size: 16px;
  text-align: center;
}
/* Footer Styles */
footer {
  background: linear-gradient(to right, var(--bg-dark), #1c1c1c);
  color: var(--text-light);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--primary-color)
  );
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-social h3 {
  color: var(--accent-color);
  font-size: 24px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links h3 {
  color: var(--accent-color);
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-light);
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact h3 {
  color: var(--accent-color);
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-contact p {
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-social,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-links a {
    padding-left: 0;
  }

  .footer-links a::before {
    display: none;
  }

  .footer-contact p {
    justify-content: center;
  }
}

html {
  scroll-behavior: smooth;
}

footer p {
  font-size: 13px;
  color: #777;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    padding: 20px 4%;
  }

  .header-text h2 {
    font-size: 50px;
  }

  .sub-title {
    font-size: 50px;
  }

  .row {
    flex-direction: column;
    gap: 30px;
  }

  .about-col-1,
  .about-col-2 {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .tab-links {
    margin-right: 20px;
    font-size: 18px;
  }

  .services-list {
    flex-direction: column;
    margin-top: 30px;
    gap: 20px;
  }

  .services-list div {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .reviews-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .review-card {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  #contact-form {
    max-width: 100%;
    margin: 0;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 15px 3%;
  }

  .header-text {
    margin-top: 35%;
    text-align: center;
  }

  .header-text h2 {
    font-size: 40px;
    line-height: 1.2;
  }

  .header-text p {
    font-size: 18px;
  }

  .sub-title {
    font-size: 40px;
  }

  .row {
    flex-direction: column;
    gap: 20px;
  }

  .about-col-1,
  .about-col-2 {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .tab-links {
    margin-right: 15px;
    font-size: 16px;
  }

  .services-list {
    flex-direction: column;
    gap: 15px;
  }

  .services-list div {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .reviews-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .review-card {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    min-height: auto;
  }

  .nav-arrow {
    display: none !important;
  }

  .works-container {
    padding: 0;
    margin: 15px 0;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .work-item {
    aspect-ratio: 16/9;
  }

  .rating {
    font-size: 16px;
  }

  .review-card p {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .client img {
    width: 40px;
    height: 40px;
  }

  .client-info h4 {
    font-size: 15px;
  }

  .client-info span {
    font-size: 13px;
  }

  .certificate-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
    overflow: visible;
  }

  .certificate-card {
    width: 100%;
    margin: 0 auto;
  }

  .certificate-card img {
    max-height: 300px;
  }

  .certificate-info {
    padding: 15px;
  }

  .certificate-info h3 {
    font-size: 18px;
  }

  section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px 3%;
  }

  .header-text {
    margin-top: 40%;
  }

  .header-text h2 {
    font-size: 32px;
  }

  .header-text p {
    font-size: 16px;
  }

  .sub-title {
    font-size: 35px;
  }

  .row {
    flex-direction: column;
    gap: 15px;
  }

  .about-col-1,
  .about-col-2 {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .tab-links {
    margin-right: 10px;
    font-size: 14px;
  }

  .services-list {
    flex-direction: column;
    gap: 10px;
  }

  .services-list div {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .reviews-container {
    gap: 10px;
  }

  .review-card {
    padding: 15px;
  }

  #contact-form {
    max-width: 100%;
    margin: 0;
  }

  .service-card {
    min-width: 100%;
    margin-bottom: 0;
  }

  .certificate-grid {
    gap: 10px;
    padding: 5px 0;
  }

  .certificate-card img {
    max-height: 250px;
  }

  .certificate-info {
    padding: 10px;
  }

  .certificate-info h3 {
    font-size: 16px;
  }

  section {
    padding: 30px 0;
  }
}

/* Update the color scheme */
:root {
  --primary-color: #2d5a7c;
  --accent-color: #ff6b6b;
  --bg-dark: #1a1a1a;
  --bg-light: #2a2a2a;
  --text-light: #ffffff;
  --text-gray: #ababab;
}

/* Update success message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(26, 26, 26, 0.95);
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.success-message.show {
  display: flex;
  animation: slideIn 0.5s ease forwards;
}

.success-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.success-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #4caf50;
  animation: circle 0.8s ease forwards;
}

.success-icon i {
  font-size: 40px;
  color: #4caf50;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: checkmark 0.5s ease forwards 0.4s;
}

.success-message p {
  color: #fff;
  font-size: 18px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 0.8s;
}

/* New Animations */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes circle {
  0% {
    transform: scale(0);
    border-width: 6px;
  }
  50% {
    transform: scale(1.1);
    border-width: 3px;
  }
  100% {
    transform: scale(1);
    border-width: 3px;
  }
}

@keyframes checkmark {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

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

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
}

/* Mobile Navigation */
.menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

nav {
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
}

/* Contact Section Styles */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  padding: 30px;
  background: var(--bg-light);
  border-radius: 15px;
  height: fit-content;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details p {
  display: flex;
  align-items: center;
  color: var(--text-light);
  gap: 15px;
}

.contact-details i {
  width: 35px;
  height: 35px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-details p:hover i {
  transform: scale(1.1);
  background: var(--primary-color);
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form input,
#contact-form textarea {
  padding: 15px;
  background: var(--bg-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 16px;
  transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.2);
}

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

#contact-form .btn {
  align-self: flex-start;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info {
    order: 2;
  }

  .contact-details p {
    justify-content: flex-start;
  }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 50px 20px;
    transition: all 0.3s ease-in-out;
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    right: 0;
  }

  nav ul li {
    margin: 25px 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }
}

@media (max-width: 430px) {
  .container {
    padding: 10px 15px;
  }

  .header-text h2 {
    font-size: 30px;
  }

  .sub-title {
    font-size: 30px;
  }

  .social-links a span {
    font-size: 14px;
  }

  .success-message {
    width: 90%;
    padding: 20px;
  }
}

/* Enhanced Success Message Styles */
.success-animation {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.success-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #4caf50;
  animation: circle-draw 1s ease forwards;
}

.success-tick {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 45px;
  color: #4caf50;
  opacity: 0;
  animation: tick-appear 0.5s ease forwards 0.6s;
}

.success-icons {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.success-icons i {
  font-size: 24px;
  color: var(--accent-color);
  opacity: 0;
  transform: translateY(20px);
}

.success-icons i:nth-child(1) {
  animation: icon-pop 0.5s ease forwards 0.8s;
}

.success-icons i:nth-child(2) {
  animation: icon-pop 0.5s ease forwards 1s;
}

.success-icons i:nth-child(3) {
  animation: icon-pop 0.5s ease forwards 1.2s;
}

@keyframes circle-draw {
  0% {
    stroke-dasharray: 0, 330;
    stroke-dashoffset: 0;
    transform: rotate(-90deg) scale(0);
  }
  100% {
    stroke-dasharray: 330, 330;
    stroke-dashoffset: 0;
    transform: rotate(-90deg) scale(1);
  }
}

@keyframes tick-appear {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes icon-pop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--primary-color)
  );
  transform-origin: 0;
  transform: scaleX(0);
  z-index: 1000;
}

/* Section Fade-in Animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Shapes Background */
.floating-shapes {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.05);
  animation: float 15s infinite;
}

/* Navigation arrows styling */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color);
  border: none;
  color: white;
  cursor: pointer;
  display: none; /* Hide arrows by default */
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.nav-arrow:hover {
  opacity: 1;
  background: var(--primary-color);
}

.prev-arrow {
  left: -20px;
}

.next-arrow {
  right: -20px;
}

@media (max-width: 768px) {
  .nav-arrow {
    display: flex;
    width: 35px;
    height: 35px;
  }

  .prev-arrow {
    left: -5px;
  }

  .next-arrow {
    right: -5px;
  }
}

@media (max-width: 480px) {
  .nav-arrow {
    width: 30px;
    height: 30px;
  }
}

/* Other Pictures Section Styles */
#other-pictures {
  padding: 60px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.picture-carousel {
  position: relative;
  max-width: 1000px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 15px;
  background: var(--bg-light);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  perspective: 1000px;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.picture-carousel .nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(255, 107, 107, 0.95);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.picture-carousel .prev-arrow {
  left: 15px;
}

.picture-carousel .next-arrow {
  right: 15px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  padding: 0 15px;
}

.dot {
  width: 35px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
  background: var(--accent-color);
  width: 45px;
  box-shadow: 0 0 12px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
  #other-pictures {
    padding: 40px 0;
  }

  .picture-carousel {
    margin: 20px auto;
    border-radius: 12px;
  }

  .carousel-container {
    border-radius: 12px;
  }

  .picture-carousel .nav-arrow {
    width: 40px;
    height: 40px;
  }

  .picture-carousel .prev-arrow {
    left: 10px;
  }

  .picture-carousel .next-arrow {
    right: 10px;
  }

  .carousel-dots {
    gap: 10px;
    margin-top: 20px;
  }

  .dot {
    width: 30px;
  }

  .dot.active {
    width: 40px;
  }
}

@media (max-width: 414px) {
  /* iPhone 6s Plus specific */
  #other-pictures {
    padding: 30px 0;
  }

  .picture-carousel {
    margin: 15px auto;
    border-radius: 10px;
  }

  .carousel-container {
    border-radius: 10px;
    aspect-ratio: 4/3;
  }

  .picture-carousel .nav-arrow {
    width: 35px;
    height: 35px;
    background: rgba(255, 107, 107, 0.98);
  }

  .picture-carousel .prev-arrow {
    left: 8px;
  }

  .picture-carousel .next-arrow {
    right: 8px;
  }

  .carousel-dots {
    gap: 8px;
    margin-top: 15px;
    padding: 0 10px;
  }

  .dot {
    width: 25px;
    height: 2px;
  }

  .dot.active {
    width: 35px;
  }
}
