/* notes: when editing codes, please leave a comment so we know what was changed.
-please keep code clean and neat.
-Each section has their responsive below them 
-Include double spaces between sections for better readability
-all comments should be in all caps*/

/* LINKS */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* LINKS ENDS */

/* ROOTS */
:root{
    --primary-color: #ffff;
    --secondary-color:black;
    --hover-color:rgb(0, 132, 255);
    --accent-color:rgb(0, 8, 255);
    --header-color:rgb(0, 123, 255);
    --text-color:rgb(1, 0, 0);
    --button-color:linear-gradient(135deg, #002cbc, #ad6df7);
    --button-hover:linear-gradient(135deg, #c96df7, #3800d2);
    --text-shadow: 2px 2px 4px #000000;
    --royal-text:#0400ff;
}



/* GENERAL AREA CODE BEGINS eg(p, h1-6, font etc)*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: #fff;
}


/* BACK TO TOP BUTTON */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    background-color: var(--hover-color);
    transform: translateY(-4px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}
/* GENERAL AREA ENDS*/

/* HEADER & NAV SECTION */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.logo-navbar {
    width: clamp(120px, 25vw, 200px);
    height: auto;
    margin: 1em;
}

nav {
    background-color: var(--primary-color);
    margin-left: auto;
}

nav ul {
    list-style: none;
    display: flex;
    font-size: 1.2em;
    font-family: "Inter", sans-serif;
}

nav li {
    display: flex;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    padding: 1em 2em;
    transition: background-color 150ms ease;
}

nav a:hover {
    background-color: var(--hover-color);
    color: white;
}

nav a.active-link {
    border-bottom: 2px solid var(--text-color);
}

nav a.accent-link {
    background-color: var(--accent-color);
}

/* BUTTONS FOR NAV SECTION MOBILE*/
#open-sidebar-button,
#close-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
}

#overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
}

.skip-link {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.skip-link:focus {
    opacity: 1;
    pointer-events: auto;
    outline: 3px solid #ffffff;
}


/* RESPONSIVE NAV SECTION*/
@media(min-width:1200px){
    header {
    padding: 0 29px;
    }

    .logo-navbar {
    width: clamp(130px, 50vw, 300px);
    height: auto;
    margin: 1.1em;
    }

    nav ul {
        font-size: 1.2em;
    }

}

@media (max-width: 850px) {
    #open-sidebar-button,
    #close-sidebar-button {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(16em, 80%);
        background: var(--primary-color);
        z-index: 10;
        border-left: 1px solid var(--hover-color);
        transition: right 300ms ease-in-out;
    }

    nav.show {
        right: 0;
    }

    nav.show ~ #overlay {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: start;
        width: 100%;
    }

    nav a {
        width: 100%;
        padding-left: 2.5em;
    }

    nav a.active-link {
        border-bottom: none;
    }
}


/* HERO SECTION BEGIN */
.hero-section {
    position: relative;
    background: url('/assets/intro-background.png') center/cover no-repeat;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-slogan {
    position: relative;
    z-index: 2;
    color: var(--header-color);
    background: rgba(0, 0, 0, 0.5);
    max-width: 700px;
    padding: 2rem;
    margin-right: 10vw;
    border-radius: 1rem;
    animation: fadeInUp 1.5s ease-out;
}

.slogan-header {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slogan-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #f4f4f4;
    margin-bottom: 2rem;
}

.slogan-button {
    display: inline-block;
    background: var(--button-color);
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.slogan-button:hover {
    transform: scale(1.05);
    background: var(--button-hover)
}

/* HERO RESPONSIVENESS */
@media (max-width: 1280px) {
    .hero-section {
        min-height: 80vh;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        justify-content: center;
        min-height: 70vh;
        background-position: top center;
    }

    .hero-slogan {
        margin-right: 0;
        text-align: center;
        max-width: 90%;
    }
}

@media (max-width: 840px) {
    .hero-section {
        background: url('/assets/intro-background-mobile.png') center/cover no-repeat;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 60vh;
        background: url('/assets/intro-background-mobile.png') center/cover no-repeat;
    }

    .hero-slogan {
        padding: 1.5rem;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* HERO SECTION ENDS */

/* this section is for updates an notifications*/
.Info-flex{
    background: var(--hover-color);
    padding: clamp(1rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    color: white;
    align-items: center;
}

.Info-flex a{
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    background: var(--button-color);
    transition: all 0.3s ease;
}

.info-btn-container{
    padding-top: clamp(1rem, 2vw, 2rem);
}

/*section ends*/

/* ABOUT SECTION BEGINS*/
.about-section {
    background-color: #fafafa;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-section h2{
    color:blue;
}

.about-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.about-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.about-content {
    color: #333;
}

.about-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-button {
    display: inline-block;
    background: var(--button-color);
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-button:hover {
    transform: scale(1.05);
    background:var(--button-hover)
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}
/* ABOUT SECTION ENDS */


/* SERVICES SECTION STARTS*/
.services-section {
    background-color: #0400ff;
    padding: 6rem 2rem;
    text-align: center;
}

.services-title {
    color:white;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    /* text-shadow: var(--text-shadow); */
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: white;
    margin-bottom: 3rem;
}

/*THIS SECTION HAS BEEN EDITED*/

/*.services-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
/*    gap: 2.5rem;*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*}*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* Force layout so 4th and 5th are spaced apart */
.services-grid > :nth-child(4) {
    grid-column: 1 / 2; /* left side */
}

.services-grid > :nth-child(5) {
    grid-column: 3 / 4; /* right side */
}

/* RESPONSIVE FOR GRID */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Remove custom placement for smaller screens */
    .services-grid > :nth-child(4),
    .services-grid > :nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/*_________________________*/



.service-card {
    background: #fafafa;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-title {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.service-card img{
    max-width: 100%;
    border-radius: 40%;
    position: center;
}
/* SERVICE SECTION ENDS */

/*<!--MISSION SECTION BEGINS-->*/
    .mission-section{
        background:#0007f112;
        padding:6rem 2rem;
        display:flex;
        flex-direction:column;
        justify-content:center;
    }
    
    .mission-statement p{
        margin:1rem;
    }
    
    .mission-title{
        color:var(--royal-text);
        font-size: clamp(2rem, 4vw, 2.8rem);
        font-weight: 700;
        text-align:center;
        flex:1 1 auto;
    }
    
    .mission-statement{
        flex:1 1 auto;
        text-align:center;
        width:41dvw;
        margin:0 auto;
    }
    
/*<!--MISSION SECTION ENDS-->*/


/* CONTACT SECTION BEGINS */
.contact-section {
    background-color: #fafafa;
    padding: 6rem 2rem;
    text-align: center;
}

.contact-subtitle{
    color:black;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.contact-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-button:hover {
    background-color: var(--hover-color);
}
/* CONTACT SECTION ENDS */

/* LOCATION SECTION BEGINS */
.location-section {
    justify-content: center;
    background: #fff;
    padding: 6rem 2rem;
}

.location-title{
    text-align: center;
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.location-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color:var(--text-color);
}

.location-info ul{
    list-style: none;
}

.map-area {
    flex: 1 1 400px;
    height: 50dvh;
}

.info-map{
    align-items: center;
    width: 100%;
    
}

.map-placeholder {
    /*background: #e0e0e0;*/
    height: 100%;
    display: flex;
    justify-content: center;
    color: #777;
    font-size: 1.2rem;
    border-radius: 0.5rem;
}

iframe {
    width: clamp(100px, 100%,1000px);
    height: clamp(40dvh, 50dvh, 1000px);
    
}

.location-info {
    flex: 1 1 300px;
}

.location-info h3 {
    color: var(--header-color);
    margin-bottom: 0.5rem;
}
/* RESPONSIVE SECTION CAN BE FOUND IN THE FOOTER RESPONSIVE */
/* LOACTION SECTION ENDS */

/* FOOTER SECTION BEGINS */

.footer {
    background-color: black;
    color: white;
    padding: 3rem 2rem 1rem;
}


.footer-socials{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-socials a{
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    transition: transform 0.25s ease, color ease-in 0.5s;
}

.footer-socials a i{
    color: blue;
    transition: transform 0.25s ease, color ease-in 0.5s;
}

.footer-socials a:hover i{
    color: white;
    transform: translateY(-4px) scale(1.1) ;
}

.footer-socials a:hover{
    color: blue;
}


.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
   transition: color 0.6s ease;
}

.footer-links a:hover {
    opacity: 1;
    color:blue;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* RESPONSIVE FOOTER & LOCATION */
@media (max-width: 840px) {
    .location-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .contact-section,
    .location-section {
        padding: 3rem 1rem;
    }

    .map-area {
        height: 250px;
    }
}
