/* =====================================================
   MOBILE STYLES - 768px və kiçik
   Dr. Aytən Seyidova
   ===================================================== */

@media (max-width: 768px) {
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* ===== HERO SECTION ===== */
    .hero-section {
        min-height: auto;
        max-height: none;
        padding: 20px 0 30px;
    }
    
    .hero-bg::before {
        opacity: 0.15;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 10px 0;
        align-items: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        height: auto;
        max-width: none;
        margin: 0;
    }
    
    .image-wrapper {
        width: 120%;
        max-height: none;
        height: 100%;
        margin: 0;
        margin-right: -20%;
        border-radius: 0;
        overflow: hidden;
    }
    
    .image-wrapper img {
        min-height: 350px;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    
    .hero-text .subtitle {
        font-size: 9px;
        padding: 4px 10px;
        margin-bottom: 8px;
        border-left-width: 2px;
    }
    
    .hero-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
        line-height: 1.25;
    }
    
    .hero-description {
        font-size: 0.7rem;
        margin-bottom: 12px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn {
        padding: 8px 14px;
        font-size: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons .btn i {
        font-size: 10px;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding-top: 12px;
        border-top-width: 1px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .stat-label {
        font-size: 0.5rem;
        letter-spacing: 0;
    }
    
    /* ===== SECTION HEADERS ===== */
    .section-header {
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }
    
    /* ===== ABOUT SECTION - ƏVVƏL YAZI SONRA ŞƏKİL ===== */
    .about-section {
        padding: 40px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Yazı birinci, şəkil ikinci */
    .about-content .about-image {
        order: 2 !important;
    }
    
    .about-content .about-text {
        order: 1 !important;
    }
    
    /* Image frame ikinci sıraya */
    .about-content > *:first-child {
        order: 2;
    }
    
    .about-content > *:last-child {
        order: 1;
    }
    
    .image-frame {
        max-width: 280px;
        margin: 0 auto;
        border-radius: 12px;
        order: 2;
    }
    
    .about-bio p {
        font-size: 0.85rem;
        margin-bottom: 10px;
        line-height: 1.6;
    }
    
    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .feature-item {
        padding: 10px 12px;
        font-size: 11px;
        border-radius: 8px;
        gap: 8px;
    }
    
    .feature-item i {
        font-size: 16px;
    }
    
    /* ===== SERVICES SECTION - 4:3 ŞƏKİL ===== */
    .services-section {
        padding: 40px 0;
    }
    
    .services-grid-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        grid-template-columns: 1fr !important;
        border-radius: 12px;
    }
    
    .service-card .service-text {
        order: 2 !important;
        padding: 15px !important;
        text-align: center;
    }
    
    .service-card .service-image {
        order: 1 !important;
        aspect-ratio: 4/3 !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
    }
    
    .service-card .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .service-text h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .service-text p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* ===== CERTIFICATES SECTION - 4:3 ŞƏKİL ===== */
    .certificates-section {
        padding: 40px 0;
    }
    
    .certificates-slider {
        padding: 0 5px;
    }
    
    .certificate-card {
        border-radius: 10px;
        margin-bottom: 15px;
    }
    
    .certificate-card img {
        width: 100%;
        aspect-ratio: auto !important;
        height: auto !important;
        object-fit: contain;
        padding: 10px;
    }
    
    .certificate-card h4 {
        font-size: 0.85rem;
        padding: 10px;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    /* Sertifikat slider pagination - məsafə */
    /* Sertifikat slider pagination - məsafə */
    .certificates-slider .swiper-pagination {
        position: relative;
        margin-top: 20px !important;
        padding-top: 10px;
    }
    
    .certificates-slider .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 5px !important;
    }
    
    /* Sertifikat oxları - qara, şəklin ortasında */
    .certificates-slider {
        position: relative;
    }
    
    .certificates-slider .swiper-button-next,
    .certificates-slider .swiper-button-prev {
        color: #000 !important;
        background: rgba(255,255,255,0.8) !important;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        top: 40% !important;
        transform: translateY(-50%);
    }
    
    .certificates-slider .swiper-button-prev {
        left: 5px !important;
    }
    
    .certificates-slider .swiper-button-next {
        right: 5px !important;
    }
    
    .certificates-slider .swiper-button-next:after,
    .certificates-slider .swiper-button-prev:after {
        font-size: 16px !important;
        font-weight: 400 !important;
    }
    
    /* ===== GALLERY SECTION (NƏTİCƏLƏR) - 4:3 ŞƏKİL ===== */
    .gallery-section {
        padding: 40px 0;
    }
    
    .gallery-slider {
        margin-top: 25px;
    }
    
    .gallery-slider .swiper {
        padding: 0 35px;
    }
    
    .gallery-slide-card {
        border-radius: 10px;
    }
    
    .gallery-slide-image {
        aspect-ratio: 4/3 !important;
        height: auto !important;
        overflow: hidden;
    }
    
    .gallery-slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-slide-info {
        padding: 12px;
    }
    
    .gallery-slide-info h3 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }
    
    .gallery-slide-info p {
        font-size: 0.75rem;
    }
    
    .gallery-slider .swiper-button-next,
    .gallery-slider .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
    
    .gallery-slider .swiper-button-next:after,
    .gallery-slider .swiper-button-prev:after {
        font-size: 12px;
    }
    
    /* ===== VIDEOS SECTION - 2 VİDEO GÖRÜNSÜN ===== */
    .videos-section {
        padding: 40px 0;
    }
    
    .videos-section .container {
        padding: 0 15px;
    }
    
    .videos-slider {
        margin-top: 25px;
    }
    
    .videos-slider .swiper {
        padding: 0 5px;
    }
    
    /* 2 video yan-yana görünsün - BÖYÜK */
    .videos-slider .swiper-slide {
        width: 100% !important;
        margin-right: 6px !important;
    }
    
    .video-thumbnail-card {
        aspect-ratio: 9/16;
        max-height: 380px;
        min-height: 320px;
        border-radius: 10px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 18px;
        margin-left: 2px;
    }
    
    .videos-slider .swiper-button-next,
    .videos-slider .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
    
    .videos-slider .swiper-button-next:after,
    .videos-slider .swiper-button-prev:after {
        font-size: 12px;
    }
    
    .video-modal-content {
        max-width: 95%;
    }
    
    .video-modal-close {
        top: -38px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    /* ===== BLOG SECTION (MƏQALƏLƏR) - 4:3 ŞƏKİL ===== */
    .blog-home-section {
        padding: 40px 0;
    }
    
    .blog-home-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .blog-home-card {
        border-radius: 10px;
    }
    
    .blog-card-image {
        aspect-ratio: 4/3 !important;
        height: auto !important;
        border-radius: 15px 0 15px 0;
        overflow: hidden;
    }
    
    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .blog-category-overlay {
        top: 10px;
        left: 10px;
        padding: 4px 10px;
        font-size: 9px;
    }
    
    .blog-card-body {
        padding: 15px;
    }
    
    .blog-title {
        font-size: 1rem;
        min-height: auto;
        margin-bottom: 8px;
    }
    
    .blog-excerpt {
        font-size: 0.8rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
    }
    
    .blog-read-more {
        font-size: 0.8rem;
    }
    
    .blog-view-all {
        margin-top: 25px;
    }
    
    .blog-view-all .btn {
        width: 100%;
        max-width: 220px;
    }
    
    /* ===== SEMINARS SECTION (TƏLİMLƏR) - 4:3 ŞƏKİL ===== */
    .testimonials-section {
        padding: 40px 0;
    }
    
    .seminars-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }
    
    .seminar-card {
        border-radius: 12px;
    }
    
    .seminar-image {
        aspect-ratio: 4/3 !important;
        height: auto !important;
        overflow: hidden;
    }
    
    .seminar-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .seminar-duration {
        bottom: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .seminar-content {
        padding: 15px;
    }
    
    .seminar-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .seminar-subtitle {
        font-size: 0.8rem;
    }
    
    /* ===== FAQ SECTION ===== */
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-accordion {
        max-width: 100%;
    }
    
    .accordion-item {
        border-radius: 10px;
        margin-bottom: 10px;
    }
    
    .accordion-header {
        padding: 15px 18px;
    }
    
    .accordion-header h3 {
        font-size: 0.9rem;
        line-height: 1.4;
        padding-right: 20px;
    }
    
    .accordion-header i {
        font-size: 14px;
    }
    
    .accordion-content p {
        padding: 0 18px 15px;
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* ===== APPOINTMENT SECTION ===== */
    .appointment-section {
        padding: 40px 0;
    }
    
    .appointment-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .appointment-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .info-card {
        padding: 12px;
        border-radius: 10px;
        gap: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .info-card i {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .info-card h3 {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    
    .info-card p {
        font-size: 0.75rem;
    }
    
    .appointment-form {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px 12px 40px;
        font-size: 13px;
        border-radius: 35px;
    }
    
    .form-group textarea {
        border-radius: 12px;
    }
    
    .form-group i {
        left: 15px;
        font-size: 14px;
    }
    
    .btn-block {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* ===== FOOTER - TAM RESPONSİVE ===== */
    .footer-section {
        margin-top: 40px;
    }
    
    .footer-top {
        padding: 30px 0 25px;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
    
    /* Logo widget - logo solda böyük, yazı yanında */
    .footer-widget:first-child {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
    }
    
    .footer-widget:first-child .footer-logo {
        flex-shrink: 0;
        margin-bottom: 0;
    }
    
    .footer-logo img {
        height: 70px !important;
        width: auto;
    }
    
    .footer-widget:first-child .footer-desc {
        flex: 1;
        font-size: 0.75rem;
        line-height: 1.5;
        margin: 0;
        max-width: none;
    }
    
    .footer-widget:first-child .footer-social {
        display: none;
    }
    
    /* Sosial ikonlar ayrıca sətir */
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 15px;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    
    /* Xidmətlər gizlə */
    .footer-widget:nth-child(3) {
        display: none !important;
    }
    
    /* Sürətli keçidlər - alt-alta səliqəli */
    .footer-widget:nth-child(2) {
        text-align: left;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .widget-title {
        font-size: 0.95rem;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .widget-title::after {
        left: 0;
        transform: none;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        justify-content: flex-start;
    }
    
    /* Əlaqə məlumatları - alt-alta səliqəli */
    .footer-widget:nth-child(4) {
        text-align: left;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        text-align: left;
    }
    
    .contact-item i {
        width: 32px;
        height: 32px;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .contact-item > div {
        text-align: left;
        flex: 1;
    }
    
    .contact-item h5 {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    
    .contact-item p {
        font-size: 0.75rem;
        word-break: break-word;
        max-width: 220px;
        line-height: 1.4;
    }
    
    /* Footer bottom */
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom-content {
        text-align: center;
    }
    
    .copyright p {
        font-size: 11px;
        line-height: 1.6;
    }
    
    .copyright .developer {
        display: block;
        margin-top: 5px;
    }
    
    /* ===== HEADER - Logo və ad sağa ===== */
    .header-section .container,
    .navbar .container,
    header .container {
        padding-left: 25px;
    }
    
    .logo,
    .navbar-brand,
    .header-logo {
        margin-left: 10px;
    }
    
    .logo img,
    .navbar-brand img,
    .header-logo img {
        margin-left: 5px;
    }
    
    /* ===== BUTTONS GENERAL ===== */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 35px;
    }
    
    .btn i {
        font-size: 12px;
    }
    
    /* ===== LIGHTBOX ===== */
    .lightbox-content {
        max-width: 95%;
    }
    
    .close-lightbox {
        top: -32px;
        font-size: 28px;
    }
}

/* ===== EXTRA SMALL - 480px və kiçik ===== */
@media (max-width: 480px) {
    
    .container {
        padding: 0 12px;
    }
    
    /* Hero daha kiçik */
    .hero-title {
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 0.65rem;
        -webkit-line-clamp: 2;
    }
    
    .hero-buttons .btn {
        padding: 7px 12px;
        font-size: 9px;
    }
    
    .image-wrapper img {
        min-height: 300px;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.45rem;
    }
    
    .hero-stats {
        gap: 5px;
        padding-top: 10px;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.15rem;
    }
    
    .section-subtitle {
        font-size: 9px;
    }
    
    /* About */
    .image-frame {
        max-width: 240px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Services - 4:3 */
    .service-card .service-image {
        aspect-ratio: 4/3 !important;
    }
    
    .service-text h3 {
        font-size: 0.95rem;
    }
    
    /* Gallery - 4:3 */
    .gallery-slider .swiper {
        padding: 0 28px;
    }
    
    .gallery-slide-image {
        aspect-ratio: 4/3 !important;
        height: auto !important;
    }
    
    /* Videos - 2 görünsün, böyük */
    .videos-slider .swiper {
        padding: 0 5px;
    }
    
    .videos-slider .swiper-slide {
        width: 100% !important;
        margin-right: 5px !important;
    }
    
    .video-thumbnail-card {
        max-height: 320px;
        min-height: 280px;
    }
    
    .play-button {
        width: 45px;
        height: 45px;
    }
    
    .play-button i {
        font-size: 16px;
    }
    
    /* Sertifikat pagination */
    .certificates-slider .swiper-pagination {
        margin-top: 18px !important;
    }
    
    /* Blog - 4:3 */
    .blog-card-image {
        aspect-ratio: 4/3 !important;
        height: auto !important;
    }
    
    .blog-title {
        font-size: 0.95rem;
    }
    
    /* Seminars - 4:3 */
    .seminar-image {
        aspect-ratio: 4/3 !important;
        height: auto !important;
    }
    
    /* Appointment */
    .appointment-info {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        flex-direction: row;
        text-align: left;
    }
    
    /* Footer 480px */
    .footer-logo img {
        height: 60px !important;
    }
    
    .footer-widget:first-child .footer-desc {
        font-size: 0.7rem;
    }
    
    /* Header - logo sağa */
    .header-section .container,
    .navbar .container,
    header .container {
        padding-left: 20px;
    }
    
    .logo,
    .navbar-brand,
    .header-logo {
        margin-left: 8px;
    }
}

/* ===== EXTRA EXTRA SMALL - 360px və kiçik ===== */
@media (max-width: 360px) {
    
    .hero-title {
        font-size: 0.85rem;
    }
    
    .hero-description {
        font-size: 0.6rem;
    }
    
    .hero-buttons .btn {
        padding: 6px 10px;
        font-size: 8px;
    }
    
    .image-wrapper img {
        min-height: 260px;
    }
    
    .stat-number {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.05rem;
    }
    
    /* Videos - 2 görünsün, böyük */
    .videos-slider .swiper-slide {
        width: 100% !important;
        margin-right: 4px !important;
    }
    
    .video-thumbnail-card {
        max-height: 280px;
        min-height: 240px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
    }
    
    .play-button i {
        font-size: 14px;
    }
    
    /* Sertifikat pagination */
    .certificates-slider .swiper-pagination {
        margin-top: 15px !important;
    }
    
    /* 4:3 aspect ratio saxla */
    .gallery-slide-image {
        aspect-ratio: 4/3 !important;
    }
    
    .blog-card-image {
        aspect-ratio: 4/3 !important;
    }
    
    .seminar-image {
        aspect-ratio: 4/3 !important;
    }
    
    .service-card .service-image {
        aspect-ratio: 4/3 !important;
    }
    
    .certificate-card img {
        aspect-ratio: auto !important;
    }
}
/* Telefonda video - 1 dene, boyuk */
@media (max-width: 768px) {
    .video-thumbnail-card {
        max-height: none !important;
        min-height: none !important;
        height: 70vh !important;
    }
    .videos-slider .swiper-slide {
        display: flex !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .videos-slider .swiper-wrapper {
        padding-left: 15px !important;
    }
}
