body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f6f8;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #e8ebf0;
}

.logo img {
    height: 80px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: #0059ff;
    background-color: white;
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid transparent;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #0059ff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover,
nav a.active {
    background: linear-gradient(90deg, #8dadec, #0059ff);
    color: white;
    border-color: #0059ff;
}

nav a:hover::after,
nav a.active::after {
    width: 80%;
}

/* Main Container */
.mainbox {
    margin: 30px 100px;
    padding-bottom: 50px;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(90deg, #dce9ff, #c4daff);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-title h1 {
    color: #1a2a5a;
    margin: 0 0 10px 0;
    font-size: 2.5rem;
}

.page-title p {
    color: #0059ff;
    margin: 0;
    font-size: 1.2rem;
    font-style: italic;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Step Card */
.step-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0059ff, #1a2a5a);
    transition: width 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 12px 30px rgba(0,89,255,0.15);
}

.step-card:hover::before {
    width: 8px;
}

/* Step Number */
.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #0059ff, #1a2a5a);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,89,255,0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(0,89,255,0.4);
}

/* Step Content */
.step-content {
    flex: 1;
}

.step-content h2 {
    color: #1a2a5a;
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.step-card:hover .step-content h2 {
    color: #0059ff;
}

.step-content p {
    color: #555;
    margin: 0 0 15px 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Action Tag */
.step-action {
    display: flex;
}

.action-tag {
    background: linear-gradient(90deg, #dce9ff, #c4daff);
    color: #0059ff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-card:hover .action-tag {
    background: linear-gradient(90deg, #0059ff, #1a2a5a);
    color: white;
    transform: translateX(5px);
}

/* Alternating card colors for variety */
.step-card:nth-child(even) {
    background: linear-gradient(135deg, #fafbff 0%, #f5f8ff 100%);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #1a2a5a 0%, #0059ff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,89,255,0.3);
}

.cta-section h2 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 2rem;
}

.cta-section p {
    color: #c4daff;
    margin: 0 0 25px 0;
    font-size: 1.2rem;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #0059ff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.cta-btn:hover {
    background: #c4daff;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 1100px) {
    .mainbox {
        margin: 20px 50px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mainbox {
        margin: 20px;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-title h1 {
        font-size: 1.8rem;
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .step-action {
        justify-content: center;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
}