/* Custom CSS for OptiSol Resource Platform */

:root {
    --primary-blue: #1e88e5;
    --secondary-purple: #8e24aa;
    --success-green: #43a047;
    --warning-orange: #fb8c00;
    --gradient-primary: linear-gradient(135deg, #1e88e5 0%, #8e24aa 100%);
    --gradient-secondary: linear-gradient(135deg, #43a047 0%, #1e88e5 100%);
}

body {
    font-family: 'Figtree', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../../assets/img/bnr.jpg') center/cover no-repeat;
    min-height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.hero-overlay {
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 4.4rem;
}

.hero-subtitle {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2.1rem;
}

.stats-badges {
    margin-top: 2rem;
}

.badge-stat {
    padding: 0px 10px;
    display: inline-flex;
    align-items: center;
    position: relative;
    border: 1px solid #FFFFFF;
    background: #FFFFFF4D;
    border-radius: 30px;
}
.dot-green:before, .dot-blue:before, .dot-purple:before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50px;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 15px;
}
.dot-green:before {
    background: #00EE14;
}
.dot-blue:before {
    background: #03A3FF;
}
.dot-purple:before {
    background: #FF00FF;
}
.badge-stat span {
    padding-left: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    line-height: 2.1rem;
    color: #FFFFFF;
}

/* Technology Tabs */
.tech-profiles-section {
    background: #fff;
    padding-bottom: 90px;
    padding-top: 24px;
}

.tech-tabs {
    gap: 0;
    flex-wrap: wrap;
    border: 1px solid #E7E7E780;
    padding: 0.5rem;
    background: #fff;
    box-shadow: 0px 4px 20px 0px #EDEDEDB2;
    border-radius: 10px;
}
.tech-tab:hover span {
    color: #fff;
}
.tech-tab {
    background: white;
    border: none;
    border-radius: 10px !important;
    padding: 1.25rem 3rem;/*1.25rem 4.375rem*/
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    color: #6c757d;
    text-decoration: none;
}
.nav-link.tech-tab .after-active {
    display: none;
}
.nav-link.tech-tab:hover .before-active, .nav-link.tech-tab:focus .before-active, .nav-link.tech-tab.active .before-active {
    display: none;
}
.nav-link.tech-tab:hover .after-active, .nav-link.tech-tab:focus .after-active, .nav-link.tech-tab.active .after-active {
    display: inline-block;
}
.tech-tab:hover {
    /* transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); */
    background-color: #0561BC;
    color: #fff;
}

.tech-tab.active {
    /* background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.3); */
    background-color: #0561BC !important;
    box-shadow: none;
}

.tech-tab.active:hover {
    color: white;
}

.tech-tab i {
    transition: all 0.3s ease;
}
.tech-tab.active span {
    color: #fff;
}
.tech-tab span {
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #5D5D5D;
}

/* Profile Cards */
.card-data h5 {
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.2;
}
.profile-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px 0px #0000001A;
    border: 1px solid #F5F5F5;
}
.card-header .badge {
    background: #FFDBAC;
    padding: 0.375rem 0.625rem;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.05rem;
    border-radius: 20px;
    color: #000000;
}
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.profile-card .card-body p {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 0.9rem;
}
.profile-card .card-header {
    background: white;
    padding: 1.875rem 1.875rem 1.5rem 1.875rem;
}

.profile-card .card-body {
    padding: 0 1.875rem 1.5rem 1.875rem;
}

.profile-card .card-footer {
    background: white;
    padding: 0 1.875rem 1.875rem 1.875rem;
}

.stars i {
    font-size: 0.9rem;
}
.profile-card .card-body p {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 0.9rem;
}
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
span.Available-pos {
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.225;
    color: #14A800;
}
.tech-tag {
    background: #B8E2FA;
    color: #00446C;
    padding: 0.495rem 0.625rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.05;
}
.intr-txt span {
    color: #5D5D5D;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 0.9;
}
.availability-info {
    font-size: 0.9rem;
}
.card-footer button {
    background: linear-gradient(90deg, #006BA8 0%, #8A3FFC 100%), linear-gradient(0deg, rgba(0, 58, 117, 0.3), rgba(0, 58, 117, 0.3));
    padding: 0.625rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
}
.btn-gradient {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.realtme-content {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.088rem;
    color: #0000008C;
}
.real-timeup {
    border-top: 1px solid #F1F1F1;
}
.btn-gradient:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Tab Content Animation */
.tab-pane {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Call to Action */
.cta-section {
    background: white;
    margin-bottom: 60px;
}

.cta-section h2 {
    font-weight: 700;
    color: #000000;
    font-size: 2.25rem;
    line-height: 2;
}
.specif-skills {
    background: #FAFAFA;
    padding-top: 30px;
    padding-bottom: 30px;
}
.specif-skills p {
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.625rem;
}
.specif-skills a {
    background: linear-gradient(0deg, #0455A7, #0455A7),
linear-gradient(0deg, rgba(0, 58, 117, 0.3), rgba(0, 58, 117, 0.3));
    padding: 15px 43px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    color: #fff;
}
/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #0000001A;
    padding-top: 40px;
    padding-bottom: 80px;
}
p.footer-info, .footer-row2 p a, .footer-row3 ul li a {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.438rem;
    color: #0000008C;
    margin-bottom: 56px;
}
.footer h5, .footer h6 {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.438rem;
    color: #000;
}

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

.social-links a:hover {
    color: var(--primary-blue) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
        line-height: 3.438rem;
        margin-bottom: 10px !important;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 32px !important;
        line-height: 1.8rem;
    }
    
    .stats-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge-stat {
        /* margin-bottom: 0.5rem;
        width: 100%;
        max-width: 300px;
        justify-content: center; */
    }
    
    .tech-tabs {
        justify-content: center;
    }
    
    .tech-tab {
        min-width: 100px;
        padding: 1rem 0.5rem;
    }
    
    .tech-tab span {
        font-size: 0.8rem;
    }
    
    .profile-card .card-header,
    .profile-card .card-body,
    .profile-card .card-footer {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .tech-tabs {
        gap: 0.5rem;
    }
    
    .tech-tab {
        min-width: 80px;
        padding: 0.8rem 0.4rem;
    }
    
    .tech-tab i {
        font-size: 1.2rem !important;
    }
    
    .tech-tags {
        justify-content: start;
    }
    
    .availability-info {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Profile Card Animation Delays */
/* .profile-card:nth-child(1) { */
    /* animation-delay: 0.1s; */
/* } */

/* .profile-card:nth-child(2) { */
    /* animation-delay: 0.2s; */
/* } */

/* .profile-card:nth-child(3) { */
    /* animation-delay: 0.3s; */
/* } */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-purple);
}

/* Tab transition effects */
/* .nav-pills .nav-link { */
    /* transition: all 0.3s ease; */
/* } */

/* .tab-content .tab-pane.show { */
    /* animation: slideInFromBottom 0.4s ease-out; */
/* } */

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*modal*/
/* Request Profile Modal Styles */
.request-profile-modal {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
  }
  .profile-description {
    background: #FAFAFA;
    padding: 1.25rem;
    border-radius: 20px;
}
  .request-profile-modal .modal-header {
    border-bottom: 1px solid #D7DEDD;
    margin: 2.5rem 2.5rem 0 2.5rem;
  }
  
  .request-profile-modal .modal-title {
    color: #000000;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  
  .request-profile-modal .modal-body {
    padding: 1rem 2.5rem 2.5rem 2.5rem;
  }
  
  /* Profile Description */
  .profile-description p {
    color: #212529;
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  /* Core Technologies */
  .core-technologies p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
  }
  
  .tech-tags-modal {
    /* display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; */
  }
  
  .tech-tag-modal {
    /* background: #e3f2fd;
    color: var(--primary-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: none; */
  }
  
  /* Experience Level Button Selection */
  .experience-level p {
    color: #212529;
    font-size: 0.95rem;
  }
  
  .experience-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .experience-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    border-radius: 8px;
    min-width: 100px;
  }
  
  .experience-btn:hover {
    background: #e9ecef;
    border-color: var(--primary-blue);
    color: #495057;
  }
  
  .btn-check:checked + .experience-btn {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
  }
  
  .btn-check:checked + .experience-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
  }
  
  .btn-check {
    display: none;
  }
  
  /* Form Styling */
  .form-label {
    color: #212529;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .form-control-custom {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fafafa;
  }
  
  .form-control-custom:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.15);
    background: white;
  }
  
  .form-control-custom::placeholder {
    color: #adb5bd;
    font-size: 0.85rem;
  }
  
  /* Download Profile Button */
  .btn-download-profile {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: none;
  }
  
  .btn-download-profile:hover {
    background: linear-gradient(135deg, #1976d2 0%, #7b1fa2 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    color: white;
  }
  
  .btn-download-profile:disabled {
    opacity: 0.7;
    transform: none;
  }
  
/* Responsive Design for Modal */
@media (max-width: 767px) {
    .request-profile-modal {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .request-profile-modal .modal-header,
    .request-profile-modal .modal-body {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .experience-radio-group {
        flex-direction: column;
        gap: 1rem;
    }

    .tech-tags-modal {
        justify-content: start;
    }
    body .hero-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .logo {
        margin-bottom: 30px !important;
    }
    .stats-badges {
        gap: 1.5rem !important;
    }
    .specif-skills h2 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px !important;
    }
    
    .specif-skills p {
        font-size: 18px !important;
        margin-bottom: 32px !important;
    }
    
    .specif-skills {
        padding-left: 25px;
        padding-right: 25px;
        margin-left: 30px;
        margin-right: 30px;
    }
    
    .specif-skills a {
        padding: 15px 25px;
    }
    .specif-skills h2 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px !important;
    }
    
    .specif-skills p {
        font-size: 18px !important;
        margin-bottom: 32px !important;
    }
    
    .specif-skills {
        padding-left: 25px;
        padding-right: 25px;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .specif-skills a {
        padding: 15px 25px;
    }
    
    p.footer-info {
        margin-bottom: 32px;
    }
    
    .social-links {
        margin-bottom: 64px;
    }
    
    .footer h6 {
        margin-bottom: 16px !important;
    }
    
    .footer-row3 {
        margin-top: 30px;
    }
    
    .footer {
        padding-bottom: 50px;
    }



    .tech-tabs {
        /* flex-wrap: nowrap; */
      }
    
      .tech-tabs-wrapper {
        overflow-x: auto;
      }
    
      .tech-tabs .nav-item {
        flex: 0 0 auto;
      }
      .tech-tabs-wrapper::-webkit-scrollbar {
        display: none;
      }
      .tech-tabs-wrapper {
        /* -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 0; */
      }
      .tech-prb-row {
        margin-bottom: 24px !important;
    }
    
    .profile-card .card-body {
        padding: 0.75rem 1.875rem 1.875rem 1.875rem;
    }
    
    .profile-card .card-header {
        padding: 1.875rem 1.875rem 0.75rem 1.875rem;
    }
    
    .profile-card .card-footer {
        padding: 0rem 1.875rem 1.875rem 1.875rem;
    }
    
    .real-timeup {
        margin-top: 0 !important;
        padding-top: 80px !important;
        padding-bottom: 80px;
    }
    
    body .tech-profiles-section {
        padding-bottom: 80px;
    }
    body .tech-tags {
        margin-bottom: 68px !important;
    }
    body .request-profile-modal .modal-body {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }
    
    body #modalTechTags {
        margin-bottom: 0 !important;
    }
    
    body .experience-level {
        margin-top: 1.5rem;
    }
    body .request-profile-modal .modal-body {
        padding: 1rem 2.5rem 1.5rem 2.5rem;
    }
    body .request-profile-modal .modal-header {
        margin: 1.5rem 2.5rem 0 2.5rem;
    }
}
/* Responsive Design for Experience Buttons */
@media (max-width: 576px) {
    .experience-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .experience-btn {
        flex: none;
        min-width: auto;
    }
}


.tech-tabs-wrapper {
    /* overflow-x: auto; */
    /* -webkit-overflow-scrolling: touch; */
  }
  
  .tech-tabs {
    /* flex-wrap: nowrap; */
    gap: 10px; /* Optional spacing */
  }
  
  .tech-tabs .nav-item {
    flex: 0 0 auto;
  }
  

  /* Alternative: CSS Grid Approach (even cleaner) */

/* .tech-prb-row .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  } */
  
  .profile-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* .profile-card .card-body {
    display: grid;
    grid-template-rows: auto 1fr auto; 
    padding: 1rem 1.5rem;
  } */
  
  .profile-card .availability-info {
    /* This stays at the bottom */
    align-self: end;
  }
  