﻿



@media (max-width: 1200px) {
    .terms-grid {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        display: none;
    }

    .terms-nav {
        display: block;
    
}
    .hero-title {
        font-size: 3.5rem;
    }

    .accuracy-content {
        padding-left: 20px;
    }
    .filter-sidebar {
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 30px;
    }
    .interactive-timeline {
        flex-wrap: wrap;
        gap: 40px;
    }

    .timeline-chapter {
        flex: 0 0 calc(33.333% - 30px);
    }

    .interactive-timeline::before {
        display: none;
    }
}


@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .process-arrow {
        display: none;
    }

    .accuracy-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .try-now-box {
        padding: 40px 30px;
    }
    .contact-main {
        padding: 50px 0;
    }

    .contact-title {
        font-size: 2.8rem;
    }

    .contact-form-container {
        padding: 40px 35px;
    }
    .login-main {
        padding: 30px 15px;
    }

    .login-form-container {
        padding: 50px 40px;
    }
    .trial-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .trial-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .trial-tabs {
        flex-wrap: wrap;
    }
    .register-main {
        padding: 30px 15px;
    }

    .register-form-container {
        padding: 40px 35px;
        max-height: none;
    }
    /* Navbar Mobile */
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 15px;
        padding: 20px;
        margin-top: 15px;
    }

    .navbar-nav {
        gap: 10px;
    }

        .navbar-nav .nav-link {
            padding: 12px 15px !important;
            border-radius: 8px;
            background: rgba(212, 175, 55, 0.05);
            border: 1px solid rgba(212, 175, 55, 0.2);
        }

            .navbar-nav .nav-link:hover,
            .navbar-nav .nav-link.active {
                background: rgba(212, 175, 55, 0.15);
                border-color: var(--gold);
            }

            .navbar-nav .nav-link::after {
                display: none;
            }

    /* Mega Menu Mobile */
    .mega-menu {
        min-width: 100%;
        position: static !important;
        transform: none !important;
    }

    .mega-dropdown .dropdown-menu {
        margin-top: 10px;
        position: relative !important;
        width: 100% !important;
        height: calc(50vh - 100px);
        overflow: auto;
    }

    .mega-menu .row {
        flex-direction: column;
    }

    .mega-menu .col-md-3 {
        width: 100%;
        margin-bottom: 20px;
    }

    .mega-title {
        font-size: 1rem;
        margin-top: 10px;
    }

    .mega-link {
        padding: 10px 15px;
        font-size: 14px;
    }

    /* Account Dropdown Mobile */
    .account-dropdown {
        margin-top: 15px;
    }

        .account-dropdown .dropdown-menu {
            width: 100%;
            margin-top: 10px;
        }

    .btn-account {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Navbar Toggler */
    .navbar-toggler {
        border: 1px solid var(--gold);
        padding: 8px 12px;
    }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
        }

    .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(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content h1 {
        font-size: 2.5rem;
    }



    .founder-title {
        font-size: 2rem;
    }

    .founder-image-placeholder {
        width: 220px;
        height: 220px;
    }

    .founder-quote {
        font-size: 1.1rem;
    }

    .founder-image-wrapper {
        margin-bottom: 30px;
    }
    .search-title {
        font-size: 2rem;
    }

    .results-container.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}


@media(min-width: 768px) and (max-width: 1366px) {

    .app-download-btn{
        z-index:9;
    }

    .image-connect {
        left: 45.4%;
    }
    .category-card {
        padding: 40px 15px;
    }

    .gold-text {
        font-size: 30px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-brand p {
        text-align: justify;
    }
    .section-logo-animation {
    padding: 0 0 !important;

}
    .section-vision-mission {
        padding: 0 0 !important;
    }
    .section-logo-animation {
    min-height: fit-content;
            }
    .about-title{
        font-size:45px;
    }
    .contact-main {
       min-height: fit-content;
    }
    .social-register, .social-login {
        display: flex;
        flex-direction: row !important;
        gap: 10px;
        margin-bottom: 25px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }
    button.btn-social{
        padding:10px 10px;
    }
    button.btn-social span{
        display:none;
    }
    .branding-content h2 {
        font-size: 1.9rem;
    }
    .login-header h1 {
        font-size: 2rem;
        text-align: center;
        font-weight: 900;
        color: var(--gold);
    }

    .login-header p {
        font-size: 15px;
        text-align: center;
    }
    .feature-item {
        display: flex;
        align-items: center;
        gap: 20px;
        padding:0;
        border-radius: 15px;
        flex-wrap:nowrap;
        padding:0 10px;
    }
    .section-title {
        font-size: 20px
    }
    }


/*==============MOBILE======================*/


@media screen and (max-width: 768px) {
    .terms-hero {
        padding: 3rem 0;
    }

    .terms-hero-title {
        font-size: 2.25rem;
    }

    .terms-section {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .terms-cta {
        padding: 2rem 1.5rem;
    }

    .terms-meta {
        gap: 1rem;
    }
    .section-term {
        font-size: 14px;
    }
    .section-header::after {
        width: 100%;
    }
    .navbar-toggler {
        padding: 0px 20px;
        font-size: 15px;
    }
    .feature-icon img {
        width: 60%;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .content-title {
        font-size: 2rem;
    }

    .try-title {
        font-size: 2.5rem;
    }
    .contact-main {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-form-container {
        padding: 35px 25px;
    }

    .btn-submit {
        font-size: 1.1rem;
        padding: 16px 25px;
    }
    .trial-title {
        font-size: 32px;
    }

    .trial-workspace {
        padding: 20px;
    }

    .participants-grid {
        grid-template-columns: 1fr;
    }
    .timeline-main-title {
        font-size: 2.5rem;
    }

    .interactive-timeline {
        flex-direction: column;
        align-items: stretch;
    }

    .timeline-chapter {
        flex: 1;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 18px;
    }

    .dark-stats,
    .problem-cards,
    .goals-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-path {
        flex-direction: column;
    }

    .path-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .join-buttons {
        flex-direction: column;
    }
    .vertical-timeline-title {
        font-size: 2.5rem;
    }

    .vertical-timeline-item.left .timeline-content-wrapper,
    .vertical-timeline-item.right .timeline-content-wrapper {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-vertical-marker {
        left: 0;
        transform: translateX(0) translateY(-50%);
    }

    .vertical-progress-line,
    .vertical-progress-fill,
    .vertical-progress-glow {
        left: 25px;
    }

    .marker-seal {
        width: 55px;
        height: 55px;
    }

    .marker-icon {
        width: 30px;
        height: 30px;
    }

    .content-stats,
    .content-powers,
    .content-goals {
        grid-template-columns: 1fr;
    }

    .timeline-content-box {
        padding: 25px 20px;
    }

    .content-title {
        font-size: 1.4rem;
    }
    .register-form-container {
        padding: 35px 25px;
    }

    .register-header h1 {
        font-size: 2rem;
    }

    .branding-content h2 {
        font-size: 2rem;
    }
    .dev-modal-content {
        padding: 40px 25px;
    }

    .dev-title {
        font-size: 26px;
    }

    .dev-description {
        font-size: 15px;
    }

    .dev-icon svg {
        width: 60px;
        height: 60px;
    }

    .feature-badge {
        font-size: 13px;
        padding: 10px 16px;
    }

    .btn-close-dev {
        padding: 12px 30px;
        font-size: 14px;
    }
    .search-title {
        font-size: 1.8rem;
    }

    .results-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .sort-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .sort-select {
        min-width: 100%;
    }

    .view-controls {
        justify-content: center;
    }

    .lawyer-card {
        flex-direction: column;
        text-align: center;
    }

    .lawyer-avatar {
        margin: 0 auto;
    }

    .lawyer-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .lawyer-details {
        justify-content: center;
    }

    .lawyer-specialties {
        justify-content: center;
    }

    .lawyer-actions {
        flex-direction: column;
    }

    .results-container.grid-view {
        grid-template-columns: 1fr;
    }
    .founder-title {
        font-size: 1.8rem;
    }

    .founder-message {
        font-size: 1rem;
    }

    .principle-item {
        flex-direction: column;
        text-align: center;
    }
    .dev-modal-content {
        padding: 40px 25px;
    }

    .dev-title {
        font-size: 26px;
    }

    .dev-description {
        font-size: 15px;
    }

    .dev-icon svg {
        width: 60px;
        height: 60px;
    }

    .feature-badge {
        font-size: 13px;
        padding: 10px 16px;
    }

    .btn-close-dev {
        padding: 12px 30px;
        font-size: 14px;
    }
    .logo-text {
        font-size: 1.2rem;
    }

    .section-about-search {
        padding: 50px 0;
    }

    .search-form-container {
        padding: 30px 20px;
        margin-top: 30px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-card {
        margin-bottom: 20px;
    }

    .footer-main {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
            .app-download-section {
                margin-top: 30px;
            }

            .app-download-btn {
                width: 100%;
                justify-content: center;
                padding: 10px 10px;
            }
            .form-group label
             {
                font-size:14px;
            }
            .form-control {
                font-size: 13px;
            }
                .orbit-3, .orbit-2, .orbit-1 {
                    width: 80px;
                    height: 80px;
                }

                .logo-inner {
                    padding: 0;
                }

                    .logo-inner img {
                        width: 50%;
                    }

                .logo-circle {
                    height: fit-content;
                }

                .lightbulb-moment {
                    border-radius: 20px;
                    margin-bottom: 0;
                    padding-bottom: 0;
                }

                .call-to-join .app-download-section .icon-app img {
                    width: 30%;
                    position: absolute;
                    top: 0%;
                    left: -30px;
                    /* animation: sway 1s infinite; */
                }

                .modal-container {
                    border-radius: 0;
                }

                .futuristic-style {
                    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
                    border: 1px solid #ffd700;
                    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
                }

                .vision-statement h3 {
                    color: #ffd700;
                    font-size: 23px;
                    margin: 10px 0;
                }

                .vision-statement {
                    text-align: center;
                    padding-bottom: 0;
                    margin-bottom: 0;
                }

                .loader {
                    height: 3rem;
                    width: 3rem;
                }

                .powers-grid {
                    grid-template-columns: 1fr;
                }

                .tech-item {
                    padding: 5px 5px;
                }

                .power-item {
                    background: rgba(212, 175, 55, 0.05);
                    padding: 12px;
                    border-radius: 8px;
                    border: 1px solid rgba(212, 175, 55, 0.2);
                    text-align: left;
                    font-size: 0.9rem;
                    font-weight: 600;
                    transition: all 0.3s ease;
                }

                .image-connect {
                    left: 0;
                }

                .vertical-timeline-item {
                    margin-bottom: 30px;
                }

                .section-title {
                    font-size: 20px
                }

                .mega-dropdown .dropdown-menu {
                    overflow: auto;
                    height: 300px;
                }

                .about-title {
                    font-size: 2.5rem;
                }

                .section-logo-animation {
                    padding: 0px 0 !important;
                    min-height: fit-content;
                }

                .logo-footer {
                    display: flex !important;
                    justify-content: center !important;
                    align-content: center !important;
                    align-items: center !important;
                    flex-direction: column !important;
                    flex-wrap: nowrap !important;
                }

                .footer-logo {
                    font-size: 28px;
                }

                .t .footer-logo {
                    text-align: left;
                }

                .footer-title {
                    text-align: left;
                }

                .footer-links {
                    float: left;
                }

                    .footer-links li {
                        text-align: left;
                    }

                .block-title {
                    font-size: 25px;
                }

                .block-content p {
                    font-size: 15px;
                    text-align: justify;
                }

                .vision-list li, .mission-list li {
                    font-size: 15px;
                }

                .image-frame {
                    overflow: hidden;
                    z-index: 1;
                }

                .social-register, .social-login {
                    gap: 20px !important;
                    display: flex;
                    flex-direction: row !important;
                }

                button.btn-social span {
                    display: none;
                }

                .login-form-container {
                    padding: 40px 30px;
                }

                .login-header h1 {
                    font-size: 2rem;
                    text-align: center;
                    font-weight: 900;
                    color: var(--gold);
                }

                .login-header p {
                    font-size: 15px;
                    text-align: center;
                }

                .branding-content h2 {
                    font-size: 2rem;
                }

                .lawyer-register-main {
                    padding: 30px 0;
                }

                .registration-container {
                    padding: 30px 20px;
                }

                .registration-header {
                    margin-bottom: 35px;
                    padding-bottom: 20px;
                }

                    .registration-header h1 {
                        font-size: 1.8rem;
                    }

                    .registration-header p {
                        font-size: 1rem;
                    }

                .form-section {
                    padding: 20px;
                    margin-bottom: 30px;
                }

                .section-title {
                    font-size: 1.3rem;
                }
            }


@media (max-width: 576px) {
    .terms-hero-title {
        font-size: 1.75rem;
    }

    .terms-hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .analyze-card,
    .benefit-card {
        padding: 30px 20px;
    }

    .try-now-box {
        padding: 30px 20px;
    }

    .try-title {
        font-size: 2rem;
    }

    .upload-demo {
        padding: 40px 25px;
    }
    .register-main {
        padding: 20px 10px;
    }

    .register-container {
        border-radius: 20px;
    }

    .register-form-container {
        padding: 30px 20px;
    }

    .register-header h1 {
        font-size: 1.8rem;
    }

    .btn-social {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    .search-title {
        font-size: 1.5rem;
    }

    .filter-sidebar {
        padding: 20px 15px;
    }

    .avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .lawyer-name {
        font-size: 1.3rem;
    }

    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-link {
        padding: 10px 14px;
        min-width: 40px;
        font-size: 0.9rem;
    }
    .about-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .icon-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .logo-placeholder {
        width: 120px;
        height: 60px;
        font-size: 0.8rem;
    }
    .login-main {
        padding: 20px 10px;
    }

    .login-container {
        border-radius: 20px;
    }

    .login-form-container {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 1.8rem;
        text-align: center;
        font-weight: 900;
        color: var(--gold);
    }

    .login-header p {
        font-size: 15px;
        text-align: center;
    }
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .lawyer-register-main {
        padding: 20px 10px;
    }

    .registration-container {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .registration-header h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .registration-header p {
        font-size: 0.95rem;
    }

    .form-section {
        padding: 15px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .upload-area {
        padding: 35px 20px;
    }

    .btn-submit {
        padding: 15px 30px;
        font-size: 1rem;
        letter-spacing: 1px;
    }
    .icon-app img {
        width: 29%;
        position: absolute;
        top: 60px;
        left: 0;
        animation: sway 1s infinite;
    }
    .contact-main {
        padding: 30px 15px;
    }

    .contact-header {
        margin-bottom: 35px;
    }

    .contact-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-form-container {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
        color: #969696;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 15px 20px;
        letter-spacing: 1px;
    }
}