
/* UNIVERSAL */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #080808;
    color: white;
}

/* HEADER */

.header {
    width: 100%;
    padding: 25px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.logo {
    font-size: 35px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: #7cff35;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 45px;
}

.navbar a {
    color: #7cff35;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: white;
}

/* HOME SECTION 1 */

.home {
    min-height: 100vh;
    padding: 130px 8% 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background-color: #080808;
}

.home-content {
    width: 60%;
}

.home-content h1 {
    font-size: 45px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.home-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #eeeeee;
    margin-bottom: 25px;
}

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    background-color: transparent;
    border: 2px solid #7cff35;
    border-radius: 5px;
    color: #7cff35;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #7cff35;
    color: black;
}

.btn-outline {
    background-color: transparent;
    color: #7cff35;
}

.home-image {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
}

.home-image img {
    width: 100%;
    max-width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 15px;
}

/* SECOND HOME SECTION */

.second-home {
    min-height: 100vh;
    height: auto;
    padding: 140px 8% 70px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.80),
            rgba(0, 0, 0, 0.85)
        ),
        url("");
    background-size: cover;
    background-position: center;
    background-color: white;
}

.second-home .home-content {
    width: 60%;
}

.second-home .home-content h1 {
    font-size: 45px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.second-home .home-content > p {
    font-size: 16px;
    line-height: 1.8;
    color: #eeeeee;
    margin-bottom: 30px;
}

.second-home .content-item {
    margin-bottom: 25px;
}

.second-home .content-item h2 {
    color: #7cff35;
    font-size: 20px;
    margin-bottom: 8px;
}

.second-home .content-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #eeeeee;
}

.second-home .home-image {
    width: 35%;
    position: sticky;
    top: 120px;
    align-items: flex-start;
}

.second-home .home-image img {
    width: 100%;
    max-width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 15px;
}

/* ABOUT SECTION 1 */

.about {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 60px 8%;
    background-color: white;
    color: #333333;
}

.about-image {
    width: 45%;
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.about-content {
    width: 55%;
}

.about-content h2 {
    font-size: 36px;
    color: #222222;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 20px;
    text-align: justify;
}

.about-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.about-links a {
    display: inline-block;
    padding: 13px 22px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 5px;
}

.app-btn {
    background-color: #444444;
    color: white;
}

.more-btn {
    background-color: #dddddd;
    color: #222222;
}

/* ABOUT SECTION 3 */

.about-three {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 8%;
    background-color: black;
    color: #333333;
}

.about-three-image {
    width: 45%;
    overflow: hidden;
    border-radius: 15px;
}

.about-three-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.about-three-content {
    width: 55%;
}

.about-item {
    margin-bottom: 20px;
}

.about-item h3 {
    color: #222222;
    margin-bottom: 10px;
    font-size: 22px;
}

.about-item p {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.about-three-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.about-three-links a {
    text-decoration: none;
    padding: 12px 20px;
    background-color: #7cff35;
    color: black;
    display: inline-block;
    border-radius: 5px;
}

/* FACTS SECTION */

.facts {
    width: 100%;
    min-height: 450px;
    background-image: url("https://i.pinimg.com/474x/4e/c7/1f/4ec71f8155c184585610134f523ee5af.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 8%;
    position: relative;
}

.facts-content {
    width: 100%;
    color: white;
}

.facts-content h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.facts-content p {
    font-size: 14px;
    margin-bottom: 35px;
    color: white;
}

.facts-box {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.fact-item {
    text-align: center;
    color: white;
}

.fact-item i {
    font-size: 40px;
    margin-bottom: 10px;
}

.fact-item h3 {
    font-size: 65px;
    font-weight: normal;
    margin-bottom: 5px;
}

.fact-item h4 {
    font-size: 19px;
}

/* ABOUT SECTION 4 */

.about-bottom {
    width: 100%;
    min-height: 450px;
    padding: 100px 10%;
    background-color: white;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-bottom h2 {
    font-size: 38px;
    color: #222222;
    margin-bottom: 25px;
}

.about-bottom h2 span {
    color: #65c928;
}

.about-bottom p {
    max-width: 1100px;
    font-size: 16px;
    line-height: 1.9;
    color: #666666;
    text-align: center;
}

/* ABOUT SECTION 5 */

.about-five {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.about-five-img {
    width: 100%;
    height: 100%;
}

.about-five-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-five-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    padding: 40px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
}

.about-five-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.about-five-content h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-five-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-five-content a {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 5px;
}

/* MEDIA QUERY */

@media (max-width: 768px) {

    .about-five {
        height: 100vh;
    }

    .about-five-content {
        width: 85%;
        padding: 25px;
    }

    .about-five-content h1 {
        font-size: 28px;
    }

    .about-five-content p {
        font-size: 14px;
    }

}

/* GALLERY SECTION */

.gallery {
    width: 100%;
    min-height: 500px;
    background-color: white;
    padding: 30px 15px 70px;
    overflow: hidden;
}

.gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.gallery-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item {
    width: 17%;
    height: 180px;
    padding: 5px;
    background-color: black;
    overflow: hidden;

    clip-path: polygon(
        25% 0,
        75% 0,
        100% 50%,
        75% 100%,
        25% 100%,
        0 50%
    );

    margin-left: -5px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    clip-path: polygon(
        25% 0,
        75% 0,
        100% 50%,
        75% 100%,
        25% 100%,
        0 50%
    );
}

.second-row {
    margin-top: -10px;
}

/* CONTACT SECTION */

.contact-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 100px 8%;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("https://img.magnific.com/free-photo/contact-us-communication-support-service-assistance-concept_53876-128103.jpg?semt=ais_hybrid&w=740&q=80");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    scroll-margin-top: 20px;
}

.contact-info {
    width: 45%;
    min-width: 0;
}

.contact-form {
    width: 45%;
    min-width: 0;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 10px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.contact-info p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: white;
}

.contact-info a {
    color: #7cff35;
    text-decoration: underline;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 14px;
    background-color: #7cff35;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #65d929;
}

/* FOOTER SECTION */

.footer {
    background-color: #080808;
    color: white;
    padding: 50px 8% 20px;
    animation: footerMove 5s ease-in-out infinite alternate;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-box {
    flex: 1;
    min-width: 180px;
    animation: footerBoxMove 5s ease-in-out infinite alternate;
}

.footer-box h3 {
    color: #7cff35;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-box a {
    display: block;
    color: #7cff35;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 8px;
    transition: color 0.5s ease, padding-left 0.5s ease;
}

.footer-box a:hover {
    color: white;
    padding-left: 12px;
}

.footer-box p {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    animation: footerBoxMove 5s ease-in-out infinite alternate;
}

.footer-bottom p {
    color: #cccccc;
    font-size: 14px;
}

.footer-bottom span {
    color: #7cff35;
}

.back-to-top {
    display: block;
    text-align: center;
    color: #7cff35;
    text-decoration: none;
    margin-top: 20px;
}

/* FOOTER ANIMATIONS */

@keyframes footerMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-5px);
    }
}

@keyframes footerBoxMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-4px);
    }
}

/* IMAGE ZOOM EFFECT */

.home-image,
.about-image,
.about-three-image,
.gallery-item {
    overflow: hidden;
}

.home-image img,
.about-image img,
.about-three-image img,
.gallery-item img {
    transition: transform 0.5s ease;
    cursor: pointer;
}

.home-image img:hover,
.about-image img:hover,
.about-three-image img:hover,
.gallery-item img:hover {
    transform: scale(1.2);
}

/* TABLET RESPONSIVE */

@media (max-width: 800px) {

    .header {
        padding: 20px 5%;
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        font-size: 30px;
    }

    .navbar {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .home,
    .second-home {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 170px 6% 60px;
        gap: 35px;
    }

    .home-content,
    .second-home .home-content {
        width: 100%;
    }

    .home-content h1,
    .second-home .home-content h1 {
        font-size: 35px;
    }

    .buttons {
        justify-content: center;
    }

    .home-image,
    .second-home .home-image {
        width: 100%;
        position: static;
        justify-content: center;
    }

    .home-image img,
    .second-home .home-image img {
        max-width: 280px;
        height: 350px;
    }

    .about,
    .about-three {
        flex-direction: column;
        padding: 40px 6%;
        gap: 30px;
    }

    .about-image,
    .about-content,
    .about-three-image,
    .about-three-content {
        width: 100%;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-three-image img {
        height: auto;
        max-height: 450px;
        object-fit: contain;
    }

    .facts-box {
        gap: 35px;
        flex-wrap: wrap;
    }

    .fact-item h3 {
        font-size: 45px;
    }

    .about-bottom {
        padding: 70px 6%;
    }

    .about-bottom h2 {
        font-size: 30px;
    }

    .about-bottom p {
        font-size: 15px;
    }

    /* CONTACT SIDE BY SIDE */

    .contact-section {
        flex-direction: row;
        align-items: center;
        padding: 60px 4%;
        gap: 20px;
    }

    .contact-info {
        width: 45%;
    }

    .contact-form {
        width: 55%;
        padding: 20px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 24px;
    }

    .footer {
        padding: 40px 6% 20px;
    }

    .footer-container {
        gap: 25px;
    }

    .footer-box {
        flex: 1 1 40%;
        min-width: 0;
    }

    .footer-box h3 {
        font-size: 18px;
    }

    .footer-box a,
    .footer-box p {
        font-size: 14px;
    }

    .gallery {
        padding: 30px 10px;
    }

    .gallery-row {
        flex-wrap: wrap;
    }

    .gallery-item {
        width: 32%;
        height: 140px;
        margin: 0;
    }

    .second-row {
        margin-top: 5px;
    }
}

/* SMALL MOBILE */

@media (max-width: 450px) {

    .header {
        padding: 18px 4%;
    }

    .logo {
        font-size: 26px;
    }

    .navbar {
        gap: 18px;
    }

    .navbar a {
        font-size: 12px;
    }

    .home-content h1,
    .second-home .home-content h1 {
        font-size: 29px;
    }

    .home-content p,
    .second-home .home-content > p,
    .second-home .content-item p {
        font-size: 14px;
    }

    .btn {
        padding: 11px 15px;
        font-size: 13px;
    }

    .about-three-links {
        gap: 10px;
    }

    .facts-content h2 {
        font-size: 27px;
    }

    .facts-box {
        gap: 25px;
    }

    .fact-item h3 {
        font-size: 38px;
    }

    .fact-item h4 {
        font-size: 14px;
    }

    .about-bottom {
        padding: 55px 6%;
    }

    .about-bottom h2 {
        font-size: 24px;
    }

    .about-bottom p {
        font-size: 14px;
        line-height: 1.8;
    }

    /* CONTACT SIDE BY SIDE ON MOBILE */

    .contact-section {
        flex-direction: row;
        align-items: center;
        padding: 40px 3%;
        gap: 10px;
    }

    .contact-info {
        width: 45%;
    }

    .contact-form {
        width: 55%;
        padding: 12px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .contact-info p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
        overflow-wrap: anywhere;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 9px;
        font-size: 12px;
    }

    .contact-form textarea {
        height: 100px;
    }

    .contact-form button {
        padding: 10px 5px;
        font-size: 12px;
    }

    .footer {
        padding: 30px 7% 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 25px;
    }

    .footer-box {
        width: 100%;
        flex: 1 1 100%;
    }

    .footer-box h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .footer-box a {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-box p {
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.8;
    }

    .gallery-item {
        width: 48%;
        height: 130px;
    }
}

/* SLOW IMAGE ZOOM AND MOVEMENT */

.home-image,
.about-image,
.about-three-image {
    overflow: hidden;
}

.home-image img,
.about-image img,
.about-three-image img {
    animation: slowImageMove 18s ease-in-out infinite alternate;
    transform-origin: center center;
}

/* IMAGE ANIMATION */

@keyframes slowImageMove {

    0% {
        transform: scale(1.03) translate(0, 0);
    }

    25% {
        transform: scale(1.08) translate(-8px, -5px);
    }

    50% {
        transform: scale(1.12) translate(5px, -8px);
    }

    75% {
        transform: scale(1.09) translate(-5px, 5px);
    }

    100% {
        transform: scale(1.06) translate(8px, 5px);
    }

}

/* ABOUT SECTION 1 BUTTON HOVER */

.about-links a {
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-btn:hover {
    background-color: #7cff35;
    color: black;
    transform: translateY(-5px);
}

.more-btn:hover {
    background-color: #7cff35;
    color: black;
    transform: translateY(-5px);
}


/* ABOUT SECTION 3 BUTTON HOVER */

.about-three-links a {
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-three-links a:hover {
    background-color: #222222;
    color: white;
    transform: translateY(-5px);
}