/*====================================
    GOOGLE FONT
=====================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*====================================
        ROOT VARIABLES
=====================================*/

:root {

    --primary: #0A4D68;
    --secondary: #088395;
    --accent: #00C897;
    --dark: #0E1A2B;
    --light: #ffffff;
    --gray: #f4f6f9;
    --text: #555555;

    --shadow: 0 10px 30px rgba(0, 0, 0, .08);

    --transition: .4s ease;

    --radius: 8px;

    --container: 1200px;

}

/*====================================
        RESET
=====================================*/

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: #fff;

}

img {

    width: 100%;
    display: block;

}

a {

    text-decoration: none;

}

ul {

    list-style: none;

}

.container {

    width: 90%;
    max-width: var(--container);
    margin: auto;

}

/*====================================
        HEADER
=====================================*/

.header {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: .4s;
    padding: 18px 0;

}

.header.active {

    background: #fff;
    box-shadow: var(--shadow);

}

.header .container {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo img {

    width: 115px;

}

.navbar ul {

    display: flex;
    gap: 40px;

}

.navbar a {

    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: .3s;

}

.header.active .navbar a {

    color: #222;

}

.navbar a:hover {

    color: var(--accent);

}

.menu-btn {

    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;

}

/*====================================
        BUTTON
=====================================*/

.btn {

    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    transition: .4s;
    font-weight: 600;

}

.primary {

    background: var(--accent);
    color: #fff;

}

.primary:hover {

    background: var(--primary);

}

.secondary {

    border: 2px solid #fff;
    color: #fff;

}

.secondary:hover {

    background: #fff;
    color: var(--primary);

}

/*====================================
        HERO
=====================================*/

/*=====================================
            HERO SLIDER
======================================*/

.hero {

    position: relative;
    height: 100vh;
    overflow: hidden;

}

.hero-slider {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.slide {

    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;

}

.slide.active {

    opacity: 1;

}

.slide img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomHero 8s linear infinite;

}

@keyframes zoomHero {

    from {

        transform: scale(1);

    }

    to {

        transform: scale(1.12);

    }

}

.hero .overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .55);

    z-index: 1;

}

.hero-content {

    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    color: #fff;

}

.hero-btn{
    margin-top: 30px;
}

.slider-dots {

    position: absolute;

    bottom: 40px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 12px;

    z-index: 3;

}

.dot {

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .5);

    cursor: pointer;

    transition: .3s;

}

.dot.active {

    background: #00C897;

}


/*====================================
        TITLE
=====================================*/

.title {

    text-align: center;

    margin-bottom: 60px;

}

.title span {

    color: var(--accent);

    font-weight: 600;

    letter-spacing: 1px;

}

.title h2 {

    font-size: 42px;

    color: var(--dark);

    margin-top: 10px;

}

/*====================================
        ABOUT
=====================================*/

.about {

    padding: 120px 0;

}

.grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}

.about-image img {

    border-radius: 10px;

    box-shadow: var(--shadow);

}

.about-content h2 {

    font-size: 42px;

    margin: 20px 0;

    color: var(--dark);

}

.about-content p {

    margin-bottom: 30px;

}

/*====================================
        SERVICES
=====================================*/

.services {

    background: var(--gray);

    padding: 120px 0;

}

.service-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.service-card {

    background: #fff;

    padding: 45px 30px;

    text-align: center;

    border-radius: 10px;

    transition: .4s;

    box-shadow: var(--shadow);

}

.service-card:hover {

    transform: translateY(-10px);

}

.service-card i {

    font-size: 55px;

    color: var(--accent);

    margin-bottom: 20px;

}

.service-card h3 {

    margin-bottom: 15px;

    color: var(--dark);

}

/*====================================
        WHY CHOOSE US
=====================================*/

.why {

    padding: 120px 0;
    background: #ffffff;

}

.why-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;

}

.why-grid div {

    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--accent);

}

.why-grid div:hover {

    transform: translateY(-8px);

}

.why-grid h3 {

    color: var(--dark);
    margin-bottom: 15px;
    font-size: 22px;

}

.why-grid p {

    color: var(--text);

}

/*====================================
        COUNTER
=====================================*/

.counter {

    background: linear-gradient(135deg, #0A4D68, #088395);
    padding: 90px 0;

}

.counter .container {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

}

.counter-box {

    color: #fff;
    text-align: center;

}

.counter-box h2 {

    font-size: 60px;
    margin-bottom: 10px;
    font-weight: 700;

}

.counter-box p {

    font-size: 18px;
    opacity: .9;

}

/*====================================
        CTA
=====================================*/

.cta {

    padding: 110px 0;
    text-align: center;
    background: #f7f9fc;

}

.cta h2 {

    color: var(--dark);
    font-size: 46px;
    margin-bottom: 35px;
    line-height: 1.3;

}

/*====================================
        FOOTER
=====================================*/

footer {

    background: #081522;
    color: #fff;
    padding-top: 80px;

}

.footer-grid {

    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 69px;
    padding-bottom: 60px;

}

.footer-grid h3 {

    margin-bottom: 25px;
    font-size: 22px;

}

.footer-grid p {

    color: #ccc;
    margin-bottom: 12px;

}

.footer-grid a {

    display: block;
    color: #ccc;
    margin-bottom: 15px;
    transition: .3s;

}

.footer-grid a:hover {

    color: var(--accent);
    padding-left: 8px;

}

.copyright {

    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 25px;
    text-align: center;
    color: #bbb;
    font-size: 14px;

}

/*====================================
    SCROLL TO TOP
=====================================*/

.scroll-top {

    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 999;

}

.scroll-top.active {

    opacity: 1;
    visibility: visible;

}

.scroll-top:hover {

    background: var(--primary);

}

/*====================================
    SECTION SPACING
=====================================*/

section {

    overflow: hidden;

}

/*====================================
        IMAGE EFFECT
=====================================*/

.about-image {

    overflow: hidden;
    border-radius: 12px;

}


/* 
.about-image:hover img {
   height: 500px;
   width:80%

}  */

/*====================================
        CARD EFFECT
=====================================*/

.service-card,
.why-grid div {

    position: relative;
    overflow: hidden;

}

.service-card::before {

    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 5px;
    background: var(--accent);
    transition: .5s;

}

.service-card:hover::before {

    left: 0;

}

/*====================================
        SELECTION
=====================================*/

::selection {

    background: var(--accent);
    color: #fff;

}

/*====================================
        SCROLLBAR
=====================================*/

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-thumb {

    background: var(--accent);

}

::-webkit-scrollbar-track {

    background: #eee;

}

/*=========================================
        COUNTER SECTION
=========================================*/

.counter-section {

    padding: 100px 0;
    background: #0A4D68;

}

.counter-grid {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;

}

.counter-card {

    text-align: center;
    color: #fff;

}

.counter-card h2 {

    font-size: 60px;
    color: #00C897;
    margin-bottom: 15px;

}

.counter-card p {

    font-size: 18px;
    letter-spacing: 1px;

}

/*=========================================
        FLOATING BUTTONS
=========================================*/

.whatsapp-btn {

    position: fixed;
    right: 25px;
    bottom: 100px;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #25D366;
    color: #fff;

    font-size: 30px;
    text-decoration: none;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);

    z-index: 999;

    transition: .3s;

}

.whatsapp-btn:hover {

    transform: scale(1.12);

}

#topBtn {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: #0A4D68;
    color: #fff;

    cursor: pointer;

    display: none;

    font-size: 20px;

    z-index: 999;

    transition: .3s;

}

#topBtn:hover {

    background: #00C897;

}

/*=========================================
            CTA
=========================================*/

.cta {

    background: linear-gradient(135deg, #0A4D68, #088395);
    padding: 100px 0;
    color: #fff;
    text-align: center;

}

.cta h2 {

    font-size: 42px;
    margin-bottom: 30px;

}