/* Stuff that I don't remember */
.box-image-text .image {
    min-height: 190px;
    max-height: 190px;
}

.box-image-text .image img {
    max-height: 190px;
    margin: auto;
}

.box-simple {
    min-height: 230px;
}

/* Carousel modification for text in the carousel */
.home-carousel .owl-carousel {
    padding-top: 10px;
    padding-bottom: 20px;
}

.carousel-header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 20px;
    color: #fff;
}

.home-carousel h2 {
    font-size: 32px;
}

/* Custom styling for the payments page */
/* Add a max-width to the payment section and center it */
.payment-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    max-width: 800px;  /* Add this line */
    margin-left: auto;  /* Add this line */
    margin-right: auto;  /* Add this line */
}

/* Make the content inside even narrower */
.content, .payment-options, .payment-info {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure the LawPay button doesn't stretch too wide */
.payment-button-container {
    text-align: center;
    margin: 2rem auto;
    max-width: 400px;
}

.payment-section h1 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.payment-options {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-options li {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-left: 4px solid #003366;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.payment-options li:hover {
    transform: translateX(5px);
    background-color: #e9ecef;
}

.payment-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.call-box-top {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.call-phone, .call-email {
    padding: 0.75rem;
    background-color: white;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.call-phone:hover, .call-email:hover {
    transform: translateY(-2px);
}

.lawpay-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.lawpay-button:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .payment-section {
        padding: 1.5rem;
    }
    
    .payment-section h1 {
        font-size: 2rem;
    }
    
    .call-box-top {
        grid-template-columns: 1fr;
    }
}





  .button-primary {
    background-color: #003366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }

  .button-primary:hover {
    background-color: #002244;
  }


/* Custom styling for the consultation page */
.c_content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-options {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
  }
  
.consultation-option {
    flex-basis: 32%;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.consultation-option:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
  
.consultation-option h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}
  
.consultation-option p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}
  
  .consultation-option .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #007bff;
  }
  
  .consult-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #0056b3;
    color: white;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: auto;
  }
  
  .consult-btn:hover {
    background-color: #004494;
  }
  
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
  }
  
  .overlay-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    max-width: 1000px;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
  }
  
  .close-btn:hover {
    color: #000;
  }
  
  #calendar-embed {
    width: 100%;
    height: 550px; /* Adjust as needed */
  }

  /* Style the blog posts on single.html page */
.post-image {
    margin-bottom: 2em;
}

.post-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Custom styling for the contact page */
/* Main container styling */
#contact {
    padding: 3rem 0;
}

/* Header styling */
.title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Contact box styling */
.call-box {
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Contact items styling */
.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.2rem;
    color: #0056b3;
    margin-right: 1.5rem;
    width: 24px;
}

.contact-info {
    flex: 1;
}

.contact-info strong {
    display: block;
    color: #333;
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info a {
    color: #0056b3;
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #003d7a;
}

/* Intake Forms section styling */
.contact-page-item {
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-page-item h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Select dropdown styling */
.intake-form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1.4rem;
    color: #495057;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.intake-form-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Button styling */
.intake-form-button {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.intake-form-button:hover {
    background-color: #004494;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.intake-form-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-item {
        padding: 1rem 0;
    }
    
    .contact-info strong {
        font-size: 1.4rem !important;
    }
    
    .contact-info a {
        font-size: 1.4rem !important;
    }
}

/* Custom language switcher  */
.nav-wrapper {
    display: flex;
    align-items: right;
    justify-content: flex-end;
    width: 85%;
}

.language-switcher {
    display: flex;
    align-items: center;
    margin-top: 7px;
    margin-left: 15px;
    padding: 15px 0;
}

.language-switcher a {
    display: flex;
    align-items: center;
    margin: 0 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    opacity: 1;
    text-decoration: none;
}

.language-switcher img {
    width: 20px !important;
    height: 20px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
    .nav-wrapper {
        flex-direction: column;
    }
    
    .language-switcher {
        margin: 10px 0;
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    background-color: #f5f5f5;
    padding: 50px 0;
    overflow: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    min-width: 700px;
    height: 500px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0;
}

/* Lawyer Profile Section */
.lawyer-profile {
    width: 100%;
    padding: 0;
}

/* Lawyer Details Section */
.lawyer-details {
    padding: 80px 0;
    background-color: #ffffff;
}

.narrow-container {
    max-width: 700px;
    margin: 0 auto;
}

.lawyer-details h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.lawyer-details h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #555;
}

.lawyer-details p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.lawyer-details ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.lawyer-details ul li {
    margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .hero-image {
        min-width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 400px;
    }

    .hero {
        padding: 50px 0;
    }

    .lawyer-details {
        padding: 50px 20px;
    }
}
