/* ===== 1440px+ ===== */
@media (min-width: 1441px) {
    .hero-section .hero-content h1 {
        font-size: 86px;
    }
    .about-hero h1 {
        font-size: 64px;
    }
    .section-title h2 {
        font-size: 50px;
    }
    .cta-section h2 {
        font-size: 58px;
    }
    .founder-content h2 {
        font-size: 48px;
    }
    .legal-hero h1 {
        font-size: 64px;
    }
}

/* ===== 1024px - 1440px ===== */
@media (max-width: 1440px) and (min-width: 1025px) {
    .hero-section .hero-content h1 {
        font-size: 66px;
    }
    .about-hero h1 {
        font-size: 50px;
    }
    .section-title h2 {
        font-size: 40px;
    }
    .cta-section h2 {
        font-size: 44px;
    }
    .founder-content h2 {
        font-size: 38px;
    }
    .legal-hero h1 {
        font-size: 50px;
    }
}

/* ===== 1024px ===== */
@media (max-width: 1024px) {
    .hero-section .hero-content h1 {
        font-size: 52px;
    }
    .about-hero h1 {
        font-size: 42px;
    }
    .section-title h2 {
        font-size: 36px;
    }
    .cta-section h2 {
        font-size: 38px;
    }
    .founder-content h2 {
        font-size: 34px;
    }
    .founder-image img {
        height: 420px;
    }
    .about-story .story-image img {
        height: 380px;
    }
    .about-preview .about-image img {
        height: 360px;
    }
    .project-detail-section .cover-image img {
        height: 400px;
    }
    .portfolio-item img {
        height: 260px;
    }
    .founder-content {
        padding-left: 0;
        margin-top: 30px;
    }
    .about-story .story-content h2 {
        font-size: 32px;
    }
    .about-preview .about-content h2 {
        font-size: 32px;
    }
    .legal-hero h1 {
        font-size: 44px;
    }
    .navbar-custom .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
        padding: 24px;
        border-radius: 16px;
        margin-top: 12px;
        border: 1px solid rgba(255,255,255,0.04);
        backdrop-filter: blur(20px);
    }
    .navbar-custom .navbar-nav {
        gap: 2px;
    }
    .navbar-custom .btn-nav-cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }
    .footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== 768px ===== */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .navbar-custom .navbar-brand .logo-img {
        height: 40px;
    }
    .navbar-custom .navbar-brand .brand-text .main {
        font-size: 20px;
    }
    .hero-section .hero-content h1 {
        font-size: 36px;
    }
    .hero-section .hero-content .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }
    .hero-section .hero-content .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-section .hero-content .btn-hero {
        padding: 12px 32px;
        font-size: 13px;
    }
    .about-preview .about-content h2 {
        font-size: 26px;
    }
    .about-preview .about-content .features-list {
        grid-template-columns: 1fr;
    }
    .about-preview .about-image img {
        height: 250px;
    }
    .about-story .story-image img {
        height: 280px;
    }
    .about-story .story-image .experience-badge {
        bottom: 16px;
        right: 16px;
        padding: 14px 20px;
    }
    .about-story .story-image .experience-badge .number {
        font-size: 24px;
    }
    .about-story .story-content h2 {
        font-size: 26px;
    }
    .about-story .story-content .story-highlights {
        grid-template-columns: 1fr;
    }
    .about-hero h1 {
        font-size: 32px;
    }
    .about-hero .hero-description {
        font-size: 16px;
    }
    .about-stats .stat-item .number {
        font-size: 40px;
    }
    .mission-card {
        padding: 32px 24px;
    }
    .about-cta h2 {
        font-size: 26px;
    }
    .services-section {
        padding: 60px 0;
        margin-top: -60px;
    }
    .service-card {
        padding: 30px 20px;
    }
    .portfolio-item img {
        height: 220px;
    }
    .portfolio-preview {
        padding: 60px 0;
    }
    .portfolio-hero h1 {
        font-size: 32px;
    }
    .portfolio-grid .portfolio-item img {
        height: 200px;
    }
    .category-filter .filter-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
    .stat-item .number {
        font-size: 40px;
    }
    .stats-section {
        padding: 60px 0;
    }
    .team-card .image-wrapper {
        width: 130px;
        height: 130px;
    }
    .team-preview {
        padding: 60px 0;
    }
    .team-hero h1 {
        font-size: 32px;
    }
    .team-member-card .image-wrapper {
        width: 150px;
        height: 150px;
    }
    .testimonials-preview {
        padding: 60px 0;
    }
    .testimonial-card {
        padding: 24px;
    }
    .testimonials-hero h1 {
        font-size: 32px;
    }
    .testimonial-item .client-header {
        flex-direction: column;
        text-align: center;
    }
    .cta-section {
        padding: 80px 0;
    }
    .cta-section h2 {
        font-size: 28px;
    }
    .cta-section .btn-cta {
        padding: 14px 36px;
        font-size: 13px;
    }
    .founder-section {
        padding: 30px 20px;
    }
    .founder-image img {
        height: 320px;
    }
    .founder-image .founder-experience {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
    }
    .founder-image .founder-experience .number {
        font-size: 22px;
    }
    .founder-content h2 {
        font-size: 28px;
    }
    .founder-content .founder-quote p {
        font-size: 16px;
    }
    .founder-achievements {
        gap: 24px;
        flex-wrap: wrap;
    }
    .founder-achievements .achievement .number {
        font-size: 24px;
    }
    .btn-founder {
        padding: 12px 32px;
        font-size: 13px;
    }
    .contact-hero h1 {
        font-size: 32px;
    }
    .contact-form-wrapper {
        padding: 24px;
    }
    .contact-info-card .info-item {
        padding: 12px 0;
    }
    .project-detail-hero h1 {
        font-size: 28px;
    }
    .project-detail-section .cover-image img {
        height: 250px;
    }
    .project-detail-section .project-info .details {
        grid-template-columns: 1fr;
    }
    .project-detail-section .gallery-grid {
        grid-template-columns: 1fr;
    }
    .project-detail-section .gallery-grid .gallery-item img {
        height: 200px;
    }
    .quality-hero h1 {
        font-size: 32px;
    }
    .quality-features .feature-item {
        flex-direction: column;
        text-align: center;
    }
    .quality-features .feature-item .feature-icon {
        margin: 0 auto;
    }
    .legal-hero h1 {
        font-size: 36px;
    }
    .legal-content .legal-section h2 {
        font-size: 22px;
    }
    .legal-content .legal-highlight {
        padding: 20px;
    }
    .footer {
        padding: 60px 0 30px;
    }
    .footer .footer-description {
        max-width: 100%;
    }
    .footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer .footer-bottom .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ===== 425px ===== */
@media (max-width: 425px) {
    html, body {
        overflow-x: hidden !important;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }
    [class*="col-"] {
        padding-left: 8px !important;
        padding-right: 8px !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    section {
        overflow: hidden !important;
        max-width: 100% !important;
    }
    
    /* Header fixes */
    .navbar-custom {
        padding: 6px 0 !important;
    }
    .navbar-custom .navbar-brand .brand-text .tagline {
        display: none;
    }
    .navbar-custom .navbar-brand .logo-img {
        height: 32px;
        max-width: 100px;
    }
    .navbar-custom .navbar-brand .brand-text .main {
        font-size: 16px;
        letter-spacing: 1px;
    }
    .navbar-custom .navbar-toggler {
        padding: 4px 8px;
        font-size: 18px;
        flex-shrink: 0;
        margin-left: auto;
    }
    .navbar-custom .nav-link {
        font-size: 11px;
        padding: 6px 12px !important;
        letter-spacing: 0.5px;
    }
    .navbar-custom .btn-nav-cta {
        padding: 5px 16px;
        font-size: 10px;
        margin-left: 0;
        margin-top: 4px;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .navbar-custom .navbar-nav {
        gap: 0;
        width: 100%;
    }
    .navbar-custom .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-custom .navbar-collapse {
        padding: 16px;
        margin-top: 8px;
        max-width: 100%;
    }
    
    .hero-section .hero-content h1 {
        font-size: 28px;
    }
    .hero-section .hero-content .hero-subtitle {
        font-size: 14px;
    }
    .hero-section .hero-content .btn-hero {
        padding: 10px 24px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
    .hero-section .hero-content .hero-buttons {
        gap: 12px;
        width: 100%;
    }
    .about-hero h1 {
        font-size: 26px;
    }
    .about-hero .hero-description {
        font-size: 14px;
    }
    .about-story .story-content h2 {
        font-size: 22px;
    }
    .about-story .story-image img {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }
    .about-preview .about-content h2 {
        font-size: 22px;
    }
    .about-preview .about-image img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }
    .about-stats .stat-item .number {
        font-size: 32px;
    }
    .mission-vision .section-title h2,
    .values-section .section-title h2,
    .team-intro .section-title h2 {
        font-size: 26px;
    }
    .mission-card {
        padding: 24px 16px;
    }
    .mission-card .icon {
        font-size: 36px;
        width: 64px;
        height: 64px;
        line-height: 64px;
    }
    .service-card {
        padding: 24px 16px;
    }
    .service-card .icon {
        font-size: 30px;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
    .portfolio-item img {
        height: 180px;
        width: 100%;
        object-fit: cover;
    }
    .portfolio-hero h1 {
        font-size: 26px;
    }
    .portfolio-grid .portfolio-item img {
        height: 180px;
        width: 100%;
        object-fit: cover;
    }
    .category-filter .filter-btn {
        font-size: 11px;
        padding: 5px 12px;
    }
    .team-card .image-wrapper {
        width: 110px;
        height: 110px;
    }
    .team-hero h1 {
        font-size: 26px;
    }
    .team-member-card .image-wrapper {
        width: 120px;
        height: 120px;
    }
    .testimonials-hero h1 {
        font-size: 26px;
    }
    .testimonial-card {
        padding: 20px;
    }
    .cta-section h2 {
        font-size: 24px;
    }
    .cta-section p {
        font-size: 15px;
    }
    .cta-section .btn-cta {
        padding: 12px 28px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
    .cta-section .badge-cta {
        font-size: 10px;
        padding: 4px 16px;
    }
    .founder-image img {
        height: 300px;
        width: 100%;
        object-fit: cover;
    }
    .founder-content h2 {
        font-size: 24px;
    }
    .founder-content .founder-quote p {
        font-size: 14px;
    }
    .founder-achievements {
        gap: 16px;
    }
    .founder-achievements .achievement .number {
        font-size: 20px;
    }
    .founder-social {
        gap: 8px;
    }
    .founder-social a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .btn-founder {
        padding: 10px 24px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
    .contact-hero h1 {
        font-size: 26px;
    }
    .contact-form-wrapper {
        padding: 16px;
    }
    .contact-form-wrapper .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    .contact-info-card {
        padding: 20px;
    }
    .contact-info-card .info-item .icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .map-section iframe {
        height: 250px;
        width: 100%;
    }
    .project-detail-hero h1 {
        font-size: 24px;
    }
    .project-detail-hero .meta {
        font-size: 12px;
        gap: 12px;
    }
    .project-detail-section .cover-image img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }
    .project-detail-section .project-info h2 {
        font-size: 24px;
    }
    .project-detail-section .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .project-detail-section .gallery-grid .gallery-item img {
        height: 180px;
        width: 100%;
        object-fit: cover;
    }
    .quality-hero h1 {
        font-size: 26px;
    }
    .quality-card {
        padding: 24px 16px;
    }
    .quality-card .icon {
        font-size: 36px;
        width: 64px;
        height: 64px;
        line-height: 64px;
    }
    .quality-features .feature-item {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }
    .quality-features .feature-item .feature-icon {
        margin: 0 auto;
    }
    .legal-hero h1 {
        font-size: 28px;
    }
    .legal-content .legal-section h2 {
        font-size: 20px;
    }
    .legal-content .legal-section ul {
        padding-left: 16px;
    }
    .legal-content .legal-section p,
    .legal-content .legal-section ul li {
        font-size: 14px;
    }
    .legal-content .legal-highlight {
        padding: 16px;
    }
    .testimonial-item {
        padding: 20px;
    }
    .testimonial-item .client-header {
        flex-direction: column;
        text-align: center;
    }
    .testimonial-item .client-header .avatar {
        margin: 0 auto;
    }
    .testimonial-item .client-header .avatar {
        width: 48px;
        height: 48px;
    }
    .testimonial-item blockquote {
        font-size: 14px;
    }
    .footer {
        padding: 40px 0 20px;
        overflow: hidden;
    }
    .footer .footer-brand .logo-img {
        height: 40px;
    }
    .footer .footer-brand .brand-text .main {
        font-size: 20px;
    }
    .footer .footer-contact li {
        font-size: 13px;
        padding: 6px 0;
    }
    .footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer .footer-bottom .copyright {
        font-size: 11px;
    }
    .footer .footer-bottom .footer-bottom-links {
        gap: 16px;
    }
    .footer .footer-bottom .footer-bottom-links a {
        font-size: 10px;
    }
}

/* ===== 375px ===== */
@media (max-width: 375px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .navbar-custom .navbar-brand .logo-img {
        height: 28px;
        max-width: 80px;
    }
    .navbar-custom .navbar-brand .brand-text .main {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    .navbar-custom .navbar-toggler {
        padding: 3px 6px;
        font-size: 16px;
    }
    .navbar-custom .nav-link {
        font-size: 10px;
        padding: 5px 10px !important;
    }
    .hero-section .hero-content h1 {
        font-size: 24px;
    }
    .hero-section .hero-content .hero-badge {
        font-size: 10px;
        padding: 4px 16px;
    }
    .section-title h2 {
        font-size: 22px;
    }
    .about-hero h1 {
        font-size: 22px;
    }
    .about-story .story-content h2 {
        font-size: 20px;
    }
    .about-preview .about-content h2 {
        font-size: 20px;
    }
    .founder-content h2 {
        font-size: 22px;
    }
    .founder-image img {
        height: 220px;
    }
    .contact-hero h1 {
        font-size: 22px;
    }
}

/* ===== 320px ===== */
@media (max-width: 320px) {
    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    [class*="col-"] {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .navbar-custom .navbar-brand .brand-text .main {
        font-size: 12px;
        letter-spacing: 0px;
    }
    .navbar-custom .navbar-brand .logo-img {
        height: 24px;
        max-width: 60px;
    }
    .navbar-custom .navbar-toggler {
        padding: 2px 5px;
        font-size: 14px;
    }
    .navbar-custom .nav-link {
        font-size: 9px;
        padding: 4px 8px !important;
        letter-spacing: 0px;
    }
    .navbar-custom .btn-nav-cta {
        padding: 4px 12px;
        font-size: 9px;
    }
    .hero-section .hero-content h1 {
        font-size: 20px;
    }
    .hero-section .hero-content .hero-subtitle {
        font-size: 13px;
    }
    .hero-section .hero-content .btn-hero {
        padding: 8px 16px;
        font-size: 11px;
    }
    .section-title h2 {
        font-size: 20px;
    }
    .section-title .subtitle {
        font-size: 9px;
    }
    .about-hero h1 {
        font-size: 20px;
    }
    .about-hero .hero-description {
        font-size: 13px;
    }
    .about-story .story-content h2 {
        font-size: 18px;
    }
    .about-preview .about-content h2 {
        font-size: 18px;
    }
    .cta-section h2 {
        font-size: 20px;
    }
    .cta-section p {
        font-size: 13px;
    }
    .founder-content h2 {
        font-size: 20px;
    }
    .founder-image img {
        height: 300px;
    }
    .contact-hero h1 {
        font-size: 20px;
    }
    .footer .footer-brand .brand-text .main {
        font-size: 16px;
    }
    .footer .footer-bottom .footer-bottom-links {
        gap: 12px;
    }
}

/* ===== Small Screen Image Fixes ===== */
@media (max-width: 576px) {
    .hero-section .hero-bg {
        background-position: center;
    }
    .about-story .story-image .experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 10px 16px;
    }
    .about-story .story-image .experience-badge .number {
        font-size: 20px;
    }
    .about-story .story-image .experience-badge .label {
        font-size: 10px;
    }
    .founder-image .founder-experience {
        bottom: 10px;
        right: 10px;
        padding: 10px 16px;
    }
    .founder-image .founder-experience .number {
        font-size: 18px;
    }
    .founder-image .founder-experience .label {
        font-size: 9px;
    }
    .project-detail-hero .meta {
        flex-direction: column;
        gap: 6px;
    }
    .testimonial-item .client-header {
        flex-direction: column;
        text-align: center;
    }
    .testimonial-item .client-header .avatar {
        margin: 0 auto;
    }
    .quality-features .feature-item {
        flex-direction: column;
        text-align: center;
    }
    .quality-features .feature-item .feature-icon {
        margin: 0 auto;
    }
}

/* ===== Touch-Friendly Buttons ===== */
@media (max-width: 768px) {
    .btn,
    .btn-hero,
    .btn-cta,
    .btn-founder,
    .btn-team,
    .btn-cta-about,
    .btn_contact_us,
    .navbar-custom .btn-nav-cta,
    .filter-btn,
    .view-btn {
        min-height: 44px;
        min-width: 44px;
    }
    .navbar-toggler {
        padding: 8px 12px;
        font-size: 20px;
    }
}