﻿






.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-breadcrumb {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 800;
    text-align: center;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: #06232f;
    margin-bottom: 20px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.divider-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(to left, var(--primary-color), transparent);
}

    .divider-line.right {
        background: linear-gradient(to right, var(--primary-color), transparent);
    }

.divider-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #007a33 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 149, 63, 0.3);
}

    .divider-icon svg {
        width: 24px;
        height: 24px;
        fill: white;
    }

/* Projects Grid */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 26px auto; 
}
/* Project Card */
.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }

/* Project Image Container */
.project-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Project Logo */
.project-logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30%;
    height: 75px;
    background: white;
    border-radius: 15px;
    padding: 12px;
    box-shadow: 0 6px 25px rgba(6, 35, 47, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

    .project-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Project Badge */
.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(var(--primary-color), 0.3);
    z-index: 2;
}

/* Project Content */
.project-content {
    padding: 15px 30px 20px 30px;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    color: #06232f;
    margin-bottom: 7px;
    line-height: 1.4;
}

.project-description {
    font-size: 15px;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 7px;
}

/* Project Info Grid */
.project-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.project-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-info-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.project-info-value {
    font-size: 13px;
    color: #06232f;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-info-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary-color);
}

/* Progress Bar */
.project-progress {
    margin-bottom: 25px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    font-size: 13px;
    color: #495057;
    font-weight: 500;
}

.progress-percentage {
    font-size: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.progress-bar-container {
    height: 10px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #007a33 100%);
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

    .progress-bar-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Dates */
.project-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 15px;
    background: #f0f9f4;
    border-radius: 10px;
    border-right: 4px solid var(--secondary-color);
}

.project-date {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-label {
    font-size: 12px;
    color: #6c757d;
}

.date-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Details Button */
.project-details-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .project-details-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .project-details-btn:hover::before {
        width: 300px;
        height: 300px;
    }

    .project-details-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgb(73 145 179);
    }

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.project-details-btn:hover .btn-icon {
    transform: translateLeft(5px);
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--base-bg)  100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 149, 63, 0.35);
}

    .view-all-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 149, 63, 0.45);
    }

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

    .project-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .modal-close:hover {
        background: var(--primary-color);
        transform: rotate(90deg);
    }

        .modal-close:hover svg {
            stroke: white;
        }

.modal-header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.modal-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.modal-body {
    padding: 40px;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #06232f;
    margin-bottom: 20px;
}

.modal-description {
    font-size: 16px;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.modal-detail-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-right: 4px solid var(--secondary-color);
}

.modal-detail-label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
}

.modal-detail-value {
    font-size: 18px;
    font-weight: 600;
    color: #06232f;
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-title {
        font-size: 24px;
    }
}






/*// css form valeu*/






/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}



.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.decoration-line {
    height: 1px;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--primary-color));
}

.decoration-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-icon-inner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 20px 0;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

/* Card Styles */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 400px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px -15px rgba(93, 208, 240, 0.4);
}

    .card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 30px 70px -20px var(--base-bg);
    }

/* Different gradients for each card based on logo colors */
.card-1, .card-4 {
    background: linear-gradient(135deg, var(--base-bg) 0%, var(--primary-color) 100%);
    border-color: #eee;
}

.card-2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--base-bg) 100%);
    border-color: #eee;
}

.card-3 {
    background: linear-gradient(135deg, var(--base-bg) 0%, var(--primary-color) 100%);
    border-color: #eee;
}

/* Arrow Icon */
.card-arrow {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.card:hover .card-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(45deg);
}

.card-arrow svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2.5;
    fill: none;
}

/* Background Pattern */
.card-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Card Content */
.card-content {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    z-index: 2;
}

/* Background Large Icon */
.card-bg-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2;
}

    .card-bg-icon svg {
        width: 200px;
        height: 200px;
        stroke: white;
        stroke-width: 0.5;
        fill: none;
    }

/* Main Icon */
.card-icon {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.card:hover .card-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(6deg);
}

.card-icon svg {
    width: 48px;
    height: 48px;
    stroke: white;
    stroke-width: 1.5;
    fill: none;
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Card Title */
.card-title {
    position: relative;
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    z-index: 5;
}

.card:hover .card-title {
    transform: scale(1.05);
}

/* Card Description */
.card-description {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
    max-width: 280px;
    transition: all 0.3s ease;
    z-index: 5;
}

.card:hover .card-description {
    color: white;
}

/* Bottom Gradient Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-overlay {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cards-grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card {
        min-height: 350px;
    }

    .card-title {
        font-size: 28px;
    }

    .card-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {


    .section-title {
        font-size: 28px;
    }

    .card-content {
        padding: 30px;
    }
}

/* Card Styles */
.role-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

    .role-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--base-bg)0%, var(--primary-color) 50%, #2563EB 100%);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s ease;
    }

    .role-card:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .role-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 60px rgba(93, 208, 240, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
      
        border-color: rgba(var(--primary-color),0.3);
    }

/* Background Accent */
.card-bg-accent {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(93, 208, 240, 0.08), transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.role-card:hover .card-bg-accent {
    transform: scale(1.5);
    opacity: 0.5;
}

/* Icon Container */
.card-icon2 {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--base-bg) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(93, 208, 240, 0.25), inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}

    .card-icon2::before {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 24px;
        background: linear-gradient(135deg, var(--primary-color)2b, #dc354533);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

.role-card:hover .card-icon2 {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(93, 208, 240, 0.35), inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}

    .role-card:hover .card-icon2::before {
        opacity: 1;
    }

.card-icon2 svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Card Content */
.card-content2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Role Badge */
.role-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 18px;
    background: linear-gradient(135deg, #ffcfc8, #fdc8cd);
    border-radius: 10px;
    color: var(--base-bg);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border: 1px solid rgba(93, 208, 240, 0.2);
}

.role-card:hover .role-badge {
    background: linear-gradient(135deg, var(--primary-color)2b, #dc354533);
    border-color: var(--primary-color)2b;
    transform: translateX(-3px);
}

/* Role Title */
.role-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--base-bg);
    margin-bottom: 16px;
    line-height: 1.5;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
}

.role-card:hover .role-title {
    color: var(--base-bg);
}

/* Divider Line */
.title-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--base-bg), var(--primary-color));
    border-radius: 10px;
    margin-bottom: 18px;
    transition: all 0.4s ease;
}

.role-card:hover .title-divider {
    width: 80px;
}

/* Role Description */
.role-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    font-weight: 400;
    transition: all 0.3s ease;
}

.role-card:hover .role-description {
    color: #64748b;
}

/* Arrow Indicator */
.arrow-indicator {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-10px);
    border: 2px solid #e2e8f0;
}

.role-card:hover .arrow-indicator {
    opacity: 1;
    transform: translateX(0);
    background: linear-gradient(135deg, var(--base-bg), var(--primary-color));
    border-color: transparent;
}

.arrow-indicator svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    stroke-width: 2.5;
    fill: none;
    transition: all 0.3s ease;
}

.role-card:hover .arrow-indicator svg {
    stroke: white;
    transform: translateX(3px);
}

/* Number Badge */
.card-number {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.role-card:hover .card-number {
    background: linear-gradient(135deg, var(--base-bg), var(--primary-color));
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.fa-angle-up:before, .fa-air-freshener:before, .fa-spray-can-sparkles:before, .fa-adjust:before, .fa-circle-half-stroke:before {
    color: white;
}

/* Responsive Design */


@media (max-width: 768px) {

    .role-card {
        padding: 40px 32px;
        min-height: 340px;
    }

    .card-icon2 {
        width: 70px;
        height: 70px;
    }

        .card-icon2 svg {
            width: 36px;
            height: 36px;
        }

    .role-title {
        font-size: 22px;
    }

    .role-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {



    .role-card {
        padding: 35px 28px;
    }

    .card-icon2 {
        width: 65px;
        height: 65px;
    }

        .card-icon2 svg {
            width: 32px;
            height: 32px;
        }

    .role-title {
        font-size: 20px;
    }

    .card-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: 25px;
        left: 25px;
    }

    .arrow-indicator {
        width: 40px;
        height: 40px;
        bottom: 35px;
        left: 35px;
    }
}