/* Morocco Tours Page Styles */

/* Hero Section */
.morocco-hero {
    min-height: 70vh;
    position: relative;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/images/morocco_hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
    position: relative;
    overflow: hidden;
}

.morocco-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(52, 176, 220, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.morocco-hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: #fff;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.morocco-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.morocco-hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Filters Section */
.filters-section {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #34B0DC, #2490b8);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-group select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background: #f8f8f8;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.filter-group select:hover {
    border-color: #34B0DC;
    background-color: #fff;
}

.filter-group select:focus {
    outline: none;
    border-color: #34B0DC;
    box-shadow: 0 0 0 3px rgba(52, 176, 220, 0.1);
}

.reset-filters {
    background: none;
    border: none;
    color: #34B0DC;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.reset-filters:hover {
    color: #2490b8;
    background: rgba(52, 176, 220, 0.1);
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.custom-tour-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.custom-tour-content {
    padding: 40px;
    text-align: center;
}

.custom-tour-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #34B0DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.custom-tour-content h3 {
    font-size: 1.8rem;
    color: #2C5530;
    margin-bottom: 15px;
    font-weight: 700;
}

.custom-tour-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.custom-tour-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2C5530;
}

.feature svg {
    color: #34B0DC;
}

.custom-tour-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-btn, .reset-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn {
    background: #34B0DC;
    color: white;
}

.reset-btn {
    background: #6c757d;
    color: white;
}

.contact-btn:hover, .reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 176, 220, 0.2);
}

.reset-btn:hover {
    background: #5a6268;
}

.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2C5530;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #34B0DC;
    color: white;
}

.no-tours-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.no-tours-message p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.reset-search {
    background: #34B0DC;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-search:hover {
    background: #2490b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 176, 220, 0.2);
}

.tour-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    text-decoration: none;
    display: block;
    color: inherit;
}

.tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
}

.tour-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 176, 220, 0.2);
}

.tour-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.03);
}

.tour-content {
    padding: 20px;
    background: #fff;
    position: relative;
}

.tour-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.4;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #fff;
}

.tour-duration, .tour-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-rating {
    color: #f7a700;
    font-weight: 500;
}

.tour-description {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.tour-price::before {
    content: 'From';
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
}

/* Most Popular Badge */
.tour-card.most-popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #34B0DC, #2490b8);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(52, 176, 220, 0.3);
}

/* Tour Type Badge */
.tour-card .tour-type {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    z-index: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.pagination-button:hover {
    background: #f8f8f8;
    border-color: #34B0DC;
    color: #34B0DC;
}

.pagination-button.active {
    background: #34B0DC;
    color: #fff;
    border-color: #34B0DC;
}


.glance-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
}

.glance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
    max-width: 1200px;
}

.glance-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: none;
}

.glance-item:hover {
    transform: none;
    box-shadow: none;
}

.glance-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.glance-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.glance-content {
    flex: 1;
}

.glance-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.glance-content p {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

/* Reviews Section */
.reviews-section {
    margin-top: 60px;
    background: #fff;
    border-radius: 16px;
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

.reviews-header {
    margin-bottom: 40px;
}

.reviews-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffc107 !important;
    font-size: 1.4rem;
}

.stars .star {
    color: #ffc107 !important;
}

.average-rating {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.review-count {
    color: #666;
    font-weight: 500;
}

.info-icon {
    color: #999;
    cursor: help;
    font-size: 1.1rem;
}

.reviews-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* Reviews Filter */
.reviews-filter {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.reviews-filter h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.filter-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #34B0DC;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-row label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    font-weight: 500;
    min-width: 60px;
    flex-shrink: 0;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    flex: 1;
    min-width: 100px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #ffc107, #ff9800);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.filter-row .count {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    min-width: 40px;
    text-align: right;
    flex-shrink: 0;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.review-stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.review-tour {
    font-size: 0.9rem;
    font-weight: 700;
    color: #34B0DC;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.review-meta {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 12px;
}

.review-meta strong {
    color: #333;
    font-weight: 600;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .morocco-hero h1 {
        font-size: 3.5rem;
    }
    
    .reviews-content {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .morocco-hero h1 {
        font-size: 3rem;
    }
    
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .reviews-filter {
        order: 1;
    }
    
    .reviews-list {
        order: 2;
    }
    
    .glance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .glance-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .review-pagination {
        order: 3;
        margin-top: 25px;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .cities-title {
        font-size: 2rem;
    }
    
    .city-card {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .morocco-hero {
        min-height: 60vh;
    }
    
    .morocco-hero h1 {
        font-size: 2.5rem;
    }
    
    .morocco-hero .subtitle {
        font-size: 1.2rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .tours-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .reviews-title {
        font-size: 1.5rem;
    }
    
    
    .glance-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .glance-item {
        padding: 20px;
        gap: 15px;
    }
    
    .glance-icon {
        width: 45px;
        height: 45px;
    }
    
    .faqs-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 20px 0;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 15px;
    }
    
    
    
    .review-pagination {
        order: 3;
        margin-top: 20px;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .cities-title {
        font-size: 1.5rem;
    }
    
    .city-card {
        height: 200px;
    }
    
    .city-overlay {
        padding: 15px;
    }
    
    .city-name {
        font-size: 1.2rem;
    }
    
    .city-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .morocco-hero h1 {
        font-size: 2rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .tour-content {
        padding: 20px;
    }
    
    .reviews-filter,
    .review-item {
        padding: 20px;
    }
    
    .filter-row {
        gap: 8px;
    }
    
    .glance-item {
        padding: 15px;
        gap: 12px;
    }
    
    .glance-icon {
        width: 40px;
        height: 40px;
    }
    
    .glance-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .glance-content h3 {
        font-size: 0.8rem;
    }
    
    .glance-content p {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 18px 0;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 12px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
    
    .review-pagination {
        order: 3;
        margin-top: 15px;
        gap: 6px;
    }
    
    .review-pagination-button {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 35px;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .city-card {
        height: 180px;
    }
    
    .city-overlay {
        padding: 12px;
    }
    
    .city-name {
        font-size: 1.1rem;
    }
    
    .city-description {
        font-size: 0.8rem;
    }
}

/* Morocco Travel FAQs Section */
.faqs-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #34B0DC;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-question:hover h3 {
    color: #34B0DC;
}

.faq-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.faq-toggle svg {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Review Pagination */
.review-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 20px;
}

.review-pagination-button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    font-size: 0.9rem;
}

.review-pagination-button:hover {
    background: #f8f8f8;
    border-color: #34B0DC;
    color: #34B0DC;
}

.review-pagination-button.active {
    background: #34B0DC;
    color: #fff;
    border-color: #34B0DC;
}


@media (max-width: 600px) {
    .review-pagination, .pagination {
        margin-top: 5px;
        margin-bottom: 50px;
    }

    .faqs-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

section{
    margin-top: 60px !important;
    margin-bottom: 60px !important;
}

@media (max-width: 900px) {
    section{
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
}

@media (max-width: 600px) {
    section{
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
}


.cities-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.city-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.city-content {
    color: #fff;
    text-align: left;
}

.city-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.city-description {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}


/* Tablet responsive - 2 cards per row */
@media (max-width: 1024px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .cities-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .city-card {
        height: 220px;
    }
}

/* Mobile responsive - 1 card per row */
@media (max-width: 600px) {
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cities-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .city-card {
        height: 200px;
    }
    
    .city-overlay {
        padding: 16px;
    }
    
    .city-name {
        font-size: 1.2rem;
    }
    
    .city-description {
        font-size: 0.85rem;
    }
}

/* Purpose Section */
.purpose-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 80px 60px;
    text-align: center;
}

.purpose-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.purpose-logo {
    flex-shrink: 0;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.purpose-text {
    flex: 1;
    text-align: left;
}

.purpose-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

.purpose-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin: 0;
}

.purpose-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #ffc107, #ff9800);
    margin-top: 20px;
}

/* Purpose Section Responsive */
@media (max-width: 992px) {
    .purpose-section {
        padding: 60px 40px;
        margin: 60px 0;
    }
    
    .purpose-content {
        gap: 40px;
    }
    
    .logo-image {
        width: 140px;
        height: 140px;
    }
    
    .purpose-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .purpose-section {
        padding: 50px 30px;
    }
    
    .purpose-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .purpose-text {
        text-align: center;
    }
    
    .logo-image {
        width: 90px;
        height: 90px;
    }
    
    .purpose-title {
        font-size: 1rem;
    }
    
    .purpose-title::after {
        margin: 20px auto 0;
    }
}

@media (max-width: 480px) {
    .purpose-section {
        padding: 40px 20px;
    }
    
    .purpose-content {
        gap: 25px;
    }
    
    .logo-image {
        width: 80px;
        height: 80px;
    }
    
    .purpose-tagline {
        font-size: 0.8rem;
    }
    
    .purpose-title {
        font-size: 1rem;
    }
    
    .purpose-title::after {
        width: 80px;
        height: 3px;
    }
}

/* AI Guide Section */
.ai-guide-section {
    background: white;
    padding: 80px 60px;
    color: #333;
}

.ai-guide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.ai-guide-image {
    flex-shrink: 0;
}

.guide-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
}

.ai-guide-text {
    flex: 1;
}

.guide-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.2;
    color: #1a1a1a;
}

.guide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 32px 0;
    color: #666;
    font-weight: 400;
}

.guide-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    font-size: 1rem;
    width: 40px;
    height: 40px;
    background: #34B0DC;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.chat-button {
    background: #34B0DC;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chat-button::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.chat-button:hover {
    background: #2490b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 176, 220, 0.3);
}

/* AI Guide Section Responsive */
@media (max-width: 992px) {
    .ai-guide-section {
        padding: 60px 40px;
    }
    
    .ai-guide-content {
        gap: 40px;
    }
    
    .guide-image {
        width: 320px;
        height: 320px;
    }
    
    .guide-title {
        font-size: 2.5rem;
    }
    
    .guide-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .ai-guide-section {
        padding: 50px 30px;
    }
    
    .ai-guide-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .guide-image {
        width: 200px;
        height: 200px;
    }
    
    .guide-title {
        font-size: 2rem;
    }
    
    .guide-description {
        font-size: 1rem;
    }
    
    .guide-features {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .ai-guide-section {
        padding: 40px 20px;
    }
    
    .ai-guide-content {
        gap: 30px;
    }
    
    .guide-image {
        width: 180px;
        height: 180px;
    }
    
    .guide-title {
        font-size: 1.8rem;
    }
    
    .guide-description {
        font-size: 0.95rem;
    }
    
    .feature-text {
        font-size: 1rem;
    }
    
    .chat-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}