.navbar {
    overflow: hidden;
    background-color: white;
}

.a {
    text-decoration: dashed;
}

.navbar a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
}

.dropdown {
    float: left;
    overflow: hidden;
    text-decoration: dashed;
    border: none;
}

.dropdown :hover {
    border-bottom: 3px solid#0056b3;
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: black;
    padding: 14px 20px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    text-decoration: dashed;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
    text-decoration: dashed;
}

.dropdown:hover .dropbtn {
    background-color: #ddd;
    color: black;
    text-decoration: dashed;
    border-bottom: 3px solid #0056b3;
    border-radius: 8px;
    border-top: 3px solid #0056b3;
    border-left: 3px solid #0056b3;
    border-right: 3px solid #0056b3;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-decoration: dashed;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
    border-bottom: 3px solid #0056b3;
    border-radius: 5px 5px 5px 5px;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Second navbar */

.second-navbar {
    overflow: hidden;
    background-color: white;
    height: 50px;
}

.logo {
    float: left;
    padding: 14px 20px;
    margin-left: 3%;
    margin-top: -0.6%;
    transition: transform 0.5s ease-in-out;
}

.logo:hover {
    transform: scale(1.2);
}

.social-icons {
    float: right;
    padding: 20px 20px 14px 30px;
}


/* Third navbar */

.third-navbar {
    overflow: hidden;
    background-color: white;
}

.third-navbar:hover {
    border-bottom: 5px solid #2A5695;
}

.third-navbar a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 8px;
}

.third-navbar .dropdown {
    float: left;
    overflow: hidden;
}

.third-navbar .dropdown .dropbtn {
    font-size: 15px;
    border: none;
    outline: none;
    color: black;
    padding: 14px 20px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.third-navbar a:hover,
.third-navbar .dropdown:hover .dropbtn {
    background-color: #ddd;
    color: #2A5695;
    border-bottom: 3px solid #2A5695;
}

.third-navbar .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    content: '\27A1';
}

.third-navbar .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.third-navbar .dropdown-content a:hover {
    background-color: #0056b3;
    color: white;
}

.third-navbar .dropdown:hover .dropdown-content {
    display: block;
}

.third-navbar a:hover,
.third-navbar .dropdown:hover .dropbtn,
.third-navbar .dropdown-content a:hover {
    background-color: #ddd;
    color: #2A5695;
    border-bottom: 5px solid #2A5695;
    /* Adjusted border thickness and color */
}


/* CSS for the image section */


/* CSS for the image section */


/* CSS for the image section */

.image-section {
    position: relative;
    width: 100%;
    height: 400px;
    /* Adjust height as needed */
    background-image: url('usa.jpg');
    /* Replace 'your-image-url.jpg' with the path to your image */
    background-size: cover;
    background-position: center;
}

.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 0 20px;
    /* Added padding */
}

.image-overlay h2 {
    font-size: 24px;
    /* Adjust font size for smaller screens */
    margin-bottom: 20px;
}

.book-appointment-btn {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.book-appointment-btn:hover {
    background-color: #004080;
    /* Darker shade for hover */
}


/* Media Query for Tablets and Smaller Desktops */

@media only screen and (max-width: 992px) {
    .image-overlay {
        position: relative;
    }
    .image-overlay h2 {
        font-size: 20px;
        /* Adjust font size for smaller screens */
    }
}


/* Media Query for Mobile Devices */


/* Media Query for Mobile Devices */

@media only screen and (max-width: 462px) {
    .image-section {
        height: 300px;
        /* Adjust height for smaller screens */
    }
    .image-overlay {
        padding: 0 10px;
        /* Adjust padding for smaller screens */
    }
    .image-overlay h2 {
        font-size: 18px;
        /* Adjust font size for smaller screens */
    }
    .book-appointment-btn {
        font-size: 14px;
        /* Adjust font size for smaller screens */
        padding: 10px 20px;
        /* Adjust button padding for smaller screens */
    }
}


/* CSS for the second div */

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    /* Adjust margin as needed */
}

.container .fade-in {
    display: flex;
    flex-direction: column;
}

.container .fade-in .left {
    order: 1;
    margin-right: 10px;
    /* Adjust margin-right for spacing between image and text */
}

.container .fade-in .right {
    order: 2;
    margin-left: 10px;
    /* Adjust margin-left for spacing between image and text */
}

.fade-in-left {
    animation: fade-in-left 1s ease;
}

.fade-in-right {
    animation: fade-in-right 1s ease;
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Media Query for Mobile Devices */

@media only screen and (max-width: 462px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .container .fade-in .left,
    .container .fade-in .right {
        margin: 0;
        text-align: center;
    }
    .fade-in-left,
    .fade-in-right {
        animation: none;
        /* Remove animation on mobile */
    }
    .fade-in-right {
        font-size: 16px;
        border: 1px solid black;
        border-radius: 3px;
        /* Adjust font size for smaller screens */
    }
    .fade-in-left img {
        width: 100%;
        /* Make image full width on mobile */
        max-width: 300px;
        /* Limit image size on mobile */
    }
}


/* Media Query for Desktop */

@media only screen and (min-width: 601px) {
    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        /* Adjust margin as needed */
    }
    .container .fade-in {
        display: flex;
        flex-direction: row;
    }
    .container .fade-in .left {
        width: 30%;
        /* Set width for the image */
        text-align: center;
        /* Center image horizontally */
    }
    .container .fade-in .right {
        width: 70%;
        /* Set width for the text */
        text-align: left;
        /* Align text to the left */
    }
}

.wrapper {
    display: flex;
}

.wrapper ul {
    list-style: none;
    /* Remove default list styles */
    padding: 0;
    margin: 50px;
    background-color: #f0f0f0;
}

.wrapper ul li {
    margin-bottom: 5px;
    position: relative;
    /* Position relative to create a reference for ::before pseudo-element */
}

.wrapper ul li a {
    text-decoration: none;
    color: #333;
}


/* Style the symbols for list items */

.wrapper ul li::before {
    content: '\27A1';
    /* Unicode for bullet (•) */
    position: absolute;
    /* Position the symbol absolutely */
    left: -20px;
    bottom: 10px;
    /* Adjust the position of the symbol */
    color: #333;
    /* Set the color of the symbol */
}

.fourth-div {
    padding: 20px;
}

.fourth-div>div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.box {
    flex: 1;
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.box img {
    max-width: 100%;
    border-radius: 8px;
}

@media only screen and (max-width: 768px) {
    .fourth-div>div {
        flex-direction: column;
    }
}


/* Container for the whole section */

.fourth-div {
    padding: 20px;
    border: 1px solid black;
    /* Add border */
    border-radius: 8px;
    /* Add border radius */
}


/* Flex container for each row */

.fourth-div>div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}


/* Styling for each box */

.fourth-div>div>div {
    flex: 1;
    padding: 20px;
    /* Add padding */
    border: 1px solid black;
    /* Add border */
    border-radius: 8px;
    /* Add border radius */
    text-align: center;
    /* Center text */
}


/* Adjustments for mobile view */

@media only screen and (max-width: 768px) {
    .fourth-div>div {
        flex-direction: column;
        /* Stack boxes vertically */
    }
    .fourth-div>div>div {
        margin-bottom: 20px;
        /* Add space between boxes */
    }
}

.immgration {
    display: flex;
    flex-direction: column;
    /* Stack boxes vertically by default */
}

.immgration>div {
    flex: 1;
    padding: 20px;
    border: 1px solid black;
    /* Add border */
    border-radius: 8px;
    /* Add border radius */
    margin-bottom: 20px;
    /* Add spacing between boxes */
    text-align: center;
    /* Center text */
}


/* Adjust layout for desktop view */

@media only screen and (min-width: 768px) {
    .immgration {
        flex-direction: row;
        /* Display boxes horizontally */
    }
    .immgration>div {
        margin-right: 20px;
        /* Add spacing between boxes */
        margin-bottom: 0;
        /* Remove vertical margin */
    }
    /* Ensure last box doesn't have right margin */
    .immgration>div:last-child {
        margin-right: 0;
    }
}


/* Styles for the container of the sections */

.images-all {
    padding: 20px;
}


/* Styles for each section */

.images-all>div {
    flex: 1;
    text-align: center;
}


/* Styles for each image container */

.images-all>div>div.setup {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    /* Limit max-width for better alignment */
}


/* Styles for each image */

.images-all>div>div.setup img {
    width: 100%;
    max-width: 100%;
    /* Ensure image fits within its container */
    border-radius: 8px;
    height: 500px;
}


/* Styles for each text container */

.images-all>div>div>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}


/* Styles for buttons */

.images-all>div>div>div button {
    background-color: #232B65;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}


/* Adjust layout for mobile view */

@media only screen and (max-width: 768px) {
    .images-all>div {
        flex-direction: column;
        /* Stack sections vertically */
    }
    .images-all>div>div {
        margin-bottom: 20px;
        /* Add spacing between items */
    }
}


/* Styles for the contact box */


/* Base styles for the contact box */

.contactbox {
    background-color: #60697b;
    color: white;
    padding: 20px;
    text-align: center;
}


/* Styles for the heading */

.contactbox h1 {
    margin: 0;
}


/* Styles for the button */

.contactbox .book-appointment-btn {
    background-color: #232B65;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-left: 45%;
    /* Adjust margin top */
}


/* Styles for the button link */

.contactbox .book-appointment-btn a {
    color: white;
    text-decoration: none;
}


/* Styles for the button hover effect */

.contactbox .book-appointment-btn:hover {
    background-color: #1C2251;
}


/* Media query for mobile view */

@media only screen and (max-width: 768px) {
    /* Override button positioning */
    .contactbox .book-appointment-btn {
        margin: 0 auto;
        /* Center the button horizontally */
        display: block;
        /* Change button to block element */
    }
}


/* Base styles for the footer */


/* Base styles for the footer */

footer {
    background-color: #f2f2f2;
    padding: 20px;
    text-align: center;
}


/* Styles for the footer content */

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 600px;
    /* Adjust as needed */
    margin: 0 auto;
}


/* Styles for the heading */

.footer-content h3 {
    margin-bottom: 10px;
}


/* Styles for the list items */

.footer-content ul {
    list-style-type: none;
    padding: 0;
}


/* Styles for list items */

.footer-content ul li {
    margin-bottom: 5px;
}


/* Styles for links */

.footer-content a {
    color: #007bff;
    text-decoration: none;
}


/* Styles for social icons */

.social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
}


/* Styles for social icons */

.social-icons a {
    margin-left: 10px;
}

.boximg {
    transition: transform 0.3s ease;
}

.zoomin:hover~.boximg {
    transform: scale(1.3);
}


/* Adjustments for mobile view */

@media only screen and (max-width: 768px) {
    .boximg {
        transition: none;
        /* Remove transition effect on mobile */
    }
    .zoomin:hover~.boximg {
        transform: none;
        /* Remove scaling effect on mobile */
    }
    /* Override button positioning */
    .contactbox .book-appointment-btn {
        margin: 20px auto 0;
        /* Center the button horizontally and add some margin at the top */
        display: block;
        /* Change button to block element */
    }
    .container .fade-in .left,
    .container .fade-in .right {
        margin: 0;
        /* Remove margin on mobile for image and text sections */
        text-align: center;
        /* Center align text on mobile */
    }
    .fade-in-left img {
        width: 100%;
        /* Make image full width on mobile */
        max-width: 100%;
        /* Ensure image fits within container */
    }
    .images-all>div>div>div {
        position: static;
        /* Remove absolute positioning for text in image sections */
        transform: none;
        /* Remove transformation */
        top: auto;
        /* Reset top position */
        left: auto;
        /* Reset left position */
        text-align: center;
        /* Center align text */
    }
    .images-all>div>div>div button {
        margin-top: 10px;
        /* Add some space between text and button */
    }
}

.boximg {
    max-width: 700px;
    border-radius: 8px;
}


/* Adjustments for mobile view */

@media only screen and (max-width: 768px) {
    .boximg {
        max-width: 100%;
        /* Set max-width to 100% for mobile devices */
        border-radius: 0;
        /* Optionally, remove border-radius for mobile devices */
    }
}

.next {
    font-size: 24px;
    margin-bottom: 10px;
}

.but {
    background-color: #232B65;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}


/* Adjustments for mobile view */

@media only screen and (max-width: 768px) {
    .next {
        font-size: 20px;
        /* Decrease font size for smaller screens */
        margin-bottom: 5px;
        /* Decrease margin for smaller screens */
    }
    .but {
        padding: 8px 16px;
        /* Adjust padding for smaller screens */
        font-size: 14px;
        /* Decrease font size for smaller screens */
    }
}