/* Features Page Styles */

/* Navigation styles */
.navigation {
    display: flex;
    align-items: center;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Update header to accommodate navigation */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Features Hero Section */
.features-hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8f4fd 100%);
    text-align: center;
}

.features-hero h1 {
    font-size: 2.8rem;
    color: #253B80;
    margin-bottom: 20px;
    font-weight: 700;
}

.features-hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
    transition: transform 0.3s ease;
}

.highlight:hover {
    transform: translateY(-3px);
}

.highlight i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.highlight span {
    color: var(--text-color);
    font-weight: 500;
}

/* Feature Block Styles */
.feature-block {
    padding: 80px 0;
    background: white;
}

.feature-block:nth-child(even) {
    background: var(--light-gray);
}

.feature-block .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-content {
    flex: 1.22; /* 55% of total width */
}

.feature-content h2 {
    font-size: 2.2rem;
    color: #253B80;
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 30px;
}

.benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-color);
}

.benefits i {
    color: #10B981;
    font-size: 0.9rem;
    background: #D1FAE5;
    padding: 5px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-cta {
    margin-top: 30px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.feature-image {
    flex: 0.82; /* 45% of total width */
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    max-height: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.feature-image img:hover {
    transform: scale(1.02);
}

/* Reversed layout for alternating features */
.feature-block.feature-reverse .container {
    flex-direction: row-reverse !important;
}

/* Slideshow Styles */
.feature-slideshow {
    flex: 0.82; /* 45% of total width - same as feature-image */
    position: relative;
    text-align: center;
}

.slides {
    position: relative;
    max-height: 450px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

.slide.active {
    display: block;
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slideshow-controls button {
    background: rgba(74, 144, 226, 0.8);
    color: white;
    border: none;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-controls button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bdc3c7;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
}

/* Roles Grid Styles */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.role-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.15);
}

.role-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.role-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.role-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navigation ul {
        gap: 15px;
    }
    
    .navigation a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .features-hero h1 {
        font-size: 2.2rem;
    }
    
    .features-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-highlights {
        gap: 20px;
    }
    
    .highlight {
        padding: 12px 20px;
    }
    
    .feature-block .container {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
    
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .role-card {
        padding: 25px 15px;
    }
    
    .role-card i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-hero {
        padding: 40px 0 60px;
    }
    
    .features-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .feature-block {
        padding: 60px 0;
    }
}