/*
====================================
NEXT LEVEL ENTERPRISE THEME
Fortune 500 Company Standards
====================================
*/

/* ============================================
   ANIMATED PARTICLES BACKGROUND
============================================ */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particles-bg canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* ============================================
   PREMIUM MEGA MENU
============================================ */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 30px 80px rgba(10, 36, 99, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-top: 3px solid #3E92CC;
    scrollbar-width: thin;
    scrollbar-color: #3E92CC #e2e8f0;
}

.mega-menu-wrapper::-webkit-scrollbar {
    width: 8px;
}

.mega-menu-wrapper::-webkit-scrollbar-track {
    background: #e2e8f0;
}

.mega-menu-wrapper::-webkit-scrollbar-thumb {
    background: #3E92CC;
    border-radius: 4px;
}

.mega-menu-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0A2463;
}

.navbar-nav .nav-item:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    padding: 60px 0;
}

.mega-menu-column {
    padding: 0 30px;
}

.mega-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: #0A2463;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFB627;
    position: relative;
}

.mega-menu-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3E92CC, #00D4FF);
    transition: width 0.3s ease;
}

.mega-menu-column:hover .mega-menu-title::after {
    width: 100%;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 12px;
}

.mega-menu-list a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mega-menu-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(62, 146, 204, 0.1), rgba(0, 212, 255, 0.05));
    transition: width 0.3s ease;
    z-index: 0;
}

.mega-menu-list a:hover::before {
    width: 100%;
}

.mega-menu-list a i {
    margin-right: 12px;
    font-size: 18px;
    color: #3E92CC;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.mega-menu-list a:hover i {
    transform: translateX(5px) scale(1.1);
}

.mega-menu-list a span {
    z-index: 1;
    position: relative;
    font-weight: 500;
}

.mega-menu-list a:hover {
    background: rgba(62, 146, 204, 0.05);
    color: #0A2463;
    transform: translateX(5px);
}

.mega-menu-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #334155;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 140px;
}

.mega-menu-category-card:hover {
    border-color: #3E92CC;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.05), rgba(0, 212, 255, 0.05));
    box-shadow: 0 10px 30px rgba(62, 146, 204, 0.2);
}

.mega-menu-category-card i {
    font-size: 32px;
    color: #3E92CC;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.mega-menu-category-card:hover i {
    color: #0A2463;
}

.mega-menu-category-card span {
    font-size: 15px;
    font-weight: 600;
    color: #0A2463;
    margin-bottom: 5px;
    display: block;
}

.mega-menu-category-card small {
    font-size: 12px;
    color: #64748b;
    display: block;
    line-height: 1.4;
}

.mega-menu-featured {
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.mega-menu-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 15s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.mega-menu-featured h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.mega-menu-featured p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mega-menu-featured .btn {
    position: relative;
    z-index: 1;
}

/* ============================================
   3D PRODUCT SHOWCASE
============================================ */
.product-showcase-3d {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.product-showcase-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(62, 146, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-3d-viewer {
    perspective: 2000px;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-3d-stage {
    position: relative;
    width: 500px;
    height: 500px;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-3d-item {
    position: absolute;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(10, 36, 99, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: all 0.4s ease;
    backface-visibility: hidden;
}

.showcase-3d-item:active {
    cursor: grabbing;
}

.showcase-3d-item img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.showcase-3d-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0A2463;
    margin-bottom: 10px;
    text-align: center;
}

.showcase-3d-item p {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin-bottom: 20px;
}

.showcase-3d-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.showcase-3d-controls button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #3E92CC;
    background: white;
    color: #3E92CC;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(62, 146, 204, 0.2);
}

.showcase-3d-controls button:hover {
    background: #3E92CC;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(62, 146, 204, 0.3);
}

/* ============================================
   TESTIMONIALS CAROUSEL
============================================ */
.testimonials-premium {
    background: linear-gradient(180deg, #0A2463 0%, #051441 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(62, 146, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.testimonial-card-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card-premium::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 80px;
    color: rgba(255, 182, 39, 0.2);
}

.testimonial-card-premium:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.testimonial-rating i {
    color: #FFB627;
    font-size: 18px;
}

/* ============================================
   CORPORATE BLOG TIMELINE
============================================ */
.blog-timeline {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #3E92CC, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-content {
    width: calc(50% - 50px);
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(10, 36, 99, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(10, 36, 99, 0.15);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    border: 5px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(62, 146, 204, 0.2);
    z-index: 2;
}

.timeline-date {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #FFB627 0%, #F59E0B 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

.timeline-item:nth-child(odd) .timeline-date {
    right: calc(50% + 50px);
}

.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 50px);
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0A2463;
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.timeline-content .btn {
    font-size: 14px;
    padding: 10px 25px;
}

/* ============================================
   PARTNERS INFINITE CAROUSEL
============================================ */
.partners-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.partners-carousel-track {
    display: flex;
    gap: 0;
    animation: scroll-partners 60s linear infinite;
    will-change: transform;
}

.partners-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * var(--original-count, 3)));
    }
}

.partner-logo-wrapper {
    flex: 0 0 250px;
    min-width: 250px;
    max-width: 250px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.partner-logo {
    max-width: 180px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* ============================================
   VIDEO MODAL SYSTEM
============================================ */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 36, 99, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal-overlay.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #0A2463;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: #FFB627;
    color: white;
    transform: rotate(90deg);
}

.video-modal-iframe {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.video-modal-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 992px) {
    .mega-menu-wrapper {
        display: none;
    }

    .showcase-3d-viewer {
        height: 450px;
    }

    .showcase-3d-stage {
        width: 350px;
        height: 350px;
    }

    .showcase-3d-item {
        width: 300px;
        height: 380px;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 80px !important;
    }

    .timeline-date {
        left: 60px !important;
        right: auto !important;
    }

    .timeline-dot {
        left: 30px !important;
    }

    .chat-window {
        width: 340px;
    }
}

@media (max-width: 768px) {

    /* Back to top butonunu mobilde küçült */
    #backToTop {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 18px !important;
    }

    /* Mobilde mega menu hover'ı devre dışı bırak */
    .navbar-nav .nav-item:hover .mega-menu-wrapper {
        opacity: 0;
        visibility: hidden;
    }

    .mega-menu-column {
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .showcase-3d-viewer {
        height: 400px;
    }

    .showcase-3d-stage {
        width: 280px;
        height: 280px;
    }

    .showcase-3d-item {
        width: 260px;
        height: 340px;
        padding: 20px;
    }

    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-bubble {
        width: 60px;
        height: 60px;
    }

    .chat-bubble i {
        font-size: 24px;
    }

    .chat-window {
        width: calc(100vw - 40px);
        height: 500px;
        bottom: 80px;
        right: 20px;
        left: 20px;
    }

    .testimonial-card-premium {
        padding: 25px 20px !important;
        margin-bottom: 20px !important;
    }

    .testimonial-card-premium .testimonial-text {
        font-size: 14px !important;
    }

    .partner-logo-wrapper {
        flex: 0 0 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        padding: 15px !important;
    }

    .partner-logo {
        max-width: 100px !important;
        height: 50px !important;
    }

    /* Mobile specific */
    .mega-menu-category-card {
        min-height: 120px;
        padding: 20px 10px;
    }

    .mega-menu-category-card i {
        font-size: 24px;
    }

    .mega-menu-category-card span {
        font-size: 13px;
    }
}

/* ============================================
   ENHANCED RESPONSIVE - ALL DEVICES
============================================ */

/* Extra Small Devices (Phones, Portrait) - 320px to 575px */
@media (max-width: 575px) {

    /* Hero Slider - Tam ekran kalacak */
    #hero,
    .modern-hero-section {
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
    }

    .hero-slider {
        height: auto !important;
        min-height: auto !important;
        background: transparent !important;
    }

    .hero-slider .carousel-item {
        height: auto !important;
        min-height: auto !important;
        background: transparent !important;
    }

    /* Hide overlay pseudo-elements on mobile */
    .hero-slider .carousel-item::before,
    .hero-slider .carousel-item::after {
        display: none !important;
    }

    .hero-slider .carousel-item img {
        height: auto !important;
        min-height: auto !important;
        width: 100% !important;
        object-fit: contain !important;
        object-position: center;
    }

    /* Caption positioned over image */
    .hero-slider .carousel-caption {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 400px !important;
        padding: 15px !important;
        text-align: center !important;
    }

    /* Mobilde row layout düzeltmesi */
    .hero-caption-modern .row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-caption-modern .row>div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center !important;
    }

    /* Mobilde slide number küçült ve ortala */
    .hero-caption-modern .slide-number {
        font-size: 50px !important;
        letter-spacing: -2px !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }

    .hero-caption-modern .slide-number::after {
        width: 50px !important;
        bottom: -6px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .hero-caption-modern .slide-kicker {
        font-size: 9px !important;
        letter-spacing: 1px !important;
        margin-bottom: 8px !important;
        text-align: center !important;
        padding-left: 0 !important;
    }

    .hero-caption-modern .slide-kicker::before {
        display: none !important;
    }

    .hero-caption-modern .slide-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .hero-caption-modern .slide-description {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: center !important;
        max-width: 100% !important;
    }

    .hero-caption-modern .slide-ghost-btn {
        padding: 10px 20px !important;
        font-size: 10px !important;
        display: inline-flex !important;
    }

    .hero-caption-modern .slide-meta {
        text-align: center !important;
        max-width: 100% !important;
    }

    .hero-slider .carousel-caption h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .hero-slider .carousel-caption p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: center !important;
    }

    /* Hide carousel controls on mobile */
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        display: none !important;
    }

    .hero-slider .carousel-indicators {
        display: none !important;
    }

    /* Trust Badges */
    .trust-badges {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }

    .trust-badge-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .trust-badge-number {
        font-size: 36px !important;
    }

    /* Statistics */
    .premium-stats-section {
        padding: 60px 0 !important;
        margin-top: 0 !important;
    }

    .premium-stats-section h2 {
        font-size: 28px !important;
    }

    section:not(#hero) {
        padding: 50px 0 !important;
    }

    #hero {
        padding: 0 !important;
        margin: 0 !important;
    }

    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .premium-stat-number {
        font-size: 42px !important;
    }

    /* Category Cards */
    .ultra-premium-category-card {
        margin-bottom: 20px;
    }

    .ultra-premium-category-card h3 {
        font-size: 16px !important;
    }

    .ultra-premium-category-card p {
        font-size: 13px !important;
    }

    /* Premium Features */
    .premium-features-section h2 {
        font-size: 28px !important;
    }

    .premium-feature-card {
        margin-bottom: 20px !important;
        padding: 25px 20px !important;
    }

    .premium-feature-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 28px !important;
    }

    /* 3D Showcase */
    .product-showcase-3d {
        padding: 40px 0 !important;
    }

    .showcase-3d-viewer {
        height: 380px !important;
        padding: 20px 10px !important;
    }

    .showcase-3d-stage {
        width: 200px !important;
        height: 200px !important;
    }

    .showcase-3d-item {
        width: 180px !important;
        height: 280px !important;
        padding: 12px !important;
    }

    .showcase-3d-item img {
        max-width: 100% !important;
        height: auto !important;
        max-height: 120px !important;
        object-fit: contain !important;
    }

    .showcase-3d-item h3 {
        font-size: 14px !important;
        margin-top: 10px !important;
    }

    .showcase-3d-item p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .showcase-3d-controls {
        bottom: 10px !important;
    }

    .showcase-3d-controls button {
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
        margin: 0 5px !important;
    }

    /* Products */
    .ultra-premium-product-card {
        margin-bottom: 20px;
    }

    /* Certificates */
    .certification-card {
        margin-bottom: 20px !important;
    }

    /* Video Modal */
    .premium-video-modal .modal-content {
        margin: 20px !important;
    }

    .video-container {
        height: 250px !important;
    }

    /* Timeline (Haberler) */
    .blog-timeline {
        padding: 40px 0 !important;
    }

    .timeline-line {
        left: 20px !important;
        width: 2px !important;
        transform: none !important;
    }

    .timeline-item {
        margin-bottom: 30px !important;
        position: relative !important;
    }

    .timeline-content {
        width: calc(100% - 60px) !important;
        margin-left: 60px !important;
        margin-right: 0 !important;
        padding: 20px 15px !important;
        font-size: 14px !important;
    }

    .timeline-content h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .timeline-content p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }

    .timeline-content .btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }

    .timeline-date {
        position: absolute !important;
        left: 50px !important;
        top: 0 !important;
        right: auto !important;
        font-size: 10px !important;
        padding: 4px 10px !important;
        transform: none !important;
    }

    .timeline-dot {
        position: absolute !important;
        left: 20px !important;
        top: 20px !important;
        width: 14px !important;
        height: 14px !important;
        transform: none !important;
        border-width: 3px !important;
        box-shadow: 0 0 0 4px rgba(62, 146, 204, 0.2) !important;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px) !important;
        margin-left: 60px !important;
        margin-right: 0 !important;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 50px !important;
        right: auto !important;
        top: 0 !important;
    }

    /* Testimonials */
    .testimonials-premium h2 {
        font-size: 28px !important;
    }

    .testimonial-card-premium {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .testimonial-avatar {
        width: 80px;
        height: 80px;
    }

    /* Partners */
    .partner-logo-wrapper {
        flex: 0 0 150px;
        min-width: 150px;
        max-width: 150px;
        padding: 20px;
    }

    .partner-logo {
        max-width: 120px;
        height: 60px;
    }

    .partners-section {
        padding: 60px 0;
    }
}

/* Small Devices (Phones, Landscape) - 576px to 767px */
@media (min-width: 576px) and (max-width: 767px) {

    /* Hero */
    #hero {
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .hero-slider,
    .hero-slider .carousel-item {
        height: auto !important;
        min-height: auto !important;
    }

    .hero-slider .carousel-item img {
        height: auto !important;
        min-height: auto !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    .hero-slider .carousel-caption {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 450px !important;
        text-align: center !important;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next,
    .hero-slider .carousel-indicators {
        display: none !important;
    }

    .hero-caption-modern .row {
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-caption-modern .row>div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center !important;
    }

    .hero-slider .carousel-caption h2 {
        font-size: 26px !important;
        text-align: center !important;
    }

    .hero-caption-modern .slide-number {
        display: none !important;
    }

    .hero-caption-modern .slide-number::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .hero-caption-modern .slide-kicker {
        text-align: center !important;
        padding-left: 0 !important;
    }

    .hero-caption-modern .slide-kicker::before {
        display: none !important;
    }

    .hero-caption-modern .slide-title {
        font-size: 24px !important;
        text-align: center !important;
    }

    .hero-caption-modern .slide-description {
        font-size: 13px !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .hero-caption-modern .slide-meta {
        text-align: center !important;
    }

    /* Trust Badges */
    .trust-badge-card {
        padding: 25px;
    }

    /* 3D Showcase */
    .showcase-3d-viewer {
        height: 400px;
    }

    .showcase-3d-stage {
        width: 300px;
        height: 300px;
    }

    .showcase-3d-item {
        width: 270px;
        height: 350px;
    }
}

/* Medium Devices (Tablets) - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {

    /* Hero */
    #hero {
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .hero-slider,
    .hero-slider .carousel-item,
    .hero-slider .carousel-item img {
        height: 100vh !important;
        min-height: 100vh !important;
    }

    .hero-slider .carousel-caption {
        bottom: 12% !important;
    }

    .hero-slider .carousel-caption h2 {
        font-size: 34px !important;
    }

    .hero-caption-modern .slide-number {
        font-size: 80px !important;
    }

    .hero-caption-modern .slide-title {
        font-size: 30px !important;
    }

    .hero-caption-modern .slide-description {
        font-size: 14px !important;
    }

    /* Navbar */
    .navbar-nav {
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px !important;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(62, 146, 204, 0.1);
    }

    /* Statistics */
    .premium-stat-box {
        margin-bottom: 25px;
    }

    /* 3D Showcase */
    .showcase-3d-viewer {
        height: 500px;
    }

    .showcase-3d-stage {
        width: 400px;
        height: 400px;
    }

    .showcase-3d-item {
        width: 320px;
        height: 400px;
    }

    /* Timeline */
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px !important;
    }

    .timeline-date {
        left: 70px !important;
    }

    .timeline-dot {
        left: 40px !important;
    }

    .timeline-line {
        left: 40px;
    }
}

/* Large Devices (Desktops, Small Laptops) - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {

    /* Hero */
    .hero-slider .carousel-item {
        height: 600px !important;
    }

    /* Container adjustments */
    .container {
        max-width: 960px;
    }

    /* Mega Menu */
    .mega-menu-category-card {
        min-height: 130px;
    }

    /* 3D Showcase */
    .showcase-3d-viewer {
        height: 550px;
    }

    .showcase-3d-stage {
        width: 450px;
        height: 450px;
    }

    .showcase-3d-item {
        width: 330px;
        height: 420px;
    }
}

/* Extra Large Devices (Large Laptops, Desktops) - 1200px to 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }

    /* Full desktop experience */
    .hero-slider .carousel-item {
        height: 650px !important;
    }
}

/* XXL Devices (Large Desktops, TVs) - 1400px and up */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    /* Hero */
    .hero-slider .carousel-item {
        height: 750px !important;
    }

    .hero-slider .carousel-caption h2 {
        font-size: 72px !important;
    }

    .hero-slider .carousel-caption p {
        font-size: 24px !important;
    }

    /* Larger spacing */
    section {
        padding: 120px 0 !important;
    }

    /* Statistics */
    .premium-stat-number {
        font-size: 72px !important;
    }

    /* 3D Showcase - Full size */
    .showcase-3d-viewer {
        height: 700px;
    }

    .showcase-3d-stage {
        width: 600px;
        height: 600px;
    }

    .showcase-3d-item {
        width: 400px;
        height: 500px;
    }

    .showcase-3d-controls button {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
}

/* Ultra Wide (4K, 8K Monitors) - 1920px and up */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    /* Hero */
    .hero-slider .carousel-item {
        height: 900px !important;
    }

    /* Larger fonts */
    h2 {
        font-size: 64px !important;
    }

    h3 {
        font-size: 42px !important;
    }

    p {
        font-size: 20px !important;
    }
}

/* Landscape Orientation Specific */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-slider .carousel-item {
        height: 400px !important;
    }

    .premium-loader {
        padding: 50px;
    }

    section {
        padding: 60px 0 !important;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .footer,
    #backToTop,
    .premium-loader,
    .particles-bg {
        display: none !important;
    }

    section {
        page-break-inside: avoid;
    }
}