﻿/* ========================= */
/* GLOBAL & RESET */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'DM Sans', sans-serif;
    color: #111;
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

/* ========================= */
/* NAVIGATION */
/* ========================= */
.nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
    align-items: center;
    align-content: center;
}

@media (max-width: 768px) {
    .nav {
        padding: 20px 30px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 15px 20px;
    }

        .nav img {
            width: 100px;
        }
}

/* ========================= */
/* HERO */
/* ========================= */
.hero {
    position: relative;
    padding: 120px 60px;
    text-align: center;
    color: white;
    overflow: hidden;
    background: #4e6fa8;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 25%, rgba(78, 111, 168, 0.6) 55%, rgba(78, 111, 168, 1) 100%);
        z-index: 0;
    }

    .hero * {
        position: relative;
        z-index: 1;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.15) 100%);
        z-index: 0;
    }

    .hero h1 {
        font-size: 100px;
        margin-bottom: 20px;
    }

    .hero p {
        max-width: 700px;
        margin: 20px auto;
        opacity: 0.9;
    }

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 70px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 30px;
    }

        .hero h1 {
            font-size: 48px;
        }

        .hero p {
            font-size: 14px;
        }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px;
    }

        .hero h1 {
            font-size: 36px;
        }
}

/* ========================= */
/* BUTTONS */
/* ========================= */
.btn {
    padding: 16px 48px;
    background: #2d4e80;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn:hover {
        background: black;
        transform: translateY(-2px) scale(1.05);
    }

@media (max-width: 480px) {
    .btn {
        padding: 12px 32px;
        font-size: 14px;
    }
}

/* ========================= */
/* SPLIT SECTION */
/* ========================= */
.split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.split-left {
    padding: 100px 60px;
    background: #f5f5f5;
}

    .split-left h2 {
        font-size: 80px;
        margin-bottom: 20px;
    }

    .split-left h4 {
        margin-bottom: 20px;
        font-weight: 500;
        font-size: 40px;
    }

    .split-left p {
        margin-bottom: 15px;
        color: #444;
    }

    .split-left ul {
        margin: 20px 0;
        padding-left: 20px;
    }

    .split-left button {
        margin-top: 20px;
    }

.split-right {
    background: url('bluemosiacbackground.avif'), linear-gradient(#3b5d94, #1f3a63);
    background-size: cover;
    background-position: center;
}

@media (max-width: 1024px) {
    .split-left h2 {
        font-size: 60px;
    }

    .split-left h4 {
        font-size: 32px;
    }
}

@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }

    .split-left {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .split-left {
        padding: 60px 30px;
    }

        .split-left h2 {
            font-size: 40px;
        }

        .split-left h4 {
            font-size: 20px;
        }
}

@media (max-width: 480px) {
    .split-left {
        padding: 40px 20px;
    }

        .split-left h2 {
            font-size: 32px;
        }
}

/* ========================= */
/* SERVICES */
/* ========================= */
.services {
    background: #1f3a63;
    color: white;
    display: grid;
    grid-template-columns: 1fr 2fr;
    overflow: hidden;
}

.services-title {
    padding: 80px 60px;
    font-size: 80px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.service {
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

    .service::before {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: none;
    }

    .service:hover {
        transform: translate3d(0, -6px, 0);
        background: rgba(12, 12, 12, 0.5);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

.service-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    align-items: flex-start;
}

.icon {
    font-size: 36px;
    line-height: 1;
    transition: 0.3s;
}

.service:hover .icon {
    transform: scale(1.2);
}

.service-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.service-content ul {
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .services-title {
        font-size: 60px;
        padding: 60px 40px;
    }
}

@media (max-width: 900px) {
    .services {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        padding: 40px;
        font-size: 40px;
    }

    .service {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .service {
        padding: 30px 25px;
    }

    .service-row {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 32px;
        padding: 30px 20px;
    }

    .service {
        padding: 30px 20px;
    }

    .service-content h3 {
        font-size: 18px;
    }
}

/* ========================= */
/* STATS */
/* ========================= */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 80px 0;
    background: #4e6fa8;
    color: white;
}

.stat {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    transition: 0.3s;
}

    .stat:hover {
        transform: translateY(-6px);
    }

    .stat:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: rgba(255, 255, 255, 0.3);
    }

    .stat strong {
        display: block;
        font-size: 36px;
        font-weight: 700;
        border-bottom: 3px solid #fff;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .stat span {
        font-size: 14px;
        opacity: 0.9;
    }

@media (max-width: 768px) {
    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 30px 15px;
    }

        .stat strong {
            font-size: 28px;
        }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .stat:not(:last-child)::after {
        display: none;
    }

    .stat {
        padding: 25px;
    }
}

/* ========================= */
/* TESTIMONIALS */
/* ========================= */
.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f7f7f7;
}

.test-left {
    padding: 100px 60px;
    border-right: 1px solid #ddd;
}

    .test-left h2 {
        font-size: 80px;
        margin-bottom: 20px;
    }

    .test-left p {
        max-width: 400px;
        line-height: 1.7;
    }

.test-right {
    display: grid;
    grid-template-rows: 100px 1fr;
    overflow: hidden;
}

.test-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #ddd;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    border-right: 1px solid #ddd;
}

    .nav-btn:last-child {
        border-right: none;
    }

    .nav-btn:hover {
        background: black;
        color: white;
    }

.test-content {
    position: relative;
    overflow: hidden;
    padding: 80px;
    width: 100%;
    max-width: 100%;
}

.slider {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
    align-items: stretch;
    transform: translate3d(0, 0, 0);
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0px 100px;
}

.count {
    display: inline-block;
    border: 1px solid #aaa;
    border-radius: 50%;
    padding: 6px 10px;
    margin-bottom: 20px;
    font-size: 12px;
}

.slide h2 {
    font-size: 60px;
    margin-bottom: 10px;
}

.slide h6 {
    margin-bottom: 30px;
    color: #555;
}

.slide p {
    font-size: 24px;
    line-height: 1.6;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .test-left h2 {
        font-size: 60px;
    }

    .slide h2 {
        font-size: 48px;
    }

    .slide p {
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .testimonials {
        grid-template-columns: 1fr;
    }

    .test-left {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .test-left {
        padding: 60px 30px;
    }

        .test-left h2 {
            font-size: 40px;
        }

    .test-content {
        padding: 40px 25px;
    }

    .slide {
        padding: 0px 25px;
    }

        .slide h2 {
            font-size: 32px;
        }

        .slide p {
            font-size: 18px;
        }

    .test-nav {
        grid-template-rows: 70px;
    }

    .nav-btn {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .test-left {
        padding: 40px 20px;
    }

    .test-content {
        padding: 30px 15px;
    }

    .slide h2 {
        font-size: 28px;
    }

    .slide p {
        font-size: 16px;
    }
}

/* ========================= */
/* CONTACT SECTION */
/* ========================= */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #2d4e80;
    color: white;
}

.contact-left {
    padding: 80px 60px;
}

    .contact-left h2 {
        font-size: 56px;
    }

.contact-form {
    background: white;
    padding: 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

    .input-group input,
    .input-group textarea {
        width: 100%;
        padding: 16px 14px;
        border: none;
        border-bottom: 1px solid #ccc;
        outline: none;
        font-size: 15px;
        background: transparent;
        transition: all 0.3s ease;
    }

    .input-group label {
        position: absolute;
        left: 14px;
        top: 16px;
        font-size: 14px;
        color: #888;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .input-group input:focus + label,
    .input-group input:valid + label,
    .input-group textarea:focus + label,
    .input-group textarea:valid + label {
        top: -8px;
        font-size: 11px;
        color: #2d4e80;
    }

    .input-group input:focus,
    .input-group textarea:focus {
        border-bottom: 1px solid #2d4e80;
    }

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #2d4e80;
    color: white;
    border: none;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .submit-btn:hover {
        background: black;
        transform: translateY(-2px);
    }

@media (max-width: 1024px) {
    .contact-left h2 {
        font-size: 44px;
    }
}

@media (max-width: 900px) {
    .contact {
        grid-template-columns: 1fr;
    }

    .contact-left {
        padding: 60px 40px;
    }

    .contact-form {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-left {
        padding: 60px 30px;
    }

        .contact-left h2 {
            font-size: 40px;
        }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .contact-left {
        padding: 40px 20px;
    }

        .contact-left h2 {
            font-size: 32px;
        }

    .contact-form {
        padding: 25px 20px;
    }

    .submit-btn {
        padding: 14px;
    }
}

/* ========================= */
/* POPUP */
/* ========================= */
.popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #111;
    color: white;
    padding: 16px 24px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

    .popup.show {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 480px) {
    .popup {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }
}
