@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;700&display=swap');

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

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Lexend', sans-serif;
    width: 100%;
    overflow-x: hidden;
}

.content-wrapper {
    margin-top: 10vh;
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.25vw 4.75vw;
    background-color: #fff;
    font-family: 'Lexend', sans-serif;
    height: 10vh;
    box-shadow: 0 0.68vw 4.83vw 0 #a2a2a2;
    gap: 0.625vw;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    margin: 0;
    position: relative;
}

.logo img {
    height: 7vh;
}

.nav-links {
    display: flex;
    gap: 3.25vw;
}

.nav-links a {
    text-decoration: none;
    color: #808080;
    font-size: 1.25vw;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #000;
}

.nav-links a.active {
    color: #000;
}

.contact-us {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    text-decoration: none;
    color: #000;
    font-size: 1.25vw;
}

.contact-us .icon {
    width: 1.56vw;
    height: 2.5vh;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.nav-links .contact-us {
    display: none;
}

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

.dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    color: #808080;
    font-size: 1.25vw;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3vw;
}

.dropdown-toggle:hover {
    color: #000;
}

.dropdown-toggle.active {
    color: #000;
}

.dropdown-arrow {
    width: 1vw;
    height: 1vw;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow,
.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(70% + 0.5vh);
    left: 0;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1vh 0;
    z-index: 1001;
}

.dropdown-menu a {
    display: block;
    padding: 1.2vh 1.5vw;
    text-decoration: none;
    color: #808080;
    font-size: 1.15vw;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #000;
    padding-left: 2vw;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 1vw;
    }

    .nav-links a {
        font-size: 1.5vw;
    }

    .contact-us {
        font-size: 1.5vw;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 4vw 6vw !important;
        height: 12vh !important;
        justify-content: center !important;
        position: relative !important;
        overflow: visible !important;
    }

    .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .logo img {
        height: 6vh !important;
    }

    .nav-links {
        position: fixed !important;
        top: 12vh !important;
        left: -100% !important;
        width: 100vw !important;
        height: calc(100vh - 12vh) !important;
        background-color: #fff !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-top: 5vh !important;
        gap: 4vh !important;
        transition: left 0.3s ease !important;
        z-index: 999 !important;
        overflow-y: auto !important;
    }

    .nav-links.active {
        left: 0 !important;
    }

    .nav-links a {
        font-size: 5vw !important;
        padding: 2vh 0 !important;
        width: 80% !important;
        text-align: center !important;
        color: #808080 !important;
        transition: color 0.3s ease !important;
    }

    .nav-links a:hover {
        color: #000 !important;
    }

    .nav-links a.active {
        color: #000 !important;
    }

    .nav-links .contact-us {
        display: flex !important;
        font-size: 5vw !important;
        gap: 3vw !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .nav-links .contact-us .icon {
        width: 6vw !important;
        height: 3vh !important;
    }

    .dropdown {
        width: 80% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .dropdown-toggle {
        width: 100% !important;
        text-align: center !important;
        font-size: 5vw !important;
        padding: 2vh 0 !important;
        color: #808080 !important;
        justify-content: center !important;
    }

    .dropdown-arrow {
        width: 4vw !important;
        height: 4vw !important;
    }

    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
    }

    .dropdown-menu a {
        font-size: 4.5vw !important;
        padding: 1.5vh 0 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .dropdown-menu a:hover {
        padding-left: 0 !important;
        background-color: transparent !important;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px !important;
    }

    .dropdown:hover .dropdown-menu {
        max-height: 0 !important;
    }

    .dropdown.active:hover .dropdown-menu {
        max-height: 500px !important;
    }

    .dropdown:hover .dropdown-arrow {
        transform: rotate(0deg) !important;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg) !important;
    }

    .dropdown:not(.active) .dropdown-arrow {
        transform: rotate(0deg) !important;
    }

    .hamburger {
        display: flex !important;
        position: absolute !important;
        right: 6vw !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1001 !important;
    }

    .header>.contact-us {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 3vw 5vw !important;
        height: 10vh !important;
        box-shadow: none;
    }

    .logo img {
        height: 5vh !important;
    }

    .nav-links {
        top: 10vh !important;
        height: calc(100vh - 10vh) !important;
    }

    .hamburger {
        width: 30px !important;
    }

    .hamburger span {
        width: 30px !important;
        height: 3px !important;
    }
}

.portfolio-hero-section {
    background-color: #fff;
    padding: 10vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Lexend', sans-serif;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.portfolio-hero-heading {
    text-align: center;
    margin-bottom: 8vh;
    width: 90vh;
}

.portfolio-hero-heading h1 {
    font-size: 3vw;
    font-weight: normal;
    color: #000;
    margin: 0;
    font-weight: 400;
}

.portfolio-hero-heading h2 {
    font-size: 2.5vw;
    font-weight: normal;
    color: #017aff;
    margin-top: 1vh;
    font-weight: 400;
}

.portfolio-hero-heading span {
    font-size: 3vw;
    font-weight: normal;
    color: #017aff;
    margin-top: 1vh;
    font-weight: 400;
}

.portfolio-hero-grid {
    display: flex;
    justify-content: center;
    gap: 2vw;
    width: 90vw;
    margin: 0 auto;
}

.portfolio-hero-card {
    background-color: #fff;
    border-radius: 1vw;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    padding: 1vw;
    padding-right: 0.5vw;
    padding-bottom: 0.5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 15vw;
    max-width: 17vw;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.portfolio-hero-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4);
    background-color: #017AFF;
}

.portfolio-hero-card.active {
    background-color: #017AFF;
    box-shadow: 0px 8px 30px rgba(1, 122, 255, 0.4);
}

.portfolio-hero-card.active .card-left p {
    color: #fff;
}

.portfolio-hero-card.active .card-arrow {
    filter: brightness(0) invert(1);
}

.portfolio-hero-card:hover .card-left p {
    color: #fff;
}

.portfolio-hero-card:hover .card-left img,
.portfolio-hero-card:hover .card-arrow {
    filter: brightness(0) invert(1);
}

.card-left {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.card-left img {
    width: 3.5vw;
}

.card-left p {
    margin: 0;
    font-size: 1.4vw;
    color: #333;
    font-weight: 400;
}

.card-arrow {
    width: 2.5vw;
    position: relative;
    top: 5.5vh;
    filter: brightness(0);
}

@media (max-width: 768px) {
    .portfolio-hero-section {
        padding: 0vh 5vw 8vh;
        margin-top: -5vh;
    }

    .portfolio-hero-heading {
        margin-bottom: 6vh;
    }

    .portfolio-hero-heading h1 {
        font-size: 8vw;
        max-width: 70vw;
        margin-left: 31%;
    }
    .portfolio-hero-heading span{
        font-size: 8vw;
    }

    .portfolio-hero-heading h2 {
        font-size: 6.5vw;
        margin-top: 1vh;
    }

    .portfolio-hero-grid {
        flex-wrap: wrap;
        gap: 3vw;
        width: 90vw;
    }

    .portfolio-hero-card {
        padding: 4vw;
        border-radius: 3vw;
        flex: 0 0 42vw;
        min-width: 42vw;
        max-width: 42vw;
    }

    .card-left {
        gap: 1.5vh;
    }

    .card-left img {
        width: 12vw;
    }

    .card-left p {
        font-size: 4vw;
    }

    .card-arrow {
        width: 7vw;
        top: auto;
        bottom: -9vw;
        right: 0vw;
    }
}

.case-study-section {
    background-color: transparent;
    font-family: 'Lexend', sans-serif;
    width: 100%;
    overflow-x: hidden;
}

.case-study-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.case-study-card {
    display: flex;
    gap: 3vw;
    align-items: stretch;
    background-color: transparent;
    overflow: hidden;
    width: 100%;
    padding: 6vh 10vw;
    box-sizing: border-box;
}

.case-study-card.dark {
    background-color: #1a1a1a;
}

.case-study-card.dark .case-study-title {
    color: #fff;
}

.case-study-card.dark .case-study-description {
    color: #ccc;
}

.case-study-card.dark .read-more-link {
    color: #017AFF;
}

.case-study-image {
    flex: 0 0 30vw;
    width: 30vw;
    min-height: 45vh;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1vh;
}

.case-study-content {
    flex: 1;
    padding: 3vh 3vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.case-study-badge {
    display: inline-block;
    background-color: #017AFF;
    color: #fff;
    padding: 0.8vh 1.5vw;
    border-radius: 2vw;
    font-size: 0.9vw;
    font-weight: 500;
    margin-bottom: 2vh;
    width: fit-content;
}

.case-study-title {
    font-size: 1.8vw;
    font-weight: 600;
    color: #000;
    margin: 0 0 2vh 0;
    line-height: 1.3;
}

.case-study-description {
    font-size: 0.95vw;
    color: #666;
    line-height: 1.7;
    margin: 0 0 1.5vh 0;
    font-weight: 400;
}

.read-more-link {
    color: #017AFF;
    font-size: 1vw;
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
    padding-top: 1vh;
}

.read-more-link:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    margin-top: 6vh;
}

.pagination-btn {
    min-width: 3vw;
    height: 3vw;
    border: 0.15vw solid #ddd;
    background-color: #fff;
    color: #333;
    border-radius: 0.5vw;
    font-size: 1vw;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lexend', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1vw;
}

.pagination-btn:hover,
.pagination-btn.active {
    background-color: #017AFF;
    color: #fff;
    border-color: #017AFF;
}

.next-btn {
    background-color: #017AFF;
    color: #fff;
    border-color: #017AFF;
    padding: 1.5vh 2vw;
    min-width: auto;
    height: auto;
    margin-left: 3vw;
}

.pagination-dots {
    color: #666;
    font-size: 1.2vw;
    padding: 0 0.5vw;
}

@media (max-width: 768px) {
    .case-study-section {
        padding: 6vh 5vw;
    }

    .case-study-container {
        max-width: 90vw;
        gap: 3vh;
    }

    .case-study-card-light {
        border: 0.3vw solid #017AFF;
    }

    .case-study-card {
        flex-direction: column;
        gap: 0;
        border-radius: 3vw;
        padding: 0;
    }

    .case-study-image {
        flex: none;
        width: 100%;
        min-height: 30vh;
        padding: 2vh;
    }

    .case-study-content {
        padding: 3vh 5vw;
    }

    .case-study-badge {
        font-size: 3vw;
        padding: 1vh 4vw;
        border-radius: 4vw;
        margin-bottom: 1.5vh;
    }

    .case-study-title {
        font-size: 5vw;
        margin-bottom: 1.5vh;
    }

    .case-study-description {
        font-size: 3.5vw;
        line-height: 1.6;
        margin-bottom: 1.5vh;
    }

    .read-more-link {
        font-size: 3.5vw;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 2vw;
        margin-top: 4vh;
    }

    .pagination-btn {
        min-width: 8vw;
        height: 8vw;
        font-size: 3.5vw;
        border-radius: 2vw;
        border-width: 0.3vw;
    }

    .next-btn {
        padding: 1vh 2vw;
        min-width: auto;
        height: auto;
        margin-left: 5vw;
    }

    .pagination-dots {
        font-size: 4vw;
    }
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25vh 5vh 5vw 5vw;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, rgba(1, 122, 255, 0.25) 100%);
    font-family: 'Lexend', sans-serif;
    gap: 5vh;
    position: static;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    width: 100vw;
    align-items: flex-start;
    padding: 0 5vw;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
}

.footer-section h3 {
    font-size: 1.5vw;
    margin-bottom: 1vh;
    font-weight: normal;
}

.footer-section a,
.footer-section p {
    text-decoration: none;
    color: #000;
    font-size: 1.1vw;
}

.footer-section.cta {
    border-right: 3px solid #000;
    padding-right: 2vw;
}

.footer-section.cta h2 {
    font-size: 2vw;
    color: #017AFF;
    text-align: center;
    font-weight: normal;
}

.footer-section.cta .button {
    background-color: #017AFF;
    color: #fff;
    padding: 1.5vh 2vw;
    border-radius: 0.5vw;
    text-align: center;
    font-size: 1.2vw;
}

.social-links {
    display: flex;
    gap: 1vw;
}

.social-links img {
    width: 2vw;
    height: 2vw;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;

    padding-top: 3vh;
    width: 100%;
}

.footer-logo img {
    height: 15vh;
}

.copyright {
    font-size: 1vw;
}

@media (max-width: 768px) {
    .footer {
        padding: 15vh 8vw 8vw 8vw;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 6vh 6vw;
        padding: 0;
        width: 100%;
    }

    .footer-section.cta {
        grid-column: 1 / -1;
        border-right: none;
        padding-right: 0;
        text-align: center;
    }

    .footer-section {
        text-align: left;
        width: 100%;
    }

    .footer-section h3 {
        font-size: 5vw;
        margin-bottom: 2vh;
    }

    .footer-section a,
    .footer-section p {
        font-size: 4vw;
    }

    .footer-section.cta h2 {
        font-size: 8vw;
    }

    .footer-section.cta .button {
        font-size: 4vw;
        padding: 2vh 6vw;
        border-radius: 2vw;
        max-width: 60vw;
        margin: 0 auto;
        transition: transform 0.3s ease;
}

.footer-section.cta .button:hover {
    transform: scale(1.05);
}
    .social-links {
        justify-content: flex-start;
        gap: 4vw;
    }

    .social-links img {
        width: 8vw;
        height: 8vw;
    }

    .footer-logo img {
        height: 10vh;
    }

    .copyright {
        font-size: 3.5vw;
        text-align: center;
    }
}