@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap');

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

::selection {
    background-color: #ff0000;
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Thumb (scroll box) */
::-webkit-scrollbar-thumb {
    background: #ed0000;
    border-radius: 10px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: #9e2000;
}

body {
    scroll-behavior: smooth;
    padding-top: 80px;
    font-family: 'Poppins', sans-serif !important;
}

.nav-icon,
.navbar .nav-link i {
    transition: all 0.5s ease-in-out;
    scale: 1.1;
    color: red;
}

.nav-item .nav-icon:hover {
    scale: 2.1;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.5s ease-out;
}

.nav-link.active {
    position: relative;
    display: inline-block;
    color: red !important;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}

.nav-link.active:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: #f10707 !important;
    scale: 1.1;
    transition: all 0.5s ease-in-out;
}

.navbar-collapse {
    margin-right: 10px;
}

.navbar {
    background: transparent !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar-blur {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(0.25turn, rgb(252, 252, 251), rgb(255, 0, 0), rgba(56, 2, 155, 0));
    border-image-slice: 1;
    width: 100%;
}

/* Hero Section Styles */
.hero-title {
    font-size: calc(2.5rem + 2.5vw);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.secondry-btn {
    border: 2px solid #d60a0a !important;
}

.secondry-btn:hover {
    color: #fdfdfd !important;
    background-color: #d60a0a !important;
}

.digital {
    font-family: "Lobster Two", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #d11111;
}

@keyframes loader13-1 {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes loader13-2 {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(-360deg)
    }
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: calc(2rem + 2vw);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: calc(1.8rem + 1.5vw);
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .work-text p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: calc(1.5rem + 1vw);

    }

    .container.py-5 {
        padding-top: 4rem !important;
    }

    .work-section {
        margin-top: -18vh;
        padding: 20px;
    }
}

@media (max-width:768px) {
    .work-hero {
        margin-top: -20vh;
    }

    .our-process {
        margin-top: 5vh;
    }

    .our-letest {
        padding: 15px;
    }
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background-color: rgb(148, 4, 4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}

.underline:hover::after {
    transform: scaleX(1);
}

@media (max-width: 576px) {
    .hero-title {
        font-size: calc(1.2rem + 1vw);
    }

    .hero-image img {
        width: 90%;
    }
}

/* Process Section */
.process-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    border: 2px solid transparent;
    /* for smooth border transition */
}

.process-card:hover {
    transform: scale(1.1);
    background-color: #FDECEC;
    border: 2px solid rgb(250, 164, 164);
}


.process-icon {
    color: #dc3545;
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.work-text {
    font-size: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-card {
        margin-bottom: 20px;
    }

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

.footer-image p {
    text-wrap: wrap;
    font-size: 18px;
    width: 20vw;
}

footer {
    position: relative;
    z-index: 1;
}

.social-links a {
    text-decoration: none;
}

.social-links a,
i:hover {
    color: #dd0016;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

footer .social-links a {
    transition: opacity 0.3s ease;
}

footer .social-links a:hover {
    opacity: 0.7;
}

footer ul li a {
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #f3051c !important;
}

.footer-image img {
    width: 100px;
    height: 40px;
    object-fit: contain;
}

footer {
    border-top: 3px solid rgb(255, 65, 65);
}

@media (max-width: 768px) {
    footer .row>div {
        text-align: center;
    }

    footer .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .footer-image img {
        width: 184px;
        height: 55px;
    }
}

@media (max-width:576px) {
    .footer-image img {
        max-width: 200px;
        height: 55px;
        object-fit: contain;
    }

    .footer-image p {
        width: 50vh;
        font-size: 15px;

    }
}

@media (max-width:768px) {
    .footer-image p {
        width: 40vh;
        font-size: 15px;
        margin-left: 2vh;
    }
}