/* ===== TEAM VISUALIZATION ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.02); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.team-visual {
    padding: 2rem 0;
}

.team-visual svg {
    overflow: visible;
}

.pulse-animation {
    animation: pulse 4s ease-in-out infinite;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.icon-animation {
    animation: iconBounce 3s ease-in-out infinite;
}

/* ===== ICON BOX STYLES ===== */
.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.icon-box i {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

/* Hover effects */
.card:hover .icon-box {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card:hover .icon-box i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* ===== APPROACH VISUAL ===== */
.approach-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Adjust layout for smaller screens */
@media (max-width: 991.98px) {
    .approach-visual {
        height: 350px;
        margin-top: 2rem;
    }
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .approach-visual {
        height: 300px;
        padding: 1rem;
    }
}

.process-circle {
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(0.3s * var(--i));
}

.process-circle span {
    position: relative;
    z-index: 3;
}

.process-dot {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(151, 202, 103, 0.2);
    border-radius: 50%;
    transform: scale(0);
    animation: pulse 2s infinite;
    animation-delay: calc(0.3s * var(--i) + 0.6s);
}

.process-connector {
    position: absolute;
    width: 4px;
    height: 200px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.process-icon {
    position: absolute;
    font-size: 1.5rem;
    color: white;
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(44, 122, 81, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(0.3s * var(--i) + 0.3s);
    z-index: 2;
}

.process-icon[data-step="1"] {
    left: 25%;
    top: 15%;
}

.process-icon[data-step="2"] {
    right: 15%;
    top: 50%;
    transform: translateY(-50%) translateY(20px);
}

.process-icon[data-step="3"] {
    left: 30%;
    bottom: 10%;
}

/* Adjust icon positions for smaller screens */
@media (max-width: 991.98px) {
    .process-icon[data-step="1"] {
        left: 20%;
        top: 15%;
    }
    
    .process-icon[data-step="2"] {
        right: 10%;
        top: 50%;
    }
    
    .process-icon[data-step="3"] {
        left: 25%;
        bottom: 10%;
    }
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .process-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .process-circle {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .process-connector {
        height: 180px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ===== APPROACH HERO ===== */
.approach-hero {
    position: relative;
    background: linear-gradient(135deg, #2c7a51 0%, #97ca67 100%);
    color: white;
    padding: 120px 0 180px;
    overflow: hidden;
}

.approach-hero .hero-content {
    position: relative;
    z-index: 2;
}

.approach-hero .hero-image {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.approach-hero .hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.approach-hero .hero-shape svg {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== PROCESS TIMELINE ===== */
.process-section {
    position: relative;
    background-color: #f8f9fa;
    padding: 100px 0;
    overflow: hidden;
}

.process-section .section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.process-section .section-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.process-section .lead {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 50px;
}

.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(0, 0, 0, 0.08);
    transform: translateX(-50%);
    z-index: 1;
}

.process-line-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
    transition: height 0.8s ease;
    z-index: 2;
}

.process-items {
    position: relative;
    z-index: 3;
}

.process-item {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 80px 0;
    position: relative;
    margin: 0;
    width: 50%;
    opacity: 0.6;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-item:nth-child(odd) {
    left: 0;
    padding-right: 80px;
    text-align: right;
    flex-direction: row-reverse;
}

.process-item:nth-child(even) {
    left: 50%;
    padding-left: 80px;
    text-align: left;
}

.process-item.active {
    opacity: 1;
    transform: translateY(0);
}

.process-item.completed .process-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(26, 42, 108, 0.3);
}

.process-item.completed .process-icon::after {
    opacity: 1;
    transform: scale(1);
}

.process-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    border: 2px solid white;
}

.process-item:nth-child(odd) .process-icon {
    right: -30px;
}

.process-item:nth-child(even) .process-icon {
    left: -30px;
}

.process-icon::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(26, 42, 108, 0.05);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.5);
}

.process-content {
    width: calc(100% - 80px);
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.process-item:hover .process-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.process-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.process-item:hover .process-content h3::after {
    width: 100%;
}

.process-content p {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.7;
}

.process-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.process-features li {
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #495057;
    transition: all 0.3s ease;
}

.process-item:hover .process-features li {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .process-item,
    .process-item:nth-child(odd),
    .process-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
        flex-direction: row;
    }
    
    .process-line {
        left: 30px;
    }
    
    .process-item .process-icon,
    .process-item:nth-child(odd) .process-icon,
    .process-item:nth-child(even) .process-icon {
        left: 0;
        right: auto;
    }
    
    .process-content {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .process-content {
        padding: 20px;
    }
    
    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .process-item,
    .process-item:nth-child(odd),
    .process-item:nth-child(even) {
        padding-left: 60px;
    }
    
    .process-line {
        left: 25px;
    }
}

/* AI Typing Animation */
.ai-baseline {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    padding-right: 20px; /* Add padding to prevent text from being too close to the edge */
}

.typing-dots {
    display: inline-block;
    position: relative;
    width: 20px;
    text-align: left;
    margin-left: 4px;
}

.typing-dots::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: typing 2s infinite;
}

@keyframes typing {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

/* ===== CARDS & SERVICES ===== */
/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    color: #333333;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

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

.cookie-policy-link:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-shrink: 0;
    margin-left: 20px;
    gap: 10px;
}

/* Cookie Consent Buttons */
#cookie-accept {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#cookie-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

#cookie-settings {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#cookie-settings:hover {
    background: rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

#save-cookie-settings {
    padding: 8px 24px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#save-cookie-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

/* Dark mode button adjustments */
@media (prefers-color-scheme: dark) {
    #cookie-settings {
        color: var(--primary);
        border-color: var(--primary);
    }
    
    #cookie-settings:hover {
        background: rgba(40, 167, 69, 0.2);
    }
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.cookie-modal-content {
    background: white;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
}

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

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

.cookie-modal-body {
    padding: 20px;
}

.cookie-modal-body p {
    margin-bottom: 20px;
    color: #555;
}

.form-check {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.form-check:hover {
    background-color: #f8f9fa;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    display: block;
    cursor: pointer;
}

.form-check-label small {
    display: block;
    margin-top: 5px;
}

.cookie-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        margin: 15px 0 0 0;
        width: 100%;
        justify-content: center;
    }
    
        .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        margin: 0;
        padding: 8px 12px;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 0 10px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cookie-consent {
        background: #2d2d2d;
        color: #f0f0f0;
    }
    
    .cookie-modal-content {
        background: #2d2d2d;
        color: #f0f0f0;
    }
    
    .cookie-modal-header,
    .cookie-modal-footer {
        border-color: #444;
    }
    
    .form-check:hover {
        background-color: #3a3a3a;
    }
    
    .form-check-label,
    .cookie-modal-header h5 {
        color: #f0f0f0;
    }
    
    .form-check-label small {
        color: #aaa;
    }
}

/* Impact Cards */
.impact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.impact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    color: white;
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.impact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    opacity: 1;
    transition: opacity 0.4s ease;
}

.impact-icon i {
    position: relative;
    z-index: 1;
}

.impact-card:hover .impact-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.impact-card:hover .impact-icon::before {
    opacity: 0;
}

.impact-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.impact-card p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Flip Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    min-height: 350px;
    border-radius: 12px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 12px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background: white;
    color: var(--primary-dark);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: rotateY(180deg);
    text-align: left;
    justify-content: flex-start;
    padding: 2rem;
    overflow-y: auto;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.flip-card-front h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.flip-card-back h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card-back p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.flip-card-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.flip-card-back ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.flip-card-back ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .impact-card {
        padding: 1.5rem;
    }
    
    .impact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .flip-card {
        min-height: 320px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .impact-card {
        margin-bottom: 1.5rem;
    }
    
    .flip-card {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .impact-card {
        padding: 1.25rem;
    }
    
    .impact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .flip-card {
        min-height: 280px;
    }
    
    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.25rem;
    }
    
    .flip-card-back p,
    .flip-card-back ul li {
        font-size: 0.9rem;
    }
}

/* ===== CORE VALUES ===== */
.core-values-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.core-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2397ca67' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 1;
}

.value-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(151, 202, 103, 0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(151, 202, 103, 0.1), rgba(151, 202, 103, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 20px rgba(151, 202, 103, 0.3);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 0.75rem;
}

.value-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.value-card:hover .value-title::after {
    width: 60px;
    background: var(--primary-dark);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .value-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .value-card {
        margin-bottom: 1.5rem;
    }
}

/* ===== SIMPLIFIED NAVIGATION ===== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    animation: none !important;
}

/* Ensure content doesn't get hidden behind the fixed nav */
body {
    padding-top: 80px; /* Adjust this value based on your nav height */
}

/* Remove any transform/opacity/visibility that might be applied by other styles */
.site-nav.scroll-up,
.site-nav.scroll-down,
.site-nav.hide {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Contact Button */
.nav-button {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.nav-button:hover {
    background: #86b357;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 0.5rem 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary);
    padding-left: 1.75rem;
}

/* Mobile Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 90%;
        max-width: 400px;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link, .nav-button, .dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem !important;
        margin: 0.25rem 0;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0.5rem 0 0 1rem;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-button {
        margin-top: 1rem;
    }
}

/* Main content padding to account for fixed header */
.main-content {
    padding-top: 80px;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 35px;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-nav {
    align-items: center;
}

.nav-item {
    margin: 0 0.25rem;
}

.nav-link {
    color: var(--secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(151, 202, 103, 0.1);
}

.nav-link.active {
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    padding: 0.5rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--text-primary);
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(151, 202, 103, 0.1);
    color: var(--primary);
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--primary);
    color: white;
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border-left: 2px solid var(--primary);
        margin-left: 1rem;
        margin-top: 0;
    }
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 76px;
}

/* ===== HERO SECTION ===== */
.text-gradient {
    background: linear-gradient(90deg, #fff 0%, #c8e6c9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #fff; /* Fallback for browsers that don't support text-fill-color */
    display: inline-block;
}
.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 680px;
    max-height: 1200px;
    color: white;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c7a51 0%, #97ca67 100%);
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.15;
    filter: brightness(1.1) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 122, 81, 0.9) 0%, rgba(151, 202, 103, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.hero-heading {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 2rem 0;
}

.typing-container {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.typed-text {
    display: inline-block;
    position: relative;
    min-width: 300px;
    text-align: left;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.2;
}

.typing-dots {
    display: inline-flex;
    align-items: flex-end;
    margin-left: 20px;
    height: 1em;
    padding-bottom: 1.2rem;
}

.typing-dots span {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    margin: 0 4px;
    opacity: 0;
    animation: dotPulse 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0.1s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
.typing-dots span:nth-child(4) { animation-delay: 0.4s; }
.typing-dots span:nth-child(5) { animation-delay: 0.5s; }
.typing-dots span:nth-child(6) { animation-delay: 0.6s; }
.typing-dots span:nth-child(7) { animation-delay: 0.7s; }
.typing-dots span:nth-child(8) { animation-delay: 0.8s; }

@keyframes dotPulse {
    0%, 100% { 
        transform: translateY(0);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-5px);
        opacity: 1;
        background: var(--secondary-color);
    }
}

/* Adjust animation timing for dots */
.typing-dots span {
    animation: dotPulse 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0.1s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
.typing-dots span:nth-child(4) { animation-delay: 0.4s; }
.typing-dots span:nth-child(5) { animation-delay: 0.5s; }
.typing-dots span:nth-child(6) { animation-delay: 0.6s; }
.typing-dots span:nth-child(7) { animation-delay: 0.7s; }

.hero-content .lead {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: none;
    letter-spacing: 0.5px;
}

.hero-buttons .btn-primary {
    background: #fff;
    color: var(--primary-dark);
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-outline-primary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #fff;
    color: var(--primary-dark);
}

.hero-buttons .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Careers Hero Section */
.careers-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
    margin-top: -80px; /* Compensate for fixed header */
    z-index: 1;
    position: relative;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM60 91c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM35 41c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM12 60c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z' fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.careers-hero .container {
    position: relative;
    z-index: 2;
}

.careers-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.careers-hero p.lead {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.careers-hero .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.careers-hero .btn-primary {
    background-color: white;
    color: var(--primary-dark);
    border: 2px solid white;
}

.careers-hero .btn-outline-light {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.careers-hero .btn-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.careers-hero .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-shape-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-shape-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-shape-bottom .shape-fill {
    fill: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .careers-hero {
        min-height: 70vh;
    }
    
    .careers-hero h1 {
        font-size: 2.8rem;
    }
    
    .careers-hero p.lead {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .careers-hero {
        min-height: 60vh;
    }
    
    .careers-hero h1 {
        font-size: 2.2rem;
    }
    
    .careers-hero p.lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* Form Styling */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(151, 202, 103, 0.25);
}

.was-validated .form-control:invalid,
.was-validated .form-control.is-invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid,
.was-validated .form-control.is-valid,
.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip,
.was-validated .form-check-input:invalid ~ .form-check-label,
.was-validated .form-check-input:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip,
.form-check-input.is-invalid ~ .form-check-label,
.form-check-input.is-invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-feedback {
    display: block;
}

/* Apply Now Buttons */
.careers-page .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.careers-page .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 202, 103, 0.3);
    color: white;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content .lead {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 600px;
        height: auto;
        padding: 120px 0 100px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .scroll-down {
        bottom: 1.5rem;
    }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a {
    display: block;
    width: 30px;
    height: 50px;
    position: relative;
    text-decoration: none;
}

.scroll-indicator span {
    display: block;
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollIndicator 2s infinite;
    opacity: 0;
}

.scroll-indicator span:nth-child(1) {
    top: 10px;
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(2) {
    top: 20px;
    animation-delay: 0.4s;
}

.scroll-indicator span:nth-child(3) {
    top: 30px;
    animation-delay: 0.6s;
}

@keyframes scrollIndicator {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Smooth scrolling for anchor links */
.smooth-scroll {
    transition: all 0.3s ease;
}

.smooth-scroll:hover {
    text-decoration: none;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .card-icon,
.service-card .tech-logo {
    margin: 0 auto 2rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.service-card .card-icon::before,
.service-card .tech-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--primary-light), var(--primary-dark));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .card-icon,
.service-card:hover .tech-logo {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover .card-icon::before,
.service-card:hover .tech-logo::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.service-card .card-icon i,
.service-card .tech-logo i {
    font-size: 2.5rem;
    color: #fff;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card:hover .card-icon i,
.service-card:hover .tech-logo i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.service-card h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.service-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.service-card:hover h4::after {
    width: 60px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.service-card ul li {
    color: #28a745; /* Green color for list items */
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.service-card:hover ul li {
    color: #28a745; /* Keep green color on hover */
    transform: translateX(5px);
    opacity: 1;
}

.service-card .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.service-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.service-card .btn:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card .card-icon,
    .service-card .tech-logo {
        width: 90px;
        height: 90px;
        margin-bottom: 1.5rem;
    }
    
    .service-card .card-icon i,
    .service-card .tech-logo i {
        font-size: 2.2rem;
    }
    
    .service-card h4 {
        font-size: 1.4rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card .card-icon,
    .service-card .tech-logo {
        width: 80px;
        height: 80px;
    }
    
    .service-card .card-icon i,
    .service-card .tech-logo i {
        font-size: 2rem;
    }
}

/* ===== TECHNOLOGY ALLIANCES ===== */
.technology-slider {
    padding: 2rem 0;
}

.slick-slide {
    margin: 0 1rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tech-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-logo {
    margin: 0 auto 2rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.tech-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--primary-light), var(--primary-dark));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-logo:hover {
    transform: translateY(-5px) scale(1.05) rotate(5deg);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.tech-logo:hover::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tech-logo i {
    font-size: 3.5rem;
    color: #fff;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.tech-logo:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.tech-info {
    text-align: center;
}

.tech-info h4 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.tech-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.tech-card:hover .tech-info h4::after {
    width: 60px;
}

.tech-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
    font-weight: 400;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-info p {
    color: rgba(255, 255, 255, 0.9);
}

/* Custom icons for specific partners */
.tech-logo .fa-microsoft {
    color: #00a4ef;
}

.tech-logo .fa-google {
    color: #4285F4;
}

.tech-logo .fa-aws {
    color: #FF9900;
}

.tech-logo .fa-database {
    color: #F80000;
}

.tech-logo .fa-robot,
.tech-logo .fa-brain {
    color: #10a37f;
}

.tech-logo .fa-map-marked-alt {
    color: #7ac142;
}

.tech-logo .fa-hospital {
    color: #e74c3c;
}

.tech-logo .fa-heart {
    color: #e74c3c;
}

/* Slick slider customization */
.slick-prev:before,
.slick-next:before {
    color: var(--primary);
    font-size: 30px;
}

.slick-dots li button:before {
    color: var(--primary);
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: var(--primary);
    opacity: 1;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, #2c7a51 0%, #97ca67 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    color: white;
    transform: translateX(5px);
}

.footer i {
    color: white;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer .text-center {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Footer Hover Effects */
.footer a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.footer a:hover::before {
    visibility: visible;
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer {
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer ul {
        margin-bottom: 2rem;
    }
    
    .footer a:hover {
        transform: none;
    }
    
    .footer a::before {
        display: none;
    }
}

/* ===== CARD STYLES ===== */
:root {
    --primary: #97ca67;
    --primary-dark: #7ab436;
    --secondary: #2C3E50;
    --light: #f8f9fa;
    --dark: #000000;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-radius: 15px;
    --card-padding: 2rem;
    --card-margin: 1.5rem;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    --hover-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Base Card Styles */
.card,
.solution-card,
.service-card,
.tech-card {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    margin-bottom: var(--card-margin);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: var(--box-shadow);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover,
.solution-card:hover,
.service-card:hover,
.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* Card Header */
.card-header {
    padding: 0 0 1rem 0;
    border: none;
    background: transparent;
}

/* Card Body */
.card-body {
    flex: 1;
    padding: 0;
}

/* Card Footer */
.card-footer {
    background: transparent;
    border: none;
    padding: 1rem 0 0 0;
    margin-top: auto;
}

/* Card Icons */
.card-icon,
.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.card:hover .card-icon,
.solution-card:hover .solution-icon {
    transform: rotate(5deg) scale(1.05);
}

/* Card Titles */
.card h3,
.card h4,
.solution-card h4,
.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 600;
    transition: var(--transition);
}

.card:hover h3,
.card:hover h4,
.solution-card:hover h4,
.service-card:hover h4 {
    color: var(--primary);
}

/* Card Text */
.card p,
.solution-card p,
.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Card Lists */
.card ul,
.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.card ul li,
.solution-features li {
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card ul li:before,
.solution-features li:before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Service Card Specific */
.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.service-card .card-icon {
    margin: 0 auto 1.5rem;
}

/* Tech Card Specific */
.tech-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.tech-logo {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    :root {
        --card-padding: 1.75rem;
    }
    
    .card,
    .solution-card,
    .service-card,
    .tech-card {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 768px) {
    :root {
        --card-padding: 1.5rem;
        --card-margin: 1.25rem;
    }
    
    .card h3,
    .card h4,
    .solution-card h4,
    .service-card h4 {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    :root {
        --card-padding: 1.25rem;
        --card-margin: 1rem;
    }
    
    .card-icon,
    .solution-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-card,
    .tech-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ===== TEAM SECTION ===== */
.team-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.team-member {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    margin-bottom: var(--card-margin);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Team Member Image */
.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member:hover img {
    transform: scale(1.05);
}

/* Team Member Info */
.team-member h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-member .position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

/* Team Social Links */
.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    color: var(--secondary);
    transition: var(--transition);
    text-decoration: none;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Team Overlay for Hover Effect */
.position-relative {
    position: relative;
    display: inline-block;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(151, 202, 103, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .team-overlay {
    opacity: 1;
}

/* Social Links in Overlay */
.team-overlay .social-links {
    display: flex;
    gap: 10px;
}

.team-overlay .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.team-overlay .social-links a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.team-member .text-muted {
    color: var(--primary) !important;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin: 0.25rem;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn i {
    transition: transform 0.3s ease;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn:hover i {
    transform: translateX(3px);
}

.hero-buttons .btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 10%, transparent 10.01%) no-repeat 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
    pointer-events: none;
}

.hero-buttons .btn:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

.hero-buttons .btn:hover::before {
    width: 100%;
}

.hero-buttons .btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: white;
}

.hero-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(151, 202, 103, 0.1) 0%, rgba(44, 122, 81, 0.1) 100%);
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.service-category {
    text-align: center;
    margin: 4rem 0 2rem;
    position: relative;
}

.service-category h3 {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    padding: 0.5rem 2rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.service-category::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(44, 122, 81, 0.2), transparent);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.flip-card {
    background: transparent;
    perspective: 1200px;
    height: 100%;
    min-height: 380px; /* Increased height for better content display */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform-style: preserve-3d;
}

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

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transform-style: preserve-3d;
    transform-origin: center center;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2rem 2rem; /* Increased padding for better spacing */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transform: translateZ(0);
    will-change: transform;
    overflow-y: auto; /* Enable scrolling if content is too long */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.flip-card-front::-webkit-scrollbar,
.flip-card-back::-webkit-scrollbar {
    display: none;
}

.flip-card-front {
    background: white;
    color: #2c3e50;
}

.flip-card-back {
    background: linear-gradient(135deg, #2c7a51 0%, #97ca67 100%);
    color: white;
    transform: rotateY(180deg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(151, 202, 103, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, background;
}

/* Front icon hover effect */
.flip-card-front .service-icon {
    transform: scale(1);
    background: rgba(151, 202, 103, 0.1);
}

.flip-card:hover .flip-card-front .service-icon {
    transform: scale(0.9);
    opacity: 0;
}

/* Back icon styling */
.flip-card-back .service-icon {
    transform: scale(0.8);
    opacity: 0;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto 1.5rem;
}

.flip-card:hover .flip-card-back .service-icon {
    transform: scale(1.1);
    opacity: 1;
}

.service-icon i {
    font-size: 2rem;
    color: #2c7a51;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    backface-visibility: hidden;
}

.flip-card-back .service-icon i {
    color: white;
}

.flip-card-back .service-icon {
background: rgba(255, 255, 255, 0.15);
margin: 0 auto 1.5rem;
}

.flip-card-back .service-icon i {
color: white;
}

.flip-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
font-weight: 700;
}

.flip-card-front p {
color: #6c757d;
margin-bottom: 0;
}

.flip-card-back p {
color: rgba(255, 255, 255, 0.9);
margin-bottom: 1.5rem;
text-align: center;
}

.flip-card-back ul {
    padding-left: 0;
    margin: 0 0 1rem 0;
    text-align: left;
    width: 100%;
    list-style: none;
}

.flip-card-back ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.75rem;
}

.flip-card-back ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    margin-top: -0.1em;
}

/* Ensure content is properly spaced */
.flip-card-back h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.flip-card-back p {
    margin-bottom: 1.25rem;
    text-align: center;
    width: 100%;
}

/* Adjust icon size and spacing */
.service-icon {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem; /* Increased bottom margin */
    flex-shrink: 0;
}

/* Ensure text doesn't overflow */
.flip-card h3,
.flip-card p,
.flip-card ul {
    max-width: 100%;
    word-wrap: break-word;
}

.flip-card-back ul li i {
margin-top: 0.25rem;
margin-right: 0.75rem;
flex-shrink: 0;
}

.service-card {
background: white;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
position: relative;
padding-bottom: 80px; /* Space for the button */
}

.service-card .btn {
position: absolute;
bottom: 2rem;
left: 2rem;
right: 2rem;
background: linear-gradient(135deg, #2c7a51 0%, #97ca67 100%);
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 50px;
font-weight: 600;
text-align: center;
text-decoration: none;
transition: all 0.3s ease;
margin-top: auto;
}

.service-card .btn:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
background: linear-gradient(135deg, #1e5a3a 0%, #7cb84d 100%);
color: white;
}

.service-card .btn.btn-outline-light {
background: transparent;
border: 2px solid white;
color: white;
}

.service-card .btn.btn-outline-light:hover {
background: white;
color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
.services-grid {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
  
.service-category h3 {
font-size: 1.5rem;
padding: 0.5rem 1.5rem;
}
}

@media (max-width: 768px) {
.services-section {
padding: 4rem 0;
}
  
.flip-card {
min-height: 260px;
}
  
.flip-card-front,
.flip-card-back {
padding: 1.5rem;
}
  
.service-icon {
width: 70px;
height: 70px;
margin-bottom: 1.25rem;
}
  
.service-icon i {
font-size: 1.75rem;
}
  
.flip-card h3 {
font-size: 1.3rem;
margin-bottom: 0.75rem;
}
}

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

.flip-card {
opacity: 0;
animation: fadeInUp 0.6s ease forwards;
}

.flip-card:nth-child(1) { animation-delay: 0.1s; }
.flip-card:nth-child(2) { animation-delay: 0.2s; }
.flip-card:nth-child(3) { animation-delay: 0.3s; }
.flip-card:nth-child(4) { animation-delay: 0.4s; }

/* ===== PROJECTS SECTION ===== */
.projects-section {
padding: 6rem 0;
position: relative;
overflow: hidden;
}

.projects-map {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}

.projects-map video {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.15;
}

.projects-container {
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
overflow: hidden;
position: relative;
z-index: 2;
margin: 6rem auto 0;
max-width: 1400px;
backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.2);
}

.projects-header {
padding: 3rem 2rem;
text-align: center;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
color: white;
position: relative;
overflow: hidden;
}

.projects-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.1);
z-index: 1;
}

.projects-header h2 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
color: white;
position: relative;
z-index: 2;
}

.projects-header .lead {
font-size: 1.2rem;
opacity: 0.9;
max-width: 700px;
margin: 0 auto;
position: relative;
z-index: 2;
}

.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
padding: 3rem 2rem;
}

.project-item {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
height: 100%;
border: 1px solid #e9ecef;
}

.project-item:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-icon {
    background: var(--primary);
    color: white;
    font-size: 2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.project-item:hover .project-icon {
    transform: rotate(360deg);
    background: var(--primary-dark);
}

.project-content {
    padding: 0 1.5rem 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.project-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.client-name {
    font-weight: 600;
    color: var(--primary) !important;
    margin-top: auto;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-container {
        margin: 4rem 1.5rem 0;
        width: auto;
    }
    
    .projects-header {
        padding: 2.5rem 1.5rem;
    }
    
    .projects-header h2 {
        font-size: 2rem;
    }
    
    .projects-header .lead {
        font-size: 1.1rem;
    }
    
    .project-item {
        margin-bottom: 1.5rem;
    }
    
    .project-item:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .projects-container {
        margin: 3rem 1rem 0;
    }
    
    .projects-header {
        padding: 2rem 1rem;
    }
    
    .projects-header h2 {
        font-size: 1.75rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
    }
    
    .project-item {
        margin-bottom: 1.5rem;
    }
    
    .project-content {
        padding: 0 1.25rem 1.5rem;
    }
    
    .project-content h4 {
        font-size: 1.3rem;
    }
    
    .project-content p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Additional responsive styles */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-line {
        display: none;
    }
    
    .approach-timeline {
        flex-direction: column;
    }
    
    .timeline-item {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
