/* =====================================================
   TABLET STYLES - 768px - 1024px
   Dr. Aytən Seyidova
   ===================================================== */

@media (max-width: 1024px) and (min-width: 768px) {
    
    /* ===== CONTAINER ===== */
    .container {
        padding: 0 25px;
        max-width: 100%;
    }
    
    /* ===== HERO SECTION ===== */
    .hero-section {
        min-height: auto;
        max-height: none;
        padding: 40px 0 0 0;
        overflow: hidden;
    }
    
    .hero-content {
        grid-template-columns: 55% 45%;
        gap: 0;
        padding: 0;
        align-items: flex-end;
    }
    
    .hero-text {
        order: 1;
        padding-bottom: 40px;
    }
    
    .hero-image {
        order: 2;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }
    
    /* ===== HERO ŞƏKİL - BÖYÜK, AŞAĞI SAĞA YAPIŞIQ ===== */
    .image-wrapper {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        min-height: auto !important;
        margin: 0 !important;
        margin-right: -25px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        overflow: hidden;
    }
    
    .image-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        object-position: center top;
        min-height: auto !important;
    }
    
    /* ===== HERO YAZILAR ===== */
    .hero-text .subtitle {
        font-size: 13px;
        padding: 8px 18px;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    /* ===== BUTONLAR YAN-YANA ===== */
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 25px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-stats {
        gap: 30px;
        padding-top: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* ===== SECTION HEADERS ===== */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 13px;
        padding: 7px 18px;
    }
    
    /* ===== ABOUT SECTION ===== */
    .about-section {
        padding: 70px 0;
    }
    
    .about-content {
        grid-template-columns: 35% 60%;
        gap: 5%;
    }
    
    .image-frame {
        border-radius: 20px;
        max-width: 100%;
    }
    
    .about-bio p {
        font-size: 1rem;
        margin-bottom: 14px;
        line-height: 1.7;
    }
    
    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .feature-item {
        padding: 14px;
        font-size: 14px;
    }
    
    .feature-item i {
        font-size: 20px;
    }
    
    /* ===== SERVICES - 4:3 ===== */
    .services-section {
        padding: 70px 0;
    }
    
    .services-grid-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .service-card {
        grid-template-columns: 1.5fr 1fr !important;
    }
    
    .service-card.text-image .service-text {
        order: 1 !important;
    }
    
    .service-card.text-image .service-image {
        order: 2 !important;
    }
    
    .service-card.image-text {
        grid-template-columns: 1fr 1.5fr !important;
    }

    .service-card.image-text .service-image {
        order: 1 !important;
    }
    
    .service-card.image-text .service-text {
        order: 2 !important;
    }
    
    .service-text {
        padding: 22px !important;
    }
    
    .service-text h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    
    .service-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .service-image {
        aspect-ratio: 4/3;
        min-height: auto !important;
        max-height: none !important;
        overflow: hidden;
    }
    
    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* ===== CERTIFICATES - 2 SÜTUN, 4:3 ===== */
    .certificates-section {
        padding: 70px 0;
    }
    
    .certificates-slider.swiper {
        overflow: visible;
    }
    
    .certificates-slider .swiper-wrapper {
        display: flex !important;
        width: 100% !important;
    }
    
    .certificates-slider .swiper-slide {


    }
    
    .certificates-slider .swiper-pagination,
    .certificates-slider .swiper-button-next,
    .certificates-slider .swiper-button-prev {
        display: flex !important;
    }
    
    .certificate-card img {
        width: 100%;
        aspect-ratio: auto;
        height: auto;
        object-fit: contain;
        padding: 10px;
    }
    
    .certificate-card h4 {
        font-size: 1rem;
        padding: 16px;
    }
    
    /* ===== GALLERY - 4:3 ===== */
    .gallery-section {
        padding: 70px 0;
    }
    
    .gallery-slider .swiper {
        padding: 0 55px;
    }
    
    .gallery-slide-image {
        aspect-ratio: 4/3;
        height: auto !important;
        overflow: hidden;
    }
    
    .gallery-slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-slide-info {
        padding: 16px;
    }
    
    .gallery-slide-info h3 {
        font-size: 1.05rem;
    }
    
    .gallery-slide-info p {
        font-size: 0.9rem;
    }
    
    .gallery-slider .swiper-button-next,
    .gallery-slider .swiper-button-prev {
        width: 42px;
        height: 42px;
    }
    
    /* ===== VIDEOS ===== */
    .videos-section {
        padding: 70px 0;
    }
    
    .videos-section .container {
        padding: 0 25px;
    }
    
    .videos-slider .swiper {
        padding: 0 15px;
    }
    
    .videos-slider .swiper-slide {
        margin-right: 10px !important;
    }
    .videos-slider-old .swiper-slide {
        margin-right: 8px !important;
    }
    
    .video-thumbnail-card {
        min-height: 500px;
        max-height: 600px;
        width: 100%;
    }
    .video-thumbnail-card-old {
        max-height: 550px;
    }
    
    .play-button {
        width: 55px;
        height: 55px;
    }
    
    .play-button i {
        font-size: 22px;
    }
    
    /* ===== BLOG - 4:3 ===== */
    .blog-home-section {
        padding: 70px 0;
    }
    
    .blog-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .blog-card-image {
        aspect-ratio: 4/3;
        height: auto !important;
        overflow: hidden;
    }
    
    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .blog-card-body {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .blog-excerpt {
        font-size: 0.95rem;
    }
    
    .blog-read-more {
        font-size: 0.9rem;
    }
    
    /* ===== SEMINARS - 2 SÜTUN, 4:3 ===== */
    .testimonials-section {
        padding: 70px 0;
    }
    
    .seminars-grid {
    }
    
    .seminar-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .seminar-card:last-child {
        grid-column: auto !important;
    }
    
    .seminar-image {
        aspect-ratio: 4/3;
        height: auto !important;
        overflow: hidden;
    }
    
    .seminar-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .seminar-content {
        padding: 18px;
    }
    
    .seminar-content h3 {
        font-size: 1.05rem;
    }
    
    .seminar-subtitle {
        font-size: 0.9rem;
    }
    
    /* ===== FAQ ===== */
    .faq-section {
        padding: 70px 0;
    }
    
    .accordion-header {
        padding: 20px 25px;
    }
    
    .accordion-header h3 {
        font-size: 1.05rem;
    }
    
    .accordion-content p {
        font-size: 0.95rem;
        padding: 0 25px 20px;
    }
    
    /* ===== APPOINTMENT - ALT-ALTA ===== */
    .appointment-section {
        padding: 70px 0;
    }
    
    .appointment-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .appointment-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .info-card {
        padding: 18px 20px;
        flex-direction: row;
        text-align: left;
        gap: 18px;
    }
    
    .info-card i {
        width: 48px;
        height: 48px;
        font-size: 20px;
        flex-shrink: 0;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.95rem;
    }
    
    .appointment-form {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px 20px 15px 50px;
        font-size: 15px;
    }
    
    .btn-block {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    /* ===== FOOTER - XİDMƏTLƏR GİZLİ ===== */

    /* ===== FOOTER ===== */
    .footer-section {
        margin-top: 70px;
    }
    
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-content {
        display: flex !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
    
    /* Logo + Yazı + Sosial - tam en */
    .footer-widget:first-child {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 20px;
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-widget:first-child .footer-logo {
        flex-shrink: 0;
    }
    
    .footer-widget:first-child .footer-logo img {
        height: 80px !important;
        margin-bottom: 0 !important;
    }
    
    .footer-widget:first-child .footer-desc {
        flex: 1;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: none;
    }
    
    .footer-widget:first-child .footer-social {
        flex-shrink: 0;
        gap: 10px;
    }
    
    .footer-widget:first-child .footer-social a {
        width: 38px;
        height: 38px;
    }
    
    /* Xidmətlər gizlə */
    .footer-widget:nth-child(3) {
        display: flex !important;
    }
    
    /* Sürətli Keçidlər və Əlaqə - 50% 50% */
    .footer-widget:nth-child(2),
    .footer-widget:nth-child(4) {
        width: 100% !important;
        min-width: auto !important;
        float: none !important;
        display: block !important;
    }
    
    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-links a {
        font-size: 0.95rem;
        padding: 6px 0;
    }
    
    .contact-item {
        display: flex;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .contact-item > div {
        flex: 1;
        min-width: 0;
    }
    
    .contact-item i {
        width: 36px;
        height: 36px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .contact-item h5 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .copyright p {
        font-size: 14px;
    }
    
    /* ===== BUTTONS ===== */
    .btn {
        padding: 13px 26px;
        font-size: 15px;
    }
    
    /* ===== WHATSAPP & SCROLL ===== */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 22px;
        right: 22px;
    }
    
    .scroll-to-top {
        width: 42px;
        height: 42px;
        font-size: 18px;
        bottom: 22px;
        left: 22px;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {

@media (max-width: 1024px) and (min-width: 768px) {
    .footer-widget:first-child .footer-desc {
        max-width: 280px;
    }
}
