/* Global Styles */
:root {
    --primary-color: #ffc107;
    --secondary-color: #343a40;
    --background-color: #212529;
    --gradient: linear-gradient(135deg, #ffafbd, #ffc3a0);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Section */
header {
    background-color: var(--secondary-color);
    padding: 50px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 600;
    font-size: 2rem;
}

header .lead {
    color: #fff;
    font-weight: 300;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    padding-right: 50px;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: 50px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    padding: 65px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.timeline-content {
    flex-basis: 45%;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.timeline-content p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 300;
}

/* Subscribe Section */
.subscribe-section {
    background-color: var(--secondary-color);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.subscribe-btn {
    background-image: var(--gradient);
    border: none;
    color: #fff;
    padding: 12px 40px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    z-index: 1;
}

.subscribe-btn:hover {
    background-color: #ffafbd;
    color: #000;
    box-shadow: 0 8px 15px rgba(255, 175, 189, 0.5);
}

/* Responsive Design - Mobile & Tablet */
@media only screen and (max-width: 768px) {
    header {
        padding: 30px 0;
    }

    .gradient-text {
        font-size: 1.5rem;
    }

    .timeline::before {
        left: 10px;
        width: 2px;
    }

    .timeline-item {
        flex-direction: column;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 30px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 0;
    }

    .timeline-item::after {
        left: 10px;
        width: 10px;
        height: 10px;
    }

    .timeline-content {
        flex-basis: 100%;
        margin-left: 30px;
    }

    .timeline-icon {
        font-size: 2rem;
        padding: 40px;
    }

    .subscribe-section {
        padding: 30px 20px;
    }

    .subscribe-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .timeline::before {
        left: 5px;
    }

    .timeline-item::after {
        left: 5px;
        width: 8px;
        height: 8px;
    }

    .timeline-content {
        margin-left: 15px;
    }
}

/* Hide Image for Smaller Screens */
@media only screen and (max-width: 768px) {
    .timeline-icon {
        display: none; /* Hides the image for screens smaller than 768px (tablets and below) */
    }
}

@media only screen and (max-width: 480px) {
    .timeline-icon {
        display: none; /* Hides the image for screens smaller than 480px (mobile) */
    }
}