/* In My Consult - Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (max-width: 1199.98px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .client-stat {
        font-size: 3.5rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 10rem 0 6rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        color: var(--dark-color);
        padding: 0.5rem 0;
    }
    
    .header-email {
        color: var(--dark-color);
        margin-bottom: 1rem;
        display: block;
    }
    
    .navbar.scrolled .navbar-collapse {
        background-color: var(--white);
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .about-section,
    .vision-section,
    .values-section,
    .services-section,
    .clients-section,
    .testimonials-section,
    .faq-section,
    .contact-section {
        padding: 6rem 0;
    }
    
    .stats-section {
        padding: 4rem 0;
    }
    
    .quote-section {
        padding: 4rem 0;
    }
    
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    /* About section features - stack in mobile */
    .about-section .feature-card {
        margin-bottom: 1.5rem;
    }
    
    /* Policy pages */
    .page-header {
        padding: 8rem 0 2rem;
    }
    
    .page-content {
        padding: 3rem 0 6rem;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .client-stat {
        font-size: 3rem;
    }
    
    .quote-text {
        font-size: 1.25rem;
    }
    
    .service-card,
    .value-card,
    .vision-card,
    .feature-card,
    .client-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .footer-policy-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Contact section adjustments */
    .contact-section {
        background-attachment: scroll;
    }
    
    /* Policy pages */
    .page-header h1 {
        font-size: 2rem;
    }
    
    .policy-content h3 {
        font-size: 1.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .client-stat {
        font-size: 2.5rem;
    }
    
    .section-header h2::after {
        width: 60px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    /* Stats section - adjust spacing */
    .stats-section .col-6 {
        margin-bottom: 2rem;
    }
    
    /* Policy pages */
    .page-header {
        padding: 7rem 0 2rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .policy-content ul {
        margin-left: 1rem;
    }
    
    .policy-content li {
        padding-left: 1rem;
    }
}

/* Mobile Navigation Toggle Animation */
.navbar-toggler {
    transition: all 0.3s ease;
}

/*.navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}*/

.navbar.scrolled .navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}*/

.navbar.scrolled .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Fix for mobile dropdown menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
    
    .page-header {
        min-height: -webkit-fill-available;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .footer,
    .contact-form,
    .social-links {
        display: none !important;
    }
    
    .hero-section,
    .about-section,
    .vision-section,
    .values-section,
    .services-section,
    .clients-section,
    .testimonials-section,
    .faq-section {
        padding: 2rem 0 !important;
    }
    
    a {
        text-decoration: none !important;
        color: #000 !important;
    }
    
    /* Hide background images in print */
    .contact-section,
    .quote-section {
        background: none !important;
    }
}