:root {
    --primary-color: #6366f1;
    --secondary-color: #818cf8;
    --accent-color: #a78bfa;
}

body {
    font-family: 'Roboto', sans-serif;
}

.navbar-brand {
    font-size: 1.5rem;
}

.hero-section {
    position: relative;
    color: #4B0082;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.6) 0%, rgba(240, 248, 255, 0.7) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideShow 20s infinite;
}

.hero-bg-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-bg-slide:nth-child(3) {
    animation-delay: 10s;
}

.hero-bg-slide:nth-child(4) {
    animation-delay: 15s;
}

@keyframes slideShow {
    0% { opacity: 0; }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.service-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-card-placeholder .service-icon {
    color: white;
    font-size: 4rem;
}

.team-card {
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: scale(1.05);
}

.team-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
}

.bio-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 6em;
}

.read-more-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.read-more-link:hover {
    color: #4B0082;
    text-decoration: underline;
}

.case-study-card {
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s;
}

.case-study-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-left-width: 8px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.admin-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.admin-table {
    background: white;
    border-radius: 8px;
}

.btn-admin {
    margin: 5px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
