:root {
    --pink: #EE436B;
    --orange: #E86F51;
    --teal: #229E90;
    --blue: #294654;
    --light: #F1F2F2;
    --black: #010101;
    --black-2: #111111;
}

@font-face {
    font-family: 'Rubik';
    src: url('fonts/Rubik-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'VarelaRound';
    src: url('fonts/VarelaRound-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    background-color: var(--black);
}
body {
    margin: 0;
    font-family: 'VarelaRound', sans-serif;
}
h2 {
    font-family: 'Rubik', sans-serif;
    color: var(--light);
}
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-links {
    display: flex;
    gap: 20px;
}
.book {
    font-family: 'varelaRound', sans-serif;
    color: var(--black);
    background-color: var(--light);
    padding: 20px 20px;
    transition: all 0.3s ease;
    margin-top: 20px;
    margin-bottom: 20px;
}

.book:hover {
    background-color: var(--pink);
    color: var(--light);
}

.contain {
    width: 50%
}
.contain-fr {
    width: 35%
}

.same-bg {
    background-image: url('img/PNGs/white-bg-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    
}

.wavy-top {
    position: relative;
    background-color: var(--light);
    color: white;
    padding: 100px 20px 20px;
    overflow: hidden;
}

.wavy-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234f46e5' d='M0,40 C360,80 1080,0 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat top center;
    background-size: cover;
    transform: translateY(-100%);
}

.portfolio {

    padding-bottom: 100px;

    background-size: cover;
    background-repeat: no-repeat;
    
}
.services {
    background-color: var(--light);
}
.service-section {
    padding-bottom: 100px;
    color: var(--light);
    background-repeat: no-repeat;

    background-position: bottom;
    background-size: cover;
}
.margin-right {
    margin-right: 20px;
}
.margin-left {
    margin-left: 160px;
}

.container-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
}
.container-hero h2 {
    font-size: 150px;
    line-height: 130px;
}

.logo {
    width: 130px;
}

.consultation-btn {
    background-color: var(--pink);
    color: var(--light);
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.consultation-btn:hover {
    background-color: var(--light);
    color: var(--black);
}
ul {
    display: flex;
    justify-content: space-between;
    background-color: var(--black);
}

.display_flex {
    display: flex;
}
.display-flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.ham:hover {
    cursor: pointer;
}
.margins {
    margin: 0px 20px;
}
.paddings {
    padding: 20px 20px;
}

section {
    min-height: 100vh;
}

#gradient {
    /* or any size you like */
    background: linear-gradient(90deg, #e96f50, #1c9d90, #ee426b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* for future-proofing */
    color: transparent;
    /* fallback */
}

.landing {
    background-color: #010101;
    color: var(--light);
    margin-top: 70px;
    padding: 2.5rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-image: url('img/PNGs/bg-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-position 0.1s ease-out;
}

h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services {
    color: var(--light);
    display: flex;
    padding: 50px;
}

.service {
    padding: 40px;
    margin: 50px;
    border: 5px solid var(--black);
}
.service-1 {
    background-color: var(--orange);
}

.service-2 {
    background-color: var(--pink);
}

.service-3 {
    background-color: var(--teal);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    /* Start slightly lower */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    color: var(--light);
    padding: 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    background-image: url('img/PNGs/new-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-position 0.1s ease-out; 
}


header {
    height: 70px;
    color: var(--light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.403);
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!CUSTOM NAVBAR TAILWIND!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
#navbar {
    background-color: #000000a0;
    transition: all 0.3s ease;
}

#nav-links{
    background-color: #000000c0;
    backdrop-filter: blur(10px);
    gap: 40px;
}



/* Apply the glassmorphism effect */
.bg-background {
    background-color: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
}

.backdrop-blur-md {
    backdrop-filter: blur(10px);
}

.border-border {
    border-color: #3b3b3b;
}

.bg-transparent {
    background-color: transparent;
}

.container {
    max-width: 1200px;
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!CUSTOM NAVBAR TAILWIND!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

/* Portfolio section */

.grid-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.card-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.height {
    height: 540px;
}

.striped-bg {
    position: absolute;
    
    inset: 0;
    transform: translate(25px, 25px);
    z-index: 0;
    background:
        repeating-linear-gradient(45deg, #222 0, #222 5px, transparent 6px, transparent 12px);
}

.card {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}
.card div {
    padding: 22px 22px 0 22px;
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}
.card h3 {
    color: var(--light);
    font-family: "Rubik", sans-serif;
}
/* Custom card backgrounds for demo */
.card.black-bg {
    background: #111;
    color: #fff;
    border: 5px solid #e95850;
}

.card.gradient-bg {
    background: linear-gradient(160deg, var(--teal) 0%, var(--orange) 90%);
    color: #fff;
    border: 5px solid var(--black);
}

/* Card content */
.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 18px;
    text-align: left;
}

.card-services {
    text-align: left;
    font-size: 1rem;
    margin-bottom: auto;
}

.card-image {
    margin-top: 24px;
    background: #fff;
    height: 120px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
    overflow: hidden;
}

/* Responsive for single column on mobile */
@media (max-width: 900px) {
    main {
        grid-template-columns: 1fr;
    }
}

.portfolio h2, .service-section h2 {
    
    text-align: center;
    padding: 40px;
    margin-bottom: 60px;
}

.service-section h2 {
    color: var(--black);
}

/* Services Cards */

        .main-row {
            display: flex;
            justify-content: center;
            gap: 2.5rem;
            margin-bottom: 3.5rem;
        }
    
        .service-card-outer {
            position: relative;
            width: 330px;
            
        }
    
        .striped-bg {
            inset: 0;
            z-index: 0;
            transform: translate(20px, 20px);
        }
    
        .striped-orange {
            background: repeating-linear-gradient(45deg, #e9785a 0, #e9785a 6px, transparent 6px, transparent 12px);
        }
        .orange-bg{
            background-color: var(--orange);
        }
    
        .striped-pink {
            background: repeating-linear-gradient(45deg, #e14566 0, #e14566 6px, transparent 6px, transparent 12px);
        }
        .pink-bg{
            background-color: var(--pink);
        }
    
        .striped-teal {
            background: repeating-linear-gradient(45deg, #21a39b 0, #21a39b 6px, transparent 6px, transparent 12px);
        }
        .teal-bg {
            background-color: var(--teal);
        }
    
        .service-card {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            background: #df7e54;
            border: 5px solid #232222;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 35px;
            padding-top: 10px;
            padding-bottom: 80px;
            justify-content: flex-start;
            box-shadow: 0 8px 14px rgba(0, 0, 0, 0.07);
            
        }
    
        .service-card.pink {
            background: #eb466f;
        }
    
        .service-card.teal {
            background: #32a49f;
        }
    
        .corner-stripes {
            position: absolute;
            top: 0;
            left: 0;
            width: 110px;
            height: 50px;
            overflow: hidden;
            z-index: 2;
        }
    
        .corner-stripes-inner {
            width: 190%;
            height: 100%;
            background: repeating-linear-gradient(135deg, #232323 0, #232323 6px, transparent 6px, transparent 18px);
            opacity: 0.9;
        }
    
        /* ICON area in the card */
        .service-icon {
            margin-top: 20px;
            margin-bottom: 0;
            min-height: 80px;
        }
        .service-icon img {
            max-width: 220px;
        }
    
        .service-card h2 {
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 12px;
            margin-top: 25px;
            letter-spacing: 0.01em;
            padding: 10px 0;
        }
    
        .service-card p {
            color: var(--black);
            font-size: 1rem;
            margin: 0;
            line-height: 1.33;
        }
    
        /* Small services row ---- */
        .services-detail-row {
            display: flex;
            justify-content: center;
            gap: 2.5rem;
            width: 100%;
        }
    
        .services-detail-col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 17px 17px;
            width: 340px;
            margin-top: 12px;
            z-index: 1;
            margin: 50px 0;
        }
    
        .small-card-box-outer {
            position: relative;
            width: 142px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    
        .striped-bg.small {
            transform: translate(10px 10px);
        }
    
        .small-card-box {
            position: relative;
            border: 3px solid #232222;
            width: 220px;
            height: 60px;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            font-weight: 500;
            color: var(--black);
            text-align: center;
            box-sizing: border-box;
        }
    
        /* Responsive */
        @media (max-width: 1050px) {
    
            .main-row,
            .services-detail-row {
                flex-direction: column;
                gap: 32px;
                align-items: center;
            }
    
            .services-detail-col {
                width: 90vw;
                max-width: 340px;
            }
        }
    
        @media (max-width: 500px) {
    
            .service-card {
                padding-left: 7vw;
                padding-right: 7vw;
            }
    
            .services-detail-col {
                width: 95vw;
            }
        }
.service-card,
.striped-bg,
.card,
.small-card-box {
    transition: all 0.35s ease;
}

.small {
    height: 50px;
}

.service-card-outer:hover .striped-bg {
    transform: translate(24px, 24px);
    transition: all 0.35s ease;
    cursor: pointer;
}

.small-card-box-outer:hover .striped-bg {
    transform: translate(22px, 22px);
    transition: all 0.35s ease;
    cursor: pointer;
}
.small-card-box-outer:hover .small-card-box{
    transform: translate(-8px, -8px);
    transition: all 0.35s ease;
    cursor: pointer;
}
.service-card-outer:hover .service-card {
    transform: translate(-14px, -10px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
    transition: all 0.35s ease;
    cursor: pointer;
}
.card-wrapper:hover .striped-bg {
    transform: translate(24px, 24px);
    transition: all 0.35s ease;
    cursor: pointer;
}
.card-wrapper:hover .card {
    transform: translate(-14px, -10px);
    transition: all 0.35s ease;
    cursor: pointer;
}

.ready-wrap {
    margin-top: 100px;
    margin-bottom: 20px;
}

/* Initial transform to ensure smooth transition */
.striped-bg,
.service-card {
    transition: all 0.35s ease;
}

.footer {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    height: 40vh;
}

.icon {
    max-width: 30px;
    margin: 10px;
    transition: all 0.3s ease;
}
.icon:hover {
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo h1 span {
    color: white;
    font-weight: bold;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #fff;
    margin: 0 10px;
    font-size: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    font-size: 24px;
    margin-right: 10px;
}

.tech-behemoths {
    text-align: center;
}

.tech-logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.tech-behemoths span {
    margin-top: 10px;
}

.behemoths {
    max-width: 200px;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
}
