
.social-container {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
}

.social-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60%;
    background: linear-gradient(135deg, #000000 0%, #311e0f 30%, #000000 70%, #010305 100%);
    z-index: -1;
    box-shadow: 
        0 0 100px rgba(41, 98, 255, 0.15),
        0 0 30px rgba(0, 0, 0, 0.2);
}

.social-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

.social-header {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
    position: relative;
}

.social-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.social-grid {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    transform: translateY(4rem);
}

.social-card {
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 1px rgba(0,0,0,0.2), 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.social-card iframe {
    width: 100% !important;
    height: 500px !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

.social-card blockquote {
    width: 100% !important;
    margin: 0 !important;
}

.linkedin-embed-container {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.card-header .profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.card-header .profile-info {
    flex: 1;
}

.card-header .name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.card-header .username {
    color: #666;
    font-size: 0.9rem;
}

.platform-icon {
    padding: 0.5rem;
    border-radius: 8px;
    margin-right: 1rem;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.twitter .platform-icon {
    background: #1DA1F2;
}

.instagram .platform-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.linkedin .platform-icon {
    background: #0077B5;
}

.follow-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.card-content {
    padding: 1.5rem;
}

.card-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #333;
    white-space: pre-line;
}

.media-content {
    margin: 0 -1.5rem -1.5rem;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.media-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-content:hover img {
    transform: scale(1.03);
}

.card-actions {
    display: flex;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eaeaea;
    gap: 1.5rem;
}

.card-actions button {
    background: none;
    border: none;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-actions button span {
    font-size: 0.9rem;
    color: #666;
}

.card-actions button:hover {
    color: #1DA1F2;
}

/* Platform-specific styles */
.twitter .follow-btn {
    background-color: #1DA1F2;
    color: white;
}

.instagram .follow-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.linkedin .follow-btn {
    background-color: #0077B5;
    color: white;
}

@media (max-width: 768px) {
    .social-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1rem;
        padding: 0;
        margin: 0;
        position: relative;
        transform: none;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .social-grid::-webkit-scrollbar {
        display: none;
    }

    .social-card {
        flex: 0 0 90%;
        scroll-snap-align: center;
        margin: 1rem 0.5rem;
        transform: none;
        max-width: none;
    }

    .social-card:first-child {
        margin-left: 1rem;
    }

    .social-card:last-child {
        margin-right: 1rem;
    }
    
    /* Smooth scrolling behavior */
    .social-grid {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Adjust spacing for mobile */
    .social-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .social-title {
        font-size: 1.75rem;
    }

    /* Optimize touch targets */
    .card-actions button,
    .follow-btn {
        min-height: 44px;
        padding: 0.75rem;
    }

    /* Adjust card padding */
    .card-content {
        padding: 1rem;
    }

    .card-header {
        padding: 0.75rem 1rem;
    }

    .card-actions {
        padding: 0.75rem 1rem;
    }

    /* Remove scroll indicators since we have snap points */
    .social-grid::before,
    .social-grid::after {
        display: none;
    }

    /* Enhance touch interaction */
    .social-card {
        touch-action: pan-x pinch-zoom;
        -webkit-tap-highlight-color: transparent;
        transition: transform 0.2s ease;
    }

    .social-card:active {
        transform: scale(0.98);
    }
    .social-container::before {
        width: 100%
    }
} .social-container * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.social-container *::-webkit-scrollbar {
    display: none !important;
}
@media (max-width:1200px){
    .social-container::before {
        width: 100%
    }
}
/* Certificate Card Styles */
.certificate-card {
    background: rgb(245, 245, 247);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 320px;
    width: 100%;
}
.solutions-content{
    padding: 0;
}
.solutions-hero{
    background: green;
}

.certificate-image-container {
    width: 100%;
    height: 180px;
    background: rgb(245, 245, 247);
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-image {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.certificate-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    background: #fff;
}

.certificate-content h3 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
}

.certificate-content p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.view-certificate-btn {
    width: 100%;
    background: transparent;
    border: 1px solid #0067b8;
    color: #0067b8;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
}

.view-certificate-btn:hover {
    background: #0067b8;
    color: white;
}

.corpo-certificates-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    width: 100%;
    padding: 0 1rem;
}

.hidden-certificates {
    display: none;
    margin-top: 1.5rem;
}

.hidden-certificates.show {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    width: 100%;
    padding: 0 1rem;
}

/* Grid Layout */
.corpo-certificates-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .corpo-certificates-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .certificate-card {
        height: 260px;
    }

    .certificate-image-container {
        height: 120px;
    }
}

/* Loading Indicator */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

body{
    font-family: 'Gilroy-Regular', 'Gilroy';
}

.inherit-font {
    font-family: 'Gilroy-Regular', 'Gilroy';
}

.cc-wrapper{
    
    line-height: 1.6 !important;
    min-height: 0 !important;
     
     display: flex;
     
     align-items: center;
}

.corpo-main {
    max-width: 100%;
    margin: 0 auto;
}
.corpo-hero{
    justify-content: flex-start !important;
    padding: 9rem !important;
    width: 80%;
}
.corpo-hero,
.corpo-opportunity {
    padding: 4rem 2rem 4% 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    position: relative;
}
.custom-footer{
    margin: 0;
    padding-top: 2rem;
}
.corpo-content-wrapper {
    max-width: 600px;
    z-index: 1;
    background: white;
    padding: 2rem;
}

.corpo-hero {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.corpo-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #000;
}

.corpo-hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #555;
}

.corpo-opportunity {
    background-color: #ffffff;
    position: relative;
}


.corpo-opportunity h2 {
    font-size: 2.4125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #000000;
}

.corpo-opportunity p {
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

.corpo-image-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

}
.corpo-img-w img{
    height: 400px;
    width: auto;
}
.corpo-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.corpo-principles {
    padding: 0rem 9rem;
    background-color: #e6f2ff;
    justify-content: flex-start !important;
    position: relative;
    z-index: 1;
}

.corpo-cta-button:hover {
    background-color: #006cbd;
}

.corpo-opportunity-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background-color: transparent;
    color: #0067b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #0067b8;
  
    position: relative;
    cursor: pointer;
}

.corpo-opportunity-cta::after {
    content: '→';
    margin-left: 0.5rem;

}

.corpo-opportunity-cta:hover {
    background-color: #0067b8;
    color: white;
}

.corpo-opportunity-cta:hover::after {
    transform: translateX(5px);
}

.corpo-principles-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.corpo-principles-header h2 {
    font-size: 2.4125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #000000;
}

.corpo-principles-header p {
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

.corpo-principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.corpo-principle-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    user-select: text;
    cursor: default;
}


.corpo-principle-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.corpo-principle-card h3 {
    font-size: 1.5rem;
    margin: 1rem;
    font-weight: 600;
    color: #000000;
}

.corpo-principle-card p {
    font-size: 1rem;
    margin: 0 1rem 1rem 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

/* Certificates and References Section */
.corpo-certificates {
    padding: 4rem 2rem;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.corpo-certificates-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.corpo-certificates-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 600;
    font-family: inherit;
}

.corpo-certificates-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
    font-family: inherit;
    margin: 0 auto;
    max-width: 600px;
}

.corpo-certificates-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.corpo-certificates-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.certificate-card {
    background: rgb(245, 245, 247);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 320px;
    width: 100%;
}

.certificate-image-container {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-image {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.certificate-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    background: rgb(245, 245, 247);
}

.certificate-content h3 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
}

.certificate-content p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.view-certificate-btn {
    width: 100%;
    background: transparent;
    border: 1px solid #0067b8;
    color: #0067b8;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
}

.view-certificate-btn:hover {
    background: #0067b8;
    color: white;
}

.corpo-references {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.corpo-references h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #000;
    font-weight: 600;
    font-family: inherit;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
   
}

.reference-logo {
    background: rgb(245, 245, 247);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 3;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-logo:hover {
    transform: translateY(-5px);
}

.reference-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 80%;
}

@media (max-width: 1200px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .corpo-certificates-header h2,
    .corpo-references h3 {
        font-size: 2rem;
    }

    .corpo-certificates-header p {
        font-size: 1rem;
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .reference-logo {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .corpo-certificates-header h2,
    .corpo-references h3 {
        font-size: 1.8rem;
    }

    .references-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .reference-logo {
        aspect-ratio: 2/1;
    }
}

#certificateModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#certificateModal .corpo-modal-content {
    position: relative;
    background-color: transparent;
    max-width: 90%;
    max-height: 90vh;
}

#certificateModal .corpo-modal-close {
    position: absolute;
    right: -40px;
    top: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

#modalCertificateImage {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.corpo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.corpo-modal-content {
    position: relative;
    background-color: transparent;
    padding: 20px;
    width: 90%;
    max-width: 800px;
}

.corpo-modal-close {
    position: absolute;
    right: 0;
    top: -40px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.corpo-modal-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.corpo-modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1200px) {
    .corpo-certificates-grid,
    .hidden-certificates {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 992px) {
    .corpo-certificates-grid,
    .hidden-certificates {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .corpo-certificates {
        padding: 2rem 1rem;
    }

    .corpo-certificates-header h2 {
        font-size: 2rem;
    }

    .corpo-certificates-grid,
    .hidden-certificates {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .certificate-card {
        aspect-ratio: 3/4;
    }

    .certificate-content {
        padding: 1rem;
    }

    .certificate-content h3 {
        font-size: 1.1rem;
    }

    .see-more-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    #certificateModal .corpo-modal-close {
        right: 10px;
        top: -40px;
    }
}

@media (max-width: 480px) {
    .corpo-certificates-header h2 {
        font-size: 1.8rem;
    }

    .corpo-certificates-grid,
    .hidden-certificates {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .certificate-card {
        aspect-ratio: 2/3;
    }

    .certificate-content h3 {
        font-size: 1rem;
    }

    .certificate-content p {
        font-size: 0.85rem;
    }

    .view-certificate-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .see-more-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

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

.certificate-image {
    width: 100%;
    height: 65%;
    object-fit: cover;
}

.certificate-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    justify-content: space-between;
}

.view-certificate-btn {
    background: transparent;
    border: 1px solid #0067b8;
    color: #0067b8;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    z-index: 4;
}

.view-certificate-btn:hover {
    background: #0067b8;
    color: white;
}

.hidden-certificates {
    display: none;
    margin-top: 1.5rem;
}

.hidden-certificates.show {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.see-more-container {
    text-align: center;
    margin: 2rem 0;
}

.see-more-btn {
    background: transparent;
    border: 2px solid #0067b8;
    color: #0067b8;
    padding: 0.75rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.see-more-btn:hover {
    background: #0067b8;
    color: white;
}

.see-more-icon {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

@media (max-width: 768px) {
    .see-more-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Certificate Modal Styles */
.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.certificate-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    padding: 20px;
}

.certificate-modal-close {
    position: absolute;
    right: -40px;
    top: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.certificate-modal-close:hover {
    color: #0067b8;
}

#modalCertificateImage {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .certificate-modal-content {
        padding: 15px;
    }

    .certificate-modal-close {
        right: 10px;
        top: -40px;
    }

    #modalCertificateImage {
        max-height: 80vh;
    }
}

@media (min-width: 1200px) {
    .corpo-certificates-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .certificate-content {
        min-height: 100px;
    }
    
    .certificate-content h3 {
        font-size: 1rem;
    }
    
    .certificate-content p {
        font-size: 0.8rem;
    }
}

/* References Styles */
.corpo-references {
    margin-top: 3rem;
    padding: 0 1rem;
}

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

.references-grid {
    display: grid;
   
    gap: 1.25rem;
    width: 100%;
}

.reference-card {
    background: rgb(245, 245, 247);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 200px;
    width: 100%;
}

.reference-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.reference-image-container {
    width: 100%;
    height: 140px;
    background: rgb(245, 245, 247);
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.reference-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.reference-content {
    padding: 0.75rem;
    text-align: center;
}

.reference-content h3 {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

.hidden-references {
    display: none;
    margin-top: 1.5rem;
}

.hidden-references.show {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.see-more-refs-btn {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .reference-card {
        height: 180px;
    }

    .reference-image-container {
        height: 120px;
    }

    .reference-content h3 {
        font-size: 0.8rem;
    }
}

/* Work with Us Section */
.corpo-work-with-us {
    padding: 3rem 0;
    background: #fff;
    position: relative;
    z-index: 1;
}

.work-with-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.work-with-us-form-side {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 3;
}

.work-with-us-content {
    text-align: left;
    position: relative;
    z-index: 3;
}

.work-with-us-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.work-with-us-content > p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.contact-form {
    background: #f8f9fa;
    padding: 1.5rem;
    position: relative;
    z-index: 3;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
    z-index: 4;
}

.form-control:hover {
    border-color: #0067b8;
}

.form-control:focus {
    outline: none;
    border-color: #0067b8;
    box-shadow: 0 0 0 2px rgba(0,103,184,0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.file-upload {
    position: relative;
    width: 100%;
    z-index: 4;
}

.file-upload-label {
    display: block;
    padding: 0.625rem;
    background: #fff;
    border: 1px dashed #ddd;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    z-index: 4;
}

.file-upload-label:hover {
    border-color: #0067b8;
    color: #0067b8;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    position: relative;
    z-index: 4;
}

.consent-group input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.consent-group label {
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    line-height: 1.3;
    user-select: none;
}

.consent-button {
    background: none;
    border: none;
    color: #0067b8;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 5;
}

.consent-button:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: #0067b8;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 4;
}

.submit-btn:hover {
    background: #005299;
}

.submit-btn:active {
    transform: translateY(1px);
}

.work-with-us-image-side {
    flex: 1;
    height: 500px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.work-with-us-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 2rem auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-button:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body h4 {
    color: #333;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.modal-body p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: #666;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .work-with-us-container {
        flex-direction: column-reverse;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .work-with-us-form-side {
        max-width: 100%;
    }

    .work-with-us-image-side {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .corpo-work-with-us {
        padding: 2rem 0;
    }

    .work-with-us-content h2 {
        font-size: 1.75rem;
    }

    .work-with-us-image-side {
        height: 250px;
    }
}
@media (max-width: 1200px) {
    .corpo-certificates-grid,
    .hidden-certificates {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .corpo-certificates-grid,
    .hidden-certificates {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .corpo-certificates {
        padding: 2rem 1rem;
    }

    .corpo-certificates-header h2 {
        font-size: 2rem;
    }

    .corpo-certificates-grid,
    .hidden-certificates {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .certificate-card {
        aspect-ratio: 3/4;
    }

    .certificate-content {
        padding: 1rem;
    }

    .certificate-content h3 {
        font-size: 1.1rem;
    }

    .see-more-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    #certificateModal .corpo-modal-close {
        right: 10px;
        top: -40px;
    }
}

@media (max-width: 560px) {
    .corpo-certificates-header h2 {
        font-size: 1.8rem;
    }
    .corpo-image-wrapper{
        padding: 1rem 0 0 0;
    }
    .corpo-certificates-grid,
    .hidden-certificates {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .certificate-card {
        aspect-ratio: 2/3;
    }

    .certificate-content h3 {
        font-size: 1rem;
    }

    .certificate-content p {
        font-size: 0.85rem;
    }

    .view-certificate-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .see-more-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    .corpo-main {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    .cc-wrapper{
        padding: .2rem 0;
    }

    .corpo-hero,
    .corpo-opportunity {
        flex-direction: column;
        padding: 0 !important;
        min-height: unset;
        width: 100%;
        margin: 0;
    }

    .corpo-content-wrapper {
        width: 100%;
        margin: 0;
        padding: 2rem;
        box-sizing: border-box;
        order: 2;
    }

    .corpo-image-wrapper {
        width: 100%;
        height: 300px;
        margin: 0;
        padding: 0 0 0 0;
        order: 1;
        line-height: 0;
        position: relative;
    }

    .corpo-image-wrapper img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .corpo-hero h1 {
        font-size: 2.5rem;
    }

    .corpo-opportunity h2 {
        font-size: 2rem;
    }

    .corpo-principles {
        padding: 0;
        width: 100%;
        margin: 0;
    }

    .corpo-principles-header {
        margin: 0;
        padding: 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .corpo-principles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0;
        padding: 0;
    }

    .corpo-certificates {
        padding: 2rem 1rem;
    }

    .corpo-certificates-header h2 {
        font-size: 2rem;
    }

    .corpo-certificates-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .certificate-card {
        aspect-ratio: 2/3;
    }

    .certificate-image {
        height: 60%;
    }

    .certificate-content {
        padding: 1rem;
    }

    .certificate-content h3 {
        font-size: 1.1rem;
    }

    .certificate-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .view-certificate-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .references-grid {
        grid-template-columns: 1fr;
    }

    .corpo-certificates-header h2 {
        font-size: 1.8rem;
    }

    .corpo-certificates-grid {
        grid-template-columns: 1fr;
    }

    .certificate-image {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .work-with-us-container {
        padding: 0 1rem;
    }
}

@media (max-width: 992px) {
    html, body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .corpo-main {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .corpo-hero,
    .corpo-opportunity {
        flex-direction: column;
        padding: 0 !important;
        min-height: unset;
        width: 100%;
        margin: 0;
    }

    .corpo-content-wrapper {
        width: 100%;
        margin: 0;
        padding: 2.5rem;
        box-sizing: border-box;
        order: 2;
    }

  

    .corpo-image-wrapper img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .corpo-hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .corpo-hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .corpo-opportunity h2 {
        font-size: 2.2rem;
    }

    .corpo-principles {
        padding: 2rem 0;
    }

    .corpo-principles-header {
        padding: 0 2.5rem;
    }

    .corpo-principles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .corpo-image-wrapper {
        height: 300px;
    }

    .corpo-content-wrapper {
        padding: 2rem;
    }

    .corpo-hero h1 {
        font-size: 2.5rem;
    }

    .corpo-hero p {
        font-size: 1rem;
    }

    .corpo-principles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}
