/* Responsive Design - Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.21rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.84rem;
    }
    
    h3 {
        font-size: 1.52rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section .row {
        align-items: center;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
    
    .contact-info {
        margin-top: 1.68rem;
    }
    
    .card-columns {
        column-count: 1;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .contact-info {
        margin-top: 0;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    .card-columns {
        column-count: 2;
    }
    
    .gallery .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section .container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1.5rem;
    }
    
    .team-member img {
        width: 160px;
        height: 160px;
    }
    
    .card-columns {
        column-count: 3;
    }
    
    .feature-card {
        min-height: 200px;
    }
    
    .service-card {
        min-height: 350px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section .container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 2rem;
    }
    
    .team-member img {
        width: 180px;
        height: 180px;
    }
    
    .feature-card {
        min-height: 220px;
    }
    
    .service-card {
        min-height: 400px;
    }
    
    .container {
        max-width: 1200px;
    }
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Tables */
@media (max-width: 767.98px) {
    .table-responsive {
        border: none;
    }
    
    .table-responsive table {
        border: none;
    }
    
    .table-responsive th,
    .table-responsive td {
        border: none;
        padding: 0.5rem;
    }
}

/* Responsive Forms */
@media (max-width: 575.98px) {
    .form-control,
    .form-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.72rem;
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--neutral-light);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.68rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 6px;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: var(--primary-light);
        color: var(--primary-dark);
    }
}

/* Responsive Cards */
@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.27rem;
    }
    
    .card-text {
        font-size: 1.02rem;
    }
}

/* Responsive Spacing */
@media (max-width: 575.98px) {
    .mb-5 {
        margin-bottom: 2rem;
    }
    
    .mt-5 {
        margin-top: 2rem;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .px-5 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Responsive Text */
@media (max-width: 767.98px) {
    .text-center-mobile {
        text-align: center;
    }
    
    .text-left-mobile {
        text-align: left;
    }
}

/* Responsive Flexbox */
@media (max-width: 767.98px) {
    .flex-column-mobile {
        flex-direction: column;
    }
    
    .flex-column-mobile > * {
        margin-bottom: 1rem;
    }
    
    .flex-column-mobile > *:last-child {
        margin-bottom: 0;
    }
}

/* Responsive Grid */
@media (max-width: 575.98px) {
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Responsive Hero Section */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section .row {
        align-items: center;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 1.52rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Responsive Footer */
@media (max-width: 767.98px) {
    footer .row {
        text-align: center;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    footer .col-lg-4:last-child {
        margin-bottom: 0;
    }
}

/* Responsive Contact Form */
@media (max-width: 767.98px) {
    .contact-form .row {
        margin-bottom: 1rem;
    }
    
    .contact-info {
        margin-top: 2rem;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
        margin-bottom: 1.65rem;
    }
    
    .contact-item i {
        margin-right: 0.5rem;
    }
}

/* Responsive Process Steps */
@media (max-width: 767.98px) {
    .process-step {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .process-item {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Responsive Team Section */
@media (max-width: 767.98px) {
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* Responsive Gallery */
@media (max-width: 767.98px) {
    .gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .gallery img {
        width: 100%;
        height: auto;
    }
}

/* Responsive Timeline */
@media (max-width: 767.98px) {
    .timeline-item {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Responsive Breadcrumb */
@media (max-width: 575.98px) {
    .breadcrumb {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-item img {
        width: 14px;
        height: 14px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb,
    footer,
    .btn,
    .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 {
        font-size: 18pt;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    h3 {
        font-size: 14pt;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .card {
        border: 1px solid #c4bdbd;
        page-break-inside: avoid;
    }
    
    .py-5 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
} 