/* Import Google Fonts - Font Name - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&display=swap');

@font-face {
    font-family: 'Conthrax-Regular';
    src: url(../Fonts/Conthrax-Regular.otf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ----- Colors ----- */
/* Primary Color - #E83C3C
   Secondary Color - #363636
   White - #ffffff
   Black - #000000 */

/* ----- Fonts ----- */
/* Font Name - Poppins 

   Font Sizes - Desktop
   H1 - 60px
   H2 - 48px
   H3 - 38px
   H4 - 30px
   H5 - 25px
   H6 - 
   Body - 16px

   H1: 3.75rem;
   H2: 3rem;
   H3: 2.375rem;
   H4: 1.875rem;
   H5: 1.5625rem;
   h6: 1.25rem;
   Body: 1rem;


   Font Sizes - Mobile
   H1 - 48
   H2 - 36
   H3 - 32
   H4 - 28
   H5 - 24
   H6 - 20
   Body - 16 

   Font Sizes - Mobile
   H1: 3rem
   H2: 2.25rem
   H3: 1.875rem
   H4: 1.75rem
   H5: 1.375rem
   H6: 1.25rem
   Body: 1rem */

/* ----- Section -----*/
.section {
    padding: 5% 20%;
}

@media (max-width:1536px) {
    .section {
        padding: 10%;
    }
}

/* ----- Section Header -----*/
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.section-header h2 {
    font-size: 3rem;
    font-family: 'Conthrax-Regular';
    font-weight: 500;
    line-height: 3rem;
    margin-bottom: 1.5625rem;
}

.section-header h6 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25rem;
    margin-bottom: 1.5625rem;
    opacity: 75%;
}

@media (max-width:1024px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
    .section-header h6 {
        font-size: 1rem;
    }
}


/* ----- Scrolling Animation -----*/

.fade-in-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}
  
.fade-in-bottom.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Fonts ----- */
h1 {
    font-size: 3.75rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.75rem;
}

h5 {
    font-size: 1.375rem;
}

h6 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
}

@media (max-width:1034px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    h3 {
        font-size: 2.375rem;
    }
    
    h4 {
        font-size: 1.875rem;
    }
    
    h5 {
        font-size: 1.5625rem;
    }
    
    h6 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.75rem;
    }

    a {
        font-size: 0.75rem;
    }
}

/* ----- Buttons -----*/

.button-red-dark {
    text-decoration: none;
    color: #ffffff;
    background-color: #E83C3C;
    padding: 0.5em 2.5em;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 2px 2px 35px rgba(0, 0, 0, 0.2);
}

.button-red-dark:hover {
    background-color: #c52e2e;
}

.button-red {
    text-decoration: none;
    color: #ffffff;
    background-color: #E83C3C;
    padding: 0.5em 2.5em;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: -2px -2px 35px rgba(0, 0, 0, 0.1);
}

.button-red:hover {
    background-color: #c52e2e;
}

/* ---------- Header Section ---------- */ 

.header {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url(../Images/homeBackgroundImage.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Navigation Bar */
header {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background-color: #ffffff;
    backdrop-filter: blur(15px);
    box-shadow: 0px 2px 60px rgba(0, 0, 0, 0.2);
    animation-delay: 0.5s ease;
}

.logo {
    width: 200px;
}

@media(max-width:1024px) {
    .logo {
        width: 150px;
    }
}

.navlist {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2em;
}

.navlist li {
    list-style: none;
}

.navlist li a {
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
    transition: all 0.55s ease;
    cursor: pointer;
}

.navlist li a:hover {
    opacity: 60%;
}

#menu-icon {
    color: #000000;
    font-size: 30px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

/* Dropdown Menu */

@media (max-width: 1024px) {
    #menu-icon {
        display: block;
    }

    .navlist {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: flex-start;
        justify-content: space-around;
        flex-direction: column;
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
        padding: 0 10%;
        padding-top: 20%;
        padding-bottom: 30%;
        gap: 1.5em;
        transition: all 0.55s ease;
    }

    .navlist li a {
        width: 80vw;
        display: block;
        color: #000000;
        font-family: 'Conthrax-Regular';
    }

    .navlist.open {
        right: 0;
    }
}

@media (max-width: 768px) {
    .navlist {
        align-items: center;
        justify-content: center;
        padding-top: auto;
        padding-bottom: 40%;
    }

    .navlist li a {
        width: 100%;
        border-bottom: none;
    }
}

.header-anim {
    opacity: 0;
    transform: translateY(-30px);
    animation: movedown 0.5s linear forwards;
}

@keyframes movedown {
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Header Text */

.header-text {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    padding: 3em;
    color: #ffffff;
}

.slogan-text h1 {
    font-family: 'Conthrax-Regular';
    text-align: center;
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 10);
}

.colors-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-1 {
    color: rgb(0, 204, 255);
}

.color-2 {
    color: rgb(211, 37, 173);
}

.color-3 {
    color: yellow;
}

.color-4 {
    color: #000000;
}

.color-5 {
    color: rgb(253, 19, 19);
}

.color-6 {
    color: rgb(0, 128, 0);
}

.color-7 {
    color: rgb(41, 91, 255);
}

.header-text a {
    margin-top: 1.25em;
    transition: 0.5s ease;
    animation-delay: 1.2s;
}

.header-text img {
    width: 300px;
}

.anim {
    opacity: 0;
    transform: translateY(30px);
    animation: moveup 0.5s linear forwards;
}

@keyframes moveup {
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

/* ---------- About US Section ---------- */ 

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #363636;
}

.about p {
    margin-bottom: 1.5625rem;
    font-weight: 300;
}

.about .social-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    font-size: 1.2rem;
    margin-bottom: 1.5625rem;
}

.about .social-media i {
    padding: 0.35em;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    transition: all 0.5s ease;
    cursor: pointer;
}

.about .social-media i:hover {
    color: #363636;
    background-color: #ffffff;
}

@media (max-width:1536px) {
    .about {
        padding: 10%;
    }
}

/* ---------- Services Section ---------- */ 

.services {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services-slider {
    width: 100%;
    height: 70vh;
    position: relative;
}

.slider {
    width: 60%;
    height: 35vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    box-shadow: 24px 15px 30px rgba(54, 54, 54, 0.2);
}

.service-slide {
    width: 100%;
    height: 35vh;
    padding-bottom: 2em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #ffffff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-slide h5 {
    font-family: 'Orbitron', sans-serif;
}

.services-message {
    width: 35%;
    height: 30vh;
    padding: 2em;
    position: absolute;
    top: 1%;
    right: 1%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f3f3f3;
    box-shadow: -24px 24px 30px rgba(54, 54, 54, 0.2);
}

.services-message img {
    width: 100%;
}

.services-background {
    width: 96%;
    height: 96%;
    padding: 1%;
    position: absolute;
    top: 2%;
    left: 2%;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-color: rgba(0, 0, 0, 0.12);
    transition: 1s ease;
}

.services-list {
    width: 50%;
    height: 35vh;
    padding: 2em;
    position: absolute;
    top: 50%;
    left: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-background ul li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
}

.services-background ul li i {
    color: #E83C3C;
}

.services-background ul li a {
    text-decoration: none;
    color: #000000;
}

.services-image {
    width: 45%;
    height: 45%;
    padding: 2em;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    bottom: 0;
    right: 0;
    z-index: 2;
    color: #ffffff;
    background-color: #363636;
    box-shadow: -30px -20px 30px rgba(54, 54, 54, 0.2);
}

.services-image h4 {
    font-family: 'Orbitron', sans-serif;
}

.services-icon {
    padding: 0.5em 1em;
    position: absolute;
    bottom: 0;
    left: 1%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E83C3C;
    color: #ffffff;
    font-size: 2rem;
}

.services .button-red {
    margin-top: 1.25em;
}

@media (max-width:990px) {
    .services-slider {
        width: 100%;
        height: 150vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 35vh;
        box-shadow: none;
    }
    .services-background {
        position: absolute;
        top: 0%;
        left: 0%;
        width: 100%;
    }

    .services-message {
        position: absolute;
        top: 35vh;
        left: 0;
        width: 100%;
        height: 25vh;
        box-shadow: none;
    }

    .services-message img {
        padding: 10%;
        width: 60%;
    }

    .services-list {
        position: absolute;
        top: 65vh;
        left: 0;
        width: 100%;
    }

    .services-icon {
        display: none;
    }

    .services-image {
        position: absolute;
        top: 100vh;
        left: 0;
        width: 100%;
        height: 30%;
        box-shadow: none;
    }
}

@media (max-width: 540px) {
    .services-message img {
        width: 100%;
        padding: 10%;
    }
}

/* ---------- Portfolio Section ---------- */ 

.portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #363636;
}

.portfolio-row {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5625em;
    margin-bottom: 1.5625em;
}

.portfolio-row h6 {
    font-size: 1.25rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.portfolio-card-1, .portfolio-card-2,
.portfolio-card-3, .portfolio-card-4 {
    width: 100%;
    height: 28vh;
    padding: 5em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: 0.5s ease;
}

.portfolio-card-1 {
    background-image: url(../Images/project-img1.webp);
    transition: 0.5s ease;
}

.portfolio-card-2 {
    background-image: url(../Images/project-img5.webp);
    transition: 0.5s ease;
}

.portfolio-card-3 {
    background-image: url(../Images/project-img4.webp);
    transition: 0.5s ease;
    background-position: top;
}

.portfolio-card-4 {
    background-image: url(../Images/project-img3.webp);
    transition: 0.5s ease;
}

.portfolio-card-1:hover {
    color: #ffffff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../Images/project-img1.webp);
    scale: 1.05;
}

.portfolio-card-2:hover {
    color: #ffffff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../Images/project-img5.webp);
    scale: 1.05;
}

.portfolio-card-3:hover {
    color: #ffffff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../Images/project-img4.webp);
    scale: 1.05;
}

.portfolio-card-4:hover {
    color: #ffffff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../Images/project-img3.webp);
    scale: 1.05;
}

.portfolio-card-1, .portfolio-card-4 {
    width: 70%;
}

@media (max-width:990px) {
    .portfolio-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .portfolio-card-1, .portfolio-card-2,
    .portfolio-card-3, .portfolio-card-4 {
        width: 100%;
    }
}

/* ---------- Testimonials Section ---------- */

.testimonials {
    width: 100%;
    height: 100%;
    background-color: #363636;
    color: #ffffff;
}

.comment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.comment {
    width: 70%;
    padding: 1.5625em;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
}

.testimonials .user {
    display: flex;
    align-items: center;
    gap: 1.5625em;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid #ffffff;
}

.testimonials .user p{
    padding: 0;
    margin: 0;
}

.testimonials img {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

/* ---------- Contact Section ---------- */

.contact {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact p, .contact i {
    margin: 0;
    padding: 0;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.contact-form form {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-form form .input {
    width: 100%;
    padding: 0.5em 1em;
    border: 1px solid #ffffff;
    outline: none;
    background-color: rgba(0, 0, 0, 0.1);
    transition: 0.5s ease;
}

.contact-form form textarea {
    resize: none;
    height: 6em;
}

.contact-form form .input:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.contact-form form .button-red {
    border: none;
}

.contact .contact-details {
    width: 80%;
    margin-top: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-address, .contact-phone, .contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Additional Phone Numbers Styling */
.contact-phones {
    width: 80%;
    margin-top: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 1 auto;
    min-width: fit-content;
    padding: 0.5rem 1rem;
}

.contact-phones i {
    font-size: 1.5625rem;
    color: rgba(54, 54, 54, 0.6);
}

.contact-phones p {
    color: rgba(54, 54, 54, 0.6);
    font-size: inherit;
    margin: 0;
}

/* Remove link styling from contact details */
.contact-address,
.contact-phone,
.contact-email,
.phone-number {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
}

.contact-address:hover,
.contact-phone:hover,
.contact-email:hover,
.phone-number:hover {
    text-decoration: none !important;
    color: #E83C3C !important;
    transition: color 0.3s ease;
}

.contact-address:hover i,
.contact-phone:hover i,
.contact-email:hover i,
.phone-number:hover i {
    color: #E83C3C;
    transition: color 0.3s ease;
}

.phone-number:hover p {
    color: #E83C3C !important;
    transition: color 0.3s ease;
}

.contact-phone:hover p {
    color: #E83C3C !important;
    transition: color 0.3s ease;
}

.contact-address:visited,
.contact-phone:visited,
.contact-email:visited,
.phone-number:visited {
    text-decoration: none !important;
    color: inherit !important;
}

.contact .contact-details i {
    font-size: 1.5625rem;
}

.contact .contact-details {
    color: rgba(54, 54, 54, 0.6);
}

@media (max-width: 1024px) {

    .contact-form form {
        font-size: 0.75rem;
    }

    .contact .contact-details {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1em;
        margin-top: 0.8em;
    }

    .contact-phones {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0em;
        margin-top: 2em;
    }

    .phone-number {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }

    .contact-phones p {
        font-size: 0.75rem;
    }
}

/* ---------- Website Footer ---------- */

.footer {
    width: 100%;
    display: flex;
    padding-bottom: 0%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3em;
    background-color: #363636;
}

.footer .links {
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25em;
} 

.footer .links a {
    text-decoration: none;
    color: #ffffff;
    transition: 0.5s ease;
}

.footer .links a:hover {
    color: rgba(255, 255, 255, 0.5);
}

.footer .links li {
    list-style: none;
}

.footer .social-media {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.footer .social-media i {
    padding: 0.35em;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    transition: all 0.5s ease;
    cursor: pointer;
}

.footer .social-media i:hover {
    color: #363636;
    background-color: #ffffff;
}

.footer .footer-copyright-notice {
    width: 100%;
    margin-top: 3em;
    text-align: center;
    color: #ffffff;
    opacity: 50%;
}

@media (max-width: 768px) {
    .footer .links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        gap: 0.5em;
    }
}