/*--------------------------------------------------------------
# Dubai Project Detail Page Styles
--------------------------------------------------------------*/

/* Mobile Price Bar - Desktop'ta gizli */
.mobile-price-bar {
    display: none;
}

/* Project Hero Section */
.project-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.project-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.project-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 0 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
}

.project-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.project-left-info {
    display: flex;
    align-items: flex-end;
    gap: 25px;
}

.project-logo {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.project-title-info {
    flex: 1;
}

.project-name {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.project-location {
    font-size: 18px;
    color: #e0e0e0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-location i {
    color: #cccccc;
    font-size: 16px;
}

.project-right-info {
    text-align: right;
}

.project-price {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
}

.price-label {
    display: block;
    font-size: 14px;
    color: #d0d0d0;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px;
    line-height: 1;
}

.price-subtitle {
    display: block;
    font-size: 16px;
    color: #cccccc;
}

/* Project Navigation */
.project-navigation {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    transition: all 0.3s ease;
}

.project-navigation.sticky {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.project-nav-menu {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.project-nav-menu .nav-item {
    flex: 1;
    max-width: 200px;
    text-align: center;
    padding: 20px 25px;
    font-size: 15px;
    font-weight: 600;
    color: #2d2d2d;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.project-nav-menu .nav-item:hover {
    color: #7b0337;
    background: #f8f9fa;
}

.project-nav-menu .nav-item.active {
    color: #7b0337;
    border-bottom-color: #7b0337;
    background: #f8f9fa;
}

/* Project Content Wrapper */
.project-content-wrapper {
    padding: 60px 0;
    background: #fafafa;
}

.project-section {
    padding: 35px 0;
}

.project-section:first-child {
    padding-top: 0;
}

/* Section Headers */
.section-header {
    margin-bottom: 30px;
    text-align: center;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 15px;
}

.header-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, #7b0337, #4c1328);
    margin: 0 auto;
    border-radius: 2px;
}

/* Content Box */
.content-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.content-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 18px;
}

.content-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 25px 0 18px;
}

.content-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #5a5a5a;
    margin-bottom: 14px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-color: #7b0337;
}

.feature-item i {
    font-size: 32px;
    color: #7b0337;
    flex-shrink: 0;
}

.feature-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    margin: 0 0 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-content p {
    font-size: 18px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
}

/* Amenities List */
.amenities-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2d2d2d;
    padding: 10px 0;
}

.amenities-list li i {
    color: #7b0337;
    font-size: 16px;
    flex-shrink: 0;
}

/* Sidebar Boxes */
.sidebar-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.sidebar-box h4 {
    font-size: 17px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Contact Box */
.contact-box {
    text-align: center;
}

.consultant-info {
    margin-bottom: 25px;
}

.consultant-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f0f0f0;
}

.consultant-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultant-info h5 {
    font-size: 20px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 5px;
}

.consultant-title {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #7b0337;
    border-color: #7b0337;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.contact-btn i {
    font-size: 18px;
}

/* Info Box */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 15px;
    color: #888;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #2d2d2d;
    font-weight: 600;
}

/* Sidebar Videos Widget */
.sidebar-videos {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-video-item {
    display: block;
    text-decoration: none;
}

.sidebar-video-item a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.sidebar-video-item a:hover {
    opacity: 0.8;
}

.sidebar-video-thumbnail {
    position: relative;
    width: 140px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.sidebar-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-video-thumbnail .duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.sidebar-video-thumbnail .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-video-item:hover .play-overlay {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.sidebar-video-thumbnail .play-overlay i {
    color: #fff;
    font-size: 20px;
    margin-left: 2px;
}

.sidebar-video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-video-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-video-info .video-meta {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(123, 3, 55, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 48px;
    color: #ffffff;
}

/* Floorplans Grid */
.floorplans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.floorplan-item {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floorplan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.floorplan-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.floorplan-item:hover img {
    transform: scale(1.05);
}

.floorplan-info {
    padding: 22px;
    background: #ffffff;
}

.floorplan-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 6px;
}

.floorplan-info p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.floorplan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(123, 3, 55, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floorplan-item:hover .floorplan-overlay {
    opacity: 1;
}

.floorplan-overlay i {
    font-size: 48px;
    color: #ffffff;
}

/* Payment Plan */
.payment-plan-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.payment-intro {
    text-align: center;
    margin-bottom: 30px;
}

.payment-intro p {
    font-size: 15px;
    color: #5a5a5a;
    max-width: 700px;
    margin: 0 auto;
}

.payment-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.payment-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.payment-table thead th {
    background: linear-gradient(135deg, #7b0337 0%, #4c1328 100%);
    color: #ffffff;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    border: none;
}

.payment-table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.payment-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.payment-table tbody tr {
    background: #ffffff;
    transition: background 0.3s ease;
}

.payment-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.payment-table tbody tr:hover {
    background: #f0f0f0;
}

.payment-table tbody tr.highlight-row {
    background: #fff5f8 !important;
}

.payment-table tbody tr.highlight-row:hover {
    background: #ffe8f0 !important;
}

.payment-table tbody td {
    padding: 18px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #2d2d2d;
}

.payment-table tbody tr:last-child td {
    border-bottom: none;
}

.payment-table .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #e5e7eb;
    color: #2d2d2d;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.payment-table .badge.final {
    background: #7b0337;
    color: #ffffff;
}

.payment-table strong {
    color: #7b0337;
    font-size: 16px;
}

.payment-notes {
    background: #f8f9fa;
    border-left: 4px solid #7b0337;
    padding: 25px 30px;
    border-radius: 8px;
}

.payment-notes h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 15px;
}

.payment-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-notes ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #5a5a5a;
    margin-bottom: 12px;
}

.payment-notes ul li:last-child {
    margin-bottom: 0;
}

.payment-notes ul li i {
    color: #7b0337;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Location Section */
.location-content {
    margin-top: 40px;
}

.map-wrapper {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
    display: block;
}

.location-info-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.location-info-box h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.nearby-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nearby-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.nearby-list li:last-child {
    border-bottom: none;
}

.nearby-list i {
    font-size: 20px;
    color: #7b0337;
    margin-top: 4px;
    flex-shrink: 0;
}

.nearby-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0 0 4px;
}

.nearby-content p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* CTA Section */
.project-cta-section {
    background: linear-gradient(135deg, #7b0337 0%, #4c1328 100%);
    padding: 60px 0;
}

.cta-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
}

.cta-text p {
    font-size: 18px;
    color: #e0e0e0;
    margin: 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: #ffffff;
    color: #7b0337;
    text-decoration: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: #25D366;
    color: #ffffff;
}

.btn-cta i {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 1199px) {
    .project-name {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .project-info-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-right-info {
        text-align: left;
        width: 100%;
    }
    
    .project-nav-menu {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .project-nav-menu .nav-item {
        flex: none;
        white-space: nowrap;
        min-width: 150px;
    }
    
    .payment-table {
        font-size: 14px;
    }
    
    .payment-table thead th,
    .payment-table tbody td {
        padding: 12px 15px;
    }
}

@media (max-width: 767px) {
    .project-hero {
        height: 75vh;
        min-height: 500px;
    }
    
    .project-hero-content {
        padding: 30px 0 25px;
    }
    
    .project-left-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .project-logo {
        width: 80px;
        height: 80px;
    }
    
    .project-name {
        font-size: 24px;
    }
    
    /* Mobilde hero içindeki fiyat bölümünü gizle */
    .project-right-info {
        display: none;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .project-nav-menu .nav-item {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .content-box {
        padding: 25px;
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .floorplans-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-plan-box {
        padding: 25px 15px;
    }
    
    .payment-table-wrapper {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .cta-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 24px;
    }
    
    .cta-text p {
        font-size: 16px;
    }
    
    /* Mobil için sabit alt fiyat bar */
    .mobile-price-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        padding: 12px 0;
        z-index: 999;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
		margin-bottom: 60px;
    }
    
    .mobile-price-bar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    
    .mobile-price-info {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-price-label {
        font-size: 11px;
        color: #888;
        margin: 0 0 2px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-price-value {
        font-size: 20px;
        font-weight: 700;
        color: #2d2d2d;
        margin: 0;
        line-height: 1;
    }
    
    .mobile-price-subtitle {
        font-size: 12px;
        color: #888;
        margin: 2px 0 0;
    }
    
    .mobile-whatsapp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        background: #25D366;
        color: #ffffff;
        text-decoration: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    
    .mobile-whatsapp-btn:hover {
        background: #20BA5A;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    
    .mobile-whatsapp-btn i {
        font-size: 20px;
    }
    
    /* Alt bar için içerik padding'i */
    .project-content-wrapper {
        padding-bottom: 100px;
    }
    
    .project-cta-section {
        margin-bottom: 80px;
    }
    
    /* Mobilde sidebar video thumbnail biraz daha büyük */
    .sidebar-video-thumbnail {
        width: 160px;
    }
    
    .sidebar-video-info h5 {
        font-size: 15px;
    }
}

/* Sidebar FAQ - Proje Detay için */
.main-faq-section {
    margin-top: 40px;
}

.main-faq-section h3 {
    font-size: 24px;
    color: #2d2d2d;
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-accordion-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Proje detay sayfasında faq-accordion-modern kullanıyoruz */
.faq-item-modern {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-modern.active {
    border-color: #7b0337;
    box-shadow: 0 4px 15px rgba(123, 3, 55, 0.1);
}

.faq-question-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

.faq-item-modern.active .faq-question-modern {
    background: #fafafa;
}

/* Icon'u gizle */
.faq-question-modern .faq-icon {
    display: none;
}

.faq-question-modern h4 {
    flex: 1;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    color: #2d2d2d;
    line-height: 22px;
    transition: color 0.3s ease;
}

.faq-item-modern:hover .faq-question-modern h4 {
    color: #7b0337;
}

.faq-question-modern > i {
    font-size: 18px;
    color: #7b0337;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item-modern.active .faq-question-modern > i {
    transform: rotate(180deg);
}

.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 400px;
}

.faq-answer-modern p {
    padding: 0 25px 30px 25px;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Video Grid Main */
.video-grid-main {
    margin-top: 30px;
}

.video-card-main {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.video-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-link {
    display: block;
    text-decoration: none;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card-main:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(123, 3, 55, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card-main:hover .video-play-overlay {
    opacity: 1;
}

.video-play-overlay i {
    font-size: 64px;
    color: #ffffff;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0 0 10px;
    transition: color 0.3s ease;
}

.video-card-main:hover .video-info h4 {
    color: #7b0337;
}

.video-meta {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Blog Grid Main */
.blog-grid-main {
    margin-top: 30px;
}

.blog-card-main {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-card-main .blog-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-main .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-main:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #7b0337 0%, #4c1328 100%);
    color: #ffffff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-card-main .blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-main .blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.blog-card-main .blog-meta span {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-main .blog-meta i {
    font-size: 13px;
    color: #7b0337;
}

.blog-card-main .blog-content h4 {
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card-main .blog-content h4 a {
    color: #2d2d2d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-main:hover .blog-content h4 a {
    color: #7b0337;
}

.blog-card-main .blog-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7b0337;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.read-more-btn:hover {
    gap: 12px;
    color: #4c1328;
}

.read-more-btn i {
    font-size: 12px;
}

/* Responsive - Blogs */
@media (max-width: 991px) {
    .project-nav-menu a {
        font-size: 12px;
        padding: 12px 12px;
    }
    
    .project-section {
        padding: 35px 0;
        margin-bottom: 20px;
    }
    
    .faq-question-modern {
        padding: 18px 22px;
    }
    
    .faq-question-modern h4 {
        font-size: 13px;
    }
    
    .faq-item-modern.active .faq-answer-modern {
        padding: 0 22px 25px 22px;
    }
}

@media (max-width: 767px) {
    .project-section {
        padding: 30px 0;
        margin-bottom: 15px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .main-faq-section h3 {
        font-size: 22px;
    margin-bottom: 18px;
}

.faq-question-modern {
    padding: 18px 20px;
        font-size: 17px;
    }
    
    .project-nav-menu {
        gap: 5px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 10px;
    }
    
    .project-nav-menu a {
        font-size: 11px;
        padding: 10px 10px;
        white-space: nowrap;
    }
}
