/* Responsive Styles for Fortifend Legal Website */

/* General Responsive Styles */
@media screen and (max-width: 1200px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Tablet and Smaller Desktop */
@media screen and (max-width: 991px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand span {
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero-wrap {
        background-size: cover !important;
        background-position: center !important;
    }

    .hero-wrap .col-md-6 {
        width: 100%;
        text-align: center;
    }

    /* Services Section */
    .services-wrap .col-md-4 {
        margin-bottom: 30px;
    }

    /* About Section */
    .about-section .col-md-6 {
        margin-bottom: 30px;
    }

    /* Eligibility Section */
    .eligibility-list {
        gap: 20px !important;
    }

    .eligibility-item {
        flex: 0 1 calc(50% - 20px) !important;
    }

    /* Importance Section */
    .importance-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Steps Section */
    .steps-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Icons Row in Documents Section */
    .icons-row {
        gap: 30px !important;
        flex-wrap: wrap !important;
    }

    .icon-item {
        flex: 0 1 calc(33.33% - 20px) !important;
    }

    /* Document Boxes */
    .document-boxes {
        gap: 20px !important;
    }

    .document-box {
        min-width: 280px !important;
    }

    /* Icons Container */
    .icons-container {
        gap: 40px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .icons-container > div {
        flex: 0 1 calc(33.33% - 40px) !important;
        min-width: 120px !important;
    }
}

/* Mobile Devices */
@media screen and (max-width: 767px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-brand span {
        display: none;
    }

    .navbar-nav {
        padding: 10px 0;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    /* Hero Section */
    .hero-wrap {
        min-height: 500px !important;
    }

    .hero-wrap h1 {
        font-size: 2rem;
    }

    .hero-wrap .subheading {
        font-size: 1.2rem;
    }

    /* Services Section */
    .services-wrap .col-md-4 {
        width: 100%;
    }

    /* About Section */
    .about-section .col-md-6 {
        width: 100%;
    }

    /* Eligibility Section */
    .eligibility-list {
        flex-direction: column !important;
    }

    .eligibility-item {
        flex: 0 1 100% !important;
        margin-bottom: 20px;
    }

    /* Importance Section */
    .importance-list {
        grid-template-columns: 1fr !important;
    }

    /* Steps Section */
    .steps-container {
        grid-template-columns: 1fr !important;
    }

    .step {
        margin-bottom: 40px;
    }

    /* Documents Section */
    .icons-row {
        gap: 20px !important;
    }

    .icon-item {
        flex: 0 1 calc(50% - 10px) !important;
    }

    .icon-item img {
        width: 45px !important;
        height: 45px !important;
    }

    .document-boxes {
        flex-direction: column !important;
    }

    .document-box {
        width: 100% !important;
        max-width: none !important;
    }

    /* Why Us Section */
    .why-us-section ul {
        margin-left: 20px !important;
    }

    .why-us-section li {
        margin-left: 0 !important;
        padding-left: 30px !important;
    }

    /* Registration Process Section */
    .registration-process-section img {
        width: 100% !important;
        height: auto !important;
    }

    /* Founders Section */
    .block-2 {
        margin-bottom: 30px !important;
    }

    .col-lg-3.col-sm-6 {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto 30px !important;
    }

    /* Consultation Section */
    .ftco-consultation .col-md-6 {
        width: 100% !important;
    }

    .ftco-consultation .half {
        padding: 30px 20px !important;
    }

    /* How We Work Section */
    .step-card {
        min-height: 150px !important;
    }

    .step-number {
        font-size: 4em !important;
    }

    .step-arrow {
        display: none !important;
    }

    /* Footer Section */
    .ftco-footer .col-md {
        margin-bottom: 30px !important;
    }

    .ftco-footer-widget {
        text-align: center !important;
    }

    .ftco-footer-social {
        float: none !important;
        justify-content: center !important;
    }

    .ftco-footer .ml-md-5 {
        margin-left: 0 !important;
    }

    .ftco-footer .block-23 ul {
        padding-left: 0 !important;
    }

    .ftco-footer .opening-hours {
        text-align: center !important;
    }

    .ftco-footer .opening-hours .pl-3 {
        padding-left: 0 !important;
    }

    /* Icons Container */
    .icons-container {
        gap: 30px !important;
    }

    .icons-container > div {
        flex: 0 1 calc(50% - 30px) !important;
    }

    .icons-container img {
        width: 45px !important;
        height: 45px !important;
    }

    .icons-container p {
        font-size: 13px !important;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    /* Navigation */
    .navbar-brand {
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-wrap h1 {
        font-size: 1.8rem;
    }

    .hero-wrap .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Icons Row */
    .icon-item {
        flex: 0 1 100% !important;
        margin-bottom: 20px !important;
    }

    /* Documents Section */
    .document-box {
        padding: 20px !important;
    }

    /* Section Headers */
    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    /* Why Us Section */
    .why-us-section li {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* Founders Section */
    .block-2 .box h2 {
        font-size: 1.5rem !important;
    }

    .block-2 .box p {
        font-size: 0.9rem !important;
    }

    /* Consultation Section */
    .ftco-consultation .form-control {
        font-size: 14px !important;
    }

    /* How We Work Section */
    .step-card {
        padding: 15px !important;
    }

    .step-card p {
        font-size: 13px !important;
    }

    .step-number {
        font-size: 3.5em !important;
    }

    /* Footer Section */
    .ftco-footer .logo {
        font-size: 1.5rem !important;
    }

    .ftco-footer .logo span {
        font-size: 0.8rem !important;
    }

    .ftco-footer .ftco-heading-2 {
        font-size: 1.2rem !important;
    }

    .ftco-footer .block-23 .text {
        font-size: 14px !important;
    }

    /* Icons Container */
    .icons-container {
        gap: 20px !important;
    }

    .icons-container > div {
        flex: 0 1 100% !important;
        max-width: 200px !important;
    }

    .icons-container img {
        width: 40px !important;
        height: 40px !important;
    }

    .icons-container p {
        font-size: 12px !important;
    }
}

/* Fix for specific components */
@media screen and (max-width: 767px) {
    /* Fix for trademark kinds section */
    .trademark-kinds-list {
        flex-direction: column !important;
    }

    .kind-item {
        width: 100% !important;
        margin-bottom: 30px;
    }

    /* Fix for online procedure section */
    .online-procedure-section h3 {
        font-size: 1.2rem !important;
    }

    /* Fix for document section icons */
    .icons-row {
        justify-content: center !important;
    }

    .icon-item img {
        width: 45px !important;
        height: 45px !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-wrap,
    .btn,
    .icons-row {
        display: none !important;
    }

    .container {
        width: 100% !important;
        max-width: none !important;
    }

    body {
        font-size: 12pt;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    p, ul, ol {
        page-break-inside: avoid;
    }
}

/* Additional Responsive Styles for Remaining Sections */

/* Documents Section Responsive */
@media screen and (max-width: 991px) {
    /* Icons Row in Documents Section */
    .icons-row {
        gap: 30px !important;
        flex-wrap: wrap !important;
    }

    .icon-item {
        flex: 0 1 calc(33.33% - 20px) !important;
    }

    /* Document Boxes */
    .document-boxes {
        gap: 20px !important;
    }

    .document-box {
        min-width: 280px !important;
    }
}

@media screen and (max-width: 767px) {
    /* Documents Section */
    .icons-row {
        gap: 20px !important;
    }

    .icon-item {
        flex: 0 1 calc(50% - 10px) !important;
    }

    .icon-item img {
        width: 45px !important;
        height: 45px !important;
    }

    .document-boxes {
        flex-direction: column !important;
    }

    .document-box {
        width: 100% !important;
        max-width: none !important;
    }

    /* Why Us Section */
    .why-us-section ul {
        margin-left: 20px !important;
    }

    .why-us-section li {
        margin-left: 0 !important;
        padding-left: 30px !important;
    }

    /* Registration Process Section */
    .registration-process-section img {
        width: 100% !important;
        height: auto !important;
    }

    /* Founders Section */
    .block-2 {
        margin-bottom: 30px !important;
    }

    .col-lg-3.col-sm-6 {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto 30px !important;
    }

    /* Consultation Section */
    .ftco-consultation .col-md-6 {
        width: 100% !important;
    }

    .ftco-consultation .half {
        padding: 30px 20px !important;
    }

    /* How We Work Section */
    .step-card {
        min-height: 150px !important;
    }

    .step-number {
        font-size: 4em !important;
    }

    .step-arrow {
        display: none !important;
    }

    /* Footer Section */
    .ftco-footer .col-md {
        margin-bottom: 30px !important;
    }

    .ftco-footer-widget {
        text-align: center !important;
    }

    .ftco-footer-social {
        float: none !important;
        justify-content: center !important;
    }

    .ftco-footer .ml-md-5 {
        margin-left: 0 !important;
    }

    .ftco-footer .block-23 ul {
        padding-left: 0 !important;
    }

    .ftco-footer .opening-hours {
        text-align: center !important;
    }

    .ftco-footer .opening-hours .pl-3 {
        padding-left: 0 !important;
    }

    /* Icons Container */
    .icons-container {
        gap: 30px !important;
    }

    .icons-container > div {
        flex: 0 1 calc(50% - 30px) !important;
    }

    .icons-container img {
        width: 45px !important;
        height: 45px !important;
    }

    .icons-container p {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 480px) {
    /* Documents Section */
    .icon-item {
        flex: 0 1 100% !important;
        margin-bottom: 20px !important;
    }

    /* Why Us Section */
    .why-us-section li {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* Founders Section */
    .block-2 .box h2 {
        font-size: 1.5rem !important;
    }

    .block-2 .box p {
        font-size: 0.9rem !important;
    }

    /* Consultation Section */
    .ftco-consultation .form-control {
        font-size: 14px !important;
    }

    /* How We Work Section */
    .step-card {
        padding: 15px !important;
    }

    .step-card p {
        font-size: 13px !important;
    }

    .step-number {
        font-size: 3.5em !important;
    }

    /* Footer Section */
    .ftco-footer .logo {
        font-size: 1.5rem !important;
    }

    .ftco-footer .logo span {
        font-size: 0.8rem !important;
    }

    .ftco-footer .ftco-heading-2 {
        font-size: 1.2rem !important;
    }

    .ftco-footer .block-23 .text {
        font-size: 14px !important;
    }

    /* Icons Container */
    .icons-container {
        gap: 20px !important;
    }

    .icons-container > div {
        flex: 0 1 100% !important;
        max-width: 200px !important;
    }

    .icons-container img {
        width: 40px !important;
        height: 40px !important;
    }

    .icons-container p {
        font-size: 12px !important;
    }
}

/* Fix for Practice Areas in Footer */
@media screen and (max-width: 767px) {
    .ftco-footer .toggle-sublist {
        padding: 8px 0 !important;
    }

    .ftco-footer .sub-list {
        padding-left: 20px !important;
    }

    .ftco-footer .sub-list ul {
        padding-left: 15px !important;
    }

    .ftco-footer .sub-list li {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .ftco-footer .practice-areas-list {
        padding-left: 0 !important;
    }

    .ftco-footer .practice-areas-list > li .toggle-sublist {
        gap: 12px !important;
        align-items: center !important;
    }

    .ftco-footer .practice-areas-list .area-number {
        width: 26px !important;
        height: 26px !important;
        font-size: 13px !important;
    }

    .ftco-footer .sub-list.alpha-list {
        padding-left: 36px !important;
    }
}

/* Fix for Consultation Form */
@media screen and (max-width: 767px) {
    .consultation .form-group {
        margin-bottom: 15px !important;
    }

    .consultation .form-control {
        height: 45px !important;
    }

    .consultation textarea.form-control {
        height: 120px !important;
    }

    .consultation .btn {
        width: 100% !important;
    }
}

/* Fix for Registration Process Image */
@media screen and (max-width: 767px) {
    .registration-process-section {
        padding: 30px 15px !important;
    }

    .registration-process-section img {
        margin: 0 -15px !important;
        width: calc(100% + 30px) !important;
    }
}

/* Fix for How We Work Grid */
@media screen and (max-width: 767px) {
    .how-we-work-section {
        padding: 40px 15px !important;
    }

    .how-we-work-section .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media screen and (max-width: 480px) {
    .how-we-work-section .grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fix for Footer Copyright */
@media screen and (max-width: 767px) {
    .ftco-footer .col-md-12.text-center {
        font-size: 14px !important;
    }

    .ftco-footer .col-md-12.text-center a {
        display: block !important;
        margin-top: 5px !important;
    }
} 