/* ==========================================================================
   SG TECH - Responsiveness styling sheet
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title .cursive {
        font-size: 2.6rem;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: var(--white);
        border-radius: var(--border-radius);
        padding: 1.5rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        margin-top: 1rem;
    }
    
    .nav-link-custom::after {
        display: none;
    }
    
    .nav-link-custom {
        padding: 0.8rem 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-link-custom:last-child {
        border-bottom: none;
    }
    
    .hero-section {
        padding: 6rem 0 4rem 0;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 2rem auto;
    }
    
    .hero-stats-card {
        margin-top: 3rem;
        text-align: left;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-node {
        left: 20px;
        transform: none;
    }
    
    .process-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .process-item:nth-child(odd) .process-content::after,
    .process-item:nth-child(even) .process-content::after {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--bg-color) transparent transparent;
    }
    
    .process-item:hover:nth-child(odd) .process-content::after,
    .process-item:hover:nth-child(even) .process-content::after {
        border-color: transparent var(--white) transparent transparent;
    }
    
    .grow-left-pane, .grow-right-pane {
        padding: 2.5rem;
    }
    
    .timeline-horizontal {
        flex-direction: column;
        gap: 2rem;
        padding-left: 2rem;
    }
    
    .timeline-horizontal::before {
        left: 20px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 4px;
        height: 100%;
        transform: none;
    }
    
    .timeline-hor-item {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .timeline-hor-node {
        margin: 0;
        flex-shrink: 0;
    }
    
    .timeline-hor-item h5 {
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-title .cursive {
        font-size: 2.2rem;
    }
    
    .trust-title {
        font-size: 1.1rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .grow-left-pane {
        border-bottom: 1px dashed rgba(11, 107, 46, 0.15);
    }
    
    .contact-form-box {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .cursive {
        font-size: 1.8rem;
    }
    
    .btn-custom {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.8rem;
    }
    
    .hero-stats-card {
        padding: 1.5rem;
    }
    
    .hero-stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .hero-stat-info h4 {
        font-size: 1.2rem;
    }
    
    .grow-phone-bar {
        font-size: 1.2rem;
    }
}
