@import url(/FinalProject/src/assets/fonts/fonts.css);
@import url(/FinalProject/src/styles/reset.css);

/* CSS Custom Properties - Central color and typography management */
:root {
  /* Fonts */
  --font-roboto: "Roboto", sans-serif;
  --font-popins: "Poppins", sans-serif;
  --font-glacial: "Glacial Indifference", sans-serif;
  --font-muli: "Muli", sans-serif;

  /* Font Sizes  */
  --fs-large: clamp(2.188rem, 5vw + 1rem, 4.5rem);
  --fs-medium: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
  --fs-regular: 1.25rem;
  --fs-small: 0.938rem;
  --fs-tiny: 0.625rem;

  /* Colors */
  --clr-primary-dark: rgb(21, 38, 62);
  --clr-primary-lightblue: rgb(0, 129, 255);
  --clr-primary-blue: rgb(19, 26, 54);
  --clr-accent-pink: rgb(233, 54, 86);
  --clr-text-muted: rgb(179, 179, 179);
  --clr-white: rgb(255, 255, 255);
  --clr-black: rgb(0, 0, 0);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Transitions */
  --transition-fast: 0.3s ease-in-out;
  --transition-medium: 0.8s ease;
}

/* HEADER */
header {
  position: relative;
  height: 100vh;
  overflow: hidden;

  font-family: var(--font-glacial);
}

.header__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header__background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.3; */
  transition: opacity 1s ease-in-out;
}

.header__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.header__logo {
  font-family: var(--font-popins);
  font-size: var(--fs-medium);
  font-weight: bold;
  color: var(--clr-black);
  text-transform: capitalize;
}

.header__logo::after {
  content: ".";
  color: var(--clr-primary-lightblue);
}

.header__counter {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header__counter-number {
  font-size: 4rem;
  font-weight: bold;
  background: var(--clr-black);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header__hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__hero-info {
  color: var(--clr-black);
  max-width: 600px;
  font-family: var(--font-glacial);
}

.header__hero-greeting {
  font-size: 1.5rem;
}

.header__hero-name {
  font-size: 3.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header__hero-title {
  font-size: 1.2rem;
}

.header__social {
  display: flex;
  gap: 1rem;
}

.header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;

  margin-top: 1rem;
}

.header__social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-color: white;
}

.header__bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header__progress {
  text-align: left;
  color: white;
}

.header__progress-label {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__progress-percentage {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--clr-accent-pink);
}

.header__progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.header__progress-fill {
  height: 100%;
  background: var(--clr-accent-pink);
  width: 0%;
  transition: width 3s ease-out;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header__content {
    padding: 1rem;
  }

  .header__logo {
    font-size: 1.5rem;
  }

  .header__counter-number {
    font-size: 2.5rem;
  }

  .header__hero-name {
    font-size: 2.5rem;
  }

  .header__hero-greeting {
    font-size: 1.2rem;
  }

  .header__hero-title {
    font-size: 1rem;
  }

  .header__social {
    gap: 0.5rem;
  }

  .header__social-link {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .header__progress-bar {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .header__top {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .header__hero-name {
    font-size: 2rem;
  }

  .header__counter-number {
    font-size: 2rem;
  }

  .header__progress-bar {
    width: 120px;
  }
}
/* ---------------------------------- */

/* About Section */

/* About me three box section */

.about-me {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

  margin-bottom: 5rem;
}

.about-me__container {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 40px;
  align-items: center;
}

/* Left section */
.about-me__info {
  text-align: right;
}

.about-me__name {
  font-family: var(--font-glacial);
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.about-me__profession {
  font-family: var(--font-muli);
  font-size: 16px;
  color: #ffa500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-me__description {
  font-family: var(--font-muli);
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-me__btn {
  background-color: #e91e63;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-me__btn:hover {
  background-color: #c2185b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* Center section - Photo */
.about-me__photo-section {
  display: flex;
  justify-content: center;
}

.about-me__photo {
  width: 280px;
  height: 350px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.about-me__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-me__photo:hover {
  transform: scale(1.05);
}

/* Right section - Skills */
.about-me__skills {
  padding-left: 20px;
}

.skill {
  margin-bottom: 25px;
}

.skill__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill__name {
  font-family: var(--font-glacial);
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.skill__percentage {
  font-size: 14px;
  color: var(--clr-accent-pink);
  font-weight: bold;
}

.skill__progress {
  width: 100%;
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.skill__progress-fill {
  height: 100%;
  background-color: var(--clr-accent-pink);
  width: 0%;
  transition: width 2s ease;
  border-radius: 4px;
}

.about-me__social {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 30px;
}

.about-me__social-link {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
}

.about-me__social-link:hover {
  transform: translateY(-3px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .about-me__container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .about-me__info {
    text-align: center;
  }

  .about-me__photo {
    width: 200px;
    height: 250px;
  }

  .about-me__skills {
    padding-left: 0;
  }

  .about-me__social {
    justify-content: center;
  }

  .about-me__name {
    font-size: 28px;
  }

  .about-me {
    padding: 30px 20px;
  }
}

.about {
  background-color: var(--clr-primary-dark);
  padding: var(--spacing-lg) var(--spacing-md);
}

/* Contact Info Container */
.contact__info {
  font-family: var(--font-glacial);
  font-weight: 100;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.info__box {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 1;
}

.info__svg {
  padding: var(--spacing-md);
  border-radius: 50%;
  outline: dashed 2px var(--clr-white);
  transition: outline-color var(--transition-fast),
    background-color var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0; /* Prevents icon from shrinking */
}

.info__svg:hover {
  background-color: var(--clr-accent-pink);
  outline-color: transparent;
}

.info__svg img {
  width: 24px;
  height: 24px;
}

.info__content {
  display: grid;
  gap: var(--spacing-sm);
  color: var(--clr-white);
}

.contact__info--title {
  font-size: var(--fs-regular);
  font-weight: 300;
}

.info__contact {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  display: grid;
  gap: 0.3rem;
}

.info__contact a:hover {
  color: var(--clr-accent-pink);
  transition: color var(--transition-fast);
}

/* -------------------------------------------------------------------------------------------------------------*/
/* Services Section */
.services {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--clr-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.partners__section {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: #f8f9fa;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  max-width: 1000px;
  margin: 0 auto;
}

.service__card,
.partners__card {
  font-family: var(--font-glacial);

  perspective: 1000px;
  height: 300px;
}

.partners__card {
  height: 200px;
}

.card__inner,
.partners__card--inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--transition-medium);
}

.service__card:hover .card__inner {
  transform: rotateY(180deg);
}

.partners__card:hover .partners__card--inner {
  transform: rotateY(180deg);
}

.card__front,
.card__back,
.partners__card--front,
.partners__card--back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card__front,
.partners__card--front {
  background: var(--clr-white);
  border: 1px solid #e5e7eb;
  gap: var(--spacing-md);
}

.card__back {
  background: var(--clr-primary-blue);
  color: var(--clr-white);
  transform: rotateY(180deg);
  text-align: center;
}

.partners__card--back {
  background: var(--clr-white);
  color: var(--clr-black);
  transform: rotateY(180deg);
  text-align: center;
  border: 1px solid #e5e7eb;
}

.card__front img,
.partners__card--front img {
  max-width: 60px;
  height: 60px;
  object-fit: contain;
}

.card__front--title {
  color: var(--clr-black);
  font-size: var(--fs-regular);
  font-family: var(--font-accent);
  text-transform: capitalize;
  text-align: center;
}

.card__back--title {
  color: var(--clr-white);
  font-size: var(--fs-regular);
  font-family: var(--font-accent);
  margin-bottom: var(--spacing-sm);
}

.card__back--text {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 1.5;
  opacity: 0.9;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  hyphens: auto;
}

.partners__back--title {
  color: var(--clr-black);
  font-size: var(--fs-regular);
  font-family: var(--font-accent);
  margin-bottom: var(--spacing-sm);
  text-transform: capitalize;
}

.partners__back--text {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: #666;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  hyphens: auto;
}

/* Responsivness */
@media (max-width: 768px) {
  .contact__info {
    flex-direction: column;
    gap: var(--spacing-xl);
  }

  .info__box {
    flex-direction: column;
    text-align: center;
    max-width: 300px;
  }

  .about,
  .services,
  .partners__section {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .partners__back--text,
  .card__back--text {
    font-size: 0.8rem;
    -webkit-line-clamp: 3;
  }

  .partners__card {
    height: 180px;
  }

  .card__front,
  .card__back,
  .partners__card--front,
  .partners__card--back {
    padding: var(--spacing-sm);
  }
}

.service__card:focus-within .card__inner,
.partners__card:focus-within .partners__card--inner {
  transform: rotateY(180deg);
}

.info__svg:focus {
  outline: 2px solid var(--clr-accent-pink);
  outline-offset: 2px;
}

/* -----------------same section------------------------------------------------------------------------- */

.slider {
  background-color: var(--clr-primary-blue);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  margin: 5rem auto;
}

.slider__slide {
  display: none;
  color: white;
}

.slider__slide--active {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: fadeIn 0.5s ease-in-out;
}

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

.slider__content {
  flex: 2;
}

.slider__quote-icon {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.slider__text {
  font-family: var(--font-roboto);
  font-size: var(--fs-small);
  text-align: right;
}

.slider__client-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.slider__profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  flex-shrink: 0;
}

.slider__client-details {
  display: flex;
  flex-direction: column;
}

.slider__client-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.slider__client-profession {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.slider__navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .slider {
    padding: 20px;
  }

  .slider__slide--active {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .slider__content {
    order: 1;
  }

  .slider__client-info {
    order: 2;
    justify-content: center;
  }

  .slider__navigation {
    position: static;
    transform: none;
    order: 3;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
  }

  .slider__text {
    text-align: center;
    font-size: 16px;
  }

  .slider__profile-image {
    width: 70px;
    height: 70px;
  }

  .slider__client-name {
    font-size: 18px;
  }

  .slider__client-profession {
    font-size: 13px;
  }
}

.slider__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.slider__dot--active {
  background: white;
  transform: scale(1.2);
}

.slider__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}
/* ------------------------------------------------------------------------------------------------------------ */
/* Projects section */
.projects {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.projects__title {
  font-family: var(--font-glacial);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.projects__container {
  font-family: var(--font-glacial);

  display: flex;
  gap: 20px;
  min-height: 500px;
}

.nav {
  background-color: #2d3748;
  border-radius: 8px;
  padding: 20px;
  width: 200px;
  height: fit-content;
}

.nav__button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: none;
  border: none;
  color: #cbd5e0;
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.nav__button:hover {
  background-color: #4a5568;
  color: #ffffff;
}

.nav__button--active {
  background-color: #e53e3e;
  color: #ffffff;
}

.grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  height: 500px;
}

.card {
  background-color: #4a5568;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card--hidden {
  display: none;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #2d3748;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #cbd5e0;
}

.card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.9)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.card:hover .card__overlay {
  opacity: 1;
}

.card__heart {
  width: 24px;
  height: 24px;
  fill: #e53e3e;
  margin-bottom: 8px;
}

.card__date {
  font-size: 12px;
  color: #cbd5e0;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.card__title {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

/* Projects - Mobile */
@media (max-width: 768px) {
  .projects__container {
    flex-direction: column;
  }

  .nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 15px;
    gap: 10px;
  }

  .nav__button {
    white-space: nowrap;
    min-width: 120px;
    margin-bottom: 0;
    text-align: center;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
    height: auto;
  }

  .projects__title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }

  .projects {
    padding: 20px 15px;
  }

  .projects__title {
    font-size: 1.8rem;
  }

  .card__overlay {
    padding: 15px;
  }

  .card__title {
    font-size: 16px;
  }
}
/* ------------------------------------------------------------------------------------------------------- */
/* articles section */

.latest-articles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.latest-articles__title {
  font-family: var(--font-glacial);
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 60px;
}

.latest-articles__list {
  list-style: none;
}

.article__tag {
  display: flex;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  min-height: 250px;
}

.article__tag:nth-child(odd) {
  flex-direction: row;
}

.article__tag:nth-child(even) {
  flex-direction: row-reverse;
}

.article__content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article__category {
  font-family: var(--font-glacial);
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 15px;
  font-weight: 500;
}

.article__title {
  font-family: var(--font-glacial);
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.article__description {
  font-family: var(--font-muli);
  font-size: 1rem;
  color: #7f8c8d;
  line-height: 1.6;
}

.article__divider {
  width: 80px;
  background: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article__date {
  color: #e74c3c;
  writing-mode: vertical-rl;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
}

.article__visual {
  flex: 1;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.article__svg {
  width: 80px;
  height: 80px;
  fill: #666;
}

/* Ariles - Mobile  */
@media (max-width: 768px) {
  .latest-articles__title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .article__tag {
    flex-direction: column !important;
    min-height: auto;
  }

  .article__content {
    padding: 30px 20px;
  }

  .article__title {
    font-size: 1.5rem;
  }

  .article__description {
    font-size: 0.9rem;
  }

  .article__divider {
    width: 100%;
    height: 60px;
  }

  .article__date {
    writing-mode: horizontal-tb;
  }

  .article__visual {
    padding: 30px;
  }

  .article__svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .latest-articles {
    padding: 20px 10px;
  }

  .latest-articles__title {
    font-size: 1.8rem;
  }

  .article__content {
    padding: 25px 15px;
  }

  .article__title {
    font-size: 1.3rem;
  }
}
/* ------------------------------------------------------------------------------------------------------------- */
/* Foooter */

.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(/FinalProject/src/assets/images/footer-map.png) center/cover;
  color: white;
  padding-top: 60px;
  font-family: var(--font-glacial);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__contact {
  text-align: center;
  margin-bottom: 80px;
}

.footer__title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer__subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  opacity: 0.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form__input {
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.contact-form__input:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

.contact-form__textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  min-height: 120px;
  resize: vertical;
  margin-bottom: 20px;
  font-family: inherit;
}

.contact-form__textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

.contact-form__button {
  color: #ff4444;
  padding: 15px 40px;
  border: 1px solid #ff4444;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  transition: transform 0.3s ease;
}

.contact-form__button:hover {
  color: var(--clr-white);
  background: #cc3333;
  transform: translateY(-2px);
}

.contact-form__button:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
}

.footer__bottom {
  background: #222;
  padding: 40px 0;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-popins);
  text-transform: capitalize;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer__logo::after {
  content: ".";
  color: #c2185b;
}

.footer__description {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.footer-social--link {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social--link:hover {
  background: #87ceeb;
  transform: translateY(-3px);
}

.footer-social--link img {
  transition: fill 0.3s ease;
}

.footer-social--link:hover footer-social--link {
  fill: white;
}

/* Modal  */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal__content {
  font-family: var(--font-glacial);
  background: white;
  margin: 15% auto;
  padding: 40px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  color: #333;
  position: relative;
}

.modal__text {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal__close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #999;
}

.modal__close:hover {
  color: #333;
}

/* Footer -Mobile  */
@media (max-width: 768px) {
  .footer__title {
    font-size: 2rem;
  }

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

  .footer__container {
    padding: 0 15px;
  }

  .footer-social {
    gap: 15px;
  }

  .modal__content {
    margin: 30% auto;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .footer__title {
    font-size: 1.8rem;
  }

  .footer__logo {
    font-size: 2rem;
  }

  .contact-form__input,
  .contact-form__textarea,
  .contact-form__button {
    font-size: 14px;
  }
}
