* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style-type: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

/* NavBar */
.navbar {
    width: 100%;
    height: 8rem;
    background-color: rgba(0, 0, 0, 1.0);
    position: fixed;
    top: -8rem;
    padding: 3rem;
    z-index: 1000;
    animation: animarNavBar 1s 0.5s forwards;
    transition: height 0.5s;
}

.navbar.change {
    height: 100vh;
}

@keyframes animarNavBar {
    0% {
        top: -8rem;
    }

    100% {
        top: 0;
    }
}

.navbar-logo {
    position: absolute;
    top: 1.5rem;
    left: 4rem;
}

.navbar-logo img {
    width: 200px;
    height: auto;
}

/* Menu */
.menu {
    width: 4rem;
    height: 4rem;
    position: fixed;
    z-index: 1000;
    top: 2rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer;
}

.line {
    width: 100%;
    background-color: #eee;
    height: 0.2rem;
    transition: transform 0.3s;
}

.line-1 {
    width: 50%;
}

.line-3 {
    width: 50%;
    margin-left: auto;
}

.change .line-1 {
    transform: translate(100%, 1rem) rotate(35deg);
    transform-origin: right;
}

.change .line-3 {
    transform: translateY(-1rem) rotate(-35deg);
    transform-origin: right;
}

.nav-list {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.7s 0.5s;
}

.change .nav-list {
    opacity: 1;
    visibility: visible;
    transform: 0.7s 0.5s;
}

.nav-link {
    font-family: "Oswald", sans-serif;
    font-size: 4rem;
    letter-spacing: 0.3rem;
    color: #fff;
    margin: 1rem 0;
    transform: color 0.4s;
}

.nav-link:hover {
    color: #6c63ff;
}

/* Section-1 */

.section-1 {
    height: 100vh;
    background: url("../images/wavebg.jpg") no-repeat;
    background-size: cover;
}

.banner {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.banner-heading {
    height: 20rem;
    margin-bottom: 4rem;
    perspective: 50rem;
    overflow: hidden;
}

.banner-heading span {
    font-family: "Oswald", sans-serif;
    font-size: 7rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0.3rem 0.3rem 0.6rem rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateZ(2rem);
    opacity: 0;
    letter-spacing: 2rem;
}

.heading-1 {
    animation: animateHeading 12s 3s infinite;
}

.heading-2 {
    animation: animateHeading 12s 6s infinite;
}

.heading-3 {
    animation: animateHeading 12s 9s infinite;
}

.heading-4 {
    animation: animateHeading 12s 12s infinite;
}

@keyframes animateHeading {
    0% {
        transform: translateZ(8rem);
        opacity: 0;
        letter-spacing: 3rem;
    }

    3% {
        transform: translateZ(0);
        opacity: 1;
        letter-spacing: 1.5rem;
    }

    25% {
        transform: translateZ(0);
        opacity: 1;
        letter-spacing: 1.5rem;
    }

    28% {
        transform: translateZ(8rem);
        opacity: 0;
        letter-spacing: 3rem;
    }

    100% {
        transform: translateZ(8rem);
        opacity: 0;
        letter-spacing: 3rem;
    }
}

.section-2 {
    width: 100%;
    height: 120vh;
    background: #03070e;
    display: flex;
    align-items: center;
    padding: 0 8rem;
    position: relative;
}

.section-heading {
    font-size: 10rem;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    color: #ddd;
    margin-left: 0.2rem;
}

.image {
    width: 100rem;
    height: 50rem;
    position: absolute;
    top: 5rem;
    right: 5rem;
    overflow: hidden;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-2-paragraph {
    width: 100rem;
    position: absolute;
    bottom: 1rem;
    right: 5rem;
    font-size: 2rem;
    line-height: 1.5;
    color: #ddd;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-shadow: 1rem 1rem 2rem rgba(0, 0, 0, 0.7);
}

.fa-quote-left {
    align-self: flex-start;
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 2rem;
}

.fa-quote-right {
    align-self: flex-end;
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 2rem;
}

/* Sectionm-3 */

.section-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    background: #000;
    min-height: 50vh;
    text-align: center;
}

.section-3-info {
    max-width: 900px;
    width: 100%;
}

.section-3 h2 {
    font-family: "Oswald", sans-serif;
    font-size: 6rem;
    font-weight: 400;
    color: #ddd;
    margin: 0;
}

.section-3 p {
    margin-top: 1rem;
    font-size: 1.8rem;
    color: #ddd;
}

/* Section 3 */

.product-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    grid-gap: 3rem;
    background-color: #000;
    position: relative;
    z-index: 10;
    overflow: visible;
    padding-bottom: 2rem;
}

.product {
    padding-bottom: 35px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
}

.product img {
    width: 75%;
    height: auto;
    border-radius: 25px 25px 0 0;
}

.product h3 {
    font-size: 2.5rem;
    color: #ddd;
    margin-top: 15px;
}

.product p {
    font-size: 1.8rem;
    color: #eee;
    margin: 0;
    padding: 30px;
}

.product-info ul {
    position: relative;
    margin: 2rem 2rem;
    padding-left: 3rem;
    border-left: 3px solid #6c63ff;
}

.product-info ul li {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
    font-size: 1.8rem;
    color: #eee;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
}

.product-info ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.4rem;
    width: 1.2rem;
    height: 1.2rem;
    background-color: #6c63ff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.3);
    transition: all 0.3s ease-in-out;
}

.product-info ul li:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(108, 99, 255, 0.5);
}


/* Flip Card */

.flip-card {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    height: 500px;
    background-color: transparent;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, 
.flip-card-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
}

.flip-card-front {
    z-index: 2;
    transform: rotateY(0deg);
}

.flip-card-back {
    transform: rotateY(180deg);
    background-color: #1e1e1e;
}

.flip-card-inner.auto-flip {
    transform: rotateY(180deg);
}

@keyframes autoFlipCard {
  0%, 49% {
    transform: rotateY(0deg);
  }
  50%, 100% {
    transform: rotateY(180deg);
  }
}

.flip-card-inner.auto-flip {
  animation: autoFlipCard 4s infinite ease-in-out;
}


/* Section Partners */

.partners {
    background: #000;
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.partners h2 {
    margin-bottom: 40px;
    font-size: 4rem;
    color: #fff;
}

.partners span {
    color: #6c63ff;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.partner-logos img {
    max-width: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1);
}

#Meraki {
    filter: brightness(4);
}

#Splunk,
#Juniper {
    filter: brightness(0) invert(1);
}

#Panduit {
    filter: invert(1);
}

#Atlona {
    max-width: 350px;
    height: auto;
}


/* Contact form */

.content-form {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 3em;
    color: #fff;
    background-color: #000;
    /* border: 2px solid blue; */
}

.log {
    text-align: center;
    font-size: 6rem;
}

.log span {
    color: #6c63ff;
}

.contact-wrapper {
    box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.2);
}

.contact-wrapper * {
    padding: 1em;
}

.contact-form {
    background-color: #222222;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-form form .block {
    grid-column: 1/3;
}

.contact-form form p {
    margin: 0;
    padding: 1em;
    font-size: 1.5rem;
}

.contact-form form input, 
.contact-form form textarea {
    width: 100%;
    padding: .7em;
    border: none;
    background: none;
    outline: none;
    color: #fff;
    border-bottom: 2px solid #6c63ff;
}

.contact-form form button {
    width: 100%;
    color: #fff;
    background: #6c63ff;
    font-weight: 400 !important;
    border-radius: 5px 20px 6px 20px !important;
    border: none;
    outline: none;
    text-align: center;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    display: block;
}

.contact-form form button:hover,
.contact-form form button:focus {
    background: #8E44FD;
    transition: background-color 1s ease-out;
    outline: 0;
}

.contact-info h4,
.contact-info ul,
.contact-info p {
    text-align: center;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.contact-info ul li {
    padding: .3em;
}


/* Footer */
.footer {
    padding: 90px 150px 50px 70px;
    background-color: #000;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer img {
    width: 200px;
    height: auto;
}

.link h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.link ul li a {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 10px;
    color: #eee;
}

.link ul li a:hover {
    color: #6c63ff;
}

/* Responsive */

@media (min-width: 768px) {
    .contact-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

    .contact-wrapper * {
        padding: 2em;
    }

    .contact-info h4,
    .contact-wrapper ul,
    .contact-wrapper p {
        padding: 1rem;
        text-align: left;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    .navbar {
        padding: 2rem;
    }

    .navbar-logo img {
        max-width: 150px;
        padding-top: 4px;
    }

    .navbar-logo {
        top: 1rem;
        left: 2rem;
    }

    .menu {
        top: 2rem;
        right: 2rem;
        width: 4rem;
        height: 4rem;
    }

    .nav-link {
        font-size: 3rem;
    }

    .banner-heading span {
        font-size: 4rem;
        letter-spacing: 1rem;
    }

    .section-1 {
        background-position: 50% center;
        image-rendering: auto;
        background-attachment: scroll;
    }

    .section-2 {
        flex-direction: column;
        height: auto;
        padding: 2rem;
    }

    .section-heading {
        font-size: 6rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .image, 
    .section-2-paragraph {
        position: static;
        width: 100%;
        height: auto;
        margin: 2rem 0;
    }

    .section-2-paragraph {
        font-size: 1.6rem;
    }

    .section-3 h2 {
        font-size: 4rem;
    }

    .section-3 p {
        font-size: 1.6rem;
    }

    .product-info {
        grid-template-columns: 1fr;
    }

    .flip-card {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 3rem;
        padding: 2rem;
        max-width: 400px;
        height: 450px;
    }

    .log {
        font-size: 4rem;
    }

    .partners h2 {
        font-size: 3rem;
    }

    .partner-logos {
        gap: 0px;
    }

    .partner-logos img {
        max-width: 100px;
    }

}

 @media (max-width: 480px) {

    .navbar-logo img {
        padding-top: 6px;
        max-width: 120px;
    }

    .banner-heading span {
        font-size: 3rem;
        letter-spacing: 0.5rem;
    }

    .banner-heading {
        font-size: 4rem;
    }

    .section-1 {
        background-position: 40% center;
        image-rendering: auto;
        background-attachment: scroll;
    }

    .menu {
        width: 2.5rem;
        height: 2.5rem;
    }

    .nav-link {
        font-size: 2.5rem;
    }

    .product img {
        width: 80%;
    }

    .product h3 {
        font-size: 1.8rem;
    }

    .product p {
        font-size: 1.4rem;
    }

    .log {
        font-size: 3.5rem;
    }

    .contact-form form p {
        font-size: 1.2rem;
    }

    .partners h2 {
        font-size: 2rem;
    }

    .partner-logos img {
        max-width: 100px;
    }

    .footer {
        padding: 40px 15px;
    }

    .link h3 {
        font-size: 18px;
    }

    .footer-links {

        flex-direction: column;
        align-items: flex-start;
        align-items: center;
    }

    .footer img {
        margin-bottom: 20px;
    }
}