@import url('https://fonts.googleapis.com/css2?family=Aclonica&family=Aladin&family=Allura&family=Alumni+Sans+Pinstripe:ital@0;1&family=Cinzel:wght@400..900&family=Euphoria+Script&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
ul{
    margin: 0;
}
body{
    --main-hue: 208;
    --main-color: #008DDA;
    --light-main-color: hsl(var(--main-hue), 91%, 55%);
    --second-color: #EB5B00;
    --third-color: #F7F4F3;
    --fourth-color: #BCCCDC;
    --bg-color: #fff;
    --input-text: #8c9aaf;
    --input-bg: hsla(var(--main-hue), 50%, 50%, 6.5%);
    --input-bg-hover: hsla(var(--main-hue), 50%, 50%, 14%);
}
a{
    text-decoration: none;
}

nav {
    box-shadow: 1px 6px 21px -5px rgba(66, 68, 90, 1);
    padding: 1rem 2rem;
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffedda;
    text-decoration: none;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
  .nav-links a {
    position: relative;
    display: inline-block;
    color: transparent; /* hide original text */
    text-decoration: none;
    font-size: 1rem;
    padding: 0 15px;
    perspective: 500px;
    font-family: "Aclonica", cursive;
    overflow: hidden;
  }
  
  /* Flip layers */
  .nav-links a::before,
  .nav-links a::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    transform-origin: bottom;
    backface-visibility: hidden;
    text-align: center;
  }
  
  /* Normal state */
  .nav-links a::before {
    transform: rotateX(0deg);
    
    
    color: #ffedda;
  }
  
  /* Flip face */
  .nav-links a::after {
    transform: rotateX(-90deg);
    color: #f05a28;
  }
  
  /* Hover flip */
  .nav-links a:hover::before {
    transform: rotateX(90deg);
  }
  
  .nav-links a:hover::after {
    transform: rotateX(0deg);
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #007074;
    transition: all 0.3s ease;
  }
  
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: #5B2333;
      flex-direction: column;
      align-items: center;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease-in-out;
    }
  
    .nav-links.open {
      min-height: 80vh;
    }
    .nav-links a{
        font-size: 2rem;
        padding: 10px;
        margin-top: 1.5rem;
    }
    .hamburger {
      display: flex;
    }
  }
  
  /* Hamburger Animation */
  .hamburger.toggle div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.toggle div:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.toggle div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  article {
    min-height: 100vh;
    background: url('./images/bg52.jpg') no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    justify-content: space-between;
    align-items: center;
    overflow: hidden; 
  }
  .banner {
    width: 100%;
    height: 90vh;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
  }
/* Main Banner
.banner {
    position: relative; /* Required for pseudo-element positioning
    width: 100%;
    margin: 0;
    padding: 20px;
    min-height: 90vh;
    display: flex;
    flex-wrap: wrap;
    background: url('./images/bg52.jpg') no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    justify-content: space-between;
    align-items: center;
    overflow: hidden; /* Optional: ensures no overflow from the overlay
} */

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: 1;
}

/* Content inside banner */
.left-side {
    position: relative; /* Bring above overlay */
    z-index: 2;
    width: 50%;
    padding: 20px;
    margin-left: 5rem;
}

.left-side h1 {
    width: 100%;
    font-size: 4rem;
    font-family: 'Aladin', cursive;
    color: #BA2D0B;
}

.left-side p {
    width: 100%;
    font-size: 2rem;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: bold;
    color: #FFEDDA;
}

/* Right Section */
.right-side {
    width: 40%;
    height: 60vh;
    margin: 1rem auto;
    position: relative; 
}

/* Service Cards */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 15px;
    margin-top: 20px;
}

.service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 1;
    min-width: 200px; /* Prevents shrinking too much */
}

/* Service Icons */
.service i {
    font-size: 1.5rem;
    padding: 15px;
    color: #BA2D0B;
    background: #AFDDFF;
    border-radius: 50%;
}

/* Service Info */
.info {
    flex: 1;
}

.info h2 {
    font-size: 1.2rem;
    color: #9ACBD0;
    font-family: 'Aclonica', sans-serif;
}

.info p {
    font-size: 1.5rem;
    color: #EC5228;
}

/* Bottom Corner Section
.corner {
    width: 45%;
    height: auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 15px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
}

.corner-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

/* Corner Images 
.corner-image {
    display: flex;
}

.corner-image img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 0 0 1px #fcfbfa;
}

/* Overlapping images
.corner-image img:not(:first-child) {
    margin-left: -15px;
}

/* Corner Info 
.corner-info {
    color: #01110A;
    line-height: 1.5;
    text-align: left;
}

.corner-info h4 {
    font-size: 1rem;
    color: #01110A;
}

.corner-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #3C3D37;
}

/* Responsive Adjustments */

/* --- RESPONSIVE MEDIA QUERIES --- */

@media screen and (max-width: 1024px) {
    .left-side h1 {
        font-size: 3.2rem;
    }

    .left-side p {
        font-size: 1.8rem;
    }

    .right-side {
        height: 50vh;
    }
}

@media screen and (max-width: 768px) {
    .banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .left-side,
    .right-side {
        width: 100%;
        margin: 0;
    }

    .left-side {
        margin-bottom: 1.5rem;
    }

    .left-side h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .left-side p {
        font-size: 1.5rem;
        text-align: center;
    }

    .right-side {
        height: auto;
    }
    
    /* 🆕 Center service cards on mobile */
    .service-cards {
        justify-content: center;
        text-align: center;
    }

    .service {
        flex-direction: column;
        align-items: center;
    }

    .info {
        text-align: center;
    }
}
@media screen and (max-width: 480px) {
    .left-side h1 {
        font-size: 2rem;
        text-align: center;
    }

    .left-side p {
        font-size: 1.2rem;
        text-align: center;
    }

    /* 🆕 Service Cards Centered */
    .service-cards {
        justify-content: center;
        text-align: center;
    }

    .service {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service i {
        font-size: 1.2rem;
        padding: 10px;
    }

    .info {
        text-align: center;
    }

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

    .info p {
        font-size: 1.2rem;
    }
}

/* Banner Container */
.banner-cards { 
    width: 100%;
    background: #f9f9f9;
    padding: 40px 20px;
}

/* Small Cards Wrapper */
.small-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Each Card */
.small-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-basis: 30%;
    max-width: 30%;
}

/* Ensure all cards are of equal height */
.small-card-content,
.content-icon {
    height: 160px;
}

/* Icon and Info Wrapper */
.content-icon {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-icon:hover {
    transform: translateY(-5px);
}

/* Larger Lottie Animation */
.animated-icon {
    width: 150px;
    height: 120px;
    margin-right: 15px;
}

.animated-icon iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Information Section */
.information {
    color: white;
    flex: 1;
}

.information h3 {
    color: #BA2D0B;
    font-size: 1.8rem;
    font-family: 'Aladin', cursive;
    margin-bottom: 5px;
}

.information p {
    font-size: 1rem;
    color: #003E1F;
    line-height: 1.4;
}

.information a {
    color: #008DDA;
    text-decoration: none;
    font-weight: bold;
    text-decoration: underline;
}

.information a:hover {
    color: #EB5B00;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .small-card-content {
        flex-basis: 45%;
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .small-card-content {
        flex-basis: 100%;
        max-width: 100%;
    }

    .animated-icon {
        width: 120px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .banner-cards {
        padding: 30px 10px;
    }

    .small-card-content {
        flex-basis: 100%;
        max-width: 90%;
    }

    .content-icon {
        flex-direction: row;
        text-align: right;
    }

    .animated-icon {
        margin-bottom: 10px;
    }

    .information h3 {
        font-size: 1.5rem;
    }

    .information p {
        font-size: 0.9rem;
    }
}


.contact{
    width: 100%;
    overflow: hidden;
}
.container{
    height: 100vh;
    min-height: 700px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.container > div{
    grid-column: 1/2;
    grid-row: 1/2;
}
.left{
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    position: relative;
    z-index: 3;
}
.contact-heading h1{
    font-weight: 600;
    color: #008DDA;
    font-size: 3.5rem;
    line-height: 0.9;
    white-space: nowrap;
    font-family: 'Aladin', cursive;
    margin-bottom: 1.2rem;
}
.contact-heading span{
    color: #EB5B00;
}

.form-wrapper{
    max-width: 32rem;
}
.text{
    color: #9ca7b6;
    line-height: 1.1;
    font-size: 1.3rem;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: bolder;
}
.text a{
    color: #EB5B00;
    transition: 0.3s;
}
.text a:hover{
    color: #008DDA;
    transition: 0.3s;
}
.contact-form{
    display: grid;
    margin-top: 2.55rem;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 1rem;
}
.input-wrap{
    position: relative;
}
.input-wrap.w-100{
    grid-column: span 2;
}
.contact-input{
    width: 100%;
    background-color: var(--input-bg);
    border: none;
    padding: 1.5rem 1.35rem calc(0.75rem - 2px) 1.35rem;
    outline: none;
    border-radius: 15px;
    color: #3C3D37;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    box-shadow: 0 0 0 0px hsla(var(--main-hue), 92%, 54%, 0.169);
    font-family: 'Playfair Display', sans-serif;
    transition: 0.3s;
}
.contact-input:hover{
    background-color: var(--input-bg-hover);
}
.input-wrap label{
    position: absolute;
    top: 50%;
    left: calc(1.35rem + 2px);
    transform: translateY(-50%);
    color: var(--input-text);
    pointer-events: none;
    transition: 0.25s;
}
.icon{
    position: absolute;
    right: calc(1.35rem + 2px);
    top: 35%;
    transform: translate(-50%);
    pointer-events: none;
    color: var(--input-text);
    font-size: 1.25rem;
    transition: .3s;
}
textarea.contact-input{
    resize: none;
    width: 100%;
    min-height: 150px;
}
textarea.contact-input ~ label{
    top: 1.2rem;
    transform: none;
}
textarea.contact-input ~ .icon{
    top: 1.3rem;
    transform: none;
}
.input-wrap.focus .contact-input{
    background-color: var(--bg-color);
    border: 2px solid var(--light-main-color);
    box-shadow: 0 0 0 5px hsla(var(--main-hue), 91%, 55%, 0.11) ;
}
.input-wrap.focus label{
    color: var(--light-main-color);
}
.input-wrap.focus .icon{
    color: var(--light-main-color);
}
.input-wrap.not-empty label{
    font-size: .66rem;
    top: 0.75rem;
    transform: translateY(0);
}
.contact-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    grid-column: span 2;
}
.btn{
    display: inline-block;
    padding: 1.1rem 2rem;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 40px;
    border: none;
    font-family: "Playfair Display", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: .3s;
}
.btn:hover{
    background-color: #EB5B00;
}
.upload{
    position: relative;
    background-color: var(--input-bg);
}
.upload:hover{
    background-color: #8c9aaf;
}
.upload span{
    color: #333;
}
.upload input{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
}
.right{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    pointer-events: none;
}
.image-wrapper {
    position: absolute;
    width: 60vw;
    height: 115vh;
    right: 0;
    overflow: hidden;
}

.image-wrapper .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -5;
}
.wave-wrap{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #fff;
    right: 100%;
}
.wave-wrap svg{
    position: absolute;
    height: calc(100% + 10px);
    top: 50%;
    left: calc(100% - 5px);
    transform: translateY(-50%);
    z-index: -2;
   
}
#wave{
    fill: #fff;
    height: 100%;
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .left {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-heading h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .contact-buttons {
        grid-template-columns: 1fr;
    }
    .right {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
    }
    .icon {
        display: none;
    }
    .contact-heading h1 {
        margin-top: 2rem;
        font-size: 2rem;
    }
    .contact-buttons {
        flex-direction: column;
        row-gap: 0.5rem;
    }
}
@media (max-width: 480px) {
    .container {
        display: flex;
        flex-direction: column;
    }
    .contact-form{
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        column-gap: 10px;
        row-gap: 1rem;
    }
    .icon {
        display: none;
    }
    .contact-heading h1 {
        margin-top: 2rem;
        font-size: 2rem;
    }
    .contact-buttons {
        flex-direction: column;
        row-gap: 0.5rem;
    }
}

 /* Style for the success pop-up */
 .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering the popup */
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Frosted glass effect */
    border-radius: 15px;
    width: 50%; /* Square width */
    height: 50%; /* Square height */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .popup-content {
    background-color: rgba(255, 255, 255, 0.5); /* Slight white background with transparency */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 100%; /* Ensure the content takes full width of the popup */
    height: 100%; /* Ensure the content takes full height of the popup */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .popup-content p{
    font-size: 2rem;
  }

  .popup button {
    background-color: #4CAF50;
    color: #FFEDDA;
    padding: 10px 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.8rem;
    font-family: 'Aladin', cursive;
  }
  
  .popup button:hover {
    background-color: #45a049;
  }
  
footer {
    position: relative;
    width: 100%;
    background: #5B2333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px; /* Added padding for better spacing */
}

/* Social Links & Menu */
.social-links-footer, .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 15px; /* Ensures spacing between items */
}

.social-links-footer li, .menu li {
    list-style: none;
}

.social-links-footer a, .menu a {
    text-decoration: none;
    font-size: 1.8rem; /* Slightly smaller for responsiveness */
    color: #F7F4F3;
    margin: 0 8px;
    display: inline-block;
    transition: 0.3s;
}
.menu a{
    text-decoration: none;
    color: #F7F4F3;
    margin: 0 10px;
    font-size: 1.4rem;
    opacity: 0.7;
    display: inline-block;
}
.social-links-footer a:hover {
    color: #F7F4F3;
    transform: translateY(-5px); /* Keeps the slight bounce effect */
    text-shadow: 0 0 10px rgba(247, 244, 243, 0.8), 
                 0 0 20px rgba(247, 244, 243, 0.6), 
                 0 0 30px rgba(247, 244, 243, 0.4);
}
.menu a:hover {
    opacity: 1;
    transform: translateY(-5px); /* Keeps the slight bounce effect */
    text-shadow: 0 0 10px rgba(247, 244, 243, 0.8), 
                 0 0 20px rgba(247, 244, 243, 0.6), 
                 0 0 30px rgba(247, 244, 243, 0.4);
}

/* Footer Text */
footer p {
    color: #F7F4F3;
    font-family: "Alumni Sans Pinstripe", cursive;
    font-weight: bolder;
    font-size: 1.3rem;
    margin: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
     .menu {
        flex-direction: column; /* Stack elements on smaller screens */
        gap: 20px;
    }
    .social-links-footer a, .menu a {
        font-size: 1.5rem;
        margin: 5px 0;
    }
    footer p {
        font-size: 1.2rem;
        margin: 15px;
    }
}

@media (max-width: 480px) {
     .menu a {
        font-size: 1.3rem;
    }
    footer p {
        font-size: 1rem;
    }
}
