body {
    background-color: black;
    font-family: 'Inter', sans-serif;
    margin: 30px 0px 30px 0px;
    padding: 0;
    transition: background 0.5s ease-in-out;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0px 10px 0px;
    background-color: black;
}

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: centre;
    background-color: black;
    margin-left: 50px;
}


.logo1{

    height: 65px;
    width: auto;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.logo2{
    height: 64px;
    width: auto;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.hamburger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3B3B3B;
    color: white; 
    border: none;
    border-radius: 50px; 
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    gap: 20px;
    margin-right: 20px;
}

.hamburger-menu:hover {
    background-color: #666; 
}

.menu-text {
    font-size: 18px;
}

.plus-sign {
    position: relative;
    width: 20px; 
    height: 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Horizontal bar of plus */
.plus-sign::before {
    content: "";
    position: absolute;
    width: 16px; 
    height: 3px; 
    background-color: white;
}

/* Vertical bar of plus */
.plus-sign::after {
    content: "";
    position: absolute;
    height: 16px;
    width: 3px; 
    background-color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    z-index:10
}

.menu-items {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 0;
}

.menu-items li:hover {
    transform: scale(1.05);
}

.menu-items li {
    color: white;
    font-size: 48px;
    font-weight: bold;
    opacity: 0;
    margin-bottom: 20px;
    transform: translateY(20px);
    cursor: crosshair;   
    text-decoration: none;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.menu-items li::before {
    content: "";
    position: absolute;
    left: -50vw;
    top: 0;
    width: 0;  
    height: 100%;
    background-color: #0047AB; 
    transition: width 0.6s ease-in-out; 
    z-index: -1;
}

.menu-items li:hover::before {
    width: 200vw;  
}

.menu-items li:hover {
    transform: scale(1.05);
}

.menu-items li a {
    color: white; 
    font-size: 48px;
    font-weight: bold;
    text-decoration: none; 
    display: block; 
    padding: 10px 0;
    transition: color 0.3s ease-in-out; 
    z-index: 1; 
}

.menu-items li:hover a {
    opacity: 1; 
    transform: translateY(0); 
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 800px;
    margin-left: 50px;
}

.hero-banner {
    color: white;
    font-size: 60px;
}

.hero-content {
    margin-top: 300px;
    width: 40%;
    font-size: 30px;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-media {
    position: relative;
    width: 60%;
    overflow: hidden;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0)); 
}

.hero .white-text {
    font-size: 26px;
    margin-left: -50px;
}

.white-text {
    color: white;
    font-weight: bold;
}

.grey-text {
    color: #808080;
    font-weight: bold
}

.blue-text {
    color: #0047AB;
}

.contact-button{
    display: flex;
    width: 100px;
    padding: 14px 24px;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #0056b3;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-button-50-margin{
    display: flex;
    width: 100px;
    padding: 14px 24px;
    margin-right: 10px;
    margin-left: 50px;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #0056b3;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.about-button{
    display: inline-block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #484848;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.button-row {
    display: flex;
    flex-direction: row;
}
.main {
    width: 100%;
}


/* Mobile view Landing */

@media (max-width: 600px) {

        .hero {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-left: 20px;
        height: auto;
        position: relative;
        overflow: hidden;
        min-height: 400px;
    }

    .hero-banner {
        color: white;
        font-size: 30px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }

    .hero-content {
        display: flex;
        margin: 0 !important;
        padding: 20px;
        width: 100%;
        font-size: 16px;
        z-index: 2;
        height: auto;
        position: relative;
        top: 0;
        box-sizing: border-box;
    }

    .hero-content .white-text{
        width: 100%;
        font-size: 18px;
        display: block;
        gap: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-content .grey-text {
        font-size: 18px;
        display: block;
        margin-left: 0;
        padding-left: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .fade-in-section{
        height: auto;
    }


    .button-row {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 20px;
    }

    .contact-button,
    .contact-button-50-margin,
    .about-button {
        width: auto;
    }

    .contact-button-50-margin {
        margin-left: 0;
    }

    .logo1{
        height: 50px;
        width: auto;
        border-radius: 5px;
        margin-left: -10px;
    }

    .logo2{
        height: 20px;
        width: auto;
        display: none;
    }

    .hero-media {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

}

/* End of Mobile view Landing */

#firm-section {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
}

#firm-section .white-text {
    font-size: 26px;
}

.center-text {
    text-align: center;
}

.right-container {
    margin-top: 20px;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
    width: 60%;
}

@media (max-width: 768px) { 
    .right-container {
        width: 100%; 
    }
}


.logos-container {
    align-items: center;
}

.logo_others {
    height: 100px;
    width: auto;
    margin-right: 20px;
}

/* Mobile view Landing - Firm Section */

@media (max-width: 600px) {
    #firm-section {
        margin-top: 10px;
        max-height: none;
        display: block;
        width: 100%;
        position: relative;
        z-index: 1;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    #firm-section .white-text {
        font-size: 20px;
        margin-left: 0;
        margin-top: 20px;
        padding-left: 0;
    }
    #firm-section .grey-text {
        font-size: 14px;
        margin-left: 0;
        padding-left: 0;
    }
    .logos-container img{
        height: 50px;
    }
}

/* Mobile view Landing - End of Firm Section */

#practice-section {
    display: flex;
    justify-content: flex-start;
    font-size: 24px;
    flex-direction: column;
    margin-top: 100px;
}

#practice-section .white-text {
    font-size: 26px;
    margin-top:0px;
    margin-bottom: 50px;
}

.left-container {
    margin-top: 60px;
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: left;
    padding-right: 20px;
    width: 60%;
}

@media (max-width: 768px) { 
    .left-container {
        width: 100%;
      
    }
}

.practice-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; 
    width: 100%;
    background-image: url('./assets/circuit.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 30px;
    overflow: hidden;
    z-index: 1;
}

.practice-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: -1; 
}

.card {
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4); 
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    margin-right: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    z-index: 5;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  }
  .card h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .card p {
    font-size: 16px;
    text-align: left;
  }

.card-icon {
    padding: 3px;
}

.card-title {
    color: white;
    font-size: 22px; 
    margin-bottom: 10px;
}

.card-text {
    color: #d1d1d1; 
    font-size: 16px;
    line-height: 1.6; 
}

.background-container{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    background-size: cover;
    min-height: 100vh; 
}

.background-image {
    width: 120%;
    min-height: 600px;
    height: 120vh;
    margin-left: -50px;
    background: url('https://source.unsplash.com/1600x900/?city,tech') no-repeat center center fixed;
    background-size: cover;
    filter: brightness(40%) grayscale(50%);
    z-index: 3;
}

/* Mobile view Landing - Practice Section */

@media (max-width: 600px) {
    #practice-section {
        width: 100%;
        margin-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    #practice-section .left-container {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }

   #practice-section .white-text {
        font-size: 18px;
        margin-top: 0;
        text-align: left;
        margin-left: 0;
        padding-left: 0;
   }

   #practice-section .grey-text {
        font-size: 18px;
        display: block;
        margin-left: 0;
        padding-left: 0;
        text-align: left;
        margin-left: 0;
    }

    .background-container{
     width: 100%;
     min-height: auto;
    }
    .practice-container {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1.5rem;  
    padding: 1rem;
    }

    .left-container {
        margin-left: 0;
        width: 100%;
    }

    .card {
        width: 280px;
        height: auto;
        min-height: 350px;
        margin: 15px auto;
        padding: 15px;
    }

}

/* Mobile view Landing - End of Practice Section */

#law-software-section {
    margin-top: 30px;
    display: flex;
    position: relative;
    flex-wrap: wrap;
    align-items: center; 
    justify-content: space-between; 
    width: 100%;
    padding: 4rem 2rem;
    background-color: #333333; 
    box-sizing: border-box;
}

#law-software-section,
.contact-button-50-margin,
.footer {
    position: relative; /* no absolute or fixed */
    z-index: auto;
    margin-top: 0; /* let the margin come from #practice-section if needed */
}


.content {
    flex: 1; 
    max-width: 50%; 
    padding-right: 20px; 
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 50px;
}

@media (max-width: 768px) { 
    .content {
        max-width: 100%; 
        padding-right: 0;
    }
}

.section-heading {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: #d1d1d1;
    line-height: 1.6;
    max-width: 500px; 
}

@keyframes wobbleImage {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(10deg); } 
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(6deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(4deg); }
    60% { transform: rotate(-3deg); }
    70% { transform: rotate(2deg); }
    80% { transform: rotate(-1deg); }
    90% { transform: rotate(0.5deg); }
    100% { transform: rotate(0deg); } 
}

.section-image {
    width: 300px; 
    height: auto; 
    object-fit: cover; 
    filter: brightness(70%);
    border-radius: 40px;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px); 
    transition: opacity 3s ease-out, transform 3s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0); 
}

/* Mobile view Landing - Start of Law Software Section */

@media (max-width: 600px) {
   #law-software-section {
    display: block; 
    position: relative;       
    margin-top: 30px;   
    align-items: center;     
    justify-content: space-between;
    flex-wrap: wrap;         
    position: relative;     
    width: 100%;
    padding: 4rem 2rem;   
    box-sizing: border-box;
 
   }

   .image-container {
       justify-content: center;
       padding-right: 0;
   }

}

/* Mobile view Landing - End of Law Software Section */

.footer {
    background-color: #111; 
    color: #d1d1d1; 
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    max-width: 800px;
}

.footer-logo,
.footer-links,
.footer-contact {
    display: flex;
    flex: 1;
    min-width: 250px;
    margin-left: 100px;
}

.footer-byte-logo {
    display: flex;
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

/* Ensure links sit to the right of the logo on one row */
.footer-links {
    margin-left: 0;
    flex: 0 0 auto;
    min-width: auto;
}

.footer h2, .footer h3 {
    color: #ffffff;
}

.footer a {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
}

.footer-links ul {
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #333;
    margin-top: 20px;
}

@media (max-width: 768px) {
    header, footer {
        padding: 1rem;
    }

    main {
        padding: 1rem;
    }
}

/* =================================== */
/* ========== CONTACT PAGE =========== */
/* =================================== */
.contact-page, textarea {
    display: block;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
}

.container {
    margin: 0 auto;
    justify-content: center;
    min-width: 300px;
    max-width: 700px;
    background: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    box-sizing: border-box;
}

.heading-contact {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form {
    display: flex;
    flex-direction: column;

}

form button {
    width: 40%;        
    box-sizing: border-box; 
    padding: 12px;       
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #0056b3;
    color: #fff;
    cursor: pointer;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

#message {
    height: 400px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.btn {
    display: block;
    padding: 10px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.btn:hover {
    background: #0056b3;
}

/* Mobile view for Contact page */
@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 20px;
        min-width: auto;
        width: calc(100% - 40px);
    }
    
    .heading-contact {
        margin-bottom: 30px;
        font-size: 24px;
    }
    
    input, textarea {
        width: 100%;
        padding: 12px;
        margin-bottom: 20px;
        box-sizing: border-box;
        font-size: 16px;
    }
    
    #message {
        height: 200px;
        min-height: 120px;
    }
    
    form button {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        margin-top: 10px;
    }
    
    label {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

/* =================================== */
/* ========== END CONTACT PAGE ======= */
/* =================================== */


/* =================================== */
/* ========== START NEWS PAGE ======= */
/* =================================== */


.news-section {
    margin-left: 50px;
    background-color: #000;
    color: #fff;           
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 0;
}

/* =================================== */
/* ========== END NEWS PAGE ======= */
/* =================================== */

/* =================================== */
/* ========== START ABOUT PAGE ======= */
/* =================================== */

#about {
    display: flex;
    margin-top: 50px;
    margin-bottom: 50px;
    gap: 0; 
    max-height: 800px;
}
#about .white-text{
    font-size: 24px;
    padding: 10px 30px 0px 30px;
}
#about .grey-text{
    font-size: 18px;
    padding: 10px 30px 0px 30px;
}

#about .left-container,
#about .right-container {
    display: flex;
    flex-direction: column;
    margin: 0;         
    padding: 0;          
}

#about .left-container {
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    overflow: hidden;
}

#about .right-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #0F1A2D;
    color: #fff;
}

#about .left-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
}

/* Mobile view for About page */
@media (max-width: 600px) {
    #about {
        flex-direction: column;
        margin-top: 20px;
        margin-bottom: 20px;
        max-height: none;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    #about .right-container {
        flex: none;
        order: 1;
        padding: 20px 0;
    }
    
    #about .left-container {
        flex: none;
        order: 2;
        margin-top: 20px;
        background-color: #1a1a1a;
    }
    
    #about .white-text,
    #about .grey-text {
        padding: 20px;
        font-size: 16px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin: 0 10px;
    }
    
    #about .white-text {
        font-size: 20px;
    }
}



/* =================================== */
/* ========== END ABOUT PAGE ======= */
/* =================================== */


/* =================================== */
/* ========== START PRIVACY POLICY PAGE ======= */
/* =================================== */
#privacy-policy {

    margin-top: 50px;
    margin-bottom: 50px;

}

#privacy-policy .grey-text, .white-text{
    font-size: 14px;
    padding: 10px 50px 0px 50px;
    max-width: 800px;
}

/* =================================== */
/* ========== END PRIVACY POLICY PAGE ======= */
/* =================================== */

/* =================================== */
/* ========== START SERVICES PAGE =========== */
/* =================================== */


.services-section {
    margin-left: 50px;
    background-color: #000;
    color: #fff;           
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 0;
    max-width: 800px;
}

.services-section .heading{
    font-size: 24px;

}

.services-section .card-title {
    font-size: 18px;
    margin-top: 50px;
}

.services-section .contact-button-50-margin {
    margin-left: 0px;
}

/* =================================== */
/* ========== END SERVICES PAGE =========== */
/* =================================== */

