:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --accent: #f59e0b;
    --danger: #ef4444;
}
.tab-container {
    display: flex;
    flex-direction: row;
    flex: 1;
    margin: 40px auto;
    max-width: 1400px;
    width: 95%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

/* Side Tabs */
.side-tabs {
    width: 280px;
    background: var(--primary-light);
    padding: 30px 0;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    margin-bottom: 5px;
}

.tab-button:hover {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.tab-button.active {
    background-color: var(--primary);
    color: white;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    transform: translateX(5px);
}

.tab-button i {
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Tab icon placeholders using emoji */
.tab-button::before {
    content: attr(data-icon);
    display: inline-block;
    width: 24px;
    margin-right: 10px;
    text-align: center;
}

/* Content Area */
.tab-content-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.tab-content {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

.tab-header {
    padding: 30px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    font-family: 'Outfit';
}

.tab-header h2::after {
    content: '';
    height: 5px;
    width: 50px;
    background: var(--accent);
    display: block;
    margin-left: 15px;
    border-radius: 10px;
}

.tab-body {
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow-y: auto;
    max-height: calc(100vh - 300px);
}

@media (min-width: 992px) {
    .tab-body {
        flex-direction: row;
        gap: 40px;
    }
}

.tab-info {
    flex: 1;
}

.tab-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .tab-image {
        margin-top: 0;
    }
}

.tab-info p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--dark);
    line-height: 1.8;
    font-family: 'Outfit';
}

.feature-list {
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: bold;
}

.tab-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: all 0.5s ease;
    border: 8px solid white;
}

.tab-image img:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Call to action button */
.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    background: var(--primary);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.3);
    transform: translateY(-3px);
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .tab-container {
        flex-direction: column;
        margin: 20px auto;
    }
    
    .side-tabs {
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .tab-button {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        border-radius: 30px !important;
        padding: 10px 20px;
        margin: 0 5px;
        transform: none !important;
    }
    
    .tab-button.active {
        border-radius: 30px !important;
        transform: none !important;
    }
    
    .tab-header {
        padding: 20px;
    }
    
    .tab-body {
        padding: 20px;
        max-height: none;
    }
}

/* Credit for photos */
.photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.4);
}