:root {
    --color1: #01eee4;
    --color2: #e537d6;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    z-index: 2;
    transform-origin: 0 0;
    width: 100%;
    background: #333 url('Logos, ui and other images/Textures/preview.jpg') no-repeat fixed;
    background-size: cover;
    color: #fff;
    overflow-x: hidden;
  }

  header {
    position: sticky;
    top: 0;
    background-color: #000000;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.title {
    order: -1; /* Move the title to the start of the flex container */
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon img {
    width: 36px;
    height: 36px;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem; /* Reduce padding on smaller screens */
    }

    .social-icons {
        justify-content: flex-end; /* Move icons to the right */
    }
}


.title img {
    width: 150px;
    height: auto;
    margin-left: -2.25rem;
}

.opening-screen {
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .opening-content-title {
    font-size: xxx-large;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .opening-content-title {
        font-size: x-large; /* Adjust font size for mobile */
    }
    .opening-screen {
        height: 68vh;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        overflow: hidden;
      }
}


.opening-button {
    display: inline-block;
    padding: 22.5px 45px;
    color: #FFF;
    text-decoration: none;
    border-radius: 15px;
    border: 3px solid; /* Increase border width if needed */
    border-image: linear-gradient(to right, var(--color1), var(--color2)) 1;
    transition: transform 0.3s ease;
    font-size: 1.8em;
    cursor: pointer;
    animation: bounce 2s 2;
    background-color: #000; /* Black background */
    margin-top: 22.5%;
}

  .opening-button:hover {
    transform: scale(1.1);
  }
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(5px); }
    50% { transform: translateY(-5px); }
    75% { transform: translateY(5px); }
  }

  nav.menu {
    color: #fff;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 3.75rem; /* Increased gap between buttons for larger screens */
}

.menu {
    display: flex;
    justify-content: center;
    gap: 3.75rem; /* Increased gap between buttons for larger screens */
    padding: 3rem 6rem; /* Increased padding for larger screens */
    background: linear-gradient(to bottom, transparent, var(--color2));

}

.menu button {
    display: inline-block;
    position: relative;
    padding: 22.5px 45px; /* Increased padding for larger buttons */
    margin: 0 75px; /* Increased margin */
    border-radius: 7.5px;
    overflow: hidden;
    background-color: black;
    color: white;
    text-decoration: none;
    white-space: nowrap; /* Ensure text does not wrap to a new line */
    min-width: fit-content; /* Ensure the button expands to fit the text */
    max-width: none; /* Remove any max-width constraints */
    overflow: visible; /* Ensure the text is not cut off */
    font-size: 20px;
}
.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
/* Add media query for mobile devices */
@media (max-width: 768px) {
    .menu {
        flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
        gap: 1.5rem; /* Adjust gap for mobile layout */
    }

    .menu button {
        flex: 1.5; /* Ensure buttons take equal width on mobile */
        margin: 0.75rem; /* Adjust margin for mobile layout */
        max-width: 100%; /* Ensure buttons do not exceed the container width */
    }
}


.menu button a {
    color: inherit; /* Ensures the link color matches the button text color */
    text-decoration: none;
    display: block; /* Ensures the link fills the button */
    white-space: nowrap; /* Ensure text does not wrap to a new line */
    overflow: visible; /* Ensure the text is not cut off */
}

.menu button:hover {
    background: var(--color2); /* Changes background color on hover */
    color: var(--color1); /* Changes text color on hover */
}

/* Media query for mobile screens */
@media (max-width: 600px) {
    .menu {
        gap: 0.3rem; /* Reduced gap between buttons for mobile screens */
        padding: 1.5rem; /* Adjusted padding for mobile screens */
    }
    
    .menu button {
        padding: 15px 22.5px; /* Adjusted padding for mobile screens */
        margin: 0 1.5px; /* Further reduced margin for mobile screens */
    }
}
  
section {
    margin-bottom: 45px;
    padding: 30px;
    border-radius: 60px; /* Updated to ensure uniform rounded corners */
    background-color: rgba(0, 0, 0, 0.7); /* Adjusted opacity for better text visibility */
    color: #fff;
    opacity: 0;
    transform: translateY(75px) scale(0.95);
    transition: opacity 0.5s, transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative; /* For pseudo-element positioning */
    overflow: hidden; /* To ensure background doesn't spill out */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
    outline: none;
    text-align: left; /* Default left-alignment for text */
    width: 100%;
}

@media (min-width: 768px) {
    section {
        min-height: 600px; /* Increased height for larger screens */
        transform: none;
        opacity: 1;
    }
    .content-wrapper p {
        text-align: left; /* Left-align text for larger screens */
    }
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Match the section height */
    background-size: cover; /* Ensure the image covers the entire section */
    background-repeat: no-repeat; /* Ensure the image doesn't repeat */
    background-position: center; /* Center the background image */
    filter: brightness(0.5); /* Darken the image */
    z-index: -1; /* Push the image behind the content */
    border-radius: inherit; /* Inherit border-radius from parent */
    
}

section#web-design {
    border-radius: 0 0 60px 60px; /* No border radius on top-left and top-right corners */

}

section#web-design::before {
    background-image: url('Logos, ui and other images/Web design Final.jpg');
    border-radius: 0 0 60px 60px; /* No border radius on top-left and top-right corners */
}

section#media::before {
    background-image: url('Logos, ui and other images/Media marketing Final.jpg');
}

section#photography::before {
    background-image: url('Logos, ui and other images/Photography\ \ 1.jpg');
}

h2 {
    text-align: center; /* Center-align section titles */
    margin-top: 0; /* Remove default top margin */
    padding-top: 30px; /* Add padding to the top */
    font-size: 50px;
    margin-bottom: 75px;
}

.section h2 {
    margin-bottom: 1.5rem;  
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1; 
}

.content-wrapper p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: left; 
}

.content {
    background-color: #000;
    border-top: 1.5px solid;
    border-bottom: 1.5px solid;
    border-image: linear-gradient(to right, var(--color1), var(--color2)) 1;
    padding: 30px;
}

/* Comparison slider styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.comparison-container {
    width: 100%;
    max-width: 450px;
    height: 75vh;
    max-height: 120vh;
    margin: 0;
    position: relative;
    border: 1.5px solid #ccc;
    overflow-y: auto;
    text-align: left; /* Align content to the left */
    overflow-x: hidden;
    padding-top: 0; /* Ensuring the very top is not visible */
    transition: padding-top 0.5s ease;
    border-radius: 15px;
}

.comparison-wrapper {
    border: none;
}


.header1 {
    width: 100%;
    background-color: black;
    color: white;
    padding: 7.5px;
    font-size: 1.5em;
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
}

.header1 .left {
    text-align: left;
}

.header1 .right {
    text-align: right;
}

.img-comparison-slider {
    width: 100%;
    position: relative;
    cursor: ew-resize;
}

.img-comparison-slider .before-img,
.img-comparison-slider .after-img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.img-comparison-slider img {
    width: 100%;
    height: auto;
    display: block;
}

.img-comparison-slider .divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #c0c0c0;
    z-index: 10;
}

.img-comparison-slider .handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 10px;
    margin-left: -7.5px;
    background-color: #fff;
    border: 2px solid #c0c0c0;
    z-index: 11;
    cursor: ew-resize;
}

.img-comparison-slider .after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0);
    z-index: 12;
}

@media (max-width: 600px) {
    .comparison-container {
        height: 50vh;
    }
}


/* General styles for the gallery */
#images-wrapper {
    line-height: 0;
    -webkit-column-count: 5;
    -webkit-column-gap: 10px; /* Space between columns */
    -moz-column-count: 5;
    -moz-column-gap: 10px; /* Space between columns */
    column-count: 5;
    column-gap: 10px; /* Space between columns */
    padding: 20px; /* Add padding around the gallery */
    background: rgba(0, 0, 0, 0.5); /* Dark transparent background */
    border-radius: 15px; /* Rounded corners for the gallery container */
    border: 1px solid white;
    padding-bottom: 10px;
}

#images-wrapper img {
    width: 100% !important;
    height: auto !important;
    border-radius: 15px; /* Rounded corners for images */
    margin: 7.5px 0; /* Equal space on the top and bottom of each image */
}

#images-wrapper {
    display: inline-block;
    margin-right: auto;
    margin-left: auto;
    
}

/* Responsive styles for mobile devices */
@media (max-width: 1000px) {
    .gallery-content {
        max-height: 450px; /* Restrict the vertical height of the gallery */
        overflow-y: auto; /* Enable vertical scrolling */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    #images-wrapper {
        -moz-column-count: 4.5;
        -webkit-column-count: 4.5;
        column-count: 4.5;
    }
}

@media (max-width: 800px) {
    #images-wrapper {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 400px) {
    #images-wrapper {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
        max-height: 450px; /* Adjust max height for smaller screens */
        overflow-y: scroll; /* Enable vertical scrolling on smaller screens */
        overflow-x: hidden; /* Hide horizontal overflow */
    }
}


.about-us-div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    background-color: black; /* Add black background color */
    margin: 0; /* Remove the margin */
    text-align: center;
    width: 100%; /* Make it stretch across the whole screen */
}

/* style.css */
.button-container {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .button-container .btn {
    margin: 0 10px;
    padding: 10px 20px;
  }
  
  .contact-section,
  .call-section {
    background-color: black;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .contact-section h2,
  .call-section h2 {
    color: #fff;
    text-align: center;
  }
  
  .contact-form,
  .call-form {
    display: flex;
    flex-direction: column;
  }
  
  .input-row {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    justify-content: space-between;
    margin-bottom: 15px;
  }
  
  .input-row .form-group {
    margin-bottom: 15px; /* Add margin for mobile */
  }
  
  /* Input fields */
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background-color: black;
    color: white;
  }
  
  /* Button styling */
  button.btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
  }
  
  button.btn:hover {
    background-color: #45a049;
  }
  
  .hidden {
    display: none;
  }
  
  /* Media query for tablets and above */
  @media (min-width: 768px) {
    .input-row {
      flex-direction: row;
    }
  
    .input-row .form-group {
      margin-bottom: 0;
      margin-right: 10px;
    }
  
    .input-row .form-group:last-child {
      margin-right: 0;
    }
  }
  
  /* Media query for larger screens (desktops) */
  @media (min-width: 1024px) {
    .contact-section,
    .call-section {
      max-width: 800px;
      margin: 0 auto;
    }
  }
  



  footer {
    position: flex;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #000;
    color: #888;
    text-align: center;
    padding: 15px 50px;
    border-top: 1.5px solid;
    border-image: linear-gradient(to right, var(--color1), var(--color2)) 1;
    transition: bottom 0.3s ease;
    display: flex;
    align-items: center;
    
  }
  
  .footer p {
    flex: 1;
    text-align: center;
    font-size: 15px;
  }
  
  .footer img {
    width: 15%;
    margin-right: 30px;
  }
  @media only screen and (max-width: 768px) {
    footer {
      position: flex;
      bottom: 0;
      width: 100%;
      background-color: #000;
      color: #888;
      text-align: center;
      padding: 15px 30px;
      border-top: 1.5px solid;
      border-image: linear-gradient(to right, var(--color1), var(--color2)) 1;
      transition: bottom 0.3s ease;
      align-items: center;
        font-size: 0.6em;
      }
      .footer p {
        flex: 1;
        text-align: center;
        font-size: 12px;
      }
  }