/* GENERAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

/* LOGO */
 /* .logo {
    height: 60px;      
    width: auto;
    display: block;
} */
 .logo-footer {
    height: 38px;
    width: auto;
    display: flex;
    background: rgba(1, 5, 14, 0.75);
    border-radius: 50%;
} 

/* NAVBAR */
.navbar {
    background: rgba(1, 5, 14, 0.75);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* CONTAINER */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
}

/* LOGO AREA */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 38px;
    width: 38px;       /* ensure it's a square */
    border-radius: 50%;
    object-fit: cover; /* keeps image nicely cropped */
}

/* BRAND TEXT */
.brand-text h1 {
    font-size: 16px;
    margin: 0;
    line-height: 1;
    color: white;
}

.brand-text h1 span {
    color: #e63946;
}

.brand-text p {
    font-size: 10px;
    margin: 0;
    color: #9ca3af;
    letter-spacing: 1px;
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* LINKS */
nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    padding: 5px;
    position: relative;
}

/* HOVER */
nav a:hover {
    color: #e63946;
}

/* BUTTON */
.nav-btn {
    background: #e63946;
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
}

.nav-btn:hover {
    background: #c92f3a;
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 60px;
        right: 0;
        background: #0f172a;
        flex-direction: column;
        width: 100%;
        display: none;
        text-align: center;
        padding: 20px 0;
    }

    nav a {
        padding: 10px 0;
        font-size: 16px;
    }

    nav.active {
        display: flex;
    }
}
/* HERO */
.hero {
    background: url('backgorund.jpeg') center/cover no-repeat;
    color: #f1faee;
    text-align: center;
    padding: 120px 20px;
}
.hero h2 {
    font-size: 42px;
}
.btn {
    background: #e63946;
    color: white;
    padding: 12px 20px;
    margin: 10px;
    border: none;
    cursor: pointer;
}

/* SECTIONS */
section {
    padding: 60px 20px;
    text-align: center;
}
.gray {
    background: #f4f4f4;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* GALLERY */
/* GALLERY SECTION */
.gallery-section {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
}

.gallery-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

/* SLIDER */
.slider {
    position: relative;
    max-width: 100%; /* increase slider width for bigger images */
    margin: auto;
    overflow: hidden;
}

/* SLIDES */
.slides {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

/* EACH SLIDE (LARGER IMAGE, 20% SCREEN WIDTH) */
.slide {
    min-width: 20%; /* 5 images per row, each covering 20% */
    box-sizing: border-box;
    padding: 5px;
}

/* IMAGE STYLE */
.slide img {
    width: 100%;
    height: 450px; /* or adjust higher for bigger visuals */
    object-fit: cover;
    border-radius: 10px;
}

/* BUTTONS */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.prev:hover, .next:hover {
    background: #e63946;
}

.prev { left: 10px; }
.next { right: 10px; }

/* IMAGE HOVER EFFECT */
.slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease; /* smooth transition */
}

.slide img:hover {
    transform: scale(1.05); /* enlarge slightly on hover */
}
/* TABLET: 2-3 IMAGES */
@media (max-width: 992px) {
    .slide {
        min-width: 33.33%; /* 3 images for tablet */
    }
    .slide img {
        height: 300px;
    }
}

/* MOBILE: 1 IMAGE */
@media (max-width: 768px) {
    .slide {
        min-width: 100%;
    }
    .slide img {
        height: 250px;
    }
    .prev, .next {
        font-size: 22px;
        padding: 8px;
    }
}
/* ABOUT US SECTION */
.about-section {
    padding: 60px 20px;
    background-color: #f9f9f9; /* keeps consistent with other light sections */
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px; /* spacing between content and image */
    flex-wrap: wrap;
}

.about-content {
    flex: 1 1 500px;
    padding-right: 20px;
    text-align: left;
}

.about-content h2 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: #e63946; /* consistent with your brand accent */
}

.about-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-image {
    flex: 1 1 400px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1); /* subtle shadow like your cards */
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.03); /* slight zoom on hover for interactivity */
}

.btn-modern {
    display: inline-block;
    padding: 12px 25px;
    background-color: #e63946; /* brand accent */
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
    transition: background 0.3s, transform 0.3s;
}

.btn-modern:hover {
    background-color: #c92f3a;
    transform: translateY(-2px);
}
.about-content .btn-modern {
    display: block;       /* makes it take full width of its content area */
    width: fit-content;   /* button only as wide as its text */
    margin: 20px auto 0;  /* top margin 20px, horizontal auto (centers), bottom 0 */
    text-align: center;   /* ensures text inside button is centered */
}

/* IMAGE CONTAINER */


/* IMAGE INSIDE */

/* Responsive adjustments for small screens */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column; /* image below content */
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .about-content {
        padding-right: 0;
    }

    .about-image {
        margin-bottom: 20px;
        width: 100%;
        height: auto;       /* keeps original proportion */
        max-height: 200px;  /* 🔥 limits how tall it can get */
        object-fit: contain; /* shows full image, no cropping */
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 15px;
    }
     /* ✅ ADD THIS PART */
    .about-image img {
        max-width: 90%;     /* prevents full edge-to-edge stretch */
        max-height: 250px;  /* limits vertical size */
        object-fit: contain; /* keeps full image visible */
    }
}
.careers-section {
    background: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.careers-section h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.careers-intro {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 16px;
    color: #555;
}

/* GROUP TITLE */
.career-group-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* GRID */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* NORMAL CARDS */
.career-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: left;
}

.career-card:hover {
    transform: translateY(-5px);
}

.career-card h3 {
    color: #e63946;
    margin-bottom: 10px;
}

.career-card p {
    font-size: 14px;
    color: #555;
}

/* 🔥 SPECIAL IT ROLE */
.special-role {
    background: #1a1a1a;
    color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: left;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.special-role h3 {
    color: #e63946;
    margin-bottom: 15px;
}

.special-role p {
    color: #ddd;
    font-size: 14px;
    margin-bottom: 10px;
}

.special-role ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.special-role ul li {
    margin-bottom: 6px;
}

/* APPLY */
.careers-extra {
    margin-top: 20px;
}

.careers-extra h3 {
    color: #1a1a1a;
}

.apply-btn {
    background: #e63946;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
}

.apply-btn:hover {
    background: #c92f3a;
}

/* MOBILE */
@media (max-width: 768px) {
    .special-role {
        padding: 20px;
    }
}
/* CONTACT */
/* SOCIAL ICONS */
.contact-social {
    margin-top: 20px;
    text-align: center;
}

.contact-social a {
    display: inline-block;
    margin: 0 10px;
    font-size: 28px;
    transition: transform 0.2s;
}

.contact-social a:hover {
    transform: scale(1.2);
}

/* BRAND COLORS */
.contact-social a:nth-child(2) i { color: #1877f2; } /* Facebook */
.contact-social a:nth-child(3) i { color: #1da1f2; } /* Twitter */
.contact-social a:nth-child(4) i { color: #e1306c; } /* Instagram */
.contact-social a:nth-child(5) i { color: #0077b5; } /* LinkedIn */
.contact {
    background: #1a1a1a;
    color: white;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.map {
    flex: 1;
    min-width: 250px;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.contact-info {
    flex: 2;
    min-width: 300px;
    text-align: center;
}

.contact-info a {
    color: #e63946;
    text-decoration: none;
}


.grid.gallery img {
    width: 100%;           /* fills its grid cell */
    height: 350px;         /* fixed height for uniform look */
    object-fit: cover;     /* crops/zooms to fill the space without distortion */
    border-radius: 12px;   /* match your site style */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.grid.gallery img:hover {
    transform: scale(1.05); /* subtle zoom on hover */
}
/* FOOTER */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: #111;
    color: white;
    padding: 20px;
    gap: 10px;
}

footer p {
    margin: 0;
    text-align: center;
}
/* OUR STORY SECTION */
#our-story {
    padding: 60px 20px;
    text-align: center;
    background: #f4f4f4;
}

#our-story h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a1a1a; /* dark heading */
}

.story-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.story-item h3 {
    font-size: 22px;
    color: #e63946; /* red accent */
    margin-bottom: 10px;
}

.story-item p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}
.partners-section {
    background: #f4f4f4; /* light neutral background */
    padding: 60px 20px;
    text-align: center;
}

.partners-section h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 40px;
    font-weight: bold;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.partner-item {
    flex: 0 1 150px; /* controls logo size */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-item img {
    width: 100%;
    max-width: 150px;
    filter: grayscale(100%); /* logos in grayscale */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0%); /* color on hover */
    transform: scale(1.05); /* slight zoom effect */
}

/* Responsive */
@media (max-width: 768px) {
    .partner-item {
        flex: 0 1 120px;
    }

    .partners-section h2 {
        font-size: 28px;
    }
}
/* SERVICES WITH ICONS */
/* Grid layout for services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* automatically adjusts columns */
    gap: 30px;
    text-align: center;
}

/* Service item styling */
.service-item svg {
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.service-item p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* stack items vertically on small screens */
        gap: 20px;
    }

    .service-item h3 {
        font-size: 18px;
    }

    .service-item p {
        font-size: 14px;
    }
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
    padding: 40px 20px;
}

.why-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card svg {
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.why-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Hover effect */
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        padding: 20px 10px;
    }
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    text-align: center;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card svg {
    position: absolute;
    top: -15px;
    left: 20px;
}

.review-card p {
    font-size: 14px;
    color: #333;
    margin: 25px 0 10px 0;
    line-height: 1.6;
}

.review-card span {
    font-size: 13px;
    color: #777;
    font-style: italic;
}

/* Hover effect */
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        padding: 20px 10px;
    }
}
/* MOBILE */
@media (max-width: 768px) {
    .story-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
}
/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    nav {
        justify-content: center;
    }
    .contact-container {
        flex-direction: column;
    }
}