/* ==========================================
   Atlas Geo-Solutions Limited Website
   Main Stylesheet
   Primary Color: #2ea3f2
========================================== */


/* ---------- Global Styles ---------- */

:root {
    --primary-color: #2ea3f2;
    --dark-color: #0b1f33;
    --secondary-color: #1f3a52;
    --light-color: #f5f9fc;
    --white-color: #ffffff;
    --text-color: #555555;
}

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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text-color);
    background: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}


/* ---------- Typography ---------- */

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

.section-title h2 {
    color: var(--dark-color);
    font-size: 36px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
}

.section-title p {
    margin-top: 25px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------- Navbar ---------- */

.navbar {
    background: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
}

.navbar-brand span {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin-left: 15px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 10px 20px;
    transition: 0.3s;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}


/* ---------- Buttons ---------- */

.btn-primary-custom {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-primary-custom:hover {
    background: var(--dark-color);
    color: white;
}


/* ---------- Hero Section ---------- */

.hero {
    min-height: 90vh;
    background:
    linear-gradient(
        rgba(5,25,45,0.75),
        rgba(5,25,45,0.75)
    ),
    url("https://images.unsplash.com/photo-1565793298595-6a879b1d9492")
    center/cover no-repeat;

    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: 55px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin: 25px 0;
}


/* ---------- Cards ---------- */

.service-card,
.info-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.4s;
    height: 100%;
}

.service-card:hover,
.info-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    height: 230px;
    width: 100%;
    object-fit: cover;
}

.service-card-body {
    padding: 25px;
}

.service-card h4 {
    color: var(--dark-color);
    font-weight: 700;
}


/* ---------- Inner Page Banner ---------- */

.page-banner {
    height: 350px;
    background:
    linear-gradient(
        rgba(10,30,50,0.75),
        rgba(10,30,50,0.75)
    ),
    url("https://images.unsplash.com/photo-1516939884455-1445c8652f83")
    center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    color:white;
    text-align:center;
}

.page-banner h1 {
    font-size:45px;
    font-weight:700;
}


/* ---------- Content Sections ---------- */

.content-box h3 {
    color: var(--dark-color);
    font-weight:700;
    margin-bottom:20px;
}

.content-box ul {
    padding-left:20px;
}

.content-box li {
    margin-bottom:10px;
}


/* ---------- Equipment Section ---------- */

.equipment-category {
    background:white;
    padding:30px;
    margin-bottom:30px;
    border-radius:10px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.equipment-category h3 {
    color:var(--primary-color);
}


/* ---------- Footer ---------- */

footer {
    background: var(--dark-color);
    color:white;
    padding:60px 0 20px;
}

footer h4 {
    margin-bottom:20px;
}

footer a:hover {
    color:var(--primary-color);
}

.footer-bottom {
    border-top:1px solid rgba(255,255,255,0.2);
    margin-top:30px;
    padding-top:20px;
    text-align:center;
}


/* ---------- Animations ---------- */

.fade-in {
    opacity:0;
    transform:translateY(30px);
    transition:all 0.8s ease;
}

.fade-in.show {
    opacity:1;
    transform:translateY(0);
}


/* ---------- Responsive ---------- */

@media(max-width:991px){

    .hero h1 {
        font-size:40px;
    }

    .navbar-nav .nav-link {
        margin-left:0;
        padding:10px;
    }

}


@media(max-width:576px){

    .hero h1 {
        font-size:32px;
    }

    .section-title h2 {
        font-size:28px;
    }

    .page-banner h1 {
        font-size:35px;
    }

}
/* ==========================================
   HOMEPAGE CAROUSEL STYLES
========================================== */


.carousel-item {
    height: 90vh;
    position: relative;
}


.carousel-item img {
    height: 90vh;
    object-fit: cover;
}



.carousel-overlay {

    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background:
    linear-gradient(
        rgba(5,25,45,0.75),
        rgba(5,25,45,0.75)
    );

}



.carousel-caption {

    position:absolute;
    top:50%;
    transform:translateY(-50%);

    max-width:850px;

    z-index:2;

}



.carousel-caption h1 {

    font-size:55px;
    font-weight:700;
    line-height:1.2;

    animation: slideText 1s ease;

}



.carousel-caption p {

    font-size:18px;
    max-width:700px;

    margin:25px 0;

    animation: slideText 1.3s ease;

}



.carousel-caption .btn {

    animation: slideText 1.6s ease;

}



@keyframes slideText {


from {

    opacity:0;
    transform:translateY(40px);

}


to {

    opacity:1;
    transform:translateY(0);

}


}




.carousel-control-prev,
.carousel-control-next {

    width:6%;

}





.carousel-indicators button {

    width:12px;
    height:12px;

    border-radius:50%;

}




/* Homepage heading adjustment */

section h2 {

    color:var(--dark-color);
    font-weight:700;

}



/* Better service links */

.service-card a {

    color:inherit;

}



/* Highlight cards */

.info-card {

    border-top:4px solid var(--primary-color);

}



/* Mobile carousel adjustments */

@media(max-width:768px){


.carousel-item,
.carousel-item img {

    height:75vh;

}



.carousel-caption {

    left:8%;
    right:8%;

}



.carousel-caption h1 {

    font-size:32px;

}



.carousel-caption p {

    font-size:15px;

}



}

/* ================= PROJECT PORTFOLIO ================= */


.portfolio-filter button {

border:none;
background:#2ea3f2;
color:white;

padding:12px 22px;

margin:5px;

border-radius:30px;

transition:.3s;

}



.portfolio-filter button:hover,
.portfolio-filter button.active {

background:#0b1f33;

}



.portfolio-card {

position:relative;
overflow:hidden;

border-radius:10px;

height:280px;

}



.portfolio-card img {

width:100%;
height:100%;

object-fit:cover;

transition:.5s;

}



.portfolio-overlay {

position:absolute;

bottom:0;
left:0;

width:100%;

padding:25px;

background:
linear-gradient(
transparent,
rgba(0,0,0,.85)
);

color:white;

}



.portfolio-card:hover img {

transform:scale(1.1);

}



.portfolio-item {

transition:.4s;

}

/* ================= SECTOR CARDS ================= */


.sector-card {

height:100%;
background:white;

border-radius:12px;

overflow:hidden;

box-shadow:0 10px 30px rgba(0,0,0,0.08);

transition:.4s;

}



.sector-card img {

width:100%;
height:220px;

object-fit:cover;

}



.sector-content {

padding:25px;

}



.sector-content h3 {

font-size:22px;

margin-bottom:15px;

color:#0b1f33;

}



.sector-card:hover {

transform:translateY(-10px);

}

/* ================= CAREERS ================= */


.career-box {

background:white;

padding:40px;

border-radius:12px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

border-left:5px solid #2ea3f2;

}

/* ================= CONTACT PAGE ================= */


.contact-box {

background:#f5f9fc;

padding:20px;

margin-bottom:20px;

border-left:4px solid #2ea3f2;

border-radius:8px;

}



.contact-box h5 {

color:#0b1f33;

}



.contact-form {

padding:35px;

background:white;

box-shadow:0 10px 30px rgba(0,0,0,.08);

border-radius:12px;

}



.contact-form input,
.contact-form textarea {

border-radius:8px;

padding:12px;

}



.map-section {

padding:40px 0;

background:#f5f9fc;

}



.map-placeholder {

height:300px;

display:flex;

align-items:center;

justify-content:center;

flex-direction:column;

background:#0b1f33;

color:white;

border-radius:12px;

}
