/* ===============================
   DIVAX LIMITED - style.css
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
}

/* ===============================
   NAVBAR
================================= */

.navbar {
    padding: 15px 0;
    transition: 0.3s;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    margin-left: 10px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #ffc107 !important;
}

/* ===============================
   HERO SECTION
================================= */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.65)
        ),
        url("images/hero-bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
}

.hero h1 {
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
}

.hero img {
    animation: float 4s ease-in-out infinite;
}

/* ===============================
   BUTTONS
================================= */

.btn {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-warning:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-outline-primary:hover {
    transform: translateY(-3px);
}

/* ===============================
   ABOUT SECTION
================================= */

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

section h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

section p {
    color: #555;
}

/* ===============================
   CARDS
================================= */

.card {
    border: none;
    border-radius: 15px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-body i {
    transition: 0.3s;
}

.card:hover i {
    transform: scale(1.15);
}

/* ===============================
   WHY CHOOSE US
================================= */

.display-3 {
    transition: 0.3s;
}

.display-3:hover {
    transform: scale(1.1);
}

/* ===============================
   CTA SECTION
================================= */

.bg-primary {
    background: linear-gradient(
        135deg,
        #0d6efd,
        #0b3d91
    ) !important;
}

/* ===============================
   FOOTER
================================= */

footer {
    background: #111;
}

footer a {
    transition: 0.3s;
}

footer a:hover {
    color: #ffc107 !important;
}

footer i {
    font-size: 20px;
}

/* ===============================
   IMAGES
================================= */

img {
    max-width: 100%;
}

.rounded {
    border-radius: 15px !important;
}

/* ===============================
   ANIMATIONS
================================= */

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ===============================
   FADE IN
================================= */

.card,
.hero h1,
.hero p,
.hero .btn {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   SHADOWS
================================= */

.shadow-sm {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 991px) {

    .hero {
        text-align: center;
        min-height: auto;
        padding: 120px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero img {
        margin-top: 40px;
    }

    .navbar-nav {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {

    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
    }
}