@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.Main-Content {
  position: relative;
  z-index: 1;
} 

li, a, button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

/* Hidden by default */
.dark-overlay {
  display: none;
  z-index: -1;
}

/* Show only in dark mode */
@media (prefers-color-scheme: dark) {
  .dark-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); /* Adjust opacity as needed */
    z-index: 0;
    pointer-events: none;
  }
}


@media (prefers-color-scheme: dark) {
  .NavBar,
  .header,
  .service-card,
  .achievement,
  .review-card,
  .blog-card,
  .Footer,
  .Copyright,
  .about-container,
  .contact-container,
  .flip-card-front,
  .flip-card-back {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
}

/* Base Navbar Container */
.NavBar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.3); /* Translucent glass background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 999;
    color: white;
    flex-wrap: wrap;
}

/* Logo */
.navbar-logo {
    height: 40px;
    flex-shrink: 0;
}

/* Nav Links */
.NaveLinks {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.NaveLinks li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.NaveLinks li a:hover {
    color: #ffa200;
}

/* CTA Button */
.button button {
    background-color: #ffa200;
    color: #000;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.button button:hover {
    background-color: #ffb933;
}

/* Hamburger Menu Icon */
.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .NaveLinks, .button {
        display: none; /* hidden by default for mobile */
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .NaveLinks.active {
        display: flex;
    }

    .mobile-menu-icon {
        display: block;
    }

    .button {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .NavBar {
        flex-direction: column;
        align-items: flex-start;
    }
}


body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: black;
    background-image: 
        radial-gradient(circle at 20% 30%, #5b2d85 0%, transparent 30%),
        radial-gradient(circle at 70% 50%, #ffa200 0%, transparent 35%),
        radial-gradient(circle at 40% 80%, #5b2d85 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, #ffa200 0%, transparent 30%);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: screen;
}
    /* Adjust Text Color for Dark Mode */
    .hero-content h1,
    .slogan-description,
    .hero-description,
    .cta-button,
    .Footer p,
    .nav-links a,
    .clients-section h2,
    .about-section h2,
    .achievements-section h2,
    .contact-section h2,
    .Partners-section h2,
    .blog-section h2,
    .flip-card-section h2 {
        color: #fff !important;
        z-index: 200 !important;
    }

    /* Adjust Button Colors for Better Visibility */
    .cta-button {
        background-color: #333;
        color: #fff;
    }

    .cta-button:hover {
        background-color: #555;
    }

    /* Adjust Social Icons */
    .Footer li a {
        color: #f0f0f0;
    }

    .Footer li a:hover {
        color: #FFD580;
    }
}

header {
    display: flex;
    z-index: 10;
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease;
}

/* === MAIN NAV BAR WRAPPER === */
.NavBar {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
}

/* === TOP ROW: LOGO + HAMBURGER === */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}


/* === LOGO === */
.navbar-logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

/* === HAMBURGER ICON (mobile only) === */
.mobile-menu-icon {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* === DESKTOP NAVIGATION LINKS === */
.desktop-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.desktop-nav .NaveLinks {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.desktop-nav .NaveLinks li a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.desktop-nav .NaveLinks li a:hover {
  color: #ffa200;
}

/* === MOBILE FULLSCREEN MENU === */
.mobile-menu-wrapper {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu-wrapper.active {
  display: flex;
  transform: translateX(0%);
}

.mobile-menu-wrapper .NaveLinks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-wrapper .NaveLinks li a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.close-menu {
  margin-top: 40px;
  font-size: 2rem;
  color: #ffa200;
  cursor: pointer;
  transition: transform 0.3s;
}

.close-menu:hover {
  transform: scale(1.2);
}

/* === RESPONSIVENESS === */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-menu-wrapper,
  .close-menu,
  .mobile-menu-icon {
    display: none !important;
  }

  .top-row {
    width: 100%;
  }

  .desktop-nav {
    display: flex !important;
  }

  .desktop-nav .NaveLinks {
    display: flex !important;
    flex-direction: row !important;
  }
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    position: relative;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 10px;
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid #fff;
    white-space: nowrap;
    width: 0;
    animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
}

.slogan-description {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 2s 1.5s ease-in-out forwards;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 100px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 2s 2s ease-in-out forwards;
}

.cta-button {
    padding: 20px 40px;
    background-color: #ffa200;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    opacity: 0;
    animation: fadeIn 2s 2.5s ease-in-out forwards;
}

.cta-button:hover {
    background-color: #882aba;
}

/* Scroll Down Indicator */
.hero::after {
    content: "↓";
    font-size: 30px;
    font-weight: bolder;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    animation: bounce 1.5s infinite;
}

/* Typewriter effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Blinking cursor effect */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Bounce effect for scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-content h1 {
        animation: none; /* Disable typing effect on mobile */
        white-space: normal; /* Allow text to wrap */
        width: auto; /* Ensure the text is fully visible */
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .slogan-description, .hero-description, .cta-button {
        animation: none; /* Disable fade-in effect on mobile */
        opacity: 1; /* Ensure content is visible */
    }

    .hero {
        opacity: 1; /* Ensure hero section is visible on mobile */
    }

    /* Adjust other elements */
    .hero-description {
        font-size: 1rem;
    }

    .hero-content h1 {
        animation: none; /* Disable typing effect */
        white-space: normal; /* Allow text wrapping */
        width: auto; /* Ensure full visibility */
        font-size: 2rem; /* Adjust size for mobile */
        border-right: none; /* Remove cursor */
    }

}

#whatsapp .wtsapp {
    display: block;
    position: fixed;
    font-size: 40px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    color: #fff;
    border: none;
    text-align: center;
    line-height: 70px;
    left: 92%;
    top: 87%;
    z-index: 100;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition-duration: 0.5s;
  }
  
  @media(max-width: 1200px) {
    #whatsapp .wtsapp {
      left: 80%;
    }
  }
  
  #whatsapp .wtsapp:hover {
    scale: 1.1;
  }
  
/* Responsive Styles */
@media (max-width: 768px) {
    .services-section {
        height: auto;
    }
    .service-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 100%;
    }
}

/* Clients Section */
.clients-section {
    margin-top: 5%;
    margin-bottom: 5%;
    text-align: center;
}

.clients-container {
    padding-top: 5%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    height: auto;
    position: relative;
    width: 90%;
    margin: 0 auto;
    mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
    background: transparent;
}

.Client-container {
    position: relative;
    width: 100%;
    max-width: 1500px;
    height: auto;
    overflow: hidden;
    white-space: nowrap;
    background: transparent;
}

.scroll-content {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
    background: transparent;
}

.scroll-content:hover {
    animation-play-state: paused;
}

.client {
    width: 150px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: transparent;
}

.client img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures PNG is properly scaled */
    background: transparent;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.scroll-content::after {
    content: '';
    display: flex;
    width: 100%;
}

.scroll-content {
    display: flex;
    width: max-content;
}

/* Achievements Section */
.achievements-section {
    text-align: center;
    padding: 50px 0;
    color: #fff;
}

.achievements-container {
    padding-top: 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.about-container {
  display: grid;
  width: 80%;
  text-align: justify;
  grid-template-columns: 1fr 1.3fr; /* Two equal columns: text | image */
  gap: 40px;
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
  margin: 0 auto;
  font-size: 1.1rem;
  padding-top: 5%;
  padding-bottom: 5%;
  line-height: 1.8;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  margin-bottom: 10px;
}

.section-title span {
  background: linear-gradient(to right, #ffd633, #ffa200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.intro-line {
  font-size: 1.2rem;
  background: linear-gradient(to right, #ffd633, #ffa200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.headline {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.body-text {
  font-size: 1.05rem;
  text-align: justify;
  line-height: 1.8;
  color: #fff;
}

.quote {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 2;
  color: #fff;
  border-left: 4px solid #ffd633;
  padding-left: 16px;
  margin: 20px 0;
  margin-left: 10%;
}

/* Keep existing .about-container, .blog-post-image, and responsive rules from earlier */

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.about-text h4 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.about-text p.lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.about-text ul.philosophy-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 10px 0 20px;
}

.about-text ul.philosophy-list li {
  margin-bottom: 8px;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-top: 20px;
  }
}

.achievement {
    flex: 1 1 200px;
    max-width: 300px;
    min-width: 200px;
    height: 200px; /* Fixed height for uniformity */
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    box-sizing: border-box;

    /* Center text vertically and horizontally */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.achievement:hover {
    transform: scale(1.1);
}

.achievement h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.achievement p {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
}

.blog-section {
  padding: 80px 10%;
  color: #fff;
  text-align: center;
}

.blog-container {
  padding-top: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 30px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: scale(1.05);
}

.blog-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.blog-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.blog-read-more {
  color: #FFD580;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-read-more:hover {
  color: #fff;
}

.blog-post-image {
  width: 100%;
  margin: auto;
  margin-bottom: 5%;
  display: block;
  border-radius: 15px;
}

.service-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.flip-card-section {
    padding: 0px 0px;
    background-color: transparent;
    color: #fff;
    text-align: center;
  }
  
  .flip-card-container {
    padding-top: 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  
  .flip-card {
    background-color: transparent;
    width: 300px;
    height: 360px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .flip-card-front {
    background: rgba(255, 255, 255, 0.15);
  }
  
  .flip-card-back {
    background: rgba(255, 255, 255, 0.2);
    transform: rotateY(180deg);
  }
  
  .flip-card h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
  }

    .flip-card-section {
    padding: 80px 10%;
    background-color: transparent;
    color: #fff;
    text-align: center;
  }
  
  .flip-card-container {
    display: grid;
    padding-left: 5%;
    padding-right: 5%;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-content: center;
  }
  
  .flip-card {
    background-color: transparent;
    width: 100%;
    height: 360px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  

/* Restore map style */
.map-container iframe {
    border-radius: 10px;
    border: 0;
    filter: grayscale();
    pointer-events: auto;
    position: relative;
    z-index: 1;
  }

    .flip-indicator {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
  }
  
  .flip-card:hover .flip-indicator {
    opacity: 1;
    transform: scale(1.1);
  }

    .flip-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }
  
  .flip-card:hover .flip-indicator {
    opacity: 1 !important;
    transform: translateX(-50%) scale(1.1);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
  }
  
  .flip-card-front {
    background: rgba(255, 255, 255, 0.15);
  }
  
  .flip-card-back {
    background: rgba(255, 255, 255, 0.2);
    transform: rotateY(180deg);
  }
  
  .flip-card h3 {
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  /* Responsive: stack on smaller devices */
  @media (max-width: 992px) {
    .flip-card-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .flip-card-container {
      grid-template-columns: 1fr;
    }
  }
    

/* Responsive Adjustments */
@media (max-width: 768px) {
    .achievements-container {
        flex-direction: column;
        align-items: center;
    }

    .achievement {
        width: 100%; /* Forces same width on mobile */
        height: 200px; /* Same height for all cards */
        max-width: 300px; /* Ensures consistency across different screen sizes */
    }
}

.contactus {
  padding-top: 5%;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center ;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 40px 40px;
    margin: auto;
    max-width: 1200px;
  
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }
  
  .contact-info {
    flex: 1;
    min-width: 300px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the map and address info have the same height */
  }
  
  .map-container {
    margin-top: 20px;
    flex-grow: 1; /* This will make sure the map container matches the form height */
  }
  
  .contact-form {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    background: rgba(255, 255, 255, 0.0);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
  }
  
  .contact-form textarea {
    resize: none;
  }
  
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #eee;
  }
  
  .contact-form button {
    background-color: transparent;
    border: 2px solid #f0f0f0;
    padding: 15px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .contact-section h2,
  .about-section h2,
  .blog-section h2,
  .achievements-section h2,
  .clients-section h2,
  .reviews-section h2,
  .flip-card-section h2,
  .Partners-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background-color: transparent;
    z-index: 1;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    padding-top: 5%;
  }

  .contact-info p {
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
  }

  .contact-info a {
    color: #fff;
    font-weight: 400;
  }
  
  .contact-form button:hover {
    background-color: #882aba;
    border: 2px solid #882aba;
  }
  
/* Tablets and small desktops: stack vertically */
@media (max-width: 768px) {
    .contact-container {
      flex-direction: column;
      align-items: stretch;
      gap: 30px;
      padding: 30px 15px 50px;
    }
  
    .contact-info,
    .contact-form {
      flex: none;
      width: 100%;
      min-width: auto;
    }
  
    /* make map a bit shorter on tablets */
    .map-container iframe {
      height: 250px;
    }
  }
  
  /* Very small phones: tighten spacing and form */
  @media (max-width: 480px) {
    .contact-container {
      padding: 20px 10px 40px;
      gap: 20px;
    }
  
    .contact-info p,
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
      font-size: 0.9rem;
    }
  
    .map-container iframe {
      height: 200px;
    }
  
    .contact-form {
      padding: 20px;
      gap: 15px;
    }
  }  
  
  /* Separate the contact section from the footer */
  #contact-us {
    padding-bottom: 80px; /* Keep padding at the bottom of the contact section */
  }

.Footer {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-align: center;
}

.Footer-logo {
    height: auto;
    padding-top: 2%;
    width: 30%;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.Footer p {
    color: #fff;
    padding: 0 20%;
    margin-bottom: 20px;
    text-align: center;
    font-size: medium;
}

.Footer ul {
    display: flex;
    justify-content: center;
    padding: 10px;
    list-style: none;
    gap: 20px;
}

.Footer li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.Footer li a:hover {
    color: #FFD580; /* Hover color matches nav hover color */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding-top: 5%;
  padding-bottom: 0%;
  margin: 0 auto;
}

/* Medium screens: 3 columns */
@media (max-width: 992px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
      padding-bottom: 20%;
  }
}

/* Small screens: 1 column (each logo on its own row) */
@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
    row-gap: 100px;
  }

  .grid-container img {
    width: 120px; /* optionally increase size for single-column layout */
  }
}


.grid-container img {
  width: 150px;
  max-width: 100%;
  height: auto;
}

.Copyright {
    text-align: center;
    align-items: center;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    color: #fff;
    font-size: x-small;
}

.Copyright  ::before {
    display: none;
}

.Copyright a {
    font-size: x-small;
    color: #fff;
}

/* Background Hexagons */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent;
    z-index: -1;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(rgba(255, 255, 255, 0.05) 3px, transparent 3px),
        radial-gradient(rgba(255, 255, 255, 0.15) 4px, transparent 4px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    background-position: 
        0 0, 
        50px 50px, 
        100px 100px;
    animation: hexagonMove 100s linear infinite;
}

/* Animated movement to simulate dynamic background */
@keyframes hexagonMove {
    0% {
        background-position: 
            0 0, 
            50px 50px, 
            100px 100px;
    }
    50% {
        background-position: 
            400px 400px, 
            600px 600px, 
            1000px 1000px;
    }
    100% {
        background-position: 
            0 0, 
            50px 50px, 
            100px 100px;
    }
}

.reviews-section {
    padding: 60px 10%;
    text-align: center;
    color: #fff;
}

.reviews-container {
    padding-top: 5%;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: nowrap;
}

.review-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px 30px;
    max-width: 350px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #fff;
}

.review-card:hover {
    transform: scale(1.1);
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.review-card h4 {
    font-size: 1rem;
    font-weight: 600;
}

.stars {
    margin: 10px 0;
    color: #FFD700;
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reviews-container {
        display: flex;
        gap: 30px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.whatsapp-button {
    margin-top: 50px;
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #f0f0f0;
    color: #f0f0f0;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .whatsapp-button:hover {
    background-color: #882aba;
    border-color: #882aba;
    color: #fff;
  }
  
  /* Desktop-only custom cursor styling */
  @media (min-width: 769px) {
    #cursor-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        pointer-events: none;
        z-index: 2147483647; /* max z-index to render above iframe */
        transform: translate(-50%, -50%);
        animation: glowPulse 1.5s infinite ease-in-out;
        filter: drop-shadow(0 0 2px #FFD700) drop-shadow(0 0 4px #FFD700) drop-shadow(0 0 6px #ffa200);
      }
      
      #cursor {
        width: 22px;
        height: 22px;
        margin: auto;
        background: #FFD700;
        clip-path: polygon(
          50% 0%,
          93% 25%,
          93% 75%,
          50% 100%,
          7% 75%,
          7% 25%
        );
        transform: rotate(10deg);
      }
      
      body, html {
        cursor: none !important;
        overflow-x: hidden; /* still allow vertical scroll */
      } 
      
      @keyframes glowPulse {
        0% { filter: drop-shadow(0 0 2px #FFD700) drop-shadow(0 0 4px #FFD700); }
        50% { filter: drop-shadow(0 0 6px #FFD700) drop-shadow(0 0 8px #FFD700); }
        100% { filter: drop-shadow(0 0 2px #FFD700) drop-shadow(0 0 4px #FFD700); }
      }
  }


.underline {
  width: 80px; /* control the length of the line */
  height: 2px; /* thickness of the line */
  background: linear-gradient(to left, #fff, rgba(255,255,255,0)); /* purple to yellow gradient */
  margin: 0 auto 40px auto; /* center the line and give bottom margin */
  border-radius: 10px;
}