/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
   
}

/* Header Link */
.header-link {
    display: flex;               
    align-items: center;        
    text-decoration: none;       
}

.resilstudio-logo {
    width: 80px;               
    height: 80px;                   
}

.resilstudio {
    font-size: 24px;           
    color: #fff;               
    margin: 0;                 
}

section h2 {
    text-align: center;
 }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-links {
    display: flex;
    gap: 20px;
}


/* Services Section */

.services-description {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.services {
    background-color: #111; 
    padding: 20px;
    border-radius: 8px;
} 







/* Footer */
footer {
    border-top: 1px solid #333;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}




/* Hero section */
.hero {
    text-align: center;
    position: relative;
    margin: 80px 0;

}
h1 {
    font-size:70px;
    line-height: 1.2;
    margin-bottom: 3rem;
}
.purple-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(96, 1, 169, 0.3);
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-140px);
    z-index: -1;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: #f0f0f0;
}
.highlight {
    position: relative;
    z-index: 1;
}
.highlight::after {
    content: "";
    position: absolute;
    left: -10px;
    top: -10px;
    right: -10px;
    bottom: -60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M10,50 L190,50' stroke='%236001A9' fill='none' stroke-width='13'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1;
}


/* What we do  Section */
.what-we-do {
  margin: 80px 0px 80px;
}

.what-we-do-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background-color: #111;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}


.chart-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pie-chart {
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}
.pie-section {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
    transform-origin: center;
}

.section1 { clip-path: polygon(50% 50%, 0 50%, 0 0, 50% 0); background-color: white; }  /* Top-left section */
.section2 { clip-path: polygon(50% 50%, 50% 100%, 0 100%, 0 50%); background-color: white; } /* Bottom-left section */
.section3 { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 50%); background-color: white; } /* Top-right section */
.section4 { clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%); background-color: white; } /* Bottom-right section */

.legends {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.legends-left { margin-right: 20px; }
.legends-right { margin-left: 20px; }
.legend-item {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    transition: all 0.5s ease-in-out;
}
.legend-line {
    flex-grow: 1;
    height: 2px;
    margin: 0 10px;
    background-color: white;
    transition: background-color 0.5s ease-in-out;
}
.percentage {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 10px;
    transition: color 0.5s ease-in-out;
}
.description {
    max-width: 350px;
    font-size: 0.9em;
    transition: color 0.5s ease-in-out;
}

/* What we do mobile  */

.grid-container {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-mobile {
    background-color: rgba(32, 32, 32, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: transform 0.3s ease;
}

.card-mobile:hover {
    transform: translateY(-5px);
}

.icon span{
    font-size: 1.5rem;
  
}

.title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.description-mobile {
    font-size: 16px;
    line-height: 1.6;
    color: #a1a1aa;
    text-align: center;
}



/* Company Logo style  */
.container-banner {
    max-width: 1200px;
    margin: 80px auto;
}
.partners-grid {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem;
}

.partner-logo {
    flex: 1;
    min-width: 80px;
    max-width: 100px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

@media (max-width: 768px) {
    .partners-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        justify-items: center;
        max-width: fit-content;
        margin: auto;
    }

    .partner-logo {
        min-width: 100px;
        height: 60px;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .partner-logo {
        min-width: 80px;
        height: 50px;
    }
}

/* Let's chat Style */
.banner {
    background: linear-gradient(to bottom right, #1a1a1a, #0a0a0a);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}
.banner h1 {
    color: #ffffff;
    font-size: 3rem;
    margin: 0 0 10px 0;
}
.banner h2 {
    color: #a0a0a0;
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0 0 15px 0;
}
.banner p {
    color: #808080;
    font-size: 1rem;
    margin: 0 0 20px 0;
}
.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.text-content {
    flex-grow: 1;
}


/* Button Styles */
a {
    color: #fff;
    text-decoration: none;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #f0f0f0;
}

.socail-links a {
    margin-right: 30px;
}





/* SVG Design - Not Ifinite */
.svg-container {
    width: 100%;
}

.B {
    dominant-baseline: ideographic;
}
.D {
    stroke: #BD8CEF;
}
.D-hand {
    stroke: #BD8CEF;
}
.E {
    stroke-miterlimit: 4;
}
.F {
    stroke-width: 2;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.draw-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 2s forwards;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }
.delay-4 { animation-delay: 2s; }
.delay-5 { animation-delay: 2.5s; }

.infinity:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}



/* Responsive Design */
 @media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-mobile {
        min-height: auto;
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 50px;
    }

    .client-cards,
    .footer-content {
        display: flex;               
        flex-direction: column;      
    }

    .nav-links {
        display: none;
    }
    .button {
        font-size: smaller;
    }
    .content-wrapper {
    align-items: center;
    flex-direction: column;
    }
    .text-content {
        text-align: center;
    }

    .banner h1{
       font-size:  1.5rem;
    }
    .banner h2 {
      font-size: 1rem;
    }
    .banner p {
        font-size: 0.7rem;
    }
} 



@media (max-width: 1024px) {
    .container {
        max-width: 100%; 
        padding: 0 50px; 
    }

    .logo-wrapper .logo {
        margin-right: 20px; 
    }

    .hero h1 {
        font-size: 32px; 
        line-height: 1.6;
    }

    .services {
        padding: 10px;
    }

  
}

@media (min-width: 1440px) { 
    .what-we-do-cards {
        font-size: 20px;
    }
}


@media (max-width: 425px) {
    .hero {
        margin: 0 0 50px 0;
        }  
    
        .hero h1{
            margin: 26px;
            }  
    
     .nav {
        padding: 20px 0 0 0;
     }
     .container {
        padding: 0 20px; 
    }
    
    .resilstudio-logo {
        width: 60px;
        height: 60px;
    }
    
    .resilstudio {
        font-size: 20px;
    }

    .purple-circle {
        width: 50px;
        height: 50px;
        top: 5px;
        left: 90%;
    }
    
    }


    @media (max-width: 625px) { 
        section h2 {
            font-size: 20px;
         }

        .what-we-do h2 {
            margin: 0px;
            font-size: 17px;
        }

        .chart-container {
            display: none;
        }
    }

    @media (min-width: 626px) { 
    .grid-container {
        display: none;
    }
    }