* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #222;
}

/* ====== INDEX ====== */

.headerbar {
    background-color: #222;
    color: #fff;
    font-size: 0.85rem;
    padding: 5px 15px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.headerbar a {
    color: #ddd;
    text-decoration: none;
    margin: 0 8px;
}

.headerbar a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
    height: fit-content;
    object-fit: cover;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ====== ALERT BANNER ====== */
.alert-banner {
    background-color: #121212;
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ====== NAVBAR ====== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #eaeaea;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    max-width: 400px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .logo {
        max-width: 250px;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

/* Mobile only */
@media (max-width: 768px) {
  .nav-links {
    display: none;              /* Hide by default on mobile */
    flex-direction: column;     /* Stack links vertically */
    background: #d3d3d3;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }};

    .nav-links.active {
    display: flex;              /* Show when toggled */
  }

.nav-links a {
    color: black;
    text-decoration: none;
}



/* ====== MENU TOGGLE ====== */

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Show hamburger on mobile and style it */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: #222;
    position: relative;
    z-index: 1001;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }
}


/*====Responsive style for smaller screens.====*/
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: #222;
        z-index: 1001;
        position: relative;
    }

    .navbar {
        display: block;
        color: #222;
        position: sticky;
        top: 0;
        z-index: 1000;

        .nav-links {
            display: none;
            flex-direction: column;
            background: #d3d3d3;
            position: absolute;
            top: 60px;
            right: 0;
            width: 100%;
            padding: 1rem;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

        .nav-links.active {
            display: flex;
        }
    }
}

/* ====== INTRO ====== */
.hero {
    position: relative;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/background2.jpg") no-repeat center center/cover;
    filter: blur(3px);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}


.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #999999;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #888888;
}

.btn {
    display: inline-block;
    background: #222;
    color: #ffff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
}

.services-preview {
    padding: 4rem 0;
    background: #d3d3d3;
}

.services-preview h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card h4 {
    margin-top: 1rem;
}

.only-one {
    color: #666;
}

.why-us {
    background-color: #f0f0f0;
    padding: 4rem 0;
}

.why-us h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.why-us ul {
    list-style: none;
    text-align: center;
}

.why-us li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}


/* ====== FOOTER ====== */
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}


.navbar img {
    width: 200px;
    height: auto;

}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    display: block;

}

/* ====== CONTACT FORM ====== */

.contact-form-section {
    padding: 4rem 0;
    background: #d3d3d3;
    text-align: center;
}

.contact-form-section h2 {
    margin-bottom: 0.5rem;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    text-align: right;
}

.contact-form label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.contact-form button {
    margin-top: 1.5rem;
    border: none;
    cursor: pointer;
}

.contact-details h2 {
    margin-bottom: 0.3em;
}

.contact-details p {
    margin: 0.2em 0;
    line-height: 2;
}

.contact-details a {
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

input[type="file"] {
    background-color: white;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="file"]::file-selector-button {
    background-color: #2a2a2a;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
    background-color: #444;
}

/* ====== TEAM SECTION ====== */

.team-section {
    padding: 4rem 0;
    background: #d3d3d3;
    text-align: center;

}

.team-section h2 {
    margin-bottom: 0.5rem;
    font-size:  2rem;
    color: #222;
}

.team-section p {
    color: #666;
    margin-bottom: 2rem;

}

.team-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   /*== justify-items: center; */
   align-items: stretch;
}

.team-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    max-width: 100%;
    box-shadow: 0 6px 16pxpx rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    /* Add Ons*/
    Display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.team-card h4 {
    margin-bottom: 0.3rem;
}

.team-card .role {
    font-style: italic;
    color: #444;
    margin-bottom: 0.5rem;
}

/* ====== SERVICES ====== */

.services-full {
    padding: 4rem 0;
    background: #d3d3d3;
}

.services-full h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #999999;
}

.services-full .intro-text {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.service-block {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}


.service-block:nth-child(even) {
    flex-direction: row-reverse;
}

.service-block img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .service-block img {
        height: 180px;
        /* or 160px — whatever height works for mobile */
    }
}

.image-box {
    aspect-ratio: 16 / 10;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 600px) {
    .image-box {
        padding-bottom: 56.25%;
        /* 16:9 for phones */
    }
}



.service-info {
    flex: 1;
}

.service-info h3 {
    margin-bottom: 0.5rem;
    color: #999999;
}

.service-info p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .team-card {
        max-width: 100%;
    }

    .team-card img {
        object-fit: contain;
    }
}


@media (max-width: 768px) {
    .service-block {
        flex-direction: column !important;
        text-align: center;
        align-items: center;
        /* Add this for horizontal centering */
    }

    .service-block img {
        width: 300px;
        /* Fix width to a consistent size */
        max-width: 100%;
        /* Ensure it doesn't exceed container */
        height: 200px;
        /* Fix height for consistency */
        object-fit: cover;
        /* Changed to 'cover' to avoid empty spaces */
        margin: 0 auto;
        border-radius: 8px;
        /* Optional, for nicer look */
        display: block;
        /* Remove inline quirks */
    }

    .service-info {
        margin-top: 1rem;
        /* Changed from margin-bottom for better spacing */
        margin-bottom: 0;
    }
}





/* ====== ABOUT ====== */

.about-hero {
    background: #f8f8f8;
    padding: 4rem 0;
    text-align: center;
}

.about-hero h2 {
    margin-bottom: 1rem;
    color: #999999;
}

.about-hero p {
    max-width: 800px;
    margin: 0 auto;
    color: #888888;
}

.about-journey {
    overflow: hidden;
    padding: 4rem 0;
    position: relative;
    color: #fff;
}

.about-journey h2 {
    position: relative;
    z-index: 3;
    color: #999999;
    margin-bottom: 2rem;
    text-align: center;

}

.about-journey::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/background2.jpg") no-repeat center center/cover;
    filter: blur(4px);
    z-index: 1;
}

.journey-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.journey-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: #fff;
}

.journey-card h4 {
    margin-bottom: 0.5rem;
}

.journey-card p {
    color: #999999;
}

.core-values {
    background: #d3d3d3;
    padding: 4rem 0;
    text-align: center;
}

.core-values h3 {
    margin-bottom: 2rem;
}

.values-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    color: #444;
}

.values-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-cta {
    background: #222;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.about.cta h3 {
    margin-bottom: 1rem;
}

.about-cta .btn {
    background: #fff;
    color: #222;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

/* ====== CAREERS PAGE ====== */
.careers-page {
    padding: 4rem 0;
    text-align: center;
    color: #fff;
    background: url("../images/background2.jpg") no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

.careers-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/background2.jpg") no-repeat center center/cover;
    filter: blur(4px);
    z-index: -1;
}

.careers-page h2 {
    margin-bottom: 1rem;
    color: #888888;
}

.careers-page p {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 1.1rem;
}



.status-msg {
    font-weight: 600;
    color: #c0392b;
}

/* ====== GALLERY ====== */

.gallery-grid {
    background: #f0f0f0;
    padding: 3rem 1rem;
    overflow: visible;
}

.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* neat rows */
    gap: 1.5rem;
    justify-items: center;
}

.gallery-wrapper img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    cursor:pointer;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    position: relative;
}

.gallery-wrapper img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.with-bg {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background-color: #999999;
}

/*.with-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/background2.jpg") no-repeat center center/cover;
    filter: blur(4px);
    z-index: -1;
}*/

@media (max-width: 768px) {
    .gallery-wrapper img:hover {
        transform: none;
        z-index: 1;
    }
}

.gallery-hero {
    background: #d3d3d3;
    padding: 4rem 1rem 2rem;
    text-align: center;
}

.gallery-hero h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #999999;
}

.gallery-hero p {
    color: #888888;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}


.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav span {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    padding: 0 15px;
    transform: translateY(-50%);
}

.lightbox-nav .prev { left: 10px; }
.lightbox-nav .next { right: 10px; }



/* FOOTER MENU NAV */

.footer-nav ul {
  list-style: none;           
  padding: 0;
  display: flex;             
  justify-content: center;   
  gap: 1.5rem;               
  margin-bottom: 1rem;        
}

.footer-nav a {
  color: #fff;               
  text-decoration: none;      
}

.footer-nav a:hover {
  text-decoration: underline; 
}
