@import url("https://fonts.cdnfonts.com/css/poppins");
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --light-yellow: #f9f6ee;
  --bg-color: #0d0d0d;
  --nav-scroll: #111111d3;
  --nav-menu-li: #bbbbbbcb;
  --span-highlight: #f40000;
  --nav-menu-active: #000000f0;
  --col-span: #9a9a9a;
  --border-color: #313131;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color:var(--bg-color);
}


nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 4rem;
  z-index: 999;
  background: none;
  transition: background-color box-shadow 0.4s ease-in-out;
}

nav.scrolled {
  background-color:var(--nav-scroll);
  box-shadow: rgba(56, 56, 57, 0.2) 0px 7px 29px 0px;
  opacity: 2.5;
  /* backdrop-filter: blur(4px); */

}

.logo {
  display: flex;
  align-items: center;
  animation: Anim 2s forwards linear;
}

.logo img {
  width: 30%;
  transition: all 0.2s ease-in-out;
}

.logo img:hover {
  transform: scale(1.2);
}

.logo a {
  padding: 0;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  
}

.nav-menu li a {
  text-decoration: none;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all ease 0.5s;
}

.nav-menu li a {
  background: none;
  color: var(--light-yellow);
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 0.313rem 0;
  position: relative;
}

.nav-menu li a:before {
  content: "";
  background: var(--light-yellow);
  display: block;
  position: absolute;
  top: 90%;
  left: 0;
  width: 0;
  height: 1px;
  transition: all 0.3s ease-in-out;
}

.nav-menu li a:hover {
  background-position: 0;
  color: var(--light-yellow);
}

/* Set the non-hovered items to gray */
.nav-menu li a.non-hovered {
  color:var(--nav-menu-li);
}

.nav-menu li a:hover::before {
  width: 100%;
}

.nav-link {
  margin-left: 3rem;
}


.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 22px;
  height: 3px;
  margin: 0.313rem auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--light-yellow);
}

.banner {
  background-image: linear-gradient(rgba(18, 18, 11, 0.527), rgba(0, 0, 0, 0.5)),
    url("../images/cover.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  display: flex;
  flex: 1;
  align-items: center;
  position: relative;
  padding: 25rem 4rem 22rem 4rem;
  height: 90vh;
  max-width: none !important;
  z-index: 2;
  overflow: hidden;
}

.col {
  display: grid;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.col span {
  text-align: center;
  color:var(--span-highlight);
}

.col h1 {
  margin-bottom: 40px;
  text-align: center;
  font-size: 5.938rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--light-yellow);
  line-height: 0.9;
  text-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
}

.col p {
  margin-bottom: 16px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.8em;
  color: var(--light-yellow);
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

/*Mobile responsive styles*/

/* Tablet Styles */
@media (max-width: 768px) {
  .container {
    padding: 18rem 2rem 14rem 2rem;
    max-width: none;
  }

  .col h1 {
    font-size: 4.375rem;
  }

  .col p {
    font-size: 1rem;
  }

  nav {
    padding: 3rem 1rem;
  }

  .nav-menu li a {
    font-size: 2.375rem;
    font-weight: 600;
  }

  .nav-logo {
    font-size: 1.8rem;
  }

  .logo img {
    width: 30%;
  }

  .banner {
    background-position: 40% center;
    height: 100%;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    color: var(--light-yellow);
    position: absolute;
    top: 5;
    right: 35px;
  }

  .nav-menu{
    position: fixed;
    left: 0;
    top: -100%;
    flex-direction: column;
    background-color:var(--nav-menu-active);
    height: 100vh;
    width: 100%;
    text-align: center;
    overflow: hidden;
    display: block;
    align-content: center;
    transition: top 0.6s ease-in-out;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }

  li a {
    color: #bfbfbf;
    font-size: 1rem;
  }

  .nav-menu.active {
    left: 0;
    top: 0;
    padding: 4rem 0;
  }

  .nav-link {
    margin: 1.2rem 0;
  }

  li {
    margin: 2.6rem 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    color: var(--light-yellow);
    position: absolute;
    top: 5;
    right: 35px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .container {
    padding: 18rem 2rem 14rem 2rem !important;
    max-width: none;
    height: 75vh;
  }

  .banner {
    background-position: 35% center;
    height: 100%;
  }

  .col h1 {
    font-size: 3.75rem;
  }

  .col p {
    font-size: 0.875rem;
    font-weight: 500;
  }

  .nav-logo {
    font-size: 1.6rem;
  }

  .logo img {
    width: 30%;
  }

  .nav-menu {
    position: fixed;
    left: 0;
    top: -100%;
    flex-direction: column;
    background-color:var(--nav-menu-active);
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    align-content: center;
    transition: top 0.6s ease-in-out;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }

  li {
    margin: 2.6rem 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    color: var(--light-yellow);
    position: absolute;
    top: 5;
    right: 35px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/*About Page Style*/
.about {
  width: 100%;
  padding: 8rem 4rem 0 4rem;
  display: grid;
  justify-content: center;
}

.content {
  max-width: 75rem;
  width: 100%;
}

.about h2 {
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  line-height: 1.5em;
  margin-bottom: 40px;
  color: var(--light-yellow);
}

.about p {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--light-yellow);
}

.about span {
  color:var(--span-highlight);
}

.about-content {
  display: flex;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 90px;
}

.left-column,
.right-column {
  flex: 1;
  justify-content: end;
}

.left-column p {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--light-yellow);
  text-align: left;
  padding-right: 120px;
  margin-top: 60px;
}

.left-column span {
  font-size: 1rem;
  font-weight: 300;
  color:var(--col-span);
  letter-spacing: 1px;
}

.right-column {
  display: contents;
}

.right-column img {
  max-width: 100%;
  height: 700px;
  display: block;
}

/*Mobile responsive for about section*/
@media (max-width: 1120px) {
  .about {
    padding: 6rem;
  }

  .content {
    max-width: 75rem;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .left-column p {
    padding-right: 40px;
  }
}

@media (min-width: 1500px) {
  .left-column p {
    padding-right: 80px;
  }
}

@media (max-width: 1200px) {
  .left-column p {
    padding-right: 20px;
  }
}

@media (max-width: 1048px) {
  .left-column {
    flex: unset;
  }

  .about-content {
    margin-top: 60px;
  }

  .left-column p,.left-column span {
    font-size: 1.25rem ;
    padding: 0;
    margin: 0;
  }

  .right-column img {
    height: auto;
  }

}

@media (max-width: 948px) {
  .about {
    padding: 6rem 3rem 0 3rem;
  }

  .about p {
    font-size: 2.625rem;
  }

  .about-content {
    flex-direction: column;
    margin-top: 60px;
  }

  .left-column,
  .right-column {
    padding: 0;
  }

  .left-column p {
    font-size: 1.25rem;
    padding: 0;
    margin: 0;
  }

  .right-column {
    margin-top: 24px;
  }

  .right-column img {
    height: auto;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 4rem 2rem 0 2rem;
  }

  .about h2 {
    font-size: 1rem;
  }

  .about p {
    font-size: 1.75rem;
  }

  .left-column p,
  .left-column span {
    font-size: 1rem;
    margin: 0;
  }

  .right-column img {
    height: auto;
  }
}

/*Services styling */

.services {
  width: 100%;
  padding: 8rem 4rem 4rem 4rem;
  display: grid;
  justify-content: center;
}

.services h2 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  line-height: 1.5em;
  margin-bottom: 24px;
  color: var(--light-yellow);
}


.cardboard {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 60px 0;
  padding: 0;
}

.cardboard .card {
  position: relative;
  min-width: 380px;
  height: 420px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: 0.5s;
}

.cardboard .card:nth-child(1) .box .content a {
  background: #2196f3;
}

.cardboard .card:nth-child(2) .box .content a {
  background: #e91e63;
}

.cardboard .card:nth-child(3) .box .content a {
  background: #23c186;
}

.cardboard .card .box {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 40px;
  background: #2a2b2f;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: 0.5s;
}

.cardboard .card .box:hover {
  transform: translateY(-50px);
}

.cardboard .card .box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

.cardboard .card .box .content {
  padding: 20px;
  text-align: center;
}

.cardboard .card .box .content h2 {
  position: absolute;
  top: -10px;
  right: 30px;
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: normal;
  color: rgba(255, 255, 255, 0.1);
}

.cardboard .card .box .content h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--light-yellow);
  z-index: 1;
  transition: 0.5s;
  margin-bottom: 15px;
  margin-top: 60px;
}

.cardboard .card .box .content p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--light-yellow);
  z-index: 1;
  transition: 0.5s;
}

.cardboard .card .box .content a {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  background: black;
  border-radius: 5px;
  text-decoration: none;
  color: var(--light-yellow);
  margin-top: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}
.cardboard .card .box .content a:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  background: var(--light-yellow);
  color: #000;
}

@media (max-width: 1328px) {
  .cardboard .card {
    position: relative;
    min-width: 340px;
    height: 420px;
  }
}

@media (max-width: 1208px) {
  .cardboard .card {
    flex: 1 1 45%;
    min-width: 350px;
    height: 450px;
  }
}

@media (max-width: 1028px) {
  .cardboard .card {
    min-width: 330px;
  }
}

@media (max-width: 948px) {
  .services {
    padding: 6rem 3rem;
  }

  .cardboard .card {
    min-width: 320px;
  }
}

@media (max-width: 768px) {
  .cardboard .card {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 6rem 2rem;
  }

  .services h2 {
    font-size: 16px;
  }

  .cardboard .card {
    width: 100%;
    min-width: 200px;
    height: 420px;
  }
}

/*Skills styling starts*/

.skills {
  width: 100%;
  padding: 0 4rem 8rem 4rem;
  display: grid;
  justify-content: center;
}

.skills h2 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  line-height: 1.5em;
  margin-bottom: 60px;
  color: var(--light-yellow);
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 30px 0;
  padding: 0;
}

.icons img {
  filter: grayscale(1);
  transition: filter 1.2s ease-in-out;
}

.icons img:hover {
  transform: scale(1.2);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

/* Apply grayscale using the custom variable */
.icons img {
  filter: grayscale(1) brightness(0.5);
}

.w-20.h-20 {
  transition: all 1.5s ease-in-out;
}

.w-20.h-20.is-animated {
  filter: grayscale(0) brightness(1);
}

.flex {
  flex-wrap: wrap;
}

.justify-center {
  gap: 30px;
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  margin-left: 0 !important;
}

.space-x-10 > :not([hidden]) ~ :not([hidden]) {
  margin-left: 0 !important;
}

.skill-item {
  position: relative;
  display: inline-block;
}

.skill-item::before {
  content: attr(data-skill);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  background-color: var(--light-yellow);
  color: #2a2b2f;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  margin-bottom: 4px;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.skill-item:hover::before {
  transform: translateX(-50%) scaleY(1) translateY(-10px);
  opacity: 1;
}

.skill-item img {
  transition: transform 0.2s ease-in-out;
}

.skill-item:hover img {
  transform: scale(1.2);
}

/*Skills styling ends*/


@media (max-width:480px) {
  .skills {
    padding: 0 2rem 8rem 2rem;
  }
}

/*Experiences styling starts*/

.experiences {
  width: 100%;
  padding: 0 4rem 0 4rem;
  display: grid;
  justify-content: center;
}

.experiences h2 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  line-height: 1.5em;
  margin-bottom: 24px;
  color: var(--light-yellow);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 60px auto;
}

.info-box {
  padding: 10px 50px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(30px); /* Start position for the animation */
  transition: all 1s ease-out; /* Smooth transition for opacity and position */
}

.info-box.visible {
  opacity: 1;
  transform: translateX(0);
}

.text-box {
  padding: 20px 30px;
  background: var(--light-yellow);
  position: relative;
  border-radius: 6px;
  font-size: 16px;
  color:var(--bg-color);
}

.text-box small {
  font-weight: 500;
}

.text-box p {
  font-size: 14px;
  font-weight: 300;
}

.left-content {
  left: 0;
}

.right-content {
  left: 50%;
}

.info-box img {
  position: absolute;
  width: 40px;
  border-radius: 50%;
  right: -20px;
  top: 30px;
  z-index: 10;
}

.right-content img {
  left: -20px;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%; /* Full height for the fixed line */
  background: rgb(78, 78, 78); /* Grey color for the background line */
  top: 0;
  left: 50%;
  margin-left: -3px; /* Centers the line */
  z-index: -2; /* Behind the moving line */
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  height: var(--line-height, 0px); /* Default height is 0 */
  background: var(--light-yellow);
  top: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -1;
  transition: height 0.1s linear; /* Smooth transition */
}

.timeline-middle-text {
  text-align: left;
  margin: 60px 0; /* Space around the text */
  padding: 20px 0;
  background:var(--bg-color);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-middle-text h2 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5em;
  margin-bottom: 24px;
}

.timeline-middle-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--light-yellow);
}

.text-box h3 {
  font-weight: 600;
}

.text-box small {
  display: inline-block;
  margin-bottom: 15px;
}

.left-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 25px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid var(--light-yellow);
  right: -14px;
}

.right-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 25px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid var(--light-yellow);
  left: -14px;
}

@media screen and (max-width: 720px) {
  .experiences {
    padding: 0rem 3rem;
  }

  .timeline {
    margin: 50px auto;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline::before {
    left: 31px;
  }

  .info-box {
    width: 100%;
    padding-left: 80px;
    padding-right: 0;
  }

  .text-box {
    font-size: 14px;
  }

  .text-box small {
    margin-bottom: 10px;
  }

  .right-content {
    left: 0;
  }

  .left-content img,
  .right-content img {
    left: 10px;
  }

  .left-container-arrow,
  .right-container-arrow {
    border-right: 15px solid #fff;
    border-left: 0;
    left: -15px;
  }
}


@media screen and (max-width: 480px) {
  .experiences {
    padding: 0rem 2rem;
  }

    .text-box p {
    font-size: 14px;
  }

 }

/*Project styling starts*/

.projects {
  width: 100%;
  padding: 8rem 3rem 0rem 3rem;
  display: flex;
  justify-content: center;
}

.projects h2 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  line-height: 1.5em;
  margin-bottom: 60px;
  color: var(--light-yellow);
}

.project-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-color);
}

.project-entry {
  color: var(--light-yellow); 
  width: 100%; 
  display: flex; 
  justify-content: space-between; 
  border-bottom: 1px solid var(--border-color);
  padding: 40px 24px;
  align-items: center; 
  position: relative; 
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.project-entry:hover {
  background-color: #383838;
  transform: scale(1.1);
  z-index: 1000;
}

.project-entry h3 {
  font-size: 46px; 
  font-weight: bold; 
  margin-right: 20px; 
}

.project-entry p {
  font-size: 18px; 
  text-transform: uppercase; 
  margin-left: auto; 
}

.popup {
  display: none; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(43, 43, 43);
  padding: 50px 30px;
  text-align: center;
  z-index: 1;
}

.popup img {
  max-width: 100%;
  height: 280px;
}

.popup .view-button {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 10px auto;
  padding: 30px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 100%;
}

.popup .view-button:hover {
  background-color: #0056b3;
}

.project-entry:hover .popup {
  display: block; /* Show popup on hover */
}


.btn-more {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.btn-project {
  position: relative;
  display: inline-block;
  padding: 16px 36px;
  color: var(--light-yellow);
  border: 2px solid var(--light-yellow);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.2rem;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-project::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--light-yellow);
  transition: height 0.3s ease;
  z-index: -1;
}

/* .btn-project:hover {
  color:var(--bg-color);

}

.btn-project:hover::before {
  height: 100%;
} */


.btn-project:hover,
.btn-project.active {
  color: var(--bg-color);
}

.btn-project:hover::before,
.btn-project.active::before {
  height: 100%;
}


/* Project section responsive Design */

/* Desktop view (up to 1024px) */
@media (max-width: 1020px) {
  .project-list {
    display: none;
  }

.project-list-mob {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.project-item {
  flex: 1 1 48%; /* Takes approximately 50% of the screen with a small gap */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}

.project-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  background-color: rgb(43, 43, 43);
  padding: 50px 30px;
}

.project-details {
  text-align: left;
  width: 100%;
}

.project-details h3 {
  margin-top: 20px;
  font-size: 2.5rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.project-sub-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-details p {

  margin: 20px 0;
  font-size: 1.125rem;
}

.project-details span {
  font-size: 0.9rem;
  color: #666;
}
}


@media (min-width: 1024px) {
  .project-list-mob {
    display: none;
  }
}

@media (max-width: 480px) {
  .projects {
    padding: 8rem 2rem 0rem 2rem;
  }
}



/* Styling for footer*/

.footer {
  color: #fff;
  padding: 6rem 4rem 2.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  background-color:var(--bg-color);
}

.content {
  max-width: 1200px;
  width: 100%;
}

.top-row {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.text {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.text img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--light-yellow);
}

.top-row h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 600;
  color: var(--light-yellow);
}

.rotating-text-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.rotating-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotating-text img {
  min-width: 120%;
  height: auto;
  object-fit: contain;
  animation: rotateImage 20s linear infinite;
}

@keyframes rotateImage {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rotating-arrow {
  position: absolute;
  font-size: 4rem;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.rotating-arrow:hover {
  transform: rotate(360deg);
}

/* Bottom row */
.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 30px;
}

.footer-info, .get-in-touch {
  flex: 1 1 300px;
}

.footer-info {
  text-align: left;
}

.get-in-touch {
  text-align: right;
}

.get-in-touch h4 {
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 24px;
  color: var(--light-yellow);
}

.footer-info p {
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: 300;
}

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

.social-icon {
  color: #f9f6ee; 
  font-size: 1.2rem; 
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%; 
  background-color: rgba(255, 255, 255, 0.1); 
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  background-color: var(--light-yellow);
  color: #121212; 
  transform: scale(1.1); 
}

.get-in-touch a, .contact-button {
  position: relative;
  display: inline-block;
  color: #fff;
  background-color: transparent;
  border: 1px solid var(--light-yellow);
  font-size: 0.85rem;
  padding: 16px 24px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.get-in-touch a::before, .contact-button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--light-yellow);
  transition: height 0.3s ease;
  z-index: -1;
}

.get-in-touch a:hover, .contact-button:hover {
  color: #383838;
}

.get-in-touch a:hover::before, .contact-button:hover::before {
  height: 100%;
}


.details {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 1220px) {
  .text {
    justify-content: center;
  }
}

@media (max-width: 928px) {
  .top-row {
    justify-content: center;
  }
}



@media (max-width: 768px) {
  .footer {
    padding: 4rem 3rem 2rem 3rem;
  }

  .bottom-row {
    flex-direction: column-reverse;
    align-items: center;
  }
  
  .footer-info, .get-in-touch {
    text-align: center;
    flex: 1 1 0px ;
    margin-top: 24px;
  }

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

  .details {
    justify-content: center;
  }

  .rotating-text-container {
    width: 150px;
    height: 150px;
  }

  .rotating-text {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 3rem 2rem 1.5rem 2rem;
  }

  .top-row {
    gap: 20px;
  }

  .text img {
    width: 60px;
    height: 60px;
  }

  .rotating-text-container {
    width: 120px;
    height: 120px;
  }

  .rotating-arrow{
    font-size: 2.5rem;
  }

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

@media (max-width: 320px) {
  .footer {
    padding: 2rem 0.5rem 1rem;
  }

  .rotating-text-container {
    width: 100px;
    height: 100px;
  }

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







