/* =====================================================
   ELIHLE TRADING
   BLUE PROFESSIONAL BUSINESS WEBSITE
===================================================== */


/* ================= GENERAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    display: block;
}


/* ================= COLOURS ================= */

/*
    Main Blue:
    #0756A6

    Dark Blue:
    #063B73

    Light Blue:
    #EAF4FF

    White:
    #FFFFFF
*/


/* ================= NAVIGATION ================= */

.navbar {

    height: 78px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 7%;

    background: #ffffff;

    position: relative;

    z-index: 1000;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}


.logo {

    font-size: 24px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #063B73;
}


.logo span {

    color: #0756A6;
}


nav {

    display: flex;

    gap: 35px;
}


nav a {

    color: #333;

    font-weight: 600;

    font-size: 16px;

    position: relative;

    padding: 10px 0;

    transition: 0.3s;
}


nav a:hover {

    color: #0756A6;
}


nav a.active {

    color: #0756A6;
}


nav a.active::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 100%;

    height: 3px;

    background: #0756A6;

    border-radius: 5px;
}


/* ================= HERO ================= */

/* ================= HERO SLIDESHOW ================= */

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
    background: #0b2d4d;
}

/* Individual slides */

.slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.8s ease-in-out;

    z-index: 1;
}

/* Active slide */

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide image */

.slide img {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;

    left: 0;
    top: 0;
}

/* Dark overlay */

.overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 35, 70, 0.85),
        rgba(0, 70, 130, 0.45),
        rgba(0, 0, 0, 0.2)
    );

    z-index: 2;
}

/* Slide text */

.slide-content {
    position: relative;

    z-index: 3;

    max-width: 700px;

    padding: 0 8%;

    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;

    color: white;
}

/* Small title */

.small-title {
    color: #4da3ff;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

/* Main heading */

.slide-content h1 {
    font-size: clamp(40px, 6vw, 75px);

    line-height: 1.05;

    margin: 0 0 20px;

    font-weight: 800;
}

/* Description */

.slide-content p {
    font-size: 18px;

    line-height: 1.7;

    max-width: 600px;

    margin-bottom: 30px;
}

/* Button */

.hero-button {
    display: inline-block;

    width: fit-content;

    padding: 14px 28px;

    background: #0878d1;

    color: white;

    text-decoration: none;

    font-weight: 700;

    border-radius: 4px;

    transition: 0.3s;
}

.hero-button:hover {
    background: #ffffff;

    color: #0878d1;
}


/* ================= SLIDER BUTTONS ================= */

.slider-button {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);

    color: white;

    font-size: 28px;

    cursor: pointer;

    transition: 0.3s;
}

.slider-button:hover {
    background: #0878d1;
}

.slider-button.previous {
    left: 25px;
}

.slider-button.next {
    right: 25px;
}


/* ================= SLIDER DOTS ================= */

.dots {
    position: absolute;

    z-index: 10;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;
}

.dot {
    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition: 0.3s;
}

.dot.active {
    width: 28px;

    border-radius: 10px;

    background: #0878d1;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .hero {
        height: 75vh;
        min-height: 500px;
    }

    .slide-content {
        padding: 0 7%;
    }

    .slide-content h1 {
        font-size: 42px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slider-button {
        width: 40px;
        height: 40px;

        font-size: 22px;
    }

    .slider-button.previous {
        left: 10px;
    }

    .slider-button.next {
        right: 10px;
    }

    .dots {
        bottom: 15px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 20px;
    }
}


/* ================= HERO TEXT ================= */

.slide-content {

    position: absolute;

    z-index: 5;

    top: 50%;

    left: 8%;

    transform: translateY(-50%);

    max-width: 750px;

    color: white;
}


.small-title {

    display: inline-block;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 3px;

    color: #62B4FF;

    margin-bottom: 15px;
}


.slide-content h1 {

    font-size: 56px;

    line-height: 1.1;

    margin-bottom: 25px;

    font-weight: 800;
}


.slide-content p {

    font-size: 19px;

    max-width: 650px;

    margin-bottom: 35px;

    color: #f1f7ff;
}


/* ================= HERO BUTTON ================= */

.hero-button {

    display: inline-block;

    padding: 15px 30px;

    background: #0877D1;

    color: white;

    font-weight: bold;

    border-radius: 4px;

    transition: 0.3s;

    border: 2px solid #0877D1;
}


.hero-button:hover {

    background: white;

    color: #0756A6;

    border-color: white;
}


/* ================= SLIDER BUTTONS ================= */

.slider-button {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,0.18);

    color: white;

    font-size: 25px;

    cursor: pointer;

    transition: 0.3s;
}


.slider-button:hover {

    background: #0877D1;
}


.previous {

    left: 25px;
}


.next {

    right: 25px;
}


/* ================= DOTS ================= */

.dots {

    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 20;

    display: flex;

    gap: 8px;
}


.dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: white;

    opacity: 0.5;

    cursor: pointer;

    transition: 0.3s;
}


.dot.active {

    opacity: 1;

    background: #55B5FF;

    transform: scale(1.3);
}


/* ================= INTRO ================= */

.intro {

    padding: 100px 10%;

    background: white;

    text-align: center;
}


.section-heading {

    max-width: 800px;

    margin: auto;
}


.section-heading span {

    color: #0877D1;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 2px;
}


.section-heading h2 {

    color: #063B73;

    font-size: 42px;

    line-height: 1.2;

    margin: 15px 0 20px;
}


.section-heading p {

    color: #666;

    font-size: 18px;

    max-width: 700px;

    margin: auto;
}


.section-heading.center {

    text-align: center;
}


/* ================= SERVICES ================= */

.services {

    padding: 100px 7%;

    background: #EAF4FF;
}


.service-grid {

    max-width: 1200px;

    margin: 60px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.service-card {

    background: white;

    padding: 40px 30px;

    border-radius: 8px;

    border-bottom: 4px solid #0877D1;

    box-shadow:
        0 8px 25px rgba(0, 70, 130, 0.08);

    transition: 0.3s;

    position: relative;

    overflow: hidden;
}


.service-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 70, 130, 0.15);
}


.service-icon {

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #EAF4FF;

    border-radius: 10px;

    font-size: 32px;

    margin-bottom: 25px;
}


.service-card h3 {

    color: #063B73;

    font-size: 23px;

    margin-bottom: 12px;
}


.service-card p {

    color: #666;

    margin-bottom: 20px;
}


.service-card a {

    color: #0877D1;

    font-weight: bold;

    transition: 0.3s;
}


.service-card a:hover {

    color: #063B73;
}


/* ================= CTA ================= */

.cta {

    padding: 90px 20px;

    background:

        linear-gradient(
            135deg,
            #063B73,
            #0877D1
        );

    text-align: center;

    color: white;
}


.cta span {

    font-size: 14px;

    letter-spacing: 3px;

    font-weight: bold;

    color: #8DD0FF;
}


.cta h2 {

    font-size: 42px;

    margin: 15px 0;
}


.cta p {

    font-size: 18px;

    margin-bottom: 30px;

    color: #EAF4FF;
}


.white-button {

    display: inline-block;

    background: white;

    color: #0756A6;

    padding: 15px 35px;

    border-radius: 4px;

    font-weight: bold;

    transition: 0.3s;
}


.white-button:hover {

    background: #063B73;

    color: white;
}


/* ================= FOOTER ================= */

footer {

    background: #032B52;

    color: white;

    padding-top: 60px;
}


.footer-container {

    max-width: 1200px;

    margin: auto;

    padding: 0 30px 50px;

    display: grid;

    grid-template-columns: 2fr 1fr 1.5fr;

    gap: 50px;
}


.footer-container h3 {

    font-size: 23px;

    margin-bottom: 15px;
}


.footer-container h4 {

    color: #62B4FF;

    margin-bottom: 15px;
}


.footer-container p {

    color: #B9D4E8;

    margin-bottom: 8px;
}


.footer-container a {

    display: block;

    color: #B9D4E8;

    margin-bottom: 8px;

    transition: 0.3s;
}


.footer-container a:hover {

    color: white;
}


.copyright {

    border-top: 1px solid rgba(255,255,255,0.1);

    text-align: center;

    padding: 20px;

    color: #9AB8CE;

    font-size: 14px;
}


/* ================= CONTACT PAGE ================= */

.contact-hero {

    background:
        linear-gradient(
            135deg,
            #063B73,
            #0877D1
        );

    color: white;

    padding: 90px 20px;

    text-align: center;
}


.contact-hero h1 {

    font-size: 50px;

    margin-bottom: 15px;
}


.contact-hero p {

    font-size: 18px;

    max-width: 650px;

    margin: auto;

    color: #EAF4FF;
}


.contact-section {

    max-width: 1100px;

    margin: auto;

    padding: 90px 30px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;
}


.contact-info h2,
.contact-form h2 {

    color: #063B73;

    font-size: 32px;

    margin-bottom: 20px;
}


.contact-info > p {

    color: #666;

    margin-bottom: 35px;
}


.contact-details div {

    margin-bottom: 25px;

    padding-left: 20px;

    border-left: 4px solid #0877D1;
}


.contact-details strong {

    color: #0756A6;
}


.contact-details p {

    color: #666;

    margin-top: 4px;
}


/* ================= FORM ================= */

.contact-form {

    background: #EAF4FF;

    padding: 40px;

    border-radius: 8px;
}


.contact-form form {

    display: flex;

    flex-direction: column;
}


.contact-form label {

    font-weight: bold;

    color: #063B73;

    margin-top: 15px;

    margin-bottom: 6px;
}


.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    padding: 14px;

    border: 1px solid #C5D9EA;

    border-radius: 4px;

    background: white;

    font-family: Arial, sans-serif;

    font-size: 15px;

    outline: none;

    transition: 0.3s;
}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {

    border-color: #0877D1;

    box-shadow:
        0 0 0 3px rgba(8,119,209,0.1);
}


.contact-form button {

    margin-top: 25px;

    padding: 15px;

    background: #0877D1;

    border: none;

    color: white;

    font-weight: bold;

    border-radius: 4px;

    cursor: pointer;

    font-size: 16px;

    transition: 0.3s;
}


.contact-form button:hover {

    background: #063B73;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .service-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .footer-container {

        grid-template-columns: 1fr 1fr;

    }


    .contact-section {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 650px) {

    .navbar {

        height: auto;

        padding: 20px;

        flex-direction: column;

        gap: 10px;

    }


    nav {

        gap: 20px;

    }


    .hero {

        height: 560px;

    }


    .slide-content {

        left: 7%;

        right: 7%;

    }


    .slide-content h1 {

        font-size: 38px;

    }


    .slide-content p {

        font-size: 16px;

    }


    .service-grid {

        grid-template-columns: 1fr;

    }


    .footer-container {

        grid-template-columns: 1fr;

    }


    .section-heading h2 {

        font-size: 34px;

    }


    .cta h2 {

        font-size: 32px;

    }


    .slider-button {

        width: 40px;

        height: 40px;

        font-size: 18px;

    }

}