/*
 * Responsive CSS for Turkish Plumbing Services Website
 * Handles all mobile and tablet responsive breakpoints
 * Desktop styles are in style.css
 */

/* ===================================
   LARGE DESKTOP ADJUSTMENTS (1400px)
   =================================== */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .hero h1 {
        font-size: 52px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .service-card h3 {
        font-size: 22px;
    }
}

/* ===================================
   MEDIUM DESKTOP (1200px)
   =================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 25px;
    }

    /* Header Adjustments */
    .header-inner {
        gap: 20px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-item a {
        font-size: 15px;
        padding: 8px 12px;
    }

    .btn-header {
        padding: 10px 18px;
        font-size: 14px;
    }

    .btn-header i {
        font-size: 13px;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero p {
        font-size: 17px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        gap: 15px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    /* Why Us Section */
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    /* Statistics */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    /* Mega Menu */
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .mega-menu-item h4 {
        font-size: 15px;
    }

    .mega-menu-item p {
        font-size: 13px;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 30px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    /* Section Padding */
    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
}

/* ===================================
   TABLETS LANDSCAPE (992px)
   =================================== */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    /* Hide Desktop Navigation */
    .nav-desktop {
        display: none !important;
    }

    /* Show Hamburger Menu */
    .hamburger {
        display: flex !important;
    }

    /* Header Adjustments */
    .header {
        padding: 15px 0;
    }

    .header-logo img {
        max-height: 45px;
    }

    .header-actions {
        display: none !important;
    }

    .header-inner {
        justify-content: space-between;
    }

    /* Top Bar Adjustments */
    .top-bar {
        padding: 8px 0;
        font-size: 13px;
    }

    .top-bar-item {
        font-size: 13px;
        gap: 6px;
    }

    .top-bar-item i {
        font-size: 12px;
    }

    /* Hero Section */
    .hero {
        padding: 80px 0 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .service-card h3 {
        font-size: 19px;
        margin: 15px 0 10px;
    }

    .service-card p {
        font-size: 14px;
    }

    /* Why Us Section */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-us-item {
        padding: 25px 20px;
    }

    .why-us-icon {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }

    .why-us-item h3 {
        font-size: 18px;
        margin: 12px 0 8px;
    }

    /* Statistics */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 15px;
    }

    /* References Grid */
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .reference-card {
        padding: 20px;
    }

    /* Testimonials */
    .testimonials-slider {
        padding: 0 20px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .testimonial-rating i {
        font-size: 16px;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* FAQ Section */
    .faq-item {
        padding: 18px 20px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14px;
        padding-top: 15px;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 30px;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .cta-section p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Contact Section */
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    /* Section Padding */
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 35px;
    }

    /* Page Headers */
    .page-header {
        padding: 80px 0 50px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        font-size: 14px;
    }

    /* Service Detail */
    .service-detail-wrapper {
        flex-direction: column;
    }

    .service-detail-content {
        width: 100%;
        order: 1;
    }

    .service-detail-sidebar {
        width: 100%;
        order: 2;
        margin-top: 40px;
    }

    /* Blog Detail */
    .blog-detail-wrapper {
        flex-direction: column;
    }

    .blog-article {
        width: 100%;
        order: 1;
    }

    .blog-sidebar {
        width: 100%;
        order: 2;
        margin-top: 40px;
    }

    /* Fixed Buttons */
    .fixed-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .fixed-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    /* Reduce Animations */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
}

/* ===================================
   TABLETS PORTRAIT (768px)
   =================================== */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 20px;
    }

    /* Typography Scale Down */
    h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    h3 {
        font-size: 22px;
        line-height: 1.4;
    }

    h4 {
        font-size: 18px;
        line-height: 1.4;
    }

    h5 {
        font-size: 16px;
    }

    h6 {
        font-size: 14px;
    }

    p, li, span {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Top Bar - Stack Vertically */
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
    }

    .top-bar-left {
        flex-wrap: wrap;
        gap: 15px;
    }

    /* Header Sticky Adjustment */
    .header.sticky {
        padding: 12px 0;
    }

    .header-logo img {
        max-height: 40px;
    }

    /* Hamburger Menu */
    .hamburger {
        width: 38px;
        height: 38px;
    }

    .hamburger span {
        height: 2px;
    }

    /* Mobile Navigation */
    .nav-mobile {
        width: 280px;
    }

    .nav-mobile-inner {
        padding: 20px;
    }

    .nav-mobile-item a {
        padding: 12px 15px;
        font-size: 15px;
    }

    .nav-mobile-submenu li a {
        padding: 10px 15px 10px 35px;
        font-size: 14px;
    }

    .nav-mobile-actions {
        padding-top: 20px;
        gap: 10px;
    }

    /* Hero Section */
    .hero {
        padding: 60px 0 50px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    /* Services Grid - 1 Column */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 25px;
        text-align: center;
    }

    .service-card-icon {
        margin: 0 auto 15px;
    }

    /* Why Us Grid - 1 Column */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .why-us-item {
        padding: 25px 20px;
        text-align: center;
    }

    .why-us-icon {
        margin: 0 auto 12px;
    }

    /* Statistics - 2x2 Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 32px;
        margin-bottom: 5px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* References Grid - 1 Column */
    .references-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Testimonials - Single Column */
    .testimonials-slider {
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }

    .testimonial-info {
        text-align: center;
    }

    /* Blog Grid - 1 Column */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card {
        max-width: 100%;
    }

    /* FAQ Section */
    .faq-container {
        padding: 0;
    }

    .faq-item {
        padding: 15px 18px;
    }

    .faq-question {
        font-size: 15px;
        padding-right: 30px;
    }

    .faq-icon {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 14px;
        padding-top: 12px;
        line-height: 1.6;
    }

    /* CTA Section */
    .cta-section {
        padding: 40px 25px;
        border-radius: 12px;
    }

    .cta-section h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .cta-section p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 18px;
    }

    .form-row .form-group {
        width: 100%;
    }

    /* Contact Info */
    .contact-info {
        padding: 30px 20px;
    }

    .contact-info-item {
        padding: 20px;
    }

    .contact-info-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .contact-info h4 {
        font-size: 16px;
    }

    .contact-info p {
        font-size: 14px;
    }

    /* Contact Map */
    .contact-map {
        height: 300px;
        margin-top: 30px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column:first-child {
        grid-column: auto;
    }

    .footer-logo {
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-height: 45px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 0;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    /* Section Padding */
    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    /* Page Header */
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .page-header p {
        font-size: 15px;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Cards */
    .card {
        padding: 20px;
        border-radius: 10px;
    }

    .card-header {
        padding: 15px 20px;
    }

    .card-body {
        padding: 20px;
    }

    .card-footer {
        padding: 15px 20px;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 8px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-block {
        width: 100%;
        display: block;
    }

    /* Fixed Buttons */
    .fixed-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .fixed-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .fixed-btn span {
        display: none;
    }

    /* Service Detail Page */
    .service-detail-header {
        padding: 30px 0;
    }

    .service-detail-header h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .service-detail-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
    }

    .service-detail-image {
        height: 250px;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .service-detail-content {
        padding: 25px 20px;
    }

    .service-detail-content h2 {
        font-size: 24px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .service-detail-content h3 {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .service-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-feature-item {
        padding: 15px;
        font-size: 14px;
    }

    /* Sidebar Widgets */
    .sidebar-widget {
        padding: 20px;
        margin-bottom: 20px;
    }

    .sidebar-widget h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .sidebar-service-item {
        padding: 12px;
        font-size: 14px;
    }

    .sidebar-contact {
        padding: 25px 20px;
    }

    .sidebar-contact-item {
        padding: 15px;
        font-size: 14px;
    }

    /* Blog Detail Page */
    .blog-detail-header {
        padding: 30px 0;
    }

    .blog-detail-header h1 {
        font-size: 26px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .blog-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
    }

    .blog-featured-image {
        height: 250px;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .blog-content {
        padding: 25px 20px;
    }

    .blog-content h2 {
        font-size: 22px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .blog-content h3 {
        font-size: 19px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .blog-content img {
        border-radius: 10px;
        margin: 20px 0;
    }

    .blog-tags {
        flex-wrap: wrap;
        gap: 8px;
        padding: 20px;
    }

    .blog-tag {
        padding: 6px 12px;
        font-size: 13px;
    }

    .blog-author {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .blog-author-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .blog-author-info {
        text-align: center;
    }

    /* Related Posts */
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pagination-item {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-width: 480px;
        padding: 25px 20px;
        margin: 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .modal-close {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

/* ===================================
   LARGE PHONES (576px)
   =================================== */
@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    /* Typography Further Scale Down */
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 17px;
    }

    h5 {
        font-size: 15px;
    }

    h6 {
        font-size: 14px;
    }

    p, li, span {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Top Bar - Hide or Minimize */
    .top-bar {
        display: none;
    }

    /* Alternative: Show minimal top bar */
    .top-bar.minimal {
        display: block;
        padding: 6px 0;
    }

    .top-bar.minimal .top-bar-item span {
        display: none;
    }

    .top-bar.minimal .top-bar-item {
        font-size: 18px;
    }

    /* Header */
    .header {
        padding: 12px 0;
    }

    .header-logo img {
        max-height: 35px;
    }

    .hamburger {
        width: 35px;
        height: 35px;
    }

    /* Mobile Navigation Full Width */
    .nav-mobile {
        width: 100%;
    }

    /* Hero Section */
    .hero {
        padding: 50px 0 40px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .hero-buttons .btn {
        padding: 13px 20px;
        font-size: 14px;
    }

    /* Services Section */
    .service-card {
        padding: 25px 20px;
    }

    .service-card-icon {
        width: 55px;
        height: 55px;
        font-size: 26px;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 18px;
        margin: 12px 0 8px;
    }

    .service-card p {
        font-size: 13px;
        line-height: 1.6;
    }

    .service-card .btn {
        margin-top: 15px;
        font-size: 13px;
        padding: 10px 20px;
    }

    /* Why Us Section */
    .why-us-item {
        padding: 20px 15px;
    }

    .why-us-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .why-us-item h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .why-us-item p {
        font-size: 13px;
    }

    /* Statistics - 2 Columns */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .stat-number {
        font-size: 28px;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* References Section */
    .reference-card {
        padding: 18px 15px;
    }

    .reference-logo {
        height: 60px;
        margin-bottom: 12px;
    }

    .reference-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .reference-card p {
        font-size: 13px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 20px 15px;
    }

    .testimonial-text {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.7;
    }

    .testimonial-rating {
        margin-bottom: 12px;
    }

    .testimonial-rating i {
        font-size: 14px;
    }

    .testimonial-avatar {
        width: 55px;
        height: 55px;
    }

    .testimonial-name {
        font-size: 15px;
    }

    .testimonial-position {
        font-size: 12px;
    }

    /* Blog Section */
    .blog-card {
        border-radius: 10px;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-card-content {
        padding: 18px 15px;
    }

    .blog-category {
        padding: 5px 10px;
        font-size: 11px;
    }

    .blog-card h3 {
        font-size: 17px;
        margin: 10px 0;
        line-height: 1.4;
    }

    .blog-card p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .blog-meta {
        font-size: 12px;
        gap: 10px;
    }

    /* FAQ Section */
    .faq-item {
        padding: 14px 16px;
        margin-bottom: 10px;
    }

    .faq-question {
        font-size: 14px;
        padding-right: 28px;
    }

    .faq-icon {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 13px;
        padding-top: 10px;
        line-height: 1.7;
    }

    /* CTA Section */
    .cta-section {
        padding: 35px 20px;
        border-radius: 10px;
    }

    .cta-section h2 {
        font-size: 23px;
        margin-bottom: 8px;
    }

    .cta-section p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .cta-buttons .btn {
        padding: 13px 20px;
        font-size: 14px;
    }

    /* Contact Form */
    .contact-form {
        padding: 25px 18px;
        border-radius: 10px;
    }

    .contact-form h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-control {
        padding: 11px 14px;
        font-size: 14px;
    }

    textarea.form-control {
        min-height: 120px;
    }

    /* Contact Info */
    .contact-info {
        padding: 25px 18px;
    }

    .contact-info h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .contact-info-item {
        padding: 18px 15px;
        margin-bottom: 12px;
    }

    .contact-info-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .contact-info h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .contact-info p,
    .contact-info a {
        font-size: 13px;
    }

    /* Contact Map */
    .contact-map {
        height: 280px;
        margin-top: 25px;
        border-radius: 10px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 25px;
    }

    .footer-column h3 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .footer-links li a {
        font-size: 13px;
        padding: 6px 0;
    }

    .footer-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-bottom {
        padding: 18px 0;
        font-size: 12px;
    }

    /* Section Padding */
    .section-padding {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }

    /* Page Header */
    .page-header {
        padding: 50px 0 35px;
    }

    .page-header h1 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .page-header p {
        font-size: 14px;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        font-size: 12px;
        gap: 6px;
    }

    .breadcrumbs-separator {
        margin: 0 4px;
    }

    /* Buttons Touch Friendly */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn i {
        font-size: 14px;
    }

    /* Fixed Buttons */
    .fixed-buttons {
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }

    .fixed-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .fixed-btn:hover {
        transform: translateY(-3px);
    }

    /* Service Detail */
    .service-detail-header {
        padding: 25px 0;
    }

    .service-detail-header h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .service-detail-image {
        height: 220px;
        margin-bottom: 20px;
    }

    .service-detail-content {
        padding: 20px 15px;
    }

    .service-detail-content h2 {
        font-size: 21px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .service-detail-content h3 {
        font-size: 18px;
        margin-top: 18px;
        margin-bottom: 8px;
    }

    .service-detail-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .service-detail-content ul li,
    .service-detail-content ol li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* Sidebar */
    .sidebar-widget {
        padding: 18px 15px;
        margin-bottom: 18px;
    }

    .sidebar-widget h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .sidebar-service-item {
        padding: 11px;
        font-size: 13px;
    }

    .sidebar-contact {
        padding: 20px 15px;
    }

    .sidebar-contact h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .sidebar-contact-item {
        padding: 14px 12px;
        font-size: 13px;
    }

    .sidebar-contact-item i {
        font-size: 16px;
    }

    /* Blog Detail */
    .blog-detail-header h1 {
        font-size: 23px;
        line-height: 1.4;
    }

    .blog-featured-image {
        height: 220px;
        margin-bottom: 20px;
    }

    .blog-content {
        padding: 20px 15px;
    }

    .blog-content h2 {
        font-size: 20px;
        margin-top: 20px;
    }

    .blog-content h3 {
        font-size: 18px;
        margin-top: 18px;
    }

    .blog-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .blog-tags {
        padding: 18px 15px;
    }

    .blog-tag {
        padding: 5px 10px;
        font-size: 12px;
    }

    .blog-author {
        padding: 18px 15px;
    }

    .blog-author-avatar {
        width: 65px;
        height: 65px;
    }

    .blog-author-name {
        font-size: 16px;
    }

    .blog-author-bio {
        font-size: 13px;
    }

    /* Modal */
    .modal-content {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
        margin: 10px;
        border-radius: 10px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .modal-close {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .modal-body {
        padding: 15px 0;
    }

    /* Tables Responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 13px;
    }

    table th,
    table td {
        padding: 10px 8px;
    }

    /* Alerts */
    .alert {
        padding: 12px 15px;
        font-size: 13px;
        border-radius: 8px;
    }

    /* Badge */
    .badge {
        padding: 4px 8px;
        font-size: 11px;
    }

    /* Loading Spinner */
    .loading-spinner {
        width: 35px;
        height: 35px;
    }

    /* Pagination */
    .pagination-item {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* ===================================
   SMALL PHONES (400px)
   =================================== */
@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }

    /* Typography Minimum Sizes */
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 21px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    p, li, span {
        font-size: 13px;
    }

    /* Header */
    .header-logo img {
        max-height: 32px;
    }

    .hamburger {
        width: 32px;
        height: 32px;
    }

    /* Hero */
    .hero {
        padding: 40px 0 35px;
    }

    .hero h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .hero-buttons .btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    /* Services */
    .service-card {
        padding: 20px 15px;
    }

    .service-card-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 12px;
    }

    /* Statistics */
    .stat-card {
        padding: 18px 10px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 18px 12px;
    }

    .testimonial-text {
        font-size: 13px;
    }

    /* Blog Cards */
    .blog-card-image {
        height: 180px;
    }

    .blog-card-content {
        padding: 15px 12px;
    }

    .blog-card h3 {
        font-size: 15px;
    }

    .blog-card p {
        font-size: 12px;
    }

    /* FAQ */
    .faq-item {
        padding: 12px 14px;
    }

    .faq-question {
        font-size: 13px;
    }

    .faq-answer {
        font-size: 12px;
    }

    /* CTA */
    .cta-section {
        padding: 30px 15px;
    }

    .cta-section h2 {
        font-size: 20px;
    }

    .cta-section p {
        font-size: 13px;
    }

    /* Contact Form */
    .contact-form,
    .contact-info {
        padding: 20px 15px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 35px 0 18px;
    }

    .footer-logo img {
        max-height: 38px;
    }

    .footer-social-link {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    /* Section Padding */
    .section-padding {
        padding: 35px 0;
    }

    .section-title {
        font-size: 21px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    /* Page Header */
    .page-header {
        padding: 40px 0 30px;
    }

    .page-header h1 {
        font-size: 23px;
    }

    /* Fixed Buttons */
    .fixed-btn {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    /* Buttons */
    .btn {
        padding: 11px 18px;
        font-size: 13px;
    }

    /* Cards */
    .card {
        padding: 18px 15px;
    }

    /* Modal */
    .modal-content {
        padding: 18px 12px;
    }
}

/* ===================================
   SAFE AREA FOR NOTCHED PHONES
   =================================== */
@supports (padding: max(0px)) {
    .header,
    .top-bar {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    .fixed-buttons {
        bottom: max(15px, env(safe-area-inset-bottom));
        right: max(15px, env(safe-area-inset-right));
    }

    .nav-mobile {
        padding-left: max(0px, env(safe-area-inset-left));
    }
}

/* ===================================
   LANDSCAPE ORIENTATION SPECIFIC
   =================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .page-header {
        padding: 40px 0 30px;
    }

    .modal-content {
        max-height: 85vh;
        overflow-y: auto;
    }

    .nav-mobile {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ===================================
   REDUCE MOTION FOR ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================
   HIGH CONTRAST MODE
   =================================== */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }

    .card,
    .service-card,
    .testimonial-card {
        border: 2px solid #333;
    }

    a:focus,
    button:focus,
    input:focus,
    textarea:focus {
        outline: 3px solid #000;
        outline-offset: 2px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .header,
    .top-bar,
    .hamburger,
    .nav-mobile,
    .fixed-buttons,
    .cta-section,
    .footer {
        display: none !important;
    }

    .hero {
        page-break-after: avoid;
    }

    .service-card,
    .blog-card,
    .testimonial-card {
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
}

/* ===================================
   UTILITY CLASSES FOR RESPONSIVE
   =================================== */

/* Hide on Mobile */
.hide-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show on Mobile Only */
.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .show-mobile {
        display: block !important;
    }
}

/* Text Alignment Responsive */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }

    .text-left-mobile {
        text-align: left !important;
    }
}

/* Full Width on Mobile */
@media (max-width: 768px) {
    .full-width-mobile {
        width: 100% !important;
    }
}

/* No Padding on Mobile */
@media (max-width: 768px) {
    .no-padding-mobile {
        padding: 0 !important;
    }
}

/* No Margin on Mobile */
@media (max-width: 768px) {
    .no-margin-mobile {
        margin: 0 !important;
    }
}

/* Stack Columns on Mobile */
@media (max-width: 768px) {
    .stack-mobile {
        flex-direction: column !important;
    }

    .stack-mobile > * {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .stack-mobile > *:last-child {
        margin-bottom: 0;
    }
}

/* ===================================
   PREVENT HORIZONTAL SCROLL
   =================================== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* ===================================
   SMOOTH SCROLLING (Optional)
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ===================================
   TOUCH OPTIMIZATIONS
   =================================== */
@media (hover: none) and (pointer: coarse) {
    /* Touch-friendly tap targets */
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .blog-card:hover,
    .btn:hover {
        transform: none;
    }

    /* Larger tap targets for mobile */
    .nav-mobile-item a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .fixed-btn {
        min-width: 50px;
        min-height: 50px;
    }
}

/* ===================================
   END OF RESPONSIVE CSS
   =================================== */
