@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=TASA+Orbiter:wght@400..800&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "TASA Orbiter", sans-serif;
}
:root {
  --primary: #e7383b;
  --primary2: #852325;
  --bg: #12151b;
  --bg2: #1b222c;
  --bg3: #262c35;
  --bgdark: #12151c;
  --white: #ffffff;
  --boxshadow: 0px 0px 5px #661b1cab;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  --gradient2: linear-gradient(135deg, var(--bg2) 0%, var(--bgdark) 100%);
}
body {
  background-color: var(--bg);
}
nav {
  height: 90px;
  padding: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: var(--gradient2);
}
#menu-btn{
    position: absolute;
    top: 18px;
    right: 20px;
    background-color: var(--white);
    padding: 10px 15px;
border-radius: 10px;
cursor: pointer;

}
#menu-btn img{
    width: 30px;
}
header {
  height: 100px;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg3);
}
nav img {
  width: 80px;
}
nav h2 {
  color: var(--white);
  font-family: "Montserrat", sans-serif;
}
.contact-information{
  height: 40px;
  gap: 30px;
  background: var(--bg);
  padding: 30px;
}
.contact-information .contact{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: var(--white);
}
.contact-information .contact img{
  width: 30px;
}
@media (max-width:400px){
    .contact h4{
        font-size: 0.7rem;
    }
}
header .ul-head {
  display: flex;
  list-style: none;
  gap: 20px;
}
header .ul-head li {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  /* position: relative; */
}
header .ul-head li a {
  /* background: var(--primary2); */
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  /* position: relative; */
}

header .ul-head>li::after {
  content: "";
  position: absolute;
  top: 35px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 29px;
  background-color: var(--primary);
  transition: 0.2s ease-in;
}
header .ul-head>li {
  position: relative;
}
header .ul-head>li::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 0;
  width: 0;
  height: 2px;
  border-radius: 29px;
  background-color: var(--primary);
  transition: 0.2s ease-in;
}
header .ul-head li:hover::after,
header .ul-head li:hover::before {
  width: 100%;
}
.dropdown-container-btn:hover .dropdown-container {
  display: flex;
}
.dropdown-container {
  transition: all 0.2s;
  position: absolute;
  display: none;
  min-width: 13vw;
  padding: 10px;
  /* border-radius: 15px; */
  flex-direction: column;
  top: 20px;
  /* left: 10px; */
  /* align-items: center; */
  background-color: #852325;
  animation: opac 0.3s 1 ease;
  z-index: 11;
}
.dropdown-container ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 20px;
  /* padding: 10px; */
}
.dropdown-container>ul>li {
  padding: 15px 20px;
  font-size: 0.9rem;
  position: relative !important;
}
.dropdown-container ul li:hover{
  background: var(--gradient);
}
.dropdown-container-btn2:hover .dropdown-container2 {
  display: flex;
}

.dropdown-container2 {
  position: absolute;
  z-index: 111;
  background: var(--primary);
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  padding: 20px 10px;
  width: 160%;
  /* border-radius: 10px; */
  top: 0 !important;
}
.dropdown-container2 ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 20px;
  padding: 10px;
}
.dropdown-container2 ul li a{
  font-size: 0.9rem;
}
.dropdown-container ul a::before,
.dropdown-container ul a::after {
  width: none !important;
}
.dropdown-container ul a:hover::before,
.dropdown-container ul a:hover::after {
  width: 0;
}
.dropdown-container2 ul a::before,
.dropdown-container2 ul a::after {
  width: none !important;
}
.dropdown-container2 ul a:hover::before,
.dropdown-container2 ul a:hover::after {
  width: 0;
}
.dropdown-container a{
  padding: 10px 5px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--primary2);
  position: relative;
}
.dropdown-container ul li {
  position: relative;
}
/* .dropdown-container>ul li::after{
    content: ">";
    position: absolute;
    font-size: 0.8rem;
    font-weight: 400;
    right: 0;
    color: var(--white);
    z-index: 11;
} */
.dropdown-container2 ul li{
    margin-bottom: 1px solid var(--bg);
}
.dropdown-container li .arrow {
  border: solid var(--white);
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  position: absolute;
  right: 15px;
  bottom: 19px;
}
.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg); /* For older browsers */
}
/* .dropdown-container a::after{
    content: "&#x2192;";
    position: absolute;
    right: 10px;
    font-weight: 100;
} */

@media (max-width: 860px) {
  .dropdown-container {
    width: 40vw;
  }
}
@keyframes opac {
  from {
    opacity: 0;
    left: -30px;
  }
  to {
    opacity: 1;
    left: 0;
  }
}
header > a {
  padding: 15px 25px;
  background: var(--gradient);
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
}

@media (max-width: 644px){
    header{
      display: none;
    }
    nav{
      height: 110px;
    }
    #menu-btn{
      top: 130px;
      padding: 20px 19px;
    }
}



.sidebar {
     position: fixed;
     top: 0;
     font-family: "Montserrat", sans-serif !important;
     left: -100%;
     width: 100%;
     max-width: 100vw;
     overflow-x: hidden !important;
     height: 100%;
     background: var(--gradient);
     transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
     display: flex;
     flex-direction: column;
     /* align-items: center; */
     padding-top: 10px;
     opacity: 0;
     /* justify-content: center; */
     z-index: 11111111;
     visibility: hidden;
     overflow-y: scroll;
   }
   
   .sidebar h2 {
     color: #fffcec;
     margin-top: 10px;
     text-align: left;
   }
   
   /* Sidebar active (smooth slide-in effect) */
   .sidebar.active {
     transform: translateX(100%);
     opacity: 1;
     visibility: visible;
   }
   
   /* Close Button */
   .close-btn {
     position: absolute;
     top: 20px;
     right: 7%;
     background: transparent;
     color: #00b486  ;
     /* z-index: 10; */
     border: none;
     font-size: 36px;
     cursor: pointer;
     transition: transform 0.3s ease-in-out;
   }
   
   .close-btn:hover {
     transform: rotate(90deg);
   }
   
   .sidebar .headeer-sidebar {
     display: flex;
     /* align-items: center; */
     padding: 15px 20px;
     margin-left: 20px;
     color: #00b486;
     background-color: #23262c;
     width: 60%;
     gap: 20px;
     margin-top: 30px;
     align-items: center;
     justify-content: flex-start;
     border-radius: 20px;
   }
   .sidebar .headeer-sidebar img {
     width: 40px;
     border-radius: 50px;
   }
   .sidebar h2 {
     margin-top: 0px;
   }
   .sidebar .logout {
     padding: 5px 15px;
     color: #00b486;
     /* border: 1px solid #00B486; */
     /* width: 30%; */
     display: flex;
     /* justify-content: center; */
     align-items: center;
     margin-left: 20px;
     margin-top: 20px;
     /* border-radius: 10px; */
     gap: 15px;
   }
   .sidebar .logout img {
     width: 30px;
   }
   
   .sidebar .logout h5 a{
        color: #00b486;
   
   }
   .sidebar hr {
     margin-top: 40px;
   }
   /* Navigation Links */
   .nav-links {
     display: flex;
     justify-content: center;
     flex-direction: column !important;
     margin-left: 20px;
     margin-top: 140px;
     list-style: none;
     padding: 0;
     text-align: left;
     width: 100%;
   }
   
   .nav-links li {
     padding: 15px;
     transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
     opacity: 0;
     /* display: flex; */
     /* margin-left: 30px; */
     transform: translateY(-20px);
   }
   .nav-links li img {
     width: 25px;
   }
   .nav-links li .combine {
     display: flex;
     gap: 15px;
     align-items: center;
   }
   /* Make links fade in smoothly when sidebar opens */
   .sidebar.active .nav-links li {
     opacity: 1;
     transform: translateY(0);
   }
   
   /* .sidebar.active .menu-btn{
       opacity: 0;
   }  */
   
   /* Delay each link animation */
   .sidebar.active .nav-links li:nth-child(1) {
     transition-delay: 0.1s ;
     color: #23262c;
   }
   
   .sidebar.active .nav-links li:nth-child(2) {
     transition-delay: 0.2s;
   }
   
   .sidebar.active .nav-links li:nth-child(3) {
     transition-delay: 0.3s;
   }
   
   .sidebar.active .nav-links li:nth-child(4) {
     transition-delay: 0.4s;
   }
   
   .sidebar .nav-links a {
     color: #fffcec;
     text-decoration: none;
     font-size: 17px;
     display: block;
     transition: color 0.3s ease-in-out;
     font-weight: 500;
   }
   
   .sidebar .nav-links a:hover {
     color: #00b486;
   }
   
   /* Dropdown Button */
   .dropdown-btn {
     cursor: pointer;
     display: flex;
     width: 100%;
     justify-content: center;
     align-items: center;
     /* flex-direction: column; */
     position: relative;
   }
   
   .dropdown-btn::after {
     content: "";
     cursor: pointer;
     display: inline-block;
     /* margin-left: 29px; */
     right: 18%;
     position: absolute;
     top: 10px;
     width: 8px;
     height: 8px;
     border-right: 2px solid #fffcec;
     border-bottom: 2px solid #fffcec;
     transform: rotate(-45deg);
   
     transition: transform 0.3s ease-in-out;
   }
   
   /* Rotate arrow when active */
   .dropdown-side.active .dropdown-btn::after {
     transform: rotate(45deg);
   }
   
   /* Dropdown Content */
   .dropdown-content {
     list-style: none;
     padding: 0;
     max-height: 0;
     overflow: hidden;
     overflow-y: scroll;
     opacity: 0;
     transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
   }
   
   /* Show dropdown when active */
   .dropdown-side.active .dropdown-content {
     max-height: 200px;
     opacity: 1;
     margin-top: 20px;
     margin-left: 20px;
   }
   
   .dropdown-content li {
     padding: 8px;
   }
   
   .dropdown-content a {
     font-size: 20px;
     color: #fffcec;
     display: block;
     transition: color 0.3s ease-in-out;
   }
   
   .dropdown-content a:hover {
     color: #00b486;
   }

   main{
    display: flex;
    flex-direction: column;
    padding: 30px;
    padding-left: 80px;
    justify-content: center;
    height: 80vh;
    background-image: url("img/phantom_poster.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
   }
   main h1{
    color: var(--white);
    font-size: 3rem;
   }
   main h2{
    color: var(--primary);
    margin-top: 2px;
    font-size: 2rem;
   }
   main p{
    margin-top: 10px;
    color: #ccc;
    width: 45%;
    font-size: 0.9rem;
    line-height: 1.3;
   }
main .btn-main{
  margin-top: 35px;
}
   main a{
    padding: 15px 20px;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
   }

   @media (max-width:600px) {
    main{
      gap: 20px;
    }
    main p{
      width: 90%;
    }
   }
@media (max-width:400px) {
  main{
    padding-left: 10px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  main p{
    width: 100%;
  }
}
   .about-phantom-impex{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 20px ;
    flex-wrap: wrap-reverse;
   }
   .about-phantom-impex .left-about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
    animation: showup2 ease-in;
    animation-timeline: view();
     animation-range: entry 0% cover 45%;
   }
   .about-phantom-impex .left-about h3{
    color: var(--primary);
    letter-spacing: 1.1px;
    margin-top: 5px;
   }
   .about-phantom-impex .left-about h1{
    color: var(--white);
    font-size: 2rem;
    margin-top: 10px;
   }
   .about-phantom-impex .left-about h1 span{
    color: var(--primary);
   }
   .about-phantom-impex .left-about p{
    color: #ccc;
    margin-top: 20px;
   }
   .about-phantom-impex .left-about ul{
    padding: 20px;
    line-height: 1.3;
    color: #ccc;
   }
   .about-phantom-impex .right-about img{
    max-width: 400px;
      /* animation: showup2 ease-in;
    animation-timeline: view();
     animation-range: entry 0% cover 45%; */
   }

   @media (max-width: 835px){
    .about-phantom-impex .left-about{
      max-width: 90%;
      margin-top: 30px;
    }

    .about-phantom-impex .right-about img{max-width: 100%;}

   }
.heading{
  margin: 0 auto;
  text-align: center;
  margin-top: 60px;
    animation: showup2 ease-in;
    animation-timeline: view();
     animation-range: entry 0% cover 40%;
}
.heading h1{
  color: var(--primary);
  letter-spacing: 1px;
}
   .phantom-impex-products{
    width: 90%;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
    padding: 20px;
   }
   .phantom-impex-products .card-products{
    width: 250px;
    /* background: var(--bgdark); */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center ;
    gap: 15px;
    margin-top: 30px;
   overflow: hidden;
     animation: showup ease-in;
    animation-timeline: view();
     animation-range: entry 0% cover 40%;
   }
   .card-products img{
    width: 100%;
   }
   .card-products h3{
    color: var(--white);
   }
   .phantom-impex-products>a{
    background: transparent !important;
    padding: 0;
   }
   .card-products a{
    padding: 10px 20px;
    font-size: 0.9rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
  }
  .card-products .read{
    
    margin-top: 10px;
   }

   .pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

   .footer-container {
            background-color: #000;
            color: white;
            padding: 40px 20px;
            width: 100%;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            gap: 30px;
        }

        .footer-section {
            flex: 1;
            min-width: 220px;
            margin-bottom: 20px;
        }

        .footer-heading {
            color: var(--primary);
            font-size: 18px;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-info p {
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #ff0000;
        }

        .footer-categories ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .footer-categories li {
            background-color: #1a1a1a;
            padding: 8px 15px;
            border-radius: 3px;
            margin-bottom: 10px;
        }

        .footer-categories a {
            color: white;
            text-decoration: none;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .gallery-item {
            width: 100%;
            padding-top: 100%; /* 1:1 Aspect Ratio */
            position: relative;
            overflow: hidden;
            border-radius: 5px;
        }

        .gallery-item img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 30px auto 0;
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #333;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 15px;
        }

        .social-icons a {
            color: white;
            font-size: 20px;
            transition: color 0.3s;
        }

        .social-icons a:hover {
            color: #ff0000;
        }

        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
                gap: 30px;
            }
            
            .footer-section {
                min-width: 100%;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 480px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @keyframes showup{
          from{
            opacity: 0;
            transform: translateX(-150px);
            /* transform: rotate(15deg); */
            transform: skewY(10deg);
          }
          to{
            opacity: 1;
            transform: skewY(0deg);
            /* transform: skewY(0); */
            /* transform: translateY(0); */
            /* transform: rotate3d(0); */
            transform: translateX(0);
            transform: rotate(0deg);
          }
        }
        @keyframes showup2{
          from{
            opacity: 0;
            transform: translateX(-150px);
            /* transform: rotate(15deg); */
          }
          to{
            opacity: 1;
            /* transform: skewY(0); */
            /* transform: translateY(0); */
            /* transform: rotate3d(0); */
            transform: translateX(0);
            /* transform: rotate(0deg); */
          }
        }