* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --gradient: linear-gradient(45deg, #00e1ff, #a800ce, #00fff2, #686de0);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

body {
    background: #ffffff;
    min-height: 100vh;
}

/* Ensure the font is loaded */
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 5%;
    background: #000000; /* Solid black background */
    border-bottom: var(--border);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: #000000; /* Still solid black on scroll */
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 2.3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
    background-size: 300%;
    letter-spacing: -0.5px;
    color: #fffbfb;
    margin-right: 20px;
    margin-left: -60px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 75px;
    margin-right: 10px;
}

/* Main navigation links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    font-size: 1.2rem;
    margin-left: auto; /* This pushes the links to the right */
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-size: 1.2rem; 
    letter-spacing: 0.4px; 
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgb(0, 0, 0);
}

.nav-links a:hover::before,
.nav-links a:hover::after {
    width: 100%;
    animation: gradient 8s linear infinite;
}
/* Custom style for the 'Vertex' link */
.vertex-link {
    font-family: "Monoton", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem; /* Adjust size as needed */
    color: #00e7fc; /* Default text color */
    text-decoration: none;
    margin-left: 40px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease; /* Smooth transition for text color */
    margin-right: -60px;
}
.vertex-link .big-x {
    font-size: 5rem; /* Makes the X bigger */
    vertical-align: middle;
    line-height: 1;
    margin-top: 10px; /* Space between text and X */
    font-family: "Monoton", sans-serif;
    color: #ffffff;
}

/* Hover effect specifically for the 'Vertex' link */
.vertex-link:hover {
    color: transparent; /* Make text transparent so the gradient is visible */
    background: linear-gradient(45deg, #a200ff, #00f2ff, #32cd32); /* Gradient effect */
    background-size: 200% 200%; /* For animation effect */
    -webkit-background-clip: text; /* Makes the background apply to text */
    background-clip: text; /* Standard property for compatibility */
    animation: gradient 1.5s ease-in-out infinite; /* Apply the gradient animation with infinite loop */
}

/* Keyframes for the gradient movement (applies only to 'Vertex') */
@keyframes gradient {
    0% {
        background-position: 200% 0; /* Start the gradient from the right */
    }
    50% {
        background-position: -200% 0; /* Move the gradient to the left */
    }
    100% {
        background-position: 200% 0; /* End the gradient back at the right */
    }
}

/* Mobile view styling */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh; /* Full height of the viewport */
        width: 80%;
        max-width: 400px;
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.99), rgba(20, 20, 20, 0.99));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 2rem;
        z-index: 1000; /* Ensure it appears above other content */
    }

    .nav-links.active {
        right: 0; /* Slide the menu in */
    }

    .mobile-nav-toggle {
        display: block;
    }

/* Mobile view adjustments */
    .vertex-link {

        display: none;
    }

    .vertex-link .big-x {
        display: none;
    }
/* Desktop styling */
.logo {
    font-size: 2.1rem;         /* Font size for desktop */
    margin-left: -3mm;
    display: flex;
    margin-top: 10px;

}
.logo-img {

    display: none;
}

}

.mobile-nav-toggle {
    display: none; /* Hidden by default — shown in media query */
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-top:20px
  }
  
  .mobile-nav-toggle .bar {
    display: block;
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  

/* Active state for mobile menu toggle */
.mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translate(-50%, 5px) rotate(45deg);
    width: 24px;
}

.mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translate(-50%, -5px) rotate(-45deg);
    width: 24px;
}
@media (max-width: 768px) {
    .mobile-nav-toggle {
      display: flex;
    }
  }
/* Hide the link by default */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .mobile-mobile-link {
        text-decoration: none;
        text-align: center;
        display: inline-flex;
        align-items: center;
    }

    .mentry-text {
        color: #00fffb;
        font-size: 2.5rem;
        font-family: "Monoton", sans-serif;
    }

    .big-x {
        color: #ffffff;
        font-size: 4.5rem;
        font-family: "Monoton", sans-serif;
        margin-left: 5px; /* Adjust if needed */
        line-height: 1;
    }

    .mobile-mobile-link:hover {
        text-decoration: underline;
    }
}



    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        backdrop-filter: blur(4px);
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }


#contact {
    background: var(--section-bg);
    padding: 120px 5% 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#contact .section-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

#contact .section-title {
    font-size: 5rem;
    color: rgb(0, 0, 0);
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
}

#contact .section-description {
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-wrapper {
    display: flex;

    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.contact-image {
    width: 90%; /* Increase the width to make the image larger */
    margin-left: -10%; /* Adjust the left margin to shift the image more to the left */
}

.contact-image img, .contact-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}


.contact-image img, .contact-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form {
    background: rgb(255, 255, 255);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    width: 60%;  /* Keep the width the same */
    transform: translateX(10%); /* Move the form closer to the left (closer to the image) */
    margin-left: 0; /* Reset any previous margin-left if you had applied it */
}


.contact-form .form-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap; /* allows wrapping on small screens */
  }
  
  .contact-form label {
    display: block;
    color: rgb(255, 255, 255);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }
  
  .contact-form .input-box {
    flex: 1; /* Makes all input boxes grow equally */
    min-width: 0; /* Prevents flex items from growing too large */
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.989);
    border-radius: 8px;
    padding: 0.8rem;
    border: var(--border);
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: none;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    outline: none;
    border-radius: 5px;
    margin-top: 0.3rem;
  }
  /* Add this to separate message row styling */
.contact-form .message-row {
    display: flex;
    width: 100%;
}
.form-row, .input-box, .help {
    color: #ffffff;
  }
  
  /* Style select box like other inputs */
  .contact-form select {
    appearance: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
    outline: none;
    width: 100%;
    background-color: rgb(0, 0, 0);
  }
  /* Arrow for select */
.contact-form select:focus {
    background-color: rgb(0, 0, 0);
  }
  
.contact-form .message-row .input-box {
    width: 100%;
    flex: 1;
}


.contact-form button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
    background-size: 300%;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    margin-top: 2rem;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    animation: gradient-animation 8s linear infinite;
}

.contact-form button:hover {
    background-size: 300%;
    box-shadow: 0 4px 12px rgb(0, 0, 0);
    transform: translateY(-3px);
}

.contact-form button:active {
    transform: translateY(1px);
}

.contact-form button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgb(255, 255, 255);
}



.footer {
    position: fixed;
    bottom: -100px;  /* Initially hidden below the viewport */
    left: 0;
    width: 100%;
    background-color: #fffefe;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 20px;
    transition: bottom 0.3s ease;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  /* Center the content horizontally */
    gap: 30px;  /* Space between items */
}

.footer-content p {
    margin: 0;
    font-size: 14px;
    color: rgb(0, 0, 0);
}

.footer-content a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    text-decoration: underline;  /* Underline links on hover */
}

/* Make footer visible when scrolled to the bottom */
.footer.show {
    bottom: 0;  /* Bring the footer into view */
}
/* Styles for the header image */
.header-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.contact-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Optional: Style for the overlay container */
.image-overlay {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    padding-left: 40px;
}

/* Adjusting the button and text */
.header-text {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.subheader-text {
    font-size: 1.2rem;
    margin-top: 10px;
    font-style: italic;
}

.message-us-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.message-us-btn:hover {
    background-color: #00ffea;
    transform: translateY(-3px);
}

.message-us-btn:active {
    transform: translateY(1px);
}
/* Set up the video to cover the whole background */
/* Full-Screen Video Background */



/* Style for the page content */
.content {
    position: relative;
    z-index: 1;  /* Make sure content is above the video */
    text-align: center;
    color: white;  /* Optional: Adjust text color for contrast */
    padding: 50px;
}

/* Optional: Style the text or add more content styles */
h1 {
    font-size: 3%;
}
/* Wrapper for the slider and cards */
.slider-card-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* Reduced the gap to move the cards closer to the slider */
    padding: 20px; /* Adjusted padding to bring everything closer */
    flex-wrap: wrap;
  }
  
  .slider {
    flex: 2;
    height: 450px;
    display: flex;
    overflow: hidden;
  }
  
  .slider img {
    width: 10%;
    height: 100%;
    object-fit: cover;
    transition: all ease-in-out 0.3s;
  }
  
  .slider img:hover {
    width: 25%;
  }
  
  .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px; /* Reduced gap to bring the cards closer together */
    flex: 1;
    max-width: 400px;
    padding: 0; /* Remove extra padding */
  }
  
  .info-card {
    flex: 1;
    background-color: #000000;
    border-radius: 20px;
    box-shadow: 0 15px 70px rgba(0, 0, 0, 0.1);
    padding: 20px; /* Adjusted padding */
    width: 48%; /* Keep width for 2 cards per row */
    aspect-ratio: 1; /* Keep aspect ratio for square cards */
    transition: transform 0.3s ease;
  }
  
  .info-card:hover {
    transform: translateY(-5px);
  }
  
  .info-card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000;
  }
  
  .info-card p {
    font-size: 14px;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .card-btn {
    display: inline-block;
    background: var(--gradient);
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  
  .card-btn:hover {
    transform: translateY(-2px);
  }
  

  

  
  /* Button hover effect */
  .card-btn:hover {
    transform: translateY(-2px);
  }

  
  
.bottom-black-box {
    width: 100%;
    height: 400px;
    background-color: #000;
    display: flex;
    justify-content: space-between; /* Ensures content on both sides */
    align-items: center;
    padding: 40px 50px;
    box-sizing: border-box;
    flex-wrap: wrap; /* Makes it responsive on smaller screens */
  }
  
  /* Left-side content (title, subheading, description) */
  .footer-info {
    color: white;
    max-width: 600px;
    flex-grow: 1; /* Ensures the left content takes up remaining space */
  }
  
  /* Title */
  .footer-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  /* Subheading */
  .footer-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #dcdcdc; /* Light color for subheading */
  }
  
  /* Description */
  .footer-info p {
    font-size: 16px;
    line-height: 1.5;
    color: #dcdcdc;
    max-width: 500px;
  }
  
  /* Centered button section */
  .button-section {
    display: flex;
    justify-content: center;
    gap: 40px; /* Adjust space between buttons */
    align-items: center;
    flex-grow: 1; /* Allow the buttons section to grow in available space */
  }
  
  .button-item h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .button-item .button {
    padding: 10px 50px;
    background-color: #ffffff; /* Button color */
    color: rgb(0, 0, 0); /* Default text color */
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid #000000; /* Initial border color */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Added border-color transition */
    display: inline-block;
  }
  
  .button-item .button:hover {
    background-color: #000000; /* Darker shade for hover */
    color: #ffffff; /* Change text color to white on hover */
    border-color: #ffffff; /* Change border color to white on hover */
  }
  
  
  
  /* Social icons (right side) */
  .social-menu ul {
    display: flex;
    padding: 0;
    margin: 0;
    gap: 20px;
    margin-left: -40px; /* Move the icons more to the left */
  }
  
  .social-menu ul li {
    list-style: none;
  }
  
  .social-menu ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: white;
    transition: 0.5s;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    text-decoration: none;
  }
  
  .social-menu ul li a i {
    font-size: 28px;
    color: #000000;
    transition: 0.5s;
  }
  
  .social-menu ul li a:hover {
    transform: translateY(-10px);
  }
  
  .social-menu ul li a:hover i {
    color: #ffffff;
  }
  
/* Hover background colors */
.social-menu ul li:nth-child(1) a:hover { background-color: #e4405f; } /* Instagram */
.social-menu ul li:nth-child(2) a:hover { background-color: #0077B5; } /* LinkedIn */
.social-menu ul li:nth-child(3) a:hover { background-color: #25D366; } /* WhatsApp */
.social-menu ul li:nth-child(4) a:hover {
  background: linear-gradient(to bottom, #A020F0, #ffffff); /* Purple to white */
  color: #000; /* Optional: make icon color contrast better */
}


.about-contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-left: 0px; /* Moved more to the right */
  }
  
  .about-info, .contact-info {
    flex: 1;
    min-width: 250px;
    font-size: 1.3rem; /* Make text a bit larger */
  }
  
  .about-info h3,
  .contact-info h3 {
    font-size: 1.5rem; /* Slightly larger section titles */
    margin-bottom: 10px; /* Space below the title */
    margin-right: 30px;
  }
  
  .about-info p,
  .contact-info p {
    margin-bottom: 20px; /* Space between paragraphs */
    line-height: 1.6; /* Increase line height for readability */
    font-size: 1.1rem; /* Make text a bit larger */
    color: #dcdcdc; /* Light color for text */
  }

/* Adjust slider card wrapper */

.image-section {
  display: flex;
  width: 100%;
}

.image-container {
  position: relative;
  flex: 1;
  overflow: hidden;
  height: 300px;
}
    /* Make the title (h3) bigger */
    .button-overlay h1 {
      margin-bottom: 15px; /* Increased space between title and button */
      font-size: 30px; /* Adjusted font size */
      font-weight: bold;
    }

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  color: #fff;
}

.image-container:hover .button-overlay {
  opacity: 1;
}

.button-overlay h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.button-overlay button {
  padding: 12px 30px;
  font-size: 16px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  border-radius: 20px;
}

.button-overlay button:hover {
  background-color: #000000;
  color: #ffffff;
  font-weight: bold;
}



.thank-you-popup {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f0f8ff;
  color: #1a1a1a;
  padding: 20px 30px;
  border: 2px solid #0077ff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-size: 1rem;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}
.thank-you-popup h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #0077ff;
}
.thank-you-popup p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333;
}
/* Mobile-specific adjustments for screens ≤768px */
@media (max-width: 768px) {
  .header-image {
      height: 500px; /* Increase the height of the video on mobile */
  }

  .contact-header-image {
      object-position: center; /* Keep the video centered */
  }

  /* Overlay adjustments */
  .image-overlay {
      top: 80px; /* Adjust the overlay to be a little lower */
      padding-left: 20px; /* Adjust the padding for smaller screens */
      padding-right: 20px; /* Add padding to the right */
  }

  .header-text {
      font-size: 2rem; /* Smaller heading font size for mobile */
  }

  .subheader-text {
      font-size: 1rem; /* Smaller subheading font size for mobile */
  }

  .message-us-btn {
      font-size: 1rem; /* Smaller button text */
      padding: 0.6rem 1.8rem; /* Adjust padding */
      border-radius: 20px; /* Smaller border-radius */
  }
}
/* Mobile-specific adjustments for screens ≤768px */
@media (max-width: 768px) {
  .header-image {
      height: 500px; /* Increase the height of the video on mobile */
  }

  .contact-header-image {
      object-position: center; /* Keep the video centered */
  }

  /* Overlay adjustments */
  .image-overlay {
      top: 80px; /* Adjust the overlay to be a little lower */
      padding-left: 20px; /* Adjust the padding for smaller screens */
      padding-right: 20px; /* Add padding to the right */
  }

  .header-text {
      font-size: 2rem; /* Smaller heading font size for mobile */
  }

  .subheader-text {
      font-size: 1rem; /* Smaller subheading font size for mobile */
  }

  .message-us-btn {
      font-size: 1rem; /* Smaller button text */
      padding: 0.6rem 1.8rem; /* Adjust padding */
      border-radius: 20px; /* Smaller border-radius */
  }
}

/* Mobile-specific adjustments for Contact Section */
@media (max-width: 768px) {
  #contact {
      padding: 40px 5%; /* Reduced padding for mobile */
  }

  #contact .section-title {
      font-size: 2.5rem; /* Smaller title font size */
  }

  #contact .section-description {
      font-size: 1.1rem; /* Smaller description font size */
      color: rgba(0, 0, 0, 0.989);
  }

  .contact-wrapper {
      display: block; /* Stack content vertically */
      width: 100%; /* Full width */
  }

  /* Hide the image on mobile */
  .contact-image {
      display: none;
  }

  /* Smaller form box for mobile */
  .contact-form {
      background: rgb(255, 255, 255);
      padding: 1rem; /* Reduced padding */
      border-radius: 8px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(10px);
      width: 100%; /* Full width */
      max-width: 100%; /* Set full width */
      margin: 0 auto; /* Center the form */
      margin-left: -10%; /* Shift the form slightly to the left */
  }

  .contact-form .form-row {
      display: flex;
      flex-direction: row; /* Arrange inputs side by side */
      flex-wrap: wrap; /* Allow inputs to wrap on smaller screens */
      gap: 1rem; /* Add space between input boxes */
  }

  /* Change label color to white */
  .contact-form label {
      color: rgb(255, 255, 255); /* Change label color to white */
      font-weight: 500;
      margin-bottom: 0.3rem;
      font-size: 0.9rem; /* Adjust label font size */
  }

  /* Adjusting the size of input boxes for mobile */
  .contact-form .input-box {
      display: flex;
      flex-direction: column;
      background: rgba(0, 0, 0, 0.989);
      border-radius: 8px;
      padding: 0.5rem; /* Adjust padding for better fit */
      border: var(--border);
      width: calc(50% - 0.5rem); /* Make two inputs per row */
      height: 4.5cm; /* Adjust height */
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
      width: 100%; /* Ensure it fills the input box */
      height: 100%; /* Ensure it fills the height of the box */
      padding: 0.5rem; /* Adjust padding for smaller fields */
      background: transparent;
      border: none;
      color: rgb(255, 255, 255); /* White text inside the input */
      font-size: 0.8rem; /* Adjust font size */
      outline: none;
      border-radius: 5px;
      margin-top: 0.2rem; /* Reduce margin to fit better */
  }

  /* Style the message row */
  .contact-form .message-row {
      width: 100%;
  }

  .contact-form .message-row .input-box {
      width: 100%; /* Make message input full width */
      flex: 1;
  }

  .contact-form button {
      display: inline-block;
      padding: 0.8rem 1.8rem;
      font-size: 1rem;
      font-weight: 600;
      color: rgb(0, 0, 0);
      background-size: 300%;
      border-radius: 30px;
      text-decoration: none;
      text-align: center;
      margin-top: 1.5rem;
      transition: all 0.3s ease;
      border: 1px solid transparent;
      animation: gradient-animation 8s linear infinite;
  }

  .contact-form button:hover {
      background-size: 300%;
      box-shadow: 0 4px 12px rgb(0, 0, 0);
      transform: translateY(-3px);
  }

  .contact-form button:active {
      transform: translateY(1px);
  }

  .contact-form button:focus {
      outline: none;
      box-shadow: 0 0 0 4px rgb(255, 255, 255);
  }
}
/* Mobile-specific styles for screens ≤768px */
@media (max-width: 768px) {
  .thank-you-popup {
    top: 40%; /* Adjust position on mobile */
    padding: 15px 20px; /* Smaller padding for mobile */
    font-size: 0.9rem; /* Smaller font for mobile */
    width: 80%; /* Reduce width to 80% of the screen */
    max-width: 400px; /* Set a max width */
    left: 50%;
    transform: translate(-50%, -50%); /* Ensure it's centered */
  }

  .thank-you-popup h2 {
    font-size: 1.3rem; /* Smaller heading size */
  }

  .thank-you-popup p {
    font-size: 0.9rem; /* Smaller paragraph font size */
  }
}
/* Mobile-specific styles for screens ≤768px */
@media (max-width: 768px) {
  .image-section {
    flex-direction: column; /* Stack the image containers vertically on mobile */
    margin: 0; /* Remove outer margin */
  }

  .image-container {
    height: 250px; /* Adjust height of each image for mobile */
    margin: 0; /* Remove gap between images */
    position: relative; /* Ensure the overlay stays in place */
  }

  .button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1; /* Make the overlay always visible */
    text-align: center;
    color: #fff;
  }

  .button-overlay h1 {
    font-size: 22px; /* Smaller title font size for mobile */
    margin-bottom: 5px; /* Adjust margin to remove excessive space */
  }

  .button-overlay h3 {
    font-size: 16px; /* Smaller subtitle font size for mobile */
    margin-bottom: 0; /* Remove margin */
  }

  .button-overlay button {
    padding: 10px 20px; /* Smaller button padding */
    font-size: 14px; /* Smaller button font size */
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    border-radius: 20px;
  }

  /* Disable hover effect on mobile */
  .image-container:hover img {
    transform: none; /* Remove hover scale effect */
    filter: none; /* Remove brightness effect */
  }
}

@media (max-width: 768px) {
  .footer {
    position: relative; /* Makes the footer part of normal flow */
    bottom: 0; /* Overrides the hidden effect */
    margin-top: 20px; /* Spacing from social icons */
    background-color: #f5f5f5; /* Slight background for visibility */
    padding: 20px 10px;
    text-align: center;
    z-index: 1; /* Ensure it's above background */
  }

  .footer-content {
    flex-direction: column; /* Stack links vertically */
    align-items: center;
    gap: 10px;
  }

  .footer-content p {
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .bottom-black-box {
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
    align-items: flex-start;
  }

  .about-contact-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .footer-info {
    width: 100%;
  }

  .button-section {
    width: 100%;
    margin-top: 20px; /* Space between button section and other content */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: flex-start;
    gap: 20px;
    align-items: flex-start;
  }

  .button-item .button {
    padding: 8px 20px;
    font-size: 14px;
    margin-top: 10px;
  }

  /* Move social menu up */
  .social-menu {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 60px; /* Move social menu up */
  }

  .social-menu ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    margin-left: 0;
  }

  .social-menu ul li a {
    width: 45px;
    height: 45px;
  }

  .social-menu ul li a i {
    font-size: 20px;
  }

  /* Put "Get In Touch" button below the social menu */
  .button-section .button-item {
    order: 2; /* Ensure button is below social menu */
    margin-top: 60; /* Reset margin-top for button */
  }
}
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

