  .ptext_name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Set the width to 80% */
    max-width: 1110px; /* Optional: maximum width */
    padding: 6px;
    margin: auto; /* Centers the container */
  }
  
  .ptext_left, .ptext_center, .ptext_right {
    flex: 1;
    padding: 5px;
    padding-bottom: 2px; /* Reduce padding at the bottom */
    margin-bottom: 2px; /* Reduce margin at the bottom */
    font-size: 1rem;
    color: #a4a4a4;
    white-space: nowrap; /* Prevents text wrapping */
  }
  
  
  .ptext_left {
    text-align: left;
  }
  
  .ptext_center {
    text-align: center;
  }
  
  .ptext_right {
    text-align: right;
  }
  @media (max-width: 1024px){
    .ptext_name {
      display: none; /* Hide the section on mobile screens */
  }
  }
  @media (max-width: 768px){
    .ptext_name {
      display: none; /* Hide the section on mobile screens */
  }
  }
  @media (max-width: 480px) {
    .ptext_name {
        display: none; /* Hide the section on mobile screens */
    }
  }

/* common title */
.rightdale_name {
    display: flex;
    align-items: center;       /* Vertically center the content */
    justify-content: center;   /* Horizontally center the content */
    padding: 20px;
    width: 1080px;
    max-width: 100%;           /* Responsive max width */
    margin: 0 auto;            /* Center the container horizontally */
    flex-wrap: wrap;           /* Allow items to wrap on smaller screens */
    gap: 20px;                 /* Space between items */
}

.rightdale_name-text-container {
    color: #fff;
    flex: 1;
    margin-left: 20px;         /* Space between text and image */
    text-align: left;          /* Align text to the left */
}

.rightdale_name-image-container {
    flex: 1;                   /* Allow image container to take up space */
    max-width: 300px;          /* Maximum width for the image container */
    display: flex;
    justify-content: center;   /* Center image horizontally */
}

.rightdale_name-image-container img {
    max-width: 100%;           /* Ensures image is responsive */
    height: auto;              /* Maintains aspect ratio */
    border-radius: 15px;       /* Adds rounded corners */
}

/* Tablets (Below 1024px) */
@media (max-width: 1024px) {
    .rightdale_name {
        width: 80%;             /* Reduce width to 80% */
        flex-direction: column; /* Stack items vertically */
        text-align: center;
    }

    .rightdale_name-text-container {
        margin-left: 0;        /* Remove left margin */
        text-align: center;    /* Center text */
    }

    .rightdale_name-image-container {
        max-width: 250px;      /* Reduce image container size */
    }
}

/* Smaller Tablets & Large Mobile Devices (Below 768px) */
@media (max-width: 768px) {
    .rightdale_name {
        width: 80%;
        flex-direction: column; /* Stack items */
        padding: 15px;          /* Adjust padding */
        text-align: center;
    }

    .rightdale_name-text-container {
        text-align: center;
        margin-left: 0;
    }

    .rightdale_name-image-container {
        max-width: 220px;      /* Further reduce image size */
    }
}

/* Small Mobile Devices (Below 480px) */
@media (max-width: 480px) {
    .rightdale_name {
        width: 80%;
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .rightdale_name-text-container {
        text-align: center;
        font-size: 14px;      /* Reduce font size for better fit */
    }

    .rightdale_name-image-container {
        max-width: 200px;     /* Further reduce image size */
    }
}

.leftcontainertwo_name {
    display: flex;
    align-items: center;        /* Vertically center the content */
    justify-content: center;    /* Horizontally center the content */
    padding: 20px;
    width: 1050px;
    max-width: 100%;            /* Ensure responsive scaling */
    margin: 0 auto;             /* Center the container horizontally */
    flex-wrap: nowrap;          /* Keep items in a row on larger screens */
    background-color: #1e1e1e;  /* Background color for the card */
    border-radius: 15px;        /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    gap: 20px;                  /* Space between image and text */
}

/* Image Styles */
.leftcontainertwo_name-image-container {
    display: flex;            /* Use flex to center the image container */
    justify-content: center;  /* Center the image horizontally */
    max-width: 300px;         /* Set a max width for the image */
}

.leftcontainertwo_name-image-container img {
    max-width: 100%;          /* Make image responsive */
    height: auto;             /* Maintain aspect ratio */
    border-radius: 15px;      /* Rounded corners for the image */
}

/* Text Container Styles */
.leftcontainertwo_name-text-container {
    color: #fff;              /* Text color */
    flex: 1;                  /* Allow text container to take up space */
    text-align: left;         /* Default text alignment */
    margin: 20px;             /* Ensure proper spacing */
}

/* Arrow Link to About Us Page */
.leftcontainertwo_name-arrow-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 18px;          /* Set font size */
    color: #fff;              /* White color for the link */
    text-decoration: none;     /* Remove default underline */
    font-weight: bold;        /* Make the text bold */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.leftcontainertwo_name-arrow-link:hover {
    color: #ffb400;           /* Change color on hover */
}

/* Tablets (Below 1024px) */
@media (max-width: 1024px) {
    .leftcontainertwo_name {
        width: 80%;             /* Reduce width */
        flex-wrap: wrap;        /* Allow wrapping */
        text-align: center;
    }

    .leftcontainertwo_name-text-container {
        text-align: center;
        margin: 0;
    }

    .leftcontainertwo_name-image-container {
        max-width: 250px;      /* Reduce image container size */
    }
}

/* Smaller Tablets & Large Mobile Devices (Below 768px) */
@media (max-width: 768px) {
    .leftcontainertwo_name {
        width: 80%;
        flex-direction: column; /* Stack items */
        padding: 15px;          /* Adjust padding */
        text-align: center;
    }

    .leftcontainertwo_name-text-container {
        text-align: center;
        margin: 0;
    }

    .leftcontainertwo_name-image-container {
        max-width: 220px;      /* Further reduce image size */
    }
}

/* Small Mobile Devices (Below 480px) */
@media (max-width: 480px) {
    .leftcontainertwo_name {
        width: 80%;
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .leftcontainertwo_name-text-container {
        text-align: center;
        font-size: 14px;      /* Reduce font size for better fit */
    }

    .leftcontainertwo_name-image-container {
        max-width: 200px;     /* Further reduce image size */
    }
}
