/* ===== Base Styles ===== */
:root {
    --primary-color: #1a3e72;
    --primary-light: #2a56a0;
    --secondary-color: #FFD700;
    --accent-color: #008080;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== Header Styles ===== */
.header {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1020;
    background: white;
}

.navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 8px 16px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 16px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 32px);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 100px 0;
    background-color: #f9fbfd;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .text-primary {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.hero-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-search .form-control {
    height: 56px;
    border-radius: 6px 0 0 6px;
    border-right: none;
    font-size: 1rem;
}

.hero-search .btn {
    height: 56px;
    border-radius: 0 6px 6px 0;
    padding: 0 24px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Section Styles ===== */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* ===== How It Works ===== */
.work-step {
    background: white;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.work-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.step-number {
    position: absolute;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background: var(--secondary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -10px;
    right: -15px;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-description {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rating {
    color: var(--secondary-color);
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.client-location {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* ===== Animations ===== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ===== Responsive Styles ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .work-step {
        margin-bottom: 20px;
    }
}


/* About Page Styles */
.about-hero {
    background-color: #f0f4f8;
    background-image: linear-gradient(to right, #f0f4f8, #ffffff);
}

.about-story {
    background-color: #fff;
}

.mission-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.team-member {
    text-align: center;
}

.team-member-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .mission-card {
        margin-bottom: 20px;
    }
    
    .team-member-img {
        width: 120px;
        height: 120px;
    }
}