/* Styles pour le redesign de la page portfolio-details */
/* ------------------------------------------- */

/* Styles généraux */
.text-gradient {
    background: linear-gradient(to right, #0060ff, #0090ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Header moderne */
.modern-header {
    position: relative;
    padding: 100px 0 70px;
    overflow: hidden;
    background: linear-gradient(120deg, #001a33, #003366);
}

.header-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.4;
}

.header-tech-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 144, 255, 0.1) 0%, rgba(0, 144, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.modern-header h1 {
    color: #ffffff;
    font-size: 36px;
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
}

.modern-header .breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.modern-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.modern-header .breadcrumb-item a:hover {
    color: #0090ff;
    text-decoration: none;
}

.modern-header .breadcrumb-item.active {
    color: #ffffff;
}

.modern-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* Section Patterns */
.service-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 20C0 8.954 8.954 0 20 0s20 8.954 20 20-8.954 20-20 20S0 31.046 0 20zm20 16c8.837 0 16-7.163 16-16S28.837 4 20 4 4 11.163 4 20s7.163 16 16 16z" fill="%23f5f8ff" fill-opacity="0.15" fill-rule="evenodd"/></svg>');
    opacity: 0.4;
    z-index: -1;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9faff;
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="%23003366" fill-opacity="0.05" fill-rule="evenodd"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></svg>');
    z-index: -1;
}

/* Section Title */
.section-title {
    margin-bottom: 40px;
    position: relative;
}

.section-title .section-subtitle {
    color: #0060ff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

.section-title h2 {
    font-size: 32px;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

/* Project Gallery */
.main-image {
    transition: all 0.3s ease;
}

.main-image:hover {
    transform: translateY(-5px);
}

.image-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 26, 51, 0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.main-image:hover .image-overlay {
    opacity: 1;
}

.btn-view {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: all 0.3s ease;
}

.main-image:hover .btn-view {
    transform: scale(1);
}

.btn-view:hover {
    background-color: #0060ff;
    color: #ffffff;
}

.gallery-item-wrapper {
    transition: all 0.3s ease;
}

.gallery-item-wrapper:hover {
    transform: translateY(-5px);
}

.gallery-item {
    display: block;
    position: relative;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 26, 51, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: #ffffff;
    font-size: 20px;
}

/* Project Info Card */
.project-info-card {
    background: #ffffff;
    overflow: hidden;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.project-info-header {
    background: linear-gradient(to right, #0060ff, #0090ff);
    color: #ffffff;
    padding: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.header-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
}

.header-icon i {
    font-size: 20px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(8px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.project-info-card h3 {
    margin: 0;
    font-size: 22px;
    color: #ffffff;
}

.project-details-list {
    padding: 25px;
    margin: 0;
    list-style: none;
}

.project-details-list li {
    display: flex;
    margin-bottom: 20px;
}

.project-details-list li:last-child {
    margin-bottom: 0;
}

.detail-icon {
    width: 36px;
    height: 36px;
    background: #f5f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.detail-icon i {
    color: #0060ff;
    font-size: 16px;
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.detail-value {
    font-weight: 500;
    color: #212529;
}

.project-technologies {
    padding: 0 25px 25px;
}

.project-technologies h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
}

.tech-tag {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    background-color: #f5f8ff;
    color: #0060ff;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
}

.client-feedback {
    background-color: #f5f8ff;
    padding: 25px;
    border-left: 4px solid #0060ff;
    margin: 0 25px 25px;
}

.client-feedback h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.rating {
    margin-bottom: 15px;
}

.rating i {
    color: #ffc107;
    margin-right: 2px;
}

.client-feedback blockquote {
    margin: 0;
    padding: 0;
    font-style: italic;
}

.client-feedback cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 500;
}

.project-cta {
    padding: 0 25px 25px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: linear-gradient(to right, #0060ff, #0090ff);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn span {
    position: relative;
    z-index: 2;
}

.cta-btn i {
    margin-left: 10px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 96, 255, 0.2);
    color: #ffffff;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

.cta-btn:hover .btn-glow {
    opacity: 1;
}

/* Project Approach and Challenge Cards */
.challenge-card,
.approach-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.challenge-card:hover,
.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.challenge-card .card-icon {
    background: rgba(220, 53, 69, 0.1);
}

.challenge-card .card-icon i {
    color: #dc3545;
}

.approach-card .card-icon {
    background: rgba(40, 167, 69, 0.1);
}

.approach-card .card-icon i {
    color: #28a745;
}

.card-icon i {
    font-size: 24px;
    position: relative;
    z-index: 2;
}

.challenge-card h3,
.approach-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.challenge-card ul,
.approach-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.challenge-card ul li,
.approach-card ul li {
    margin-bottom: 10px;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 96, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.feature-icon i {
    color: #0060ff;
    font-size: 24px;
    position: relative;
    z-index: 2;
}

.feature-card h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.feature-card p {
    margin-bottom: 0;
    color: #6c757d;
}

/* Metrics Cards */
.metric-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 96, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.metric-icon i {
    color: #0060ff;
    font-size: 24px;
}

.metric-value {
    font-size: 36px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 14px;
    color: #6c757d;
}

/* Technical Challenge Cards */
.challenge-solution-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
}

.challenge-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.challenge-solution-card .card-header {
    background: linear-gradient(to right, #0060ff, #0090ff);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.header-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.header-icon i {
    color: #ffffff;
    font-size: 16px;
}

.challenge-solution-card h4 {
    margin: 0;
    font-size: 18px;
}

.challenge-solution-card .card-body {
    padding: 20px;
}

.challenge,
.solution {
    margin-bottom: 15px;
}

.solution {
    margin-bottom: 0;
}

.challenge h5,
.solution h5 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.challenge h5 {
    color: #dc3545;
}

.solution h5 {
    color: #28a745;
}

.challenge p,
.solution p {
    margin-bottom: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    left: 15px;
    width: 12px;
    height: 12px;
    background: #0060ff;
    border-radius: 50%;
    z-index: 2;
}

.timeline-dot:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 20px;
    height: 20px;
    background: rgba(0, 96, 255, 0.2);
    border-radius: 50%;
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.duration {
    font-size: 14px;
    color: #6c757d;
    margin-left: 10px;
    font-weight: normal;
}

.timeline-content p {
    margin-bottom: 0;
}

/* Conclusion Card */
.conclusion-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.conclusion-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 96, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.conclusion-icon i {
    color: #0060ff;
    font-size: 32px;
    position: relative;
    z-index: 2;
}

.conclusion-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.conclusion-card p {
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Next/Prev Projects */
.next-project-section {
    position: relative;
    overflow: hidden;
}

.next-prev-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-nav {
    display: flex;
    align-items: center;
    padding: 25px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #212529;
}

.project-nav:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #0060ff;
}

.nav-icon {
    width: 50px;
    height: 50px;
    background: #f5f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-project .nav-icon {
    margin-right: 15px;
}

.next-project .nav-icon {
    margin-left: 15px;
}

.project-nav:hover .nav-icon {
    background: #0060ff;
}

.project-nav:hover .nav-icon i {
    color: #ffffff;
}

.nav-icon i {
    color: #0060ff;
    font-size: 18px;
}

.nav-content span {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.nav-content h4 {
    margin: 0;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* Portfolio Cards */
.portfolio-card {
    margin-bottom: 30px;
}

.portfolio-card-inner {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    transition: all 0.5s ease;
    width: 100%;
}

.portfolio-card-inner:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 51, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card-inner:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
}

.overlay-content a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    color: #0060ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card-inner:hover .overlay-content a {
    transform: translateY(0);
    opacity: 1;
}

.overlay-content a:hover {
    background: #0060ff;
    color: #ffffff;
}

.portfolio-content {
    padding: 20px;
}

.category {
    font-size: 14px;
    color: #0060ff;
    margin-bottom: 8px;
}

.portfolio-content h3 {
    margin: 0;
    font-size: 18px;
}

.portfolio-content h3 a {
    color: #212529;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-content h3 a:hover {
    color: #0060ff;
}

.portfolio-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #0060ff, #0090ff);
    transition: all 0.3s ease;
}

.portfolio-card-inner:hover .portfolio-decoration {
    width: 100%;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #001a33, #003366);
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0c11.046 0 20 8.954 20 20s-8.954 20-20 20S0 31.046 0 20 8.954 0 20 0zm0 4C11.163 4 4 11.163 4 20s7.163 16 16 16 16-7.163 16-16S28.837 4 20 4z" fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"/></svg>');
    opacity: 0.6;
}

.cta-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(0, 144, 255, 0.2) 0%, rgba(0, 26, 51, 0) 70%);
}

.cta-wrapper {
    position: relative;
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: rgba(0, 144, 255, 0.1);
}

.cta-shape-2 {
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(0, 144, 255, 0.1);
}

.cta-shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 144, 255, 0.05) 0%, rgba(0, 144, 255, 0) 70%);
}

.cta-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-particle-1 {
    top: 20%;
    left: 10%;
    width: 10px;
    height: 10px;
    animation: float 6s infinite;
}

.cta-particle-2 {
    top: 60%;
    right: 20%;
    width: 15px;
    height: 15px;
    animation: float 8s infinite;
}

.cta-particle-3 {
    bottom: 10%;
    left: 30%;
    width: 12px;
    height: 12px;
    animation: float 7s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.cta-circuit-line {
    position: absolute;
    background: rgba(0, 144, 255, 0.1);
}

.cta-circuit-1 {
    top: 30%;
    left: 0;
    width: 100px;
    height: 1px;
}

.cta-circuit-2 {
    bottom: 40%;
    right: 0;
    width: 150px;
    height: 1px;
}

.cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
}

.cta-icon i {
    font-size: 32px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.cta-icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(10px);
    animation: pulse 2s infinite;
}

.cta-wrapper h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-wrapper p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.cta-btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn-primary {
    background: #0060ff;
    color: #ffffff;
}

.cta-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn i {
    margin-left: 10px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn-primary:hover {
    background: #0056e0;
    color: #ffffff;
}

.cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0060ff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0056e0;
    color: #ffffff;
    transform: translateY(-5px);
}

.back-to-top-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 96, 255, 0.5);
    border-radius: 50%;
    filter: blur(10px);
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 991px) {
    .modern-header {
        padding: 80px 0 50px;
    }
    
    .modern-header h1 {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .cta-wrapper h2 {
        font-size: 32px;
    }
    
    .next-prev-wrapper {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .modern-header {
        padding: 60px 0 40px;
    }
    
    .modern-header h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .cta-wrapper h2 {
        font-size: 28px;
    }
    
    .cta-wrapper p {
        font-size: 16px;
    }
    
    .project-nav {
        width: 100%;
    }
    
    .nav-content h4 {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .modern-header h1 {
        font-size: 24px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
    }
    
    .feature-card,
    .metric-card {
        margin-bottom: 15px;
    }
    
    .timeline:before {
        left: 12px;
    }
    
    .timeline-dot {
        left: 7px;
    }
} 