/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 16px; /* Base font size for rem units */
}

body {
    min-height: 100vh;
    background: white;
    background-size: cover;
    background-position: center;
    font-size: 1rem; /* Default text size */
}

/* Paragraphs */
p {
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    line-height: 1.4;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .animation-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
    }

    .animation-container #lottie-animation {
        width: 60%;
        height: auto;
        position: relative;
        z-index: 1;
    }

    .animation-container h1, 
    .animation-container span {
        max-width: 90%;
        text-align: center;
        font-size: clamp(1.2rem, 5vw, 2rem);
    }

    .section-1 h1,
    .approach-head h1,
    .our-section h1,
    .chooseus-content h1 {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    .approach-head h2 {
        font-size: clamp(0.8rem, 3.5vw, 1.2rem);
    }

    .approach-cards .card h3 {
        font-size: clamp(0.7rem, 3vw, 1.1rem);
    }

    .approach-cards .card p,
    .our-section p,
    .chooseus-content p,
    .chooseus-content a {
        font-size: clamp(0.5rem, 2.5vw, 0.9rem);
    }
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, #b3b2b2 0%, #f5f5f5 80%, transparent 100%);
}

/* Logo Styling */
.logo img {
    padding-top: 20px;
    max-width: 28%;
}

/* Navigation Bar */
.navbar {
    padding-top: 20px;
    display: flex;
    gap: 30px;
}

.navbar a {
    position: relative;
    font-size: clamp(1rem, 1.1vw, 1.3rem);
    color: rgb(0, 0, 0);
    font-weight: 600;
    text-decoration: none;
    margin-left: 40px;
    white-space: nowrap;
}

/* Navigation Hover Effects */
.navbar a:hover {
    filter: drop-shadow(8px 8px 15px rgba(0, 0, 0, 0.6));
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 3px;
    background-color: rgb(0, 0, 0);
    transition: 0.3s;
}

.navbar a:hover::before {
    width: 100%;
}

/* Hide hamburger on larger screens */
.hamburger {
    display: none;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    z-index: 1001;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .header{
        padding: 40px 25px;
        
    }
    .logo img {
        min-width: 45%;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 20px;
        width: fit-content;
        text-align: justify;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        padding: 15px;
    }

    .navbar.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar a {
        font-size: clamp(0.9rem, 1.1vw, 1.2rem);
        color: rgb(255, 255, 255);
    }
}

/* Rotation effect when active */
.hamburger.active {
    transform: rotate(180deg);
}

.hero-section{
    display: flex;
    justify-content: center;
    align-items: center;

}
/* Animations & Section Styling */
.animation-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Ensure it takes the full viewport height */
    
}

/* Lottie Animation */
#lottie-animation {
    width: 70%;
    max-width: 500px; /* Prevent excessive scaling on large screens */
    opacity: 0.8;
    padding-top: 0; /* Remove the top padding */
}

/* Text Overlay */
.text-overlay {
    position: absolute;
    text-align: center;
    color: rgb(0, 0, 0);
    font-weight: bold;
    padding: 40px 15px 0 15px;
    z-index: 2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.268);
}

.text-overlay h1 {
    display: block;
    font-size: clamp(1rem, 2vw, 2rem);
}
.text-overlay p {
    text-align: center;
}
.text-overlay span:first-child {
    font-size: clamp(0.8rem, 2vw, 1.8rem);
}



/* Tech Stack Animation */
@keyframes slide-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.tech-stack {
    overflow: hidden;
    width: 100%;
    position: relative;
    white-space: nowrap;
}

.tech-icons {
    display: flex;
    gap: 60px;
    animation: slide-left 30s linear infinite;
    min-width: 200%;
}

.tech-icons img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.services h2{
    font-size: 2.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Card Container & Hover Effects */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px;
}

/* Individual Card */
.card-container .card {
    max-width: 20rem;
    max-height: 13rem;
    background: linear-gradient(135deg, #a84bffb9, #E6A8FF);
    text-align: center;
    margin: 30px 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease-in-out;
    border-radius: 5px;
}

/* Expand Card on Hover */
.card-container .card:hover {
    min-height: fit-content;
}

/* Image Box */
.card-container .card .imgBx {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14rem;
    height: auto;
    position: relative;
    top: -50px;
    bottom: 0;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.card-container .card .imgBx img {
    max-width: 80%;
    border-radius: 5px;
}

/* Card Content */
.card-container .card .card-content {
    text-align: justify;
    padding: 10px 15px;
    color: rgb(0, 0, 0);
    transition: all 0.3s ease-in-out;
}

/* Ensure h1 is always visible */
.card-container .card .card-content h2 {
    margin-top: -40px;
    font-size: 1rem;
    transition: padding 0.3s ease-in-out;
}

/* Hide paragraph initially */
.card-container .card .card-content p {
    padding-top: 20px;
    font-size: 0.8rem;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

/* Show paragraph on hover */
.card-container .card:hover .card-content p {
    visibility: visible;
    opacity: 1;
    margin-top: -10px;
    transition-delay: 0.3s;
}

/* Adjust heading padding on hover */
.card-container .card:hover .card-content h1 {
    padding-top: 0px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services h2{
        font-size: 1.4rem;
    }
    .card-container {
        gap: 20px;
        padding: 10px;
    }

    .card-container .card {
        min-width: 40vw;
        min-height: fit-content;
        padding: 20px;
        margin: 15px 0;
    }

    .card-container .card:hover {
        min-height: fit-content;
    }

    .card-container .card .imgBx {
        width: 24vw;
        top: -20px;
    }

    .card-container .card .imgBx img {
        max-width: 100%;
    }

    .card-container .card .card-content {
        padding: 0;
    }

    .card-container .card .card-content h2 {
        font-size: 12px;
        margin-top: -10px;
        padding-bottom: 10px;
    }

    .card-container .card .card-content p {
        visibility: visible !important; /* Force visibility */
        opacity: 1 !important; /* Ensure full opacity */
        display: block !important; /* Make sure it's displayed */
        padding-top: 0;
        font-size: 0.7rem;
    }
    
    /* Remove hover effect that hides it */
    .card-container .card:hover .card-content p,
    .card-container .card:hover .card-content {
        margin-top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
}



/* Flip Animation */
@keyframes flipIn {
    from {
        transform: rotateY(90deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0);
        opacity: 1;
    }
}

/* Our Approach Section */
.approach-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
}

.approach-head h2 {
    font-size: clamp(1.8rem, 2.5vw, 3rem);
    margin-bottom: 10px;
}

.approach-head h3 {
    font-size: clamp(1rem, 1.5vw, 2rem);
    color: #666;
    margin-bottom: 30px;
}

/* Approach Cards */
.approach-cards {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}
.approach-cards .card{
    text-align: center;
    
    height: fit-content;
}

.approach-cards h3 {
    font-size: clamp(0.9rem, 1.3vw, 1.2rem);
}
.approach-cards p {
    padding-top: 10px;
    font-size: clamp(0.6rem, 1.3vw, 0.7rem);
}

/* Responsive Card Layout */
@media (max-width: 768px) {
    .approach-cards {
        flex-direction: column;
        align-items: center;
    }

    .line {
        width: 4px;
        height: 50px;
        transform: rotate(90deg);
        margin: 10px;
    }
}

/* Individual Cards */
.approach-cards .card {
    width: 250px;
    padding: 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
    opacity: 0.7;
}

.approach-cards .card p {
    font-size: clamp(0.9rem, 1.1vw, 1.3rem);
    text-align: justify;
    hyphens: auto;
    word-spacing: -1px;
    letter-spacing: 0.3px;
}

/* Active Card Effect */
.card.active {
    transform: scale(1.1);
    opacity: 1;
    z-index: 1;
}

/* Connecting Line */
.line {
    width: 50px;
    height: 4px;
    background: linear-gradient(135deg, #9B30FF, #E6A8FF);
}
/* Our Section - Layout & Styling */
.our-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    text-align: left;
    font-size: large;
    padding: 20px 50px;
    column-gap: 40px;
    text-align: justify;
    opacity: 0;
    transform: translateX(-50px);
}

/* Image Container */
.our-section .icons {
    flex: 1;
    display: flex;
    justify-content: center;
}

.our-section .icons img {
    min-width: 25vw;
    max-width: 50%;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.4));
}

/* Text Container */
.our-section #our-section-content {
    flex: 1;
    max-width: 30%;
    text-align: justify;
    align-self: center;
}

.our-section #our-content h2 {
    font-size: clamp(1.4rem, 2.2vw, 2.8rem);
}

.our-section #our-content h4 {
    padding-top: 10px;
    font-size: clamp(0.8rem, 1.3vw, 1.8rem);
}

.our-section #our-content p {
    padding-top: 10px;
    font-size: clamp(0.8rem, 1.1vw, 1.5rem);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .our-section {
        flex-direction: column;
        text-align: justify;
    }
    .our-section .icons {
        order: -1;
    }
    .our-section .icons img {
        max-width: 40%;
    }
    .our-section #our-section-content {
        max-width: 80%;
    }
}

/* About Button Styling */
#about-button, #contact-button {
    align-self: center;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    font-weight: 500;
    border: solid 1px;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

#about-button:hover, #contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 10px rgba(128, 0, 128, 0.5);
}

/* Section-2 Styling */
.chooseus-section {
    color: rgb(0, 0, 0);
    text-align: center;
    display: flex;
    padding: 20px;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.chooseus-section img {
    max-width: 40vw;
}

.chooseus-section .chooseus-content {
    text-align: justify;
    justify-content: center;
    align-self: center;
    font-size: clamp(0.8rem, 1.1vw, 1.4rem);
    font-weight: 300;
}

.chooseus-section .chooseus-content h2 {
    color: #000000;
    font-size: clamp(1.4rem, 2.2vw, 2.8rem);
    font-weight: 700;
    padding-bottom: 10px;
}

.chooseus-section .chooseus-content p {
    padding-bottom: 10px;
    font-size: clamp(0.8rem, 1.1vw, 1.5rem);
}


/* Slide-in Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Link Styling */
a {
    text-decoration: none;
}

/* Our Clients Section */
#our-clients {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: transparent;
    position: relative;
}

#client-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%;
    padding: 20px;
    text-align: justify;
}

#client-trust p {
    font-size: clamp(0.8rem, 1.1vw, 1.5rem);
    max-width: 55%;
}

#our-clients h1 {
    font-size: clamp(1.4rem, 2.2vw, 2.8rem);
    font-weight: 600;
    color: #000;
}

/* Clients Carousel */
.clients-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.clients-slide {
    display: flex;
    gap: 60px;
    animation: slide-left 30s linear infinite;
}

@keyframes slide-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-33.33%);
    }
}

.clients-slide img {
    width: clamp(80px, 10vw, 140px);
    height: auto;
    object-fit: contain;
}

/* Partner Showcase Section */
.partner-showcase {
    text-align: center;
    margin: 50px 0;
}

.partner-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #AEE2FF, #FFB6C1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    gap: 20px;
}

.partner-logo h2 {
    margin-top: -24px;
    padding-left: 10px;
    font-size: clamp(0.9rem, 1.1vw, 1.5rem);
}

.partner-logo img {
    height: auto;
    max-width: clamp(120px, 17vw, 220px);
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease-in-out;
}

.separator {
    font-size: clamp(2rem, 3vw, 4rem);
    padding-left: 25px;
    font-weight: bold;
    color: white;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
}

.partner-logo:hover img {
    transform: scale(1.1);
}
/* 📱 Mobile (Arrange Logos Vertically) */
@media screen and (max-width: 768px) {
    .partner-container {
        flex-direction: column; /* Stack elements vertically */
        gap: 10px;
    }

    .separator {
        padding: 0;
        margin: -10px 0; /* Reduce spacing */
    }
}

/* Digital Print Section */
#digital-print {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 5%;
    padding-bottom: 20px;
}

/* Map Animation Container */
#map-animation {
    width: 50%;
    height: auto;
    background-size: contain;
}

/* Digital Print Content */
.digital-print-content {
    width: 50%;
    text-align: left;
    align-self: center;
}

.digital-print-content h1 {
    font-size: clamp(1.4rem, 2.1vw, 2.4rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.digital-print-content h3 {
    font-style: italic;
    font-size: clamp(0.8rem, 1.3vw, 1.2rem);
    font-weight: 600;
    color: #555;
}

.digital-print-content p {
    padding-top: 5px;
    font-style: normal;
    text-align: justify;
    font-size: clamp(0.7rem, 1.1vw, 1rem);
    line-height: 1.6;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    #client-trust p {
        max-width: 90%;
    }

    #digital-print {
        flex-direction: column;
        text-align: center;
    }

    #map-animation,
    .digital-print-content {
        width: 90%;
    }
}

/* Footer */
.footer {
    background: #f5f5f5;
    padding: 0px 20px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    border-top: 1.5px solid black;
    padding-top: 20px;
}

/* Align the left section (social icons) properly */
.footer-left {
    text-align: left;
    max-width: 300px;
    font-size: clamp(0.6rem, 0.95vw, 1.1rem);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Right Section */
.footer-right {
    text-align: right;
    max-width: 250px;
    font-size: clamp(0.6rem, 0.95vw, 1.1rem);
}

.footer-right p {
    text-align: right;}
.company-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: clamp(15px, 1.8vw, 40px);
    height: clamp(15px, 1.8vw, 40px);
}

.copyright {
    font-size: clamp(0.7rem, 0.9vw, 1rem);
    color: #666;
    margin-top: 10px;
}

/* Center Section */
.footer-center ul {
    list-style: none;
    padding: 16px 0 0 0;
    margin: 0;
}

.footer-center ul li {
    margin-bottom: 5px;
}

.footer-center ul li a {
    text-decoration: none;
    color: black;
    font-size: clamp(0.7rem, 0.95vw, 1.1rem);
}


.footer-right a {
    text-decoration: none;
    color: black;
}
@media (max-width: 600px) {
    .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .footer-left, 
    .footer-center, 
    .footer-right {
        flex: 1;
        text-align: center;
        max-width: 33%;
        padding: 10px;
    }

    /* Make social icons look better */
    .social-icons {
        display: flex;
        justify-content: center;
        gap: 5px;
    }

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease-in-out;
    }

    .social-icons a:hover {
        transform: scale(1.1);
    }

    .social-icons img {
        width: 20px;
        height: 20px;
    }

    /* Space out policy links */
    .footer-center ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .footer-center ul li a {
        text-decoration: none;
        color: black;
        font-size: 0.7rem;
    }

    /* Adjust address alignment */
    .footer-right {
        text-align: right;
    }

    .footer-right p {
        text-align: right;
        font-size: 0.7rem;
        line-height: 1.4;
    }
}

