* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "ArchyEDT-Bold", sans-serif;

}

body {
    background-color: #17282f;
    margin: 0;
    overflow-x: hidden;
    font-family: "ArchyEDT-Bold", sans-serif;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #17282f; /* Dark background */
    padding: 20px 40px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.274);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo-space {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px; /* Increased the height of the logo */
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline;
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: #f4f5ef; /* Light color for the text */
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    padding-bottom: 5px; /* Adds space for the hover line */
    display: inline-block;
}

.nav-links a:hover {
    color: #b69d74; /* Color change on hover */
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    background: #5f4b42; /* Gold line color */
    transition: width 0.3s;
    bottom: 0;
    left: 0;
}

.nav-links a:hover::after {
    width: 100%; /* Expands the hover line on hover */
}


.contact-section {
    padding: 60px 20px;
    background-color: #213e4a;
    color: #f4f5ef;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section h1 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 40px;
    color: #b69d74;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    max-width: 500px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #f4f5ef;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.contact-info ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f4f5ef;
    color: #17282f;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.send-button {
    padding: 15px 30px;
    background-color: #5f4b42;
    color: #f4f5ef;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.send-button:hover {
    background-color: #b69d74;
    transform: translateY(-3px);
}

.map-container {
    flex: 1.5;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background-color: #17282f;
    color: #f4f5ef;
    border-top: 1px solid #5f4b42;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #17282f; /* Background color */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    opacity: 1;
    visibility: visible;
}

#load {
    position: relative;
    width: 600px;
    height: 36px;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

#load div {
    position: absolute;
    width: 40px;
    height: 73px;
    opacity: 0;
    font-family: Helvetica, Arial, sans-serif;
    animation: move 2s linear infinite;
    color: #b69d74;
}

#load div:nth-child(2) { animation-delay: 0.2s; }
#load div:nth-child(3) { animation-delay: 0.4s; }
#load div:nth-child(4) { animation-delay: 0.6s; }
#load div:nth-child(5) { animation-delay: 0.8s; }
#load div:nth-child(6) { animation-delay: 1s; }
#load div:nth-child(7) { animation-delay: 1.2s; }

@keyframes move {
    0% { left: 0; opacity: 0; }
    35% { left: 41%; transform: rotate(0deg); opacity: 1; }
    65% { left: 59%; transform: rotate(0deg); opacity: 1; }
    100% { left: 100%; transform: rotate(-180deg); opacity: 0; }
}

/* Hide the main content initially */
#main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.flag-link {
    display: inline-block;
    margin-left: 20px;
    position: relative;
}

.flag-img {
    width: 40px;  
    height: auto;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border 0.3s, transform 0.3s;
    
}

.flag-link:hover .flag-img {
    border-color: #b69d74;
    transform: scale(1.1); 
}
@media (min-width:950px) and (max-width:1200px){
    .logo-space{
        height: 40px;
    }
    .nav-links a {
        font-size: 20px;
        padding-bottom: 3px; 
    }
    .flag-img{
        width: 25px;
    }
    .flag-link{
        margin-left: 10px;
    }
    .nav-links li {
        margin-left: 15px;
    }
}

@media (min-width:0px) and (max-width:950px){
     
    @media (max-width: 768px) {
        .nav-links {
            display: none;
            flex-direction: column;
            background-color: #17282f;
            position: absolute;
            top: 60px;
            right: 20px;
            width: 200px;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
        }

        .burger {
            display: flex;
        }
    }
}
/* 583*/
body {
    margin: 0;
    font-family: "ArchyEDT-Bold", sans-serif;
    background-color: #17282f;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #17282f;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.274);
}

.logo-space {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #f4f5ef;
    font-size: 25px;
    font-weight: bold;
    padding-bottom: 5px;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #b69d74;
}

.flag-img {
    height: 25px;
    border-radius: 5px;
    transition: transform 0.3s, border 0.3s;
}

.flag-link:hover .flag-img {
    transform: scale(1.1);
    border: 2px solid #b69d74;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #f4f5ef;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
}
/* Responsive Styles */
@media (max-width: 950px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #17282f;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        padding-left: 20px;
    }
.flag-cont{
    display: flex;
}
.flag-img{
    width: 30px;
    height: auto;
}
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger {
        display: flex;
    }

    .burger.active div:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .burger.active div:nth-child(2) {
        opacity: 0;
    }

    .burger.active div:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    .nav-links.active {
        animation: slideIn 0.3s forwards;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@media (min-width:950px) and (max-width:1200px){
    .logo-space{
        height: 40px;
    }
    .nav-links a {
        font-size: 20px;
        padding-bottom: 3px; 
    }
    .flag-img{
        width: 25px;
    }
    .flag-link{
        margin-left: 10px;
    }
    .nav-links li {
        margin-left: 15px;
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-logo img {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section h1 {
        font-size: 36px; /* Reduce the size of the title */
        margin-bottom: 30px;
    }

    .contact-content {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info {
        max-width: 100%;
    }

    .contact-info h2 {
        font-size: 28px; /* Reduce the font size */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px; /* Reduce the font size */
    }

    .send-button {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .contact-section h1 {
        font-size: 30px; /* Further reduce title font size */
    }

    .contact-info ul li {
        font-size: 16px; /* Smaller text for mobile */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 12px; /* Smaller input text */
    }

    .send-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-map {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
    }

    .nav-links li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .hero img {
        height: 60vh;
    }

    .appointment-form {
        left: 50%;
        width: 90%;
        transform: translate(-50%, -50%);
    }

    .service-container {
        flex-direction: column;
    }

    .services-wrapper {
        width: 100%;
         
    }

    .service {
        min-width: 100%;
        margin-right: 15px;
    }

    .lawyer-info {
        flex-direction: column;
    }

    
    
    .lawyer-info-container {
        flex-direction: column;
        align-items: center;
    }
}


.analytics {
    background-color: #17282f;
    color: #f4f5ef;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.993);
    position: relative;
    overflow: hidden;
}

.analytics-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.stat {
    flex: 1 1 200px;
    padding: 20px;
    background-color: #5f4b42;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.stat h3 {
    font-size: 48px;
    margin-bottom: 10px;
}

.stat p {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b69d74;
}

.stat:hover {
    transform: translateY(-10px);
}

.analytics.in-view .analytics-container {
    opacity: 1;
    transform: translateY(0);
}

.Toma{
    color: #b69d74;
}
.Toma:hover{
    color: #5f4b42;
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #17282f;  
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    opacity: 1;
    visibility: visible;
}

#load {
    position: relative;
    width: 600px;
    height: 36px;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

#load div {
    position: absolute;
    width: 40px;
    height: 73px;
    opacity: 0;
    font-family: Helvetica, Arial, sans-serif;
    animation: move 2s linear infinite;
    color: #b69d74;
}

#load div:nth-child(2) { animation-delay: 0.2s; }
#load div:nth-child(3) { animation-delay: 0.4s; }
#load div:nth-child(4) { animation-delay: 0.6s; }
#load div:nth-child(5) { animation-delay: 0.8s; }
#load div:nth-child(6) { animation-delay: 1s; }
#load div:nth-child(7) { animation-delay: 1.2s; }

@keyframes move {
    0% { left: 0; opacity: 0; }
    35% { left: 41%; transform: rotate(0deg); opacity: 1; }
    65% { left: 59%; transform: rotate(0deg); opacity: 1; }
    100% { left: 100%; transform: rotate(-180deg); opacity: 0; }
}

#main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}


.flag-link {
    display: inline-block;
    margin-left: 20px;
    position: relative;
}

.flag-img {
    width: auto;  
    height: auto;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border 0.3s, transform 0.3s;
    
}
 

.flag-link:hover .flag-img {
    border-color: #b69d74;
    transform: scale(1.1); 
}


@media (min-width:950px) and (max-width:1200px){
    .logo-space{
        height: 40px;
    }
    .nav-links a {
        font-size: 20px;
        padding-bottom: 3px; 
    }
    .flag-img{
        width: 25px;
    }
    .flag-link{
        margin-left: 10px;
    }
    .nav-links li {
        margin-left: 15px;
    }
}

@media (min-width:0px) and (max-width:950px){
     
    @media (max-width: 768px) {
        .nav-links {
            display: none;
            flex-direction: column;
            background-color: #17282f;
            position: absolute;
            top: 60px;
            right: 20px;
            width: 200px;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
        }

        .burger {
            display: flex;
        }
    }
}
/* 583*/
body {
    margin: 0;
    font-family: "ArchyEDT-Bold", sans-serif;
    background-color: #17282f;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #17282f;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.274);
}

.logo-space {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #f4f5ef;
    font-size: 25px;
    font-weight: bold;
    padding-bottom: 5px;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #b69d74;
}

.flag-img {
    height: 25px;
    border-radius: 5px;
    transition: transform 0.3s, border 0.3s;
}

.flag-link:hover .flag-img {
    transform: scale(1.1);
    border: 2px solid #b69d74;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #f4f5ef;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 950px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #17282f;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        padding-left: 20px;
    }
.flag-cont{
    display: flex;
}
.flag-img{
    width: 30px;
    height: auto;
}
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger {
        display: flex;
    }

    .burger.active div:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .burger.active div:nth-child(2) {
        opacity: 0;
    }

    .burger.active div:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    .nav-links.active {
        animation: slideIn 0.3s forwards;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-logo img {
        margin-top: 15px;
    }
    
}