.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 90vh;
    object-fit: cover;
    object-position: top center;
    z-index: 0;

    transform: scale(1.15);
    animation: heroZoomOut 4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform;
}

.hero-bg {
    animation: heroZoomOut 6s ease-out forwards;
}

@keyframes heroZoomOut {
    from {
        transform: scale(1.2);
    }
    to {
        transform: scale(1);
    }
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-container {
    position: relative;   
    z-index: 2;           

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 85vh;
    width: 85%;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: -10px;
}

.hero-container .line {
  color: white;
  font-size: 8vw; 
  font-weight: 800; 
  font-family: 'Helvetica', 'Arial', sans-serif; 
  
  transform: scaleX(0.85); 
  transform-origin: left; 
  text-transform: uppercase;
  line-height: 0.7; 
  margin-bottom: -8px; 
  
  letter-spacing: -5px; 
  
  opacity: 0;
  animation: slideUp 0.8s ease forwards;
  text-align: left; 
}

.hero-container .highlight {
  color: #00ccff;
  letter-spacing: 1px;
}

/* Animation setup */
.hero-container .line {
  animation: slideUp 1s ease forwards;
}
.hero-container .line {
  animation: slideUp 1.5s ease-out forwards;
}

.hero-container .line {
  animation: slideUp 1s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(80px) scaleX(0.85); 
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleX(0.85);
  }
}

.hero-container .line:nth-child(1) { animation-delay: 1.5s; }
.hero-container .line:nth-child(2) { animation-delay: 2.0s; } 
.hero-container .line:nth-child(3) { animation-delay: 2.5s; } 
.hero-container .line:nth-child(4) { animation-delay: 3.0s; } 

@media (max-width: 768px) {
    .hero img{
        height: 80vh; 
    }
}



@media (max-width: 768px) {
  .hero-container {
    width: 90%; 
    min-height: 80vh;
  
  }

  .hero-container .line {
    font-size: 8vw; 
    letter-spacing: -2px; 
    line-height: 0.85;
  }
}

@media (max-width: 480px) {
  .hero-container {
    width: 95%;
    
  }

  .hero-container .line {
    font-size: 14vw; 
    letter-spacing: -1px;
   
  }
}

@media (max-width: 768px) {
    .hero {
        height: 500px; 
        margin-bottom: 0; 
        padding-bottom: 0;
    }

   
}


/* intro section End */




/* paragraph section start */


.service-section {
    background-color: transparent; 
    padding: 60px 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left; 
}

/* Heading Styling */
.service-heading {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Paragraph  */

.service-description span{
    font-size: 17px;
    line-height: 1;
    color: #00ccff;
    margin: 0;
    max-width: 1200px;
    font-weight: 600;
}

.service-description strong{
   font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}



.service-description {
    font-size: 18px;
    line-height: 1.8;
    color: white;
    margin: 0;
    max-width: 1100px;
}


@media (max-width: 768px) {
    .service-section {
        padding: 50px 20px;
    }

    .service-heading {
        font-size: 30px;
    }
    
    .service-description {
        font-size: 16px;
    }
}







/* galary flip section start*/

.front {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.front::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0)
    );
}

.card-title {
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.3px;
    z-index: 2;
}


.flip-box {
    padding: 50px 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}



.card {
    height: 250px;
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.9s cubic-bezier(0.4, 0, 0.2, 1);
}



.card:hover .card-inner {
    transform: rotateY(180deg);
}


.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 3px;
}



.front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card:hover .front img {
    transform: scale(1.05);
}



.back {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;

    transform: rotateY(180deg);

    /* Dark premium texture */
    background-color: #242424;

    background-image:
        radial-gradient(
            circle at 20% 20%,
            rgba(255,255,255,0.06) 0,
            rgba(255,255,255,0.06) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255,255,255,0.04) 0,
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            135deg,
            rgba(255,255,255,0.03) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255,255,255,0.03) 50%,
            rgba(255,255,255,0.03) 75%,
            transparent 75%
        );

    background-size:
        18px 18px,
        25px 25px,
        12px 12px;

    box-shadow:
        inset 0 0 40px rgba(0,0,0,0.35);
}



.back h2 {
    margin: 0;
    padding: 0 20px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.3px;
}


.read-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 26px;

    color: #fff;
    background: transparent;

    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 2px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;

    overflow: hidden;
    transition: all 0.35s ease;
    z-index: 1;
}

/* Button hover background */
.read-more::before {
    content: "";
    position: absolute;
    inset: 0;

    background: #fff;

    transform: translateX(-100%);
    transition: transform 0.35s ease;

    z-index: -1;
}

.read-more:hover::before {
    transform: translateX(0);
}

.read-more:hover {
    color: #222;
    border-color: #fff;
}

@media (max-width: 992px) {

    .flip-box {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
        gap: 20px;
    }

}



@media (max-width: 768px) {

    .flip-box {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .card {
        height: 250px;
    }

    .front::after {
        height: 30%;
    }

    .card-title {
        font-size: 20px;
        bottom: 16px;
    }

}



@media (max-width: 480px) {

    .flip-box {
        padding: 15px;
        gap: 18px;
    }

    .card {
        height: 230px;
    }

    .front::after {
        height: 25%;
    }

    .card-title {
        font-size: 18px;
        bottom: 14px;
    }

    .back h2 {
        font-size: 15px;
        padding: 0 15px;
    }

    .read-more {
        padding: 10px 22px;
        font-size: 12px;
    }

}

/* galary flip section End */
