:root {
    --primary-color: #4b6587; 
    --secondary-color: #f7b731; 
    --background-color: #f4f5f7; 
    --text-color: #1e272e; 
    --card-bg-color: #fff; 
    --card-shadow-color: rgba(0, 0, 0, 0.3); 
}



body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-style: normal;
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.icon {
    width: 2rem;
    height: 2rem;
    color: black;
  }
  

/* Navigation - Headroom JS Move Navigation on Scroll */
.headroom {
    will-change: transform;
    transition: all .5s linear;

}

.headroom--pinned {
    transform: translateY(0%);
    opacity: 1;
}

.headroom--unpinned {
    transform: translateY(-100%);
    opacity: 0;
}



.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

main {
    padding: 20px;
}


.gallery-section {
    text-align: center;
    padding: 50px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 0.5fr);
    gap: 15px;
    margin: 0 auto;
    max-width: 85%;
}


.gallery-item {
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 10px var(--card-shadow-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}


.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


@keyframes fadeInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);  
    }
    to {
        opacity: 1;
        transform: translateX(0);  
    }
}



.box {
    display: block;
    animation: fadeInFromLeft 1.5s ease-out forwards;
    background-color: var(--background-color);
    opacity: 0;
    padding-top: 20%;
    padding-bottom: 10%;
    background-color:#cdcdcd;
    border-radius: 5px;
    border-right: #1e272e solid 2px;
    border-top: #1e272e solid 2px;
    border-bottom: #1e272e solid 2px;
    margin-top: 2%;
    height: auto;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%; 
    height: 5px; 
    background-color: #495f70;
}

.box p {
    align-content: center;
    padding: 50px;
    margin: 0;
    color: Black;
    font-size: 1rem;
}

footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Contact Section */
.contact-section {
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 10px var(--card-shadow-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-form {
    margin: 20px 0;
}

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

.contact-form label {
    font-size: 1rem;
    color: var(--text-color);
    text-align: left;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid var(--card-shadow-color);
    border-radius: 6px;
    font-size: 1rem;
}


.contact-form button {
    padding: 12px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}

.contact-form button:hover {
    background-color: var(--secondary-color);
}


#map {
    margin: 20px 0;
    height: 420px;
    width: 400px;
    overflow: hidden;
    background: url(images/gmap.webp) no-repeat center / cover;
}

#map h4 {
    font-size: 1.4em;
    margin: 0;
}

#map span {
    display: block;
    font-size: 0.8em;
}

#map ul {
    list-style: disc;
    padding: 5px 20px;
    font-size: 1.2em;
}

.directions-section {
    text-align: center;
    margin-top: 20px;
}

.directions-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.directions-section input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--card-shadow-color);
    width: 80%;
    max-width: 400px;
}

.directions-section button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.directions-section button:hover {
    background-color: var(--secondary-color);
}


.gradient-border {
    position: relative; 
    padding: 20px; 
    background: white;
    border-radius: 8px; 
    z-index: 1;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -4px; 
    left: -4px; 
    right: -4px; 
    bottom: -4px; 
    background: linear-gradient(90deg, rgba(83, 83, 205, 1) 1%, rgba(125, 233, 255, 1) 100%);
    border-radius: 8px; 
    z-index: -1;
}

.gradient-border-two {
    position: relative;
    padding: 20px;
    background: white;
    border-radius: 8px; 
    z-index: 1;
}

.gradient-border-two::before {
    content: '';
    position: absolute;
    top: -4px; 
    left: -4px; 
    right: -4px; 
    bottom: -4px; 
    background: linear-gradient(90deg, rgba(156,94,184,1) 10%, rgba(0,200,255,1) 100%);;
    border-radius: 8px; 
    z-index: -1; 
}

.gradient-border-three {
    position: relative; 
    padding: 20px; 
    background: white; 
    border-radius: 8px; 
    z-index: 1; 
}

.gradient-border-three::before {
    content: '';
    position: absolute;
    top: -4px; 
    left: -4px; 
    right: -4px; 
    bottom: -4px; 
    background: linear-gradient(90deg, rgb(197, 197, 240) 1%, rgba(125, 233, 255, 1) 100%);
    border-radius: 8px; 
    z-index: -1; 
}


 .showcase-card:hover {
    transform: scale(1.02); 
    animation: scale-in-center 0.5s cubic-bezier(.25, .46, .45, .94) both; 
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr); 
    gap: 20px; 
    padding: 20px; 
}

.showcase-card {
    min-height: 405px;
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.1); 
    text-align: center; 
    transition: transform 0.2s, box-shadow 0.2s; 
}

.showcase-link {
    display: inline-block;
    margin-top: 10px; 
    padding: 10px 20px;
    background-color: #FFF;
    color: #2D2D2D; 
    text-decoration: none; 
    border: 2px solid black;
    border-radius: 5px; 
    transition: background-color 0.2s; 
}

.showcase-link:hover {
    background-color: #a0a0a0; 
}


.nav-menu {
    list-style-type: none;
    padding: 0; 
    display: flex; 
    gap: 15px; 
}

.nav-menu li {
    position: relative; 
}

.nav-menu a {
    display: flex; 
    align-items: center; 
    padding: 10px 15px; 
    background-color: #2D2D2D; 
    color: white;
    border-radius: 5px;
    text-decoration: none; 
    transition: background-color 0.3s; 
}

.nav-menu a:hover {
    background-color: #4a4a4a; 
}
.icon {
    width: 30px; 
    height: 30px; 
    fill: white; 
    margin-right: 8px; 
}

.footer-button {
    display: inline-flex; 
    align-items: center; 
    background-color: #222a32; 
    color: white; 
    text-decoration: none; 
    padding: 10px 15px;
    border: none;
    border-radius: 5px; 
    transition: background-color 0.3s, transform 0.3s; 
    cursor: pointer; 
}

.footer-button:hover {
    background-color: #3682ce; 
    transform: scale(1.05); 
}

.footer-icon {
    width: 20px; 
    height: 20px; 
    fill: white;
    margin-right: 8px; 
}

footer p {
    margin: 10px 0 0; 
    font-size: 0.9em; 
}

footer p a {
    color: white; 
    margin: 0 5px; 
    text-decoration: none; 
}

footer p a:hover {
    text-decoration: underline; 
}

.hero {
    background-color: #f0f0f0;
    padding: 40px;
    text-align: center;
}

.features {
    padding: 20px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background-color: #cdcdcd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.welcome-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #007bff;
}

.welcome-section h3 {
    margin-top: 20px;
    font-size: 1.5em;
    color: #495057;
}

.welcome-section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.welcome-section ul {
    list-style-type: none;
    padding: 0;
}

.welcome-section ul li {
    background: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.welcome-section ul li:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}





@media (max-width: 450px) {

#nav-main-menu {
    display: none; 
    position: absolute; 
    margin-top: 25%;
    top: 50px; 
    right: 0; 
    width: 80vw; 
    max-width: 300px; 
    background: rgba(136, 136, 136, 0.9); 
    padding: 10px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); 
    border-radius: 8px; 
    transition: all 0.3s ease;
    z-index: 9999;
}

#nav-main-menu:not([hidden]) {
    display: flex; 
    flex-direction: column; 
}

.close-icon {
    display: none; 
}

.nav-main-menu-toggle[aria-expanded="true"] .close-icon {
    display: block; 
}

.nav-main-menu-toggle[aria-expanded="true"] .hamburger-icon {
    display: none; 
}

.headroom {
    will-change: transform;
    transition: all .5s linear;

}

.headroom--pinned {
    transform: translateY(0%);
    opacity: 1;
}

.headroom--unpinned {
    transform: translateY(-100%);
    opacity: 0;
}

    #map {
        margin: 20px 0;
        height: 420px;
        width: 100%;
        overflow: hidden;
        background: url(images/gmap.webp) no-repeat center / cover;
    }
    
    #map h4 {
        font-size: 1.4em;
        margin: 0;
    }
    
    #map span {
        display: block;
        font-size: 0.8em;
    }
    
    #map ul {
        list-style: disc;
        padding: 5px 20px;
        font-size: 1.2em;
    }

    .showcase-grid {
        grid-template-columns: 1fr; 
    }

    .showcase-card {
        min-height: 300px; 
        padding: 15px; 
    }

    .showcase-link {
        padding: 8px 15px; 
        font-size: 14px; 
    }
    
    .gradient-border,
    .gradient-border-two,
    .gradient-border-three {
        padding: 15px;
    }
}

@media (min-width: 768px) {
    .nav-main-menu-toggle {
        display: none;
    }
/* Navigation - Headroom JS Move Navigation on Scroll */
.headroom {
    will-change: transform;
    transition: all .5s linear;

}

.headroom--pinned {
    transform: translateY(0%);
    opacity: 1;
}

.headroom--unpinned {
    transform: translateY(-100%);
    opacity: 0;
}

.hamburger {
    display: none;
}

    .nav-menu {
        flex-direction: row;
    }

    #map {
        margin: 20px 0;
        height: 420px;
        overflow: hidden;
        background: url(images/gmap.webp) no-repeat center / cover;
    }
    
    #map h4 {
        font-size: 1.4em;
        margin: 0;
    }
    
    #map span {
        display: block;
        font-size: 0.8em;
    }
    
    #map ul {
        list-style: disc;
        padding: 5px 20px;
        font-size: 1.2em;
    }
}

@media (min-width: 1025px) {
    .nav-menu {
        flex-direction: row;
    }

    .hamburger {
        display: none;
    }

    #map {
        margin: 20px 0;
        height: 420px;
        overflow: hidden;
        background: url(images/gmap.webp) no-repeat center / cover;
    }
    
    #map h4 {
        font-size: 1.4em;
        margin: 0;
    }
    
    #map span {
        display: block;
        font-size: 0.8em;
    }
    
    #map ul {
        list-style: disc;
        padding: 5px 20px;
        font-size: 1.2em;
    }
}
