/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    scroll-padding-top: 2rem;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --main-color: #16b987;
    --second-color: #092b54;
}

section {
    padding: 50px 10%;
}

img {
    width: 100%;
}

*::selection {
    color: #fff;
    background: var(--main-color);
}

/* header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 3%;
    transition: 0.4s;
} */

header {
    position: fixed;
    /* Stays at the top */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    /* Always on top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    /* Smaller padding to shrink header */
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    /* Glass effect */
    transition: all 0.4s ease-in-out;
    /* Smooth shrinking effect */
    height: 50px;
    /* Smaller fixed height */
    overflow: visible;
}


.logo {
    margin-left: 0;
    /* Remove any margin pushing it right */
    padding-left: 5px;
    /* Adjust for finer control */
}

.logo img {
    width: 50px;
    /* Smaller logo size */
    transition: 0.3s ease;
}


.navbar {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
    list-style: none;
    background: none;
}

.navbar a {
    font-size: 15px;
    padding: 0 15px;
    color: whitesmoke;
    font-weight: 500;
}

.navbar a.active {
    color: rgb(24, 3, 20);
    background: #05CEE7;
    border-radius: 10px 7px;
}


.navbar a:hover {
    color: rgb(24, 3, 20);
    background: #05CEE7;
    border-radius: 10px 7px;

}


.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}




.home {
    width: 100%;
    /* min-height: 100vh; */
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* background-color: blueviolet; */
    background-image: url(/img/home2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 20px;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Added overlay */
.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Black overlay with 50% opacity */
    z-index: 1;
    /* Places the overlay above the background but below the content */
    pointer-events: none;
    /* Allows clicks to pass through to elements below */
}

/* Make sure content appears above the overlay */
.home>* {
    position: relative;
    z-index: 2;
}


.home-text {
    flex: 1 1 17rem;
    animation: slideInFromLeft 2.2s ease-out;
    margin-top: 150px;
}

.home-img img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the images fill the container proportionally */
    display: none;
    /* Initially hide all images */
    transition: transform 0.5s ease;
    /* Smooth transition for switching slides */
}

.home-img img.active {
    display: block;
    /* Show the active image */
    transform: scale(1);
    /* Ensures the image is displayed at its normal size */
}




.home {
    /* display: flex; */

    /* align-items: center; */

    /* Full viewport height */

}

.home-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

}


.home-text h1 {
    margin-top: 2rem;
    padding-left: 0;
    font-size: 6rem;
}

.home-text p {
    padding-left: 0;
    /* Removes left padding */
    font-size: 1.3rem;
    /* Increases text size */
    font-weight: 450;
    /* Makes text bold */
    font-style: initial;
    /* Adds italic style */
    color: white;
    /* Ensures text color stays white */

}


.btn {
    background-color: transparent;
    /* Makes background transparent */
    color: white;
    font-weight: bold;
    margin-top: 6rem;
    padding: 0.5rem 0.5rem;
    border-radius: 2rem;
    display: inline-block;
    /* Ensures the button is visible */
    transition: background-color 0.3s ease-in-out;
    border: 2px solid rgb(145, 248, 77);
    /* Optional: Add a border for visibility */
}

.btn:hover {
    background-color: #0b6679;
    /* Light transparent background on hover */
}


.btn:hover {
    background-color: #0b6679;
    /* -moz-text-decoration-color: ; */
}


/* Fix extra gap before services */
.services {
    /* margin: 0;
    
    padding: 0; */
    
    overflow-y: hidden;
}


.services {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: auto;
    /* Changed from 100vh to auto to prevent excessive vertical spacing */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Changed from center to reduce vertical gaps */
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
    overflow: hidden;
    padding: 40px 0;
    /* Added padding instead of using min-height */
}

.services-intro {
    width: 90%;
    /* Increased from 80% for better space usage */
    max-width: 1400px;
    /* Increased from 1000px */
    margin: 10 30px;
    /* Reduced bottom margin from 60px to 30px */
    padding: 20px;
    color: black;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    text-align: justify;
}

.services-intro p {
    margin-bottom: 10px;
    line-height: 1.5;
    /* Slightly reduced from 1.6 */
}

.two-column-text {
    width: 90%;
    /* Increased from 80% */
    min-width: 1200px;
    /* Increased from 1000px */
    margin: 0 auto 30px;
    /* Reduced from 60px to 30px */
    padding: 20px;
    /* Reduced from 25px */
    color: black;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    text-align: justify;
    display: flex;
    gap: 50px;
    /* Reduced from 50px */
    margin-top: 20px;
    /* Reduced from 30px */
    font-size: 18px;
}

.left-column,
.right-column {
    flex: 2;
}

.services h2 {
    font-size: 2.2rem;
    /* Reduced from 2.5rem */
    margin-top: 40px;
    /* Reduced from 30px */
    margin-bottom: 10px;
    /* Added margin-bottom */
    color: #037B85;
}

.services-container {
    display: flex;
    justify-content: center;
    /* Changed from space-around for better centering */
    flex-wrap: wrap;
    width: 1200px;
    /* Increased from 80% */
    gap: 20px;
    /* Added gap property to create consistent spacing */
}

.service-box {
    background: rgba(11, 10, 11, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px;
    /* Increased from 10px */
    border: solid #05CEE7;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 320px;
    /* Slightly reduced from 330px */
    min-height: 250px;
    /* Reduced from 300px */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin: 15px;
    /* Replaced margin-bottom with overall margin */
    color: white;
    overflow: hidden;
}

.service-box h3 {
    font-size: 1.2rem;
    /* Fixed the very small font size (was 1px) */
    margin-bottom: 10px;
    /* Added margin */
    color: #05CEE7;
}

.service-box p {
    margin-bottom: 15px;
    /* Added margin */
    font-size: 0.9rem;
    /* Added a size */
}

.service-box a {
    font-size: 14px;
    /* Increased from 12px */
    padding: 8px 15px;
    /* Added proper padding */
    border: 2px solid #ff9900;
    border-radius: 1.5rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.4s ease;
    display: inline-block;
    margin-top: 10px;
    /* Added margin */
}

/* Make sure the hover effect is properly defined */
.service-box:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px #05CEE7;
    /* Changed to match your new border color */
}

.service-box a {
    font-size: 14px;
    padding: 8px 15px;
    border: 2px solid #ff9900;
    border-radius: 1.5rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.4s ease;
    display: inline-block;
    margin-top: 10px;
}


.service-box a:hover {
    color: #ff9900;
    transform: scale(1.02);
}



/* About Section */
 .about-section {
    display: flex;
    position: relative;
    /* flex-direction: column; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content:center;
    background-color: #0b6679;
    color: white;
    flex-wrap: wrap;
} 


.about-section > * {
    position: relative;
    z-index: 1;
}


.about-header,
h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    padding-top: 0.2rem;
    color: black;
    font-size: 44px;
}


.center-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 153, 0, 0.5);
    /* Glass yellow effect */
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite alternate;
}

.feature-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    transition: transform 0.5s ease-in-out, background 0.5s ease-in-out;
}


/* Update master-circles positioning */
.master-circles {
    width: 500px; /* Smaller to fit better */
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    overflow: hidden;
    border: solid #f5a007;
    
}


.master-circles:hover {
    border-color: #ffba2b;
    background: rgba(0, 0, 0, 0.7);
}




.center-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 153, 0, 0.5);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}



.feature-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    transition: transform 0.5s ease-in-out, background 0.5s ease-in-out;
    animation: orbit 20s linear infinite;
    border: dotted #f5a007;
}


.feature-circle:hover {
    transform: scale(1.2);
    background: rgba(255, 153, 0, 0.8);
    box-shadow: 0 0 25px rgba(255, 255, 255, 1);
}

.feature-circle:hover::after {
    content: attr(data-hover-text);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s ease;
}


/* Orbit Positioning */
.feature-circle:nth-child(1) {
    animation-delay: -2.5s;
}

.feature-circle:nth-child(2) {
    animation-delay: -5s;
}

.feature-circle:nth-child(3) {
    animation-delay: -7.5s;
}

.feature-circle:nth-child(4) {
    animation-delay: -10s;
}

.feature-circle:nth-child(5) {
    animation-delay: -12.5s;
}

.feature-circle:nth-child(6) {
    animation-delay: -15s;
}

.feature-circle:nth-child(7) {
    animation-delay: -17.5s;
}

.feature-circle:nth-child(8) {
    animation-delay: -20s;
}


/* Animations */
@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(160px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(160px) rotate(-360deg);
    }
}

@keyframes masterRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}



/* For the about-content */

.about-content {
    min-width: 100px;
    min-height: 90vh;
    background: whit;
    /* padding: 30px; */
    border-radius: 15px;
    text-align: justify;
    margin: 50px auto;
    position: relative;
    display: grid; 
    align-items: center;
} 


.about-content:hover {
    transform: translateY(-5px);
    box-shadow:  rgba(0, 0, 0, 0.2);
}

.left-content p {
    margin-top: 35px;
    margin-bottom: 50px;
    line-height: 2.5;
    color: white;
    font-size: 18px;
    text-align: justify;
    justify-content: center;
    margin-left: 20%;
    margin-right:20%

}


.right-content p {
    margin-top: 35px;
    margin-bottom: 50px;
    line-height: 2.5;
    color: white;
    font-size: 18px;
    text-align:justify ;
    justify-content:center;
    margin-left: 20%;
    margin-right:20%

}


.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 25px;

}

.about-image img {
    width: 100%;
    max-width: 250px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1/1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: solid #f5a007;

}


/* For Contacts */
.contact {
    /* background-image: url('/img/logo001.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: wheat;
    align-items: center;
    padding: 50px 20px;
    background-color: black;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 130px;
    color: #0b6679;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-container {
    display: flex;
    justify-content: space-between; /* Ensure items are spread across the container */
    width: 100%;
    max-width: 1300px;
    gap: 10%; /* This adds the 10% gap between the form and the map */
}

/* Contact Form */
.contact-form {
    width: 65%; /* The form will cover 50% of the container width */
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
}

.contact-form textarea {
    min-height: 150px; /* Increased height of textarea */
}

.contact-form button {
    padding: 12px 20px;
    border: none;
    background: #0b6679;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 200px; /* Fixed width for button */
    height: auto; /* Ensure the button height is consistent */
    align-self: center; /* Center the button */
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.contact-form button:hover {
    background-color: #cc5500;
}

/* Contact Details (Map) */
.contact-info {
    width: 40%; /* The map will cover 40% of the container width */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.map-container {
    height: 350px;
    width: 100%;
    max-width: 1200px;
    justify-content:flex-end ;
    align-items:flex-end ;
}

.map-container iframe {
    height: 100%;
    width: 100%;
    max-width: 900px;
    border: 0;
    display: block;
    justify-content:flex-end ;
    align-items: flex-end;
}




.social-icons a {
    display: inline-block;
    font-size: 24px;
    margin: 0 10px;
    color: white;
    transition: transform 0.5s ease, color 0.5s ease;
}

.social-icons a:hover {
    transform: rotate(360deg);
    /* Full Rotation */
    color: #ff9900;
    /* Change Color to Orange */
}

/* Footer Styles */
footer {
    background-color: #002342; /* Dark blue background like in the reference */
    color: white;
    padding: 50px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #fff;
}

/* About Us Column */
.about-us p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-icon {
    width: 60px;
    height: auto;
    margin-top: 20px;
}

/* Quick Links Column */
.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e74c3c; /* Red color on hover like the reference button */
}

/* Contact Column */
.contact-details p {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Social Media Icons */
.social-icons h3 {
    margin-top: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e74c3c;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* for youtube */
.youtube-subscribe {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: white;
}

.youtube-subscribe a {
    color: #ff0000; /* YouTube Red */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.youtube-subscribe a:hover {
    color: #ff9900; /* Hover effect */
}



/* For Navbar */


@media (max-width: 768px) {
    .navbar {
        display: none;
        /* Hide only for smaller devices */
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 50%;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(15px);
        text-align: center;
        gap: 20px;
        padding: 20px 0;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
        border: 2px solid rgb(145, 248, 77);
        border-radius: 1rem;
    }

    .navbar.show {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .hamburger.active i {
        transform: rotate(90deg);
        transition: 0.4s ease;
    }
}






/* For Home Page */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .home {
        background-size: cover;
        background-position: center;
        height: 100vh;
        padding: 10px;
    }

    .home-text {
        text-align: center;
        padding: 15px;
        margin-top: 100px;
    }

    .home-text h1 {
        font-size: 40px;
        line-height: 1;
        margin-bottom: 8px;
        padding-bottom: 8px;
        overflow-y: hidden;
    }

    .home-text p {
        font-size: 0.75rem;
        margin-bottom: 15px;
        padding: 0 5px;
    }

    .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
        margin-top: 4rem;
    }
}

/* Small Devices (min-width: 576px) and (max-width: 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .home {
        background-size: cover;
        background-position: center;
        height: 100vh;
        padding: 15px;
    }

    .home-text {
        text-align: center;
        padding: 20px;
        margin-top: 120px;
    }

    .home-text h1 {
        font-size: 45px;
        line-height: 0.95;
        margin-bottom: 10px;
        padding-bottom: 10px;
        overflow-y: hidden;
    }

    .home-text p {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 20px;
        margin-top: 5rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .home {
        background-size: cover;
        background-position: center;
        height: 100vh;
        padding: 20px;
    }

    .home-text {
        text-align: center;
        padding: 25px;
        margin-top: 140px;
    }

    .home-text h1 {
        font-size: 55px;
        line-height: 1;
        margin-bottom: 15px;
        padding-bottom: 15px;
        overflow-y: hidden;
    }

    .home-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn {
        font-size: 1.1rem;
        padding: 12px 24px;
        margin-top: 5.5rem;
    }
}


/* Services Section */

/* Responsive Fixes */
/* Extra Small Devices (phones, less than 576px) */
/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .services {
        padding: 20px 0;
    }
    
    .services h2 {
        font-size: 1.8rem !important;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    
    .services-intro {
        width: 95%;
        margin: 5px 10px;
        padding: 15px;
    }
    
    .two-column-text {
        width: 95%;
        min-width: auto;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
        padding: 15px;
        font-size: 16px;
    }
    
    .left-column,
    .right-column {
        flex: 1;
    }
    
    .services-container {
        width: 95%;
        flex-direction: column;
        align-items: center;
    }
    
    .service-box {
        width: 90%;
        min-height: 200px;
        margin: 10px 0;
    }
    
    .service-box h3 {
        font-size: 1.1rem;
    }
    
    .service-box p {
        font-size: 0.85rem;
    }
    
    .service-box a {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Small Devices (min-width: 576px) and (max-width: 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .services {
        padding: 30px 0;
    }
    
    .services h2 {
        font-size: 2rem !important;
        margin-top: 30px;
    }
    
    .services-intro {
        width: 90%;
        margin: 10px 20px;
    }
    
    .two-column-text {
        width: 90%;
        min-width: auto;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 25px;
        font-size: 16px;
    }
    
    .services-container {
        width: 90%;
        justify-content: center;
        gap: 15px;
    }
    
    .service-box {
        width: 80%;
        min-height: 220px;
        margin: 10px;
    }
    
    .service-box h3 {
        font-size: 1.15rem;
    }
    
    .service-box p {
        font-size: 0.85rem;
    }
}

/* Medium Devices (tablets, 768px and up to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .services {
        padding: 35px 0;
    }
    
    .services h2 {
        font-size: 2.2rem !important;
        margin-top: 35px;
    }
    
    .services-intro {
        width: 85%;
        margin: 10px 25px;
    }
    
    .two-column-text {
        width: 85%;
        min-width: auto;
        gap: 30px;
        margin-bottom: 30px;
        font-size: 17px;
    }
    
    .services-container {
        width: 90%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .service-box {
        width: 45%;
        min-height: 230px;
        margin: 10px;
    }
    
    .service-box h3 {
        font-size: 1.2rem;
    }
    
    .service-box p {
        font-size: 0.9rem;
    }
}

/* Large Devices (min-width: 1025px) */
@media (min-width: 1025px) {
    .services {
        padding: 40px 0;
    }
    
    .services h2 {
        font-size: 2.4rem !important;
        margin-top: 40px;
    }
    
    .services-intro {
        width: 90%;
        max-width: 1400px;
        margin: 10px 30px;
        padding: 20px;
    }
    
    .two-column-text {
        width: 90%;
        min-width: 1000px;
        max-width: 1400px;
        gap: 50px;
        margin-bottom: 30px;
        font-size: 18px;
    }
    
    .services-container {
        width: 1200px;
        justify-content: center;
        gap: 20px;
    }
    
    .service-box {
        width: 320px;
        min-height: 250px;
        margin: 15px;
    }
    
    .service-box h3 {
        font-size: 1.2rem;
    }
    
    .service-box p {
        font-size: 0.9rem;
    }
    
    .service-box a {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* Fix for the potential bug in the original CSS */
/* The service-box a selector was defined twice in the original CSS */
.service-box a {
    font-size: 14px;
    padding: 8px 15px;
    border: 2px solid #ff9900;
    border-radius: 1.5rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.4s ease;
    display: inline-block;
    margin-top: 10px;
}

.service-box a:hover {
    color: #ff9900;
    transform: scale(1.02);
}


/* For the About Us */

/* Responsive Design */
/* Media Queries for responsive design */
/* Small devices (phones) */
/* Small devices (phones) */
@media (max-width: 576px) {

    /* Overall section structure */
    .about-section {
        padding: 20px 0;
        /* Remove horizontal padding */
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Header styling */
    .about-header {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    /* Center the circles container */
    .master-circles {
        width: 350px;
        /* Increase width slightly */
        height: 350px;
        /* Keep aspect ratio */
        /* margin: 0 auto 10px; */
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        left: 0;
        /* Reset any left positioning */
        right: 0;
        /* Reset any right positioning */
    }

    /* Keep center circle styling */
    .center-circle {
        width: 90px;
        height: 90px;
        font-size: 14px;
        font-weight: bold;
        position: absolute;
        /* top: 50%; */
        /* left: 50%; */
        transform: translate(-50%, -50%);
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Style feature circles */
    .feature-circle {
        width: 75px;
        height: 75px;
        font-size: 10px;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Adjust orbit animation */
    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(105px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(105px) rotate(-360deg);
        }
    }

    /* Update feature circle positions */
    .feature-circle:nth-child(1) {
        transform: rotate(0deg) translate(105px) rotate(0deg);
    }

    .feature-circle:nth-child(2) {
        transform: rotate(51.4deg) translate(105px) rotate(-51.4deg);
    }

    .feature-circle:nth-child(3) {
        transform: rotate(102.8deg) translate(105px) rotate(-102.8deg);
    }

    .feature-circle:nth-child(5) {
        transform: rotate(154.2deg) translate(105px) rotate(-154.2deg);
    }

    .feature-circle:nth-child(6) {
        transform: rotate(205.6deg) translate(105px) rotate(-205.6deg);
    }

    .feature-circle:nth-child(7) {
        transform: rotate(257deg) translate(105px) rotate(-257deg);
    }

    .feature-circle:nth-child(8) {
        transform: rotate(308.4deg) translate(105px) rotate(-308.4deg);
    }

    /* Full-width content box */
    .about-content {
        width: 85%;
        font-size: 12px;
        margin: 0;
        align-items: center;
        text-align: justify;
        padding: 5px 0px;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        margin-bottom: 4rem;
    }

    /* Profile image styling */
    .about-image {
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    .about-image img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 2px solid #FFD700;
        object-fit: cover;
    }

    /* Reset any potential floats or other positioning */
    .feature-text {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        height: 100%;
    }
}





/* Medium devices (tablets) */
@media (min-width: 577px) and (max-width: 768px) {
    .about-section {
        padding: 40px 25px;
    }

    .about-content {
        width: 85%;
        font-size: 15px;
        justify-content: center;
        align-items: center;
    }

    .master-circles {
        width: 350px;
        height: 350px;
        justify-content: center;
        align-items: center;
    }

    .center-circle {
        width: 90px;
        height: 90px;
    }

    .feature-circle {
        width: 80px;
        height: 80px;
    }

    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(130px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(130px) rotate(-360deg);
        }
    }

    /* Update all individual feature-circle positions */
    .feature-circle:nth-child(0) {
        transform: rotate(0deg) translate(130px) rotate(0deg);
    }

    .feature-circle:nth-child(1) {
        transform: rotate(45deg) translate(130px) rotate(-45deg);
    }

    .feature-circle:nth-child(2) {
        transform: rotate(90deg) translate(130px) rotate(-90deg);
    }

    .feature-circle:nth-child(3) {
        transform: rotate(135deg) translate(130px) rotate(-135deg);
    }

    .feature-circle:nth-child(5) {
        transform: rotate(180deg) translate(130px) rotate(-180deg);
    }

    .feature-circle:nth-child(6) {
        transform: rotate(225deg) translate(130px) rotate(-225deg);
    }

    .feature-circle:nth-child(7) {
        transform: rotate(270deg) translate(130px) rotate(-270deg);
    }

    .feature-circle:nth-child(9) {
        transform: rotate(315deg) translate(130px) rotate(-315deg);
    }
}

/* Larger screens (tablets and up) */
@media (min-width: 769px) {
    .about-content {
        width: 70%;
        font-size: 18px;
        justify-content: center;
        align-items: center;
    }

    .master-circles {
        width: 450px;
        height: 450px;
        justify-content: center;
        align-items: center;
    }

    .center-circle {
        width: 120px;
        height: 120px;

    }

    .feature-circle {
        width: 100px;
        height: 100px;
    }

    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(160px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(160px) rotate(-360deg);
        }
    }

    /* Restore original feature-circle positions */
    .feature-circle:nth-child(0) {
        transform: rotate(0deg) translate(160px) rotate(0deg);
    }

    .feature-circle:nth-child(1) {
        transform: rotate(45deg) translate(160px) rotate(-45deg);
    }

    .feature-circle:nth-child(2) {
        transform: rotate(90deg) translate(160px) rotate(-90deg);
    }

    .feature-circle:nth-child(3) {
        transform: rotate(135deg) translate(160px) rotate(-135deg);
    }

    .feature-circle:nth-child(5) {
        transform: rotate(180deg) translate(160px) rotate(-180deg);
    }

    .feature-circle:nth-child(6) {
        transform: rotate(225deg) translate(160px) rotate(-225deg);
    }

    .feature-circle:nth-child(7) {
        transform: rotate(270deg) translate(160px) rotate(-270deg);
    }

    .feature-circle:nth-child(9) {
        transform: rotate(315deg) translate(160px) rotate(-315deg);
    }

    .about-image img {
        max-width: 200px;
    }
}

/* Desktop screens - adjust content width */
@media (min-width: 992px) {
    .about-content {
        width: 60%;
        /* Adjusted for better readability on large screens */
    }

}

/* Larger screens (above 1024px) */
@media (min-width: 1025px) {
    .about-content {
        width: 60%;
        font-size: 18px;
        justify-content: center;
        align-items: center;
    }

    .master-circles {
        width: 450px;
        height: 450px;
        justify-content: center;
        align-items: center;
    }

    .center-circle {
        width: 120px;
        height: 120px;
        font-size: 16px;
    }

    .feature-circle {
        width: 100px;
        height: 100px;
        font-size: 14px;
    }

    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(160px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(160px) rotate(-360deg);
        }
    }

    /* Restore original feature-circle positions */
    .feature-circle:nth-child(0) {
        transform: rotate(0deg) translate(160px) rotate(0deg);
    }

    .feature-circle:nth-child(1) {
        transform: rotate(45deg) translate(160px) rotate(-45deg);
    }

    .feature-circle:nth-child(2) {
        transform: rotate(90deg) translate(160px) rotate(-90deg);
    }

    .feature-circle:nth-child(3) {
        transform: rotate(135deg) translate(160px) rotate(-135deg);
    }

    .feature-circle:nth-child(5) {
        transform: rotate(180deg) translate(160px) rotate(-180deg);
    }

    .feature-circle:nth-child(6) {
        transform: rotate(225deg) translate(160px) rotate(-225deg);
    }

    .feature-circle:nth-child(7) {
        transform: rotate(270deg) translate(160px) rotate(-270deg);
    }

    .feature-circle:nth-child(9) {
        transform: rotate(315deg) translate(160px) rotate(-315deg);
    }

    .about-image img {
        max-width: 200px;
    }
}





/* For Contact */

/* Responsive Design */
@media (max-width: 1024px) {

    /* Tablets */
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form,
    .contact-info {
        max-width: 100%;
        text-align: center;
    }

    .contact-details p {
        justify-content: center;
    }

    .contact button {
        width: 50%;
        /* Make button wider on tablets */
        margin-left: 0;
        /* Center button */
        margin-bottom: 20px;
    }

    .contact-info {

        margin-top: 60px;
    }

    .map-container {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {

    /* Mobile */
    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .contact-container {
        padding: 10px;
    }

    .contact-form {
        padding-top: 2rem;
        width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
        padding: 8px;
    }

    .contact button {
        width: 100%;
        /* Full width on mobile */
        margin-bottom: 20px;

    }

    .contact-info {
        max-width: 100%;
        text-align: center;
        margin-top: 60px;
    }

    .map-container {
        height: 250px;
        width: 100%;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        padding: 15px;
    }

    .social-icons a {
        font-size: 18px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        margin: 8px 0;
    }

    .footer-bottom-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 15px 5px;
    }

    .social-icons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-icons a {
        font-size: 16px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-links li {
        margin: 5px 0;
    }

    .footer-bottom-text {
        font-size: 12px;
    }
}



/* OUR COURSES PAGE */
.graphic-design-page {
    background-image: url('/img/abt10.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

.fixed-logo {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 999;
    transition: transform 0.3s ease;
}

.courses-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-top: 4px;
    position: relative;
    padding: 15px 0;
}

.title-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.courses-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* Reduced gap for more even spacing */
    padding: 15px;
    /* Reduced padding for smaller side margins */
    max-width: 100%;
    margin: 0 auto;
}

.course-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px);
    /* Set to one-third width minus gap for 3-column layout */
    min-height: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin: 0;
    overflow: visible;
    flex: 0 0 calc(33.33% - 20px);
    /* Fix flex basis to ensure 3 columns */
    max-width: calc(33.33% - 20px);
    /* Ensure maximum width is also constrained */
}

/* Specific styles for heading */
.course-box h3 {
    margin: 12px 0;
    font-size: 16px;
    /* Slightly smaller for better fit */
    line-height: 1.3;
    min-height: 40px;
    display: block;
    overflow: visible;
}

.course-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.course-box p {
    margin: 8px 0 15px;
    line-height: 1.4;
    overflow: visible;
    min-height: 40px;
    font-size: 14px;
    /* Slightly smaller for better fit */
}

.course-box div {
    margin-top: auto;
    width: 100%;
}

.apply-btn {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    background: #0b6679;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    overflow: visible;
}

.apply-btn:hover {
    background: #cc5500;
}

.course-box:hover {
    transform: scale(1.05);
}

/* Media queries for responsive design */
@media (min-width: 768px) and (max-width: 1200px) {

    /* Tablet view - still 3 columns but smaller */
    .courses-container {
        padding: 10px;
        /* Even smaller padding for tablet */
        gap: 15px;
        /* Smaller gap for tablet */
    }

    .course-box {
        width: calc(33.33% - 15px);
        flex: 0 0 calc(33.33% - 15px);
        max-width: calc(33.33% - 15px);
        padding: 10px;
        /* Reduced padding */
    }

    .course-box h3 {
        font-size: 14px;
        /* Smaller font for tablet */
        margin: 8px 0;
        min-height: 38px;
    }

    .course-box p {
        font-size: 12px;
        /* Smaller font for tablet */
        min-height: 36px;
        margin: 6px 0 12px;
    }

    .apply-btn {
        padding: 8px 15px;
        /* Smaller button */
        font-size: 14px;
    }
}


/* Responsive Design */
/* Media queries for small devices (phones) */
@media (max-width: 767px) {
    .courses-container {
        padding: 10px;
        /* Smaller padding for phones */
        gap: 12px;
        /* Reduced gap for phones */
    }

    .course-box {
        width: calc(50% - 12px);
        /* Two columns with smaller gap */
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
        min-height: 280px;
        /* Reduced height */
        padding: 12px;
        /* Slightly reduced padding */
    }

    .course-box h3 {
        font-size: 14px;
        min-height: 32px;
        /* Reduced min-height */
        margin: 6px 0;
    }

    .course-box img {
        height: 120px;
        /* Reduced image height */
        width: 100%;
        /* Ensure full width */
        object-fit: cover;
        /* Ensure image covers area properly */
    }

    .course-box p {
        font-size: 12px;
        min-height: 32px;
        /* Reduced min-height */
        margin: 6px 0 8px;
        /* Reduced margin */
    }

    .apply-btn {
        padding: 6px 14px;
        /* Smaller button */
        font-size: 12px;
        margin-top: 5px;
        /* Reduced margin */
        margin-bottom: 5px;
        /* Reduced margin */
    }
}

/* Extra small devices (small phones) */
@media (max-width: 480px) {
    .courses-container {
        padding: 8px;
        /* Even smaller padding */
        gap: 10px;
        /* Even smaller gap */
    }

    .course-box {
        min-height: 260px;
        /* Further reduced height */
        padding: 10px;
    }

    .course-box h3 {
        font-size: 13px;
        min-height: 30px;
        /* Reduced min-height */
    }

    .course-box img {
        height: 110px;
        /* Further reduced image height */
    }

    .course-box p {
        margin: 5px 0;
        /* Reduced margins */
        min-height: 30px;
        /* Reduced min-height */
    }
}




/* The Application Form Page */
.Application-page {
    background-image: url('/img/red_matter___revisit_by_benjhs_d5rgvax-fullview.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}


.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: rgba(0, 0, 0, 0.2);
    /* Black background with 20% transparency */
    padding: 20px;
    border-radius: 10px;

    backdrop-filter: blur(10px);
    /* Subtle blur effect */
    color: white;
    /* Text color */
}


.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0b6679;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #0b6679;
    color: white;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #cc5500;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .form-container {
        width: 90%;
        padding: 15px;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select {
        padding: 8px;
    }

    .submit-btn {
        padding: 8px;
        font-size: 14px;
    }
}


.our-works {
    background-image: url('/img/abt5.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    overflow-y: auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.our-works::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Black overlay with 50% opacity */
    z-index: 1;
    pointer-events: none;
}

.works-container {
    position: absolute;
    z-index: 2;
    /* Brings content above the overlay */
}

.our-works {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.title-container {
    text-align: center;
    margin-bottom: 50px;
}

.work-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-top: -1rem;
}

/* .works-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content:space-between;
    padding: 50px;
    margin-top: -4.5rem;
    
} */

.works-container {
    position: relative;
    /* Changed from absolute to relative */
    z-index: 2;
    /* Brings content above the overlay */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    /* Added a max-width */
    width: 100%;
    /* Makes it responsive */
    margin: 0 auto;
    /* Centers the grid horizontally */
    padding: 50px;
    margin-top: -4.5rem;
}

.work-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.work-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.work-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.work-box h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #0b6679;
}

.work-box p {
    font-size: 1rem;
    color: black;
}


/* For our works */

/* Media Queries for Responsive Design */
/* Extra small devices (small phones, up to 480px) */
@media (max-width: 480px) {
    .our-works {
        padding: 1px;

    }

    .works-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for very small devices */
        gap: 20px;
        padding: 0.1px;
        margin-top: -2rem;
        overflow: hidden;
    }

    .work-title {
        font-size: 1.8rem;
    }

    .work-box h3 {
        font-size: 1rem;
    }

    .work-box img {
        height: 130px;

    }
}

/* Small devices (phones, 481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .our-works {
        padding: 1px;
    }

    .works-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for small devices */
        gap: 20px;
        margin-top: -2.5rem;
    }

    .work-title {
        font-size: 2rem;
    }

    .work-box h3 {
        font-size: 1.2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .our-works {
        padding: 1px;
    }

    .works-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 40px;
        margin-top: -4rem;

    }

    .work-title {
        font-size: 2.3rem;
    }

    .work-box {
        background: rgba(255, 255, 255, 0.8);

        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        width: 100%;


    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .our-works {
        padding: 1px;


    }

    .works-container {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns for desktops */
        gap: 25px;
        margin-top: -4.5rem;

    }

    .work-title {
        font-size: 2.5rem;
    }
}