/* 🔹 Global Reset with Smooth Scroll */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: jost;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 🔹 Base Styles with Beautiful Background */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  line-height: 1.8;
  background-color: #0a0a0a;
  color: #f8f8f8;
}

/* 🔹 Elegant Navigation */
nav {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 1000;
  padding: 0 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav img {
  max-height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

nav img:hover {
  transform: scale(1.05);
}

.italiana-regular {
  font-family: "Italiana", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff7300, #f3f705);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #fff;
}

.nav-links li a:hover::after {
  width: 100%;
}

nav.scrolled {
  height: 70px;
  background-color: rgba(26, 0, 51, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hamburger Menu with Animation */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 20px;
  position: relative;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
  top: 10px;
}

.hamburger span:nth-child(4) {
  top: 20px;
}

.hamburger.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.hamburger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

#title-1 {
    font-size: 30px;  
    font-family: Italiana;
}

/* 🔹 Stunning Sections with Parallax Effect */
section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 5%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: -1;
}

.section-1 ,  .section-3{
  background-image: url("front_img.PNG");
}

.section-2 {
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url("services.PNG");
}

/* 🔹 Beautiful Typography with Animated Text */
h2 {
  font-size: 64px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 5px #000;
}

h3 {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
  background: linear-gradient(90deg, #ff7300, #f3f705);
  border-radius: 12px;
  display: inline-block;
  margin: 20px auto;
  padding: 15px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

h3:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* 🔹 Grid Container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px;
  width: 90%;
  gap: 100px 20px;
  margin: auto;
}

.grid-item {
  background-color: bisque;
  padding: 30px;
  text-align: center;
  font-size: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.grid-item:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

#gd-1{
    background-color: bisque;
}

#gd-1 h3 {
    background: linear-gradient(90deg, #ff7700, #4b48f2);
}

#gd-2 {
  background-color: #DBDBDB;
}

#gd-3 {
  background-color: bisque;
  min-height: 100px;  /* Set minimum height */
  padding: 30px;
}

#exhibition {
  background: linear-gradient(90deg, #ff7300, #4b48f8);
}

#design {
  background: linear-gradient(90deg, #ff7300, #2ee727);
}

section p{
  color: #ccc;
  font-size: larger;
}

p{
  font-size: 25px;
  line-height: 1.8;
  color: #fff;
}

.pt-sans-regular {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
}

#des_article{
  margin-top: 5% ;
}

#exh_article{
  margin-top: 21%;
}

/* 🔹 Articles */
/*article {
  padding-top: 20%;
  margin: 20px auto;
  width: 80%;
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article::first-letter {
  font-size: 20px;
  font-weight: bold;
  color: #007bff;
  line-height: 1.3;
}

article::selection {
  background-color: #007bff;
  color: white;
}*/


/* Mobile Adjustments */
@media (max-width: 768px) {
  .grid-container {
    gap: 20px;
    margin: 20px auto;
    padding: 10px;
  }

  .grid-item {
    padding: 20px;
    font-size: 1rem; /* Adjust font size for mobile */
    min-height: 250px; /* Reduce min-height for mobile */
  }

  .grid-item h3 {
    font-size: 1.5rem; /* Adjust heading size for smaller screens */
    margin-bottom: 15px;
  }
}

/* Extra small screens (mobile portrait) */
@media (max-width: 480px) {
  .grid-container {
    padding: 10px;
    gap: 15px; /* Reduce gap for extra small screens */
  }

  .grid-item {
    padding: 15px;
    min-height: 200px; /* Adjust min-height further */
  }

  .grid-item h3 {
    font-size: 1.3rem; /* Further reduce heading size */
  }
}

.grid-item h3 {
  font-size: 1.8rem;
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  border: none;
  padding: 0;
}

/* 🔹 Elegant Articles with Beautiful Typography */
article {
  font-size: 0.1rem;
  line-height: 1.9;
  text-align: center;
  color: rgba(4, 9, 10, 0.9);
  position: relative;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 4px solid #69bef7;
  animation: fadeInUp 0.8s ease-out;
}

article::first-letter {
  font-size: 42px;
  font-weight: bold;
  color: #0044ff;
  line-height: 1;
  float: left;
  margin-right: 10px;
  margin-top: 6px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 🔹 Beautiful Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  animation: fadeIn 1s ease-out;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.stars {
  color: #ffc107;
  font-size: 24px;
  margin-bottom: 15px;
  text-shadow: 0 2px 5px rgba(255, 193, 7, 0.3);
}

.testimonial-card p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  position: relative;
}

.testimonial-card p::before,
.testimonial-card p::after {
  content: '"';
  font-size: 32px;
  color: #ff7300;
  opacity: 0.5;
}

.profile {
  display: flex;
  align-items: center;
  margin-top: 25px;
}

.profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  border: 3px solid rgba(255, 115, 0, 0.5);
  object-fit: cover;
  transition: all 0.3s ease;
}

.testimonial-card:hover .profile img {
  transform: scale(1.1);
  border-color: rgba(255, 115, 0, 0.8);
}

.profile span {
  display: block;
  font-weight: 600;
  color: #fff;
}

.profile small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 5px;
}

.location h1{
  padding-left: 40%;
}

footer {
  background-color: #12002b;
  padding: 40px 0;
  font-family: jost;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1;
  padding: 20px;
  min-width: 250px; 
}

.footer-section h2 {
  color: #ff7300;
  font-size: 28px;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style:circle;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  color: #ddd;
  font-size: 18px;
  line-height: 1.3;
}

.footer-section p, .footer-section a {
  color: #ccc;
  font-size: 18px;
  line-height: 1.3;
}

.footer-section a {
  text-decoration: none;
}

.footer-section a:hover {
  color: #ff7300;
}

.social-links a {
display: inline-block;
margin: 0 10px;
color: white;
font-size: 24px;
}

.social-links a:hover {
color: #ff7300;
}

.download-btn {
  background-color: #ff7300;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  border-radius: 5px;
}

.download-btn:hover {
  background-color: #e66000;
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center;
  }
}

/* 🔹 Beautiful Map Container */
.map-container {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  margin: 60px auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 115, 0, 0.1), rgba(243, 247, 5, 0.1));
  z-index: 1;
  pointer-events: none;
}

#map {
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* 🔹 Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 🔹 Mobile Responsiveness */
@media (max-width: 992px) {
  nav {
    padding: 0 5%;
    height: 70px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: #12002b;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 1000;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  section {
    padding: 120px 5% 80px;
    background-attachment: scroll;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .grid-item {
    min-height: auto;
    padding: 30px;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 2.2rem;
  }
  
  h3 {
    font-size: 1.5rem;
    padding: 15px 25px;
  }
  
  .pt-sans-regular {
    font-size: 1.1rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-container {
    height: 350px;
  }
}

/* 🔹 Utility Classes */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(90deg, #ff7300, #f3f705);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 🔹 Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}