:root {
    --primary: #1176bc;
    --primary-dark: #2A324B;
    --white: #ffffff;
    --gray-1: #fff;
    --gray-4: #d9d9d9;
    --dark-3: #8c8c8c;
    --yellow: #C4A64E;
    --text-color: #333;
    --button-color: #1176bc;

    --overlay-color: rgba(0, 0, 0, 0.5);
}


* {
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Nunito Sans", serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white-color);
    /*background-color : var(--dark-color);*/
}

p {
    text-align: justify;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .text-center p {
        text-align: center;
    }

    .container p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: justify;
        word-spacing: normal;
        hyphens: auto;
    }
}

h4{
    color: #1a1a2e;
}
ul {
    list-style: none;
}
.precision-badge{
    color: var(--white);
    background-color: var(--primary);
    padding: 0.1rem;
    padding-left: 0.5rem;
    padding-right: 1rem;
    border-radius: 0.3rem;
}

/*Navbar*/
.navbar {
    padding: 1rem;
}

navbar-toggler-icon {
    color: var(--primary);
}

nav-item a {
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--black);
    font-weight: 600;
    margin-top: 0.3rem;
    margin-left: 2rem;
    font-size: 1.25rem;
    padding: 0.5rem 0.5rem !important;
    transition: color 0.3s ease;
}


.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.try-it-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.try-it-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}


/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .culture-gradient {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 1rem;
        border-width: 1px;
    }

    .culture-box {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .culture-box h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .culture-box p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .divider {
        display: none;
    }

    /* Improve spacing between sections on mobile */
    .about-section {
        margin-bottom: 2rem;
    }

    .about-head {
        font-size: 1.75rem;
        margin-top: 1.5rem;
    }

    .about-text {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }

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

    .service-card .card-body {
        padding: 0.75rem;
    }

    .service-card .icon-box {
        width: 32px;
        height: 32px;
    }

    .service-card .service-title {
        font-size: 1.1rem;
    }

    .read-more-link, .read-less-link {
        font-size: 0.9rem;
    }

    .solutions-hero-section,
    .about-hero-section,
    .social-hero-section,
    .career-hero-section {
        height: 30vh;
        padding: 1rem;
    }

    .social-display-4 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .annotation-badge {
        font-size: 1rem;
        padding: 4px 12px;
    }

    .image-classification-card-small,
    .object-detection-card-small,
    .semantic-segmantation-card-small,
    .d-cuboids-card-small {
        height: 150px;
        margin-bottom: 1rem;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 991px) {
    .culture-gradient {
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .culture-box {
        padding: 1.25rem;
    }

    .service-card .collapse.show {
        max-height: 400px;
    }
}

/* Footer */
.footer-section {
    background-color: var(--primary);
    color: white;
    padding: 2rem 0;
    font-family: Arial, sans-serif;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    width: 176px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.footer-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    font-size: 0.75rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}  

/*Social Impact*/
.social-hero-section {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url('/static/images/social.jpg') center/cover;
    color: var(--gray-1);
    display: flex;
    align-items: center;

}

.social-box-1 {
    border-radius: 0.5rem;
    height: 240px;
    background: url('/static/images/handshake.png') center;
    display: flex;
    align-items: center;
}

.social-box-2 {
    border-radius: 0.5rem;
    height: 240px;
    background: url('/static/images/grads.jpg') center;
    display: flex;
    align-items: center;
}


.impact-card {
    background: var(--gray-1);
    border-radius: 0.5rem;
    padding: 10px;
    border: 1px solid var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 95%;
}

.impact-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 15px;
}

.impact-card:hover {
    transform: translateY(-10px);
}

.section-title {
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 2rem;
}

.descriptive {
    background-color: var(--gray-1);
}


/*Solutions*/
.solutions-hero-section {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/images/solution-piston.jpg') center;
    color: var(--gray-1);
    display: flex;
    align-items: center;
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.service-card .card-header {
    background-color: white;
    border-bottom: none;
    padding: 15px;
}

.service-card .card-header h3 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card .card-body {
    padding: 15px;
    border-top: 1px solid rgba(0,0,0,.125);
    transform-origin: top;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card .collapse {
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card .collapse:not(.show) {
    display: block;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
}



.service-card .collapse.show {
    max-height: 300px; /* Adjust based on your content */
    opacity: 1;
    transform: translateY(0);
}

.service-card .icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(17, 118, 188, 0.1);
    margin-right: 10px;
}

.service-card .service-title {
    display: inline;
    margin-left: 8px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-description {
    color: var(--dark-3);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.service-link:hover {
    text-decoration: underline;
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
}

.service-title {
    color: var(--primary);
    font-size: 1.15rem;
}

.sub-heading {
    text-align: center;
    color: var(--dark-3);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.service-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more-link {
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: block;
    margin-top: 8px;
}

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

.read-less-link {
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-align: right;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.read-less-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.modal-title {
    color: var(--primary);
    font-weight: bold;
}

/*About Page*/
.about-hero-section {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url('/static/images/social-impact.png') center/cover;
    color: var(--gray-1);
    display: flex;
    align-items: center;
}
.about-p{
    text-align: left;
}

.about-image {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.about-head {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-color);
    line-height: 1.8;
}

.culture-gradient {
    background: var(--gray-1);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 0.2rem solid var(--primary);
}

.culture-box {
    padding: 1.5rem;
    position: relative;
    background: var(--white);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.culture-box h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.culture-box p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.custom-card {
    margin-bottom: 1rem;
}

.about-highlight {
    color: var(--primary);
    font-weight: 500;
}

.divider {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.75%;
    height: 100%;
    background-color: var(--primary)
}

/* Remove divider from last column */
.col-md-4:last-child .culture-box .divider {
    display: none;
}

/* Responsive adjustments for dividers */
@media (max-width: 767px) {
    .divider {
        display: none;
    }
}

/*Careers Page*/

.career-hero-section {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url('/static/images/career.jpeg') center/cover;
    color: var(--gray-1);
    display: flex;
    align-items: center;
}

.annotation-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 15px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    text-align: center;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.job-card h4 {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

.placeholder-line {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin: 8px 0;
    width: 100%;
}


/*Consult Page*/
.signup-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: var(--primary) solid 2px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--primary);
    font-weight: 600;
}

.required:after {
    content: "*";
    color: #dc3545;
    margin-left: 3px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .signup-container {
        margin: 1rem;
        padding: 1rem;
    }
}

/*Solutions Cards*/
 /*Annotation Cards*/
 .community-card {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 300px;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }

 .agriculture-card {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 300px;
     background-image: url("/static/images/agric3.jpeg");
     background-size: cover;
     background-position: center;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }

 .healthcare-card {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 300px;
     background-image: url("/static/images/healtcare2.jpeg");
     background-size: cover;
     background-position: center;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }

 .automotive-card {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 300px;
     background-image: url("/static/images/gear.jpg");
     background-size: cover;
     background-position: center;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }

 .retail-card {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 300px;
     background-image: url("/static/images/retail2.jpeg");
     background-size: cover;
     background-position: center;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }

 .finance-card {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 300px;
     background-image: url("/static/images/retail.jpeg");
     background-size: cover;
     background-position: center;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }

 .object-detection-card-small {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 200px;
     background-image: url("/static/images/1(5).jpeg");
     background-size: cover;
     background-position: center;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }


 .semantic-segmantation-card-small {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 200px;
     background-image: url("/static/images/1(2).jpeg");
     background-size: cover;
     background-position: center;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }

 .d-cuboids-card-small {
     padding: 1rem;
     border-radius: 0.5rem;
     width: 100%;
     height: 200px;
     background-image: url("/static/images/1(3).jpeg");
     background-size: cover;
     background-position: center;
     background-color: var(--primary);
     margin-bottom: 2rem;
     transition: transform 0.3s ease;
 }



 .annotation-badge {
     background: var(--gray-1);
     color: var(--primary);
     padding: 5px 15px;
     border-radius: 5px;
     font-size: 1.2rem;
     font-weight: 500;
 }

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

 .discord-card {
     background-color: #e5e5e5;
 }

 .contribute-card {
     background: linear-gradient(180deg, #1a1a2e 0%, #2d1f3d 100%);
     color: white;
 }

 .card-title {
     font-size: 2rem;
     font-weight: bold;
     margin: 1.5rem 0;
 }

 .card-text {
     font-size: 1.25rem;
     margin-bottom: 2rem;
     opacity: 0.9;
 }
 
.bullet-list {
    display: inline-block;
    text-align: left;
    margin-top: 0.5rem;
}

.bullet-list-1 {
    display: inline-block;
    text-align: left;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}