/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column !important;
        margin-left: 2rem;
    }

    .timeline-date {
        text-align: left;
    }

    .timeline-content::after {
        left: -44px !important;
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        margin-left: 1rem;
        padding: 0.5rem 0;
    }

    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .btn-primary,
    .btn-outline-primary {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .why-card {
        padding: 1.5rem;
    }

    .why-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .counter {
        font-size: 2.5rem;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 3rem 1rem;
    }

    .mission-card {
        padding: 1.8rem;
    }

    .mission-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .team-card {
        margin-bottom: 1rem;
    }

    .service-detail {
        padding: 1.5rem 0;
    }

    .service-detail-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .service-detail-title {
        font-size: 1.8rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .blog-card {
        margin-bottom: 1.5rem;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 1.3rem;
    }

    .blog-meta {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 2rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Small tablets (600px to 767px) */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .container-fluid,
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-custom {
        padding: 1rem 0.5rem;
    }

    .hero-section {
        min-height: 60vh;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-primary,
    .btn-outline-primary,
    .btn-light,
    .btn-outline-light {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-image img {
        max-width: 100%;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .why-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .why-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .why-card h4 {
        font-size: 1rem;
    }

    .counter-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .counter {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.9rem;
    }

    .testimonials-container {
        flex-direction: column;
    }

    .testimonial-card {
        flex: 0 0 100%;
        margin-bottom: 1rem;
        padding: 1.5rem;
    }

    .testimonial-header {
        margin-bottom: 0.8rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons a {
        width: 100%;
        padding: 12px 20px;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .story-section {
        padding: 2rem 0;
    }

    .story-text {
        font-size: 1rem;
    }

    .mission-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .mission-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .value-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .value-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        margin-left: 0;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .timeline-date {
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .timeline-content {
        padding: 1.2rem;
    }

    .timeline-content::after {
        display: none;
    }

    .team-image {
        height: 250px;
    }

    .team-info {
        padding: 1rem;
    }

    .service-detail {
        padding: 1rem 0;
    }

    .service-detail-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .service-detail-title {
        font-size: 1.5rem;
    }

    .service-detail-text {
        font-size: 1rem;
    }

    .service-features li {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }

    .process-step {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .process-step h4 {
        font-size: 1rem;
    }

    .process-step p {
        font-size: 0.9rem;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 1.2rem;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blog-excerpt {
        font-size: 0.95rem;
    }

    .blog-meta {
        gap: 0.8rem;
        font-size: 0.75rem;
    }

    .sidebar-widget {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .sidebar-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .recent-post-item img {
        width: 70px;
        height: 70px;
    }

    .pagination-section {
        margin-top: 2rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-form .form-label {
        font-size: 0.95rem;
    }

    .contact-form .form-control,
    .contact-form .form-select {
        font-size: 0.95rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .contact-info-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-details h4 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .map-section {
        padding: 2rem 0;
    }

    .map-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .map-section iframe {
        height: 300px;
    }

    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .footer-logo {
        font-size: 1rem;
    }

    .footer-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .footer-links {
        margin-bottom: 1rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .footer-contact i {
        width: 16px;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }

    .footer-policies {
        gap: 1rem;
        font-size: 0.85rem;
    }
}

/* Mobile phones (up to 599px) */
@media (max-width: 599px) {
    body {
        font-size: 13px;
    }

    .container-fluid,
    .container {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .navbar-custom {
        padding: 0.8rem 0;
    }

    .nav-link {
        margin-left: 0;
        margin-bottom: 0.5rem;
        padding: 0.3rem 0;
    }

    .logo-placeholder i {
        font-size: 1.4rem;
    }

    .hero-section {
        min-height: 50vh;
        padding: 1rem 0;
        text-align: center;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn {
        width: 100%;
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
    }

    .btn-lg {
        padding: 10px 15px !important;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-title::after {
        width: 60px;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .service-link {
        font-size: 0.85rem;
    }

    .why-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .why-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .why-card h4 {
        font-size: 0.95rem;
    }

    .why-card p {
        font-size: 0.85rem;
    }

    .counter-box {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }

    .counter {
        font-size: 1.8rem;
    }

    .counter-label {
        font-size: 0.85rem;
    }

    .testimonials-container {
        gap: 1rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 1rem;
    }

    .testimonial-header {
        gap: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .client-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonial-header h4 {
        font-size: 0.95rem;
    }

    .client-role {
        font-size: 0.8rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .cta-section {
        padding: 1.5rem 0.8rem;
    }

    .cta-title {
        font-size: 1.3rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }

    .cta-section::before,
    .cta-section::after {
        display: none;
    }

    .page-header {
        padding: 1.5rem 0.8rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 0.85rem;
    }

    .story-section {
        padding: 1.5rem 0;
    }

    .story-text {
        font-size: 0.9rem;
    }

    .mission-card {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }

    .mission-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .value-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .value-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .timeline-item {
        margin-left: 0;
        gap: 0.8rem !important;
    }

    .timeline-date {
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .team-image {
        height: 200px;
    }

    .team-info {
        padding: 0.8rem;
    }

    .team-info h4 {
        font-size: 1rem;
    }

    .team-role {
        font-size: 0.85rem;
    }

    .team-bio {
        font-size: 0.8rem;
    }

    .service-detail {
        padding: 0.8rem 0;
    }

    .service-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .service-detail-title {
        font-size: 1.3rem;
    }

    .service-detail-text {
        font-size: 0.9rem;
    }

    .service-features li {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

    .process-step {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .blog-image {
        height: 150px;
    }

    .blog-content {
        padding: 1rem;
    }

    .blog-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .blog-excerpt {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .blog-meta {
        gap: 0.6rem;
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }

    .sidebar-widget {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .sidebar-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .search-form .form-control {
        flex: 1;
        min-width: 150px;
    }

    .recent-post-item {
        gap: 0.8rem;
    }

    .recent-post-item img {
        width: 60px;
        height: 60px;
    }

    .recent-post-content h6 {
        font-size: 0.85rem;
    }

    .recent-post-date {
        font-size: 0.75rem;
    }

    .pagination {
        gap: 0.3rem;
    }

    .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-form .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .contact-form .form-control,
    .contact-form .form-select {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .contact-info-item {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .contact-details h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .contact-details p {
        font-size: 0.85rem;
        margin: 0.2rem 0;
    }

    .map-section {
        padding: 1.5rem 0;
    }

    .map-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .map-section iframe {
        height: 250px;
    }

    .footer {
        padding: 1rem 0 0.8rem;
    }

    .footer-title {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .footer-logo {
        font-size: 0.9rem;
    }

    .footer-text {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .footer-links li {
        margin-bottom: 0.4rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-contact p {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .footer-contact i {
        width: 14px;
        font-size: 0.9rem;
    }

    .footer-divider {
        margin: 1rem 0;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .footer-policies {
        gap: 0.8rem;
        font-size: 0.8rem;
    }
}

/* Extra small devices (up to 399px) */
@media (max-width: 399px) {
    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .service-card {
        padding: 0.6rem;
    }

    .page-title {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        margin: 0 !important;
    }
}