/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #0D3458 0%, #1a5c99 100%);
    color: white;
    padding: clamp(4rem, 15vh, 8rem) 2rem;
    text-align: center;
}

.about-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    opacity: 0.9;
}

/* Mission Section */
.about-section {
    padding: clamp(3rem, 10vh, 6rem) 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.text-content {
    width: 100%;
}

.section-title {
    color: #0D3458;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-paragraph {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.stat-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 174, 222, 0.1), rgba(13, 52, 88, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(122, 174, 222, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.stat-card:hover .material-symbols-outlined {
    transform: scale(1.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin: 0.5rem 0;
    line-height: 1;
    background: linear-gradient(135deg, #0D3458, #7aaede);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.stat-label {
    color: var(--color-secondary);
    font-size: 1.1rem;
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-label {
    transform: translateY(-2px);
}

/* Updated Services Section */
.services-section {
    background-color: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 174, 222, 0.1), rgba(13, 52, 88, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #7aaede;
    box-shadow: 0 8px 20px rgba(122, 174, 222, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .material-icons {
    font-size: 2.5rem;
    color: #7aaede;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .material-icons {
    transform: scale(1.1);
}

.service-card h3 {
    color: #0D3458;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    margin: 0;
}

/* Add subtle animation for card content */
.service-card .material-icons,
.service-card h3,
.service-card p {
    transition: transform 0.3s ease;
}

.service-card:hover .material-icons,
.service-card:hover h3,
.service-card:hover p {
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #7aaede 0%, #0D3458 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: #0a2845;
    border-color: #0a2845;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 52, 88, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-content {
        flex-direction: column;
        gap: 2rem;
    }

    .image-content {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* Active state for cards */
.service-card:active {
    transform: translateY(-2px);
    border-color: #0D3458;
    box-shadow: 0 4px 12px rgba(13, 52, 88, 0.15);
}

/* Service Card Click Animation */
.card-click {
    animation: cardClick 0.3s ease;
}

@keyframes cardClick {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

/* Modal Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal.show {
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.service-modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    line-height: 1.2;
}

.close-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.close-modal span {
    transition: transform 0.3s ease;
}

.close-modal:hover span {
    transform: rotate(90deg);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.feature-list span {
    color: var(--color-primary);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
    }
}

.modal-header .header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-header .header-content span {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Team Section Styling */
.team-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.team-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.portrait-container {
    flex: 0 0 300px;
    position: relative;
}

.portrait-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13, 52, 88, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portrait-container:hover .portrait-image {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(13, 52, 88, 0.2);
}

.team-text {
    flex: 1;
}

.team-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.team-text .section-paragraph {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.team-text .section-paragraph:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-content {
        gap: 3rem;
    }

    .portrait-container {
        flex: 0 0 250px;
    }

    .portrait-image {
        height: 375px;
    }
}

@media (max-width: 768px) {
    .team-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .portrait-container {
        flex: 0 0 auto;
        width: 220px;
        margin: 0 auto;
    }

    .portrait-image {
        height: 330px;
    }

    .team-text .section-title,
    .team-text .section-paragraph {
        text-align: center;
    }
}

/* Decorative elements for Who We Are */
.team-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(122, 174, 222, 0.08), rgba(13, 52, 88, 0.08));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: -200px;
    left: -200px;
    animation: morph 15s ease-in-out infinite;
    z-index: 1;
}

.team-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(13, 52, 88, 0.08), rgba(122, 174, 222, 0.08));
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    bottom: -150px;
    right: -150px;
    animation: morph 15s ease-in-out infinite reverse;
    z-index: 1;
}

/* Dot patterns */
.team-section .dot-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--color-primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 1;
}

.team-section .dot-pattern-1 {
    top: 20%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.team-section .dot-pattern-2 {
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

/* Lines decoration */
.team-section .line-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(122, 174, 222, 0.1);
    z-index: 1;
}

.team-section .line-square {
    top: 10%;
    left: 20%;
    border-radius: 15px;
    animation: rotate 20s linear infinite;
}

.team-section .line-circle {
    bottom: 15%;
    right: 15%;
    border-radius: 50%;
    animation: rotate 25s linear infinite reverse;
}

/* Animations */
@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Values Section */
.values-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.values-section::before,
.values-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(122, 174, 222, 0.08), rgba(13, 52, 88, 0.08));
    border-radius: 50%;
    z-index: 0;
}

.values-section::before {
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.values-section::after {
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 174, 222, 0.1), rgba(13, 52, 88, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(122, 174, 222, 0.2);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card .material-icons {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
    position: relative;
    transition: transform 0.3s ease;
}

.value-card:hover .material-icons {
    transform: scale(1.1);
}

.value-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    position: relative;
}

.value-card p {
    color: var(--color-secondary);
    line-height: 1.6;
    position: relative;
}

/* Journey Section with both patterns and timeline */
.journey-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

/* Decorative Background Elements */
.journey-section::before,
.journey-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(122, 174, 222, 0.1), rgba(13, 52, 88, 0.1));
    z-index: 0;
}

.journey-section::before {
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.journey-section::after {
    bottom: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

/* Floating Dots */
.journey-section .dot-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--color-primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.dot-pattern-1 {
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.dot-pattern-2 {
    bottom: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

/* Timeline Styles */
.timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--color-primary);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 15px rgba(13, 52, 88, 0.3);
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.95);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(122, 174, 222, 0.2);
}

.timeline-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--color-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Animation for floating elements */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        margin-left: 60px;
    }
}

/* Combined Story Section */
.story-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(13, 52, 88, 0.03), rgba(122, 174, 222, 0.03));
}

/* Decorative Elements */
.story-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(122, 174, 222, 0.08), rgba(13, 52, 88, 0.08));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: -200px;
    left: -200px;
    animation: morph 15s ease-in-out infinite;
    z-index: 1;
}

/* Story Content */
.story-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.portrait-container {
    flex: 0 0 300px;
}

.story-text {
    flex: 1;
}

/* Subsection Titles */
.subsection-title {
    text-align: center;
    color: var(--color-primary);
    font-size: 2rem;
    margin: 5rem 0 3rem;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Values Container */
.values-container {
    margin-top: 6rem;
    position: relative;
    z-index: 2;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Journey Container */
.journey-container {
    margin-top: 6rem;
    position: relative;
    z-index: 2;
}

/* Update existing timeline styles */
.timeline {
    max-width: 900px;
    margin: 3rem auto 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-content {
        gap: 3rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .story-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .portrait-container {
        width: 220px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .story-text .section-title,
    .story-text .section-paragraph {
        text-align: center;
    }
}

/* Keep existing animations */
@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

/* Enhanced Timeline Styling */
.timeline-content.highlight-content {
    border-left: 3px solid var(--color-primary);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
}

.client-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(13, 52, 88, 0.05);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.client-badge .material-icons {
    font-size: 1.1rem;
    color: #4CAF50;
}

/* Update timeline spacing for more entries */
.timeline-item {
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Milestone Timeline Dots */
.milestone-dot {
    background: var(--color-primary) !important;
    position: relative;
    box-shadow: 0 0 15px var(--color-primary);
}

/* Sunray effect with circular mask */
.milestone-dot::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    left: -100%;
    top: -100%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            var(--color-primary) 20deg,
            transparent 40deg,
            var(--color-primary) 60deg,
            transparent 80deg,
            var(--color-primary) 100deg,
            transparent 120deg,
            var(--color-primary) 140deg,
            transparent 160deg,
            var(--color-primary) 180deg,
            transparent 200deg,
            var(--color-primary) 220deg,
            transparent 240deg,
            var(--color-primary) 260deg,
            transparent 280deg,
            var(--color-primary) 300deg,
            transparent 320deg,
            var(--color-primary) 340deg,
            transparent 360deg);
    opacity: 0.15;
    animation: spin 10s linear infinite;
    z-index: -1;
    -webkit-mask-image: radial-gradient(circle, black 20%, transparent 70%);
    mask-image: radial-gradient(circle, black 20%, transparent 70%);
}

/* Pulsing glow */
.milestone-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--color-primary);
    border-radius: 50%;
    filter: blur(5px);
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.5);
    }
}

/* Mobile Timeline Adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-dot,
    .milestone-dot {
        left: 30px;
    }

    .timeline-content,
    .timeline-content.highlight-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 15px !important;
        /* Add right margin for breathing room */
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item .timeline-content.highlight-content {
        margin-right: 15px;
        margin-left: 60px;
    }

    /* Ensure consistent spacing for all timeline items */
    .timeline-item {
        padding-right: 15px;
        /* Add padding to prevent content from touching screen edge */
    }
}