
*,
*:before,
*:after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
nav{
    width: 100%;
    display: flex;
    z-index: 5;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    position: fixed;
    top: 0;
    padding: 25px 35px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
   
}
ul{
    list-style: none;
}
li{
    display: inline-block;
}
li a{
    margin-left: 40px ;
}
nav a{
    color: #FFFFF0;
    letter-spacing: 1px;
    text-decoration: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

  
  .carousel {
    width: 100%;
    
    height: 700px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .carousel-text {
    position: absolute;
    width: fit-content;
    top: 70%;
    left: 55%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    z-index: 2;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  }
  
  .carousel-text h1 {
    font-size: 4rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    
    margin: 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  }
  
  .carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .carousel-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;

  }
  
  .carousel-images img.active {
    opacity: 1;
  }
  
  @keyframes fade {
    0% { opacity: 1; }
    20% { opacity: 1; }
    25% { opacity: 0; }
    95% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  .carousel-images img:nth-child(1) {
    animation: fade 10s infinite;
  }
  
  .carousel-images img:nth-child(2) {
    animation: fade 10s infinite 2s;
  }
  
  .carousel-images img:nth-child(3) {
    animation: fade 10s infinite 4s;
  }
  
  .carousel-images img:nth-child(4) {
    animation: fade 10s infinite 6s;
  }
  
  .carousel-images img:nth-child(5) {
    animation: fade 10s infinite 8s;
  }
  
.head{
    text-align: center;
    color: #002147;
    font-size: 1.7rem;
    margin: 60px 0;
    font-family: 'Oswald', sans-serif;
}

.categories{
    width: 100%;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 350px;
    margin: 10px;
    transition: all 2.3s ease;
    perspective: 1200px;
    border-radius: 30px;
    overflow: hidden;
}

.card:hover .cover {
    transform: rotateY(-180deg);
}

.card:hover .cover:before {
    transform: translateZ(30px);
}

.card:hover .cover:after {
    background-color: black;
}

.card:hover .cover h1 {
    transform: translateZ(100px);
}

.card:hover .cover .price {
    transform: translateZ(60px);
}

.card:hover .cover a {
    transform: translateZ(-60px) rotateY(-180deg);
}

.cover {
    position: absolute;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: all 2.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
}

.cover:before {
    content: '';
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    transition: all 2.3s ease;
    transform-style: preserve-3d;
    transform: translateZ(0px);
    border-radius: 30px;
}

.cover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    transition: all 1.3s ease;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
}

.cover.item-a {
    background-image: url('images/tailoring-processs_1098-17986.jpg.avif');
}
.cover.item-b {
    background-image: url('images/pexels-navnidh-5458363.jpg');
}
.cover.item-c {
    background-image: url('images/handicraft-jpg.jpg');
}

.cover h1 {
    font-weight: 600;
    position: absolute;
    bottom: 55px;
    left: 50px;
    color: white;
    transform-style: preserve-3d;
    transition: all 2.3s ease;
    z-index: 3;
    font-size: 3em;
    transform: translateZ(0px);
}


.card-back.a1 {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #808000;
    transform-style: preserve-3d;
    transition: all 2.3s ease;
    transform: translateZ(-1px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}
.card-back.a2 {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #0f1f41;
    transform-style: preserve-3d;
    transition: all 2.3s ease;
    transform: translateZ(-1px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}
.card-back.a3 {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #bd2c00;
    transform-style: preserve-3d;
    transition: all 2.3s ease;
    transform: translateZ(-1px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.card-back a {
    transform-style: preserve-3d;
    transition: all 2.3s ease, background 0.5s ease;
    transform: translateZ(-1px) rotateY(-180deg);
    background: transparent;
    border: 1px solid white;
    font-weight: 200;
    font-size: 1.3em;
    color: white;
    padding: 14px 32px;
    outline: none;
    text-decoration: none;
    margin: 0 5px;
    border-radius: 10px;
}

.card-back a:hover {
    background-color: white;
    color: #0b0f08;
}


/* Services Section */
.services {
    text-align: center;
    margin-top: 30px;
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .services-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #222;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    
  }
  
  .services-header p {
    font-size: 1rem;
    color: #2e3856;
    margin-bottom: 30px;
  }
  
  /* Grid styling */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .service-item {
    background-color:transparent;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-item:hover {
    transform: translateY(-5px);
    
  }
  
  /* Icons */
  .service-item i {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 15px;
  }
  
  /* Titles */
  .service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  /* Descriptions */
  .service-item p {
    font-size: 0.95rem;
    color: #666;
  }


.boton-elegante {
    padding: 0.8em 1.5em;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    color: #002147;
    transition: all 1000ms;
    font-size: 15px;
    position: relative;
    background-color: transparent;
    overflow: hidden;
    outline: 2px solid #002147;
  }
  
  .boton-elegante:hover {
    color: #ffffff;
    transform: scale(1.1);
    outline: 2px solid #002147;
    box-shadow: 4px 5px 17px -4px #002147;
  }
  
  .boton-elegante::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #002147;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 1000ms;
  }
  
  .boton-elegante:hover::before {
    width: 250%;
  }
  

/*about us and maps*/
.container1 {
    width: 90%;
    max-width: 1200px;
    margin: 70px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(24, 89, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
}

.about-us, .map {
    flex: 1;
    margin: 10px;
}

.about-us {
    padding: 20px;
}

.about-us h2 {
    font-size: 2em;
    color: #002147;
    margin-bottom: 10px;
    text-align: center;
}

.about-us p {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.map {
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}

/*Contactus*/

.container3 {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(24, 59, 255, 0.2);
}

.contact-section {
    padding: 20px;
}

.contact-section h2 {
    font-size: 2em;
    color: #002147;
    margin-bottom: 10px;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-form .half-width {
    flex: 1 1 calc(50% -5);
    margin-right: 50px;
    width: 300px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form textarea {
    resize: vertical;
    height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #13138b;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background-color:  #002147;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
    background-color: #13198b;
    box-shadow: 0 4px 8px rgba(0, 91, 179, 0.3);
}

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

    .contact-section h2 {
        font-size: 1.5em;
    }

    .contact-form .half-width {
        flex: 1 1 100%;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9em;
    }

    .contact-form button {
        font-size: 0.9em;
    }
}

/*footer*/
.footer {
    background-color: #0f1f41;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer-content p {
    margin: 0;
    font-size: 14px;
    color: #888888;
  }
  
  .social-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .social-links li {
    display: inline;
  }
  
  .social-links a {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #3392ff; /* Example hover color */
    transform: scale(1.1); /* Slight zoom effect */
    transition: 0.2s ease-in-out;
  }