/*
Theme Name: CrisJon Jewelry
Description: Custom WordPress theme for CrisJon Fine Jewelry - A professional jewelry business website featuring custom design services, repairs, and gallery showcase
Version: 1.0
Author: CrisJon Team
*/

/* Import original styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Esteban&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
.mainNavbar {
    background-color: #f8f9fa;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 60px;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    font-weight: 400;
    margin: 0 1rem;
    color: #333 !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #17a2b8 !important;
}

.phone p {
    margin: 0;
    font-weight: 500;
}

.contact a {
    color: #333;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #17a2b8;
    text-decoration: none;
}

/* Simplified navbar with logo left, centered menu */
.navbar.mainNavbar {
    background-color: #f8f9fa !important;
    padding: 1rem 0 !important;
}

.navbar.mainNavbar .container-fluid {
    padding: 0 2rem !important;
}

/* Logo styling */
.navbar.mainNavbar .navbar-brand {
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin-right: 0 !important;
}

.navbar.mainNavbar .navbar-brand img {
    height: 50px !important;
    width: auto !important;
}

/* Center the navigation menu */
.navbar.mainNavbar .navbar-collapse {
    flex: 1 !important;
}

.navbar.mainNavbar .navbar-nav {
    gap: 2rem !important;
}

.navbar.mainNavbar .navbar-nav .nav-link {
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease !important;
}

.navbar.mainNavbar .navbar-nav .nav-link:hover {
    color: #17a2b8 !important;
}

/* Dropdown styling */
.navbar.mainNavbar .dropdown-menu {
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    border-radius: 10px !important;
    margin-top: 0.5rem !important;
}

.navbar.mainNavbar .dropdown-item {
    padding: 0.75rem 1.5rem !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
}

.navbar.mainNavbar .dropdown-item:hover {
    background-color: #17a2b8 !important;
    color: white !important;
}

/* Main Content */
.main {
    padding-top: 80px; /* Account for fixed navbar */
}

/* Carousel */
.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* About Section */
.about-us {
    padding: 4rem 0;
}

.about-us .title h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #17a2b8;
}

.about-us .photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-us .text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-us .row:nth-child(2) {
    align-items: center;
}

.about-us .text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.btn-outline-info {
    border: 2px solid #17a2b8;
    color: #17a2b8;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-info:hover {
    background-color: #17a2b8;
    color: white;
}

/* We Believe Section */
.we-belive {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.we-belive .title h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #17a2b8;
}

.we-belive .photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

/* Our Process Section */
.ourProcess {
    padding: 4rem 0;
}

.ourProcess .title h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #17a2b8;
}

.ourProcess .text p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.mainRow {
    margin-top: 3rem;
}

.mainRow h4 {
    color: #17a2b8;
    margin-bottom: 1rem;
}

.mainRow img {
    max-width: 80px;
    margin-top: 1rem;
}

.arrow img {
    max-width: 50px;
}

.process-arrow {
    font-size: 2.5rem;
    color: #17a2b8;
    text-align: center;
    display: block;
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Reviews Section */
.reviews {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.reviews h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #17a2b8;
}

.line {
    border: 2px solid #17a2b8;
    width: 100px;
    margin: 0 auto;
}

.line-1 {
    border: 2px solid #17a2b8;
    width: 200px;
    margin: 0 auto;
}

.line-2 {
    border: 2px solid #17a2b8;
    width: 150px;
    margin: 0 auto;
}

.testimonial .card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin: 0.5rem;
    height: 280px;
}

.testimonial .card-body {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial h5 {
    color: #17a2b8;
    margin-bottom: 1rem;
}

.testimonial img.img-1 {
    max-width: 50px;
}

/* Owl Carousel Custom Styles - Navigation removed, dots only */

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: #17a2b8;
    transform: scale(1.3);
}

.owl-carousel .owl-dots .owl-dot:hover span {
    background: #17a2b8;
}

/* Testimonial carousel specific adjustments */
#testimonial-slider .testimonial-item {
    padding: 0 10px;
}

#testimonial-slider .testimonial {
    height: 100%;
    display: flex;
    align-items: stretch;
}

#testimonial-slider .testimonial .card {
    height: 280px;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

#testimonial-slider .testimonial .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    overflow: hidden;
}

#testimonial-slider .testimonial .card-body .row:first-child {
    margin-bottom: 0.5rem;
    flex-shrink: 0; /* Don't shrink the header area */
}

#testimonial-slider .testimonial .card-body .row:last-child {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 0;
}

#testimonial-slider .testimonial .card-body p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
    flex-grow: 1;
    max-height: 5.6rem; /* Approximately 4 lines of text (4 × 1.4rem) */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-wrap: break-word;
    hyphens: auto;
}

/* Fallback for browsers that don't support line-clamp */
@supports not (-webkit-line-clamp: 4) {
    #testimonial-slider .testimonial .card-body p {
        max-height: 5.6rem;
        overflow: hidden;
        position: relative;
    }
    
    #testimonial-slider .testimonial .card-body p::after {
        content: "...";
        position: absolute;
        bottom: 0;
        right: 0;
        background: white;
        padding-left: 20px;
        background: linear-gradient(to right, transparent, white 50%);
    }
}

#testimonial-slider .testimonial .card-body h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Fix quote icon size and position */
#testimonial-slider .testimonial .quote-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.6;
    z-index: 2;
}

#testimonial-slider .testimonial .card-body .row:first-child {
    position: relative;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

#testimonial-slider .testimonial .card-body .row:first-child .col:last-child {
    position: relative;
}

/* Bootstrap Carousel Testimonials Styling */
#testimonialCarousel {
    position: relative;
}

#testimonialCarousel .carousel-item {
    padding: 20px;
    min-height: 300px;
}

#testimonialCarousel .testimonial {
    max-width: 800px;
    margin: 0 auto;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 5%;
    color: #17a2b8;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: #17a2b8;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

#testimonialCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #138496;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

#testimonialCarousel .carousel-indicators {
    bottom: -50px;
}

#testimonialCarousel .carousel-indicators li {
    background-color: #ccc;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

#testimonialCarousel .carousel-indicators li.active {
    background-color: #17a2b8;
    transform: scale(1.2);
}

/* Footer */
footer {
    background-color: white !important;
    color: black;
    padding: 3rem 0 1rem;
}

.form-contact {
    padding: 2rem 0;
    background-color: #343a40;
}

.form-contact h5 {
    color: #17a2b8;
    margin-bottom: 1.5rem;
}

/* Stylized Visit Us Section */
.visit-us-section {
    margin-bottom: 2rem;
}

.visit-us-section h5 {
    color: #17a2b8;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #17a2b8;
    padding-bottom: 0.5rem;
}

.visit-us-section h5 i {
    margin-right: 0.5rem;
    color: #17a2b8;
}

/* Address Information Styling */
.address-info {
    margin-bottom: 2rem;
}

.address-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.address-line:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.address-line i {
    color: #17a2b8;
    font-size: 1.1rem;
    width: 20px;
    margin-right: 1rem;
    text-align: center;
}

.address-line span {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Schedule Information Styling */
.schedule-info {
    margin-bottom: 2rem;
}

.schedule-info h5 {
    color: #17a2b8;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #17a2b8;
    padding-bottom: 0.5rem;
}

.schedule-info h5 i {
    margin-right: 0.5rem;
    color: #17a2b8;
}

.schedule-info h6 {
    color: #17a2b8;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid #17a2b8;
    padding-bottom: 0.3rem;
}

.schedule-info h6 i {
    margin-right: 0.5rem;
    color: #17a2b8;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.schedule-item .days {
    font-weight: 600;
    color: #333;
}

.schedule-item .hours {
    color: #17a2b8;
    font-weight: 500;
}

.schedule-item.weekdays {
    border-left: 4px solid #28a745;
}

.schedule-item.saturday {
    border-left: 4px solid #ffc107;
}

.schedule-item.closed {
    border-left: 4px solid #dc3545;
    opacity: 0.8;
}

.schedule-item.closed .hours {
    color: #dc3545;
}

/* Make a Request Button */
.request-button-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-request {
    border: 2px solid #17a2b8;
    color: #17a2b8;
    background: transparent;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
}

.btn-request:hover {
    background-color: #17a2b8;
    color: white;
    transform: none;
    box-shadow: none;
}

.btn-request:active {
    transform: none;
}

.btn-request i {
    margin-right: 0.5rem;
}

/* Contact Modal Styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.3rem;
}

.modal-header .modal-title i {
    margin-right: 0.5rem;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 1.5rem;
}

.modal-header .close:hover {
    color: white;
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.modal-footer .btn-secondary {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* Form styling within modal */
#contactModal .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

#contactModal .form-control:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

#contactModal .custom-file-label {
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

#contactModal .custom-file-input:focus ~ .custom-file-label {
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

/* Contact Form 7 styling within modal */
#contactModal .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 3.5rem);
}

#contactModal .modal-body {
    padding: 2rem;
}

#contactModal .wpcf7-form {
    max-width: 100%;
}

#contactModal .wpcf7-form.init {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

#contactModal .wpcf7-form p:nth-of-type(1) {
    grid-column: 1;
    justify-self: start;
}

#contactModal .wpcf7-form p:nth-of-type(2) {
    grid-column: 2;
    justify-self: start;
}

#contactModal .wpcf7-form p:nth-of-type(3) {
    grid-column: 1 / -1;
}

#contactModal .wpcf7-form p:nth-of-type(4) {
    grid-column: 1 / -1;
}

#contactModal .wpcf7-form p:nth-of-type(5) {
    grid-column: 1 / -1;
}

#contactModal .wpcf7-form p:nth-of-type(6) {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}

#contactModal .wpcf7-form p {
    margin: 0;
    font-weight: 500;
    display: block;
}

#contactModal .wpcf7-form p label {
    display: block;
    width: 100%;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

#contactModal .wpcf7-form p:last-child {
    display: flex;
    justify-content: center;
}

#contactModal .modal-footer {
    border-top: none;
}


/* Mobile responsiveness for Visit Us section */
@media (max-width: 768px) {
    .visit-us-section {
        margin-bottom: 1rem;
    }
    
    .address-line {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .address-line i {
        margin-bottom: 0.5rem;
    }
    
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .schedule-item .days {
        margin-bottom: 0.25rem;
    }
    
    .btn-request {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
}

.form-control:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

label span {
    color: #dc3545;
}

.socia-info {
    border-top: 1px solid #ddd;
}

/* Three Section Footer Styling */
.socia-info .row.align-items-center {
    padding: 1rem 0;
}

/* Logo Section */
.footer-logo {
    padding: 0.5rem 0;
    text-align: left !important;
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
}

/* Social Media Section */
.footer-social {
    padding: 0.5rem 0;
    text-align: center !important;
}

.social-link {
    color: #333;
    font-size: 1.3rem;
    margin: 0 0.8rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: #17a2b8;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Specific social media colors on hover */
.social-link.facebook:hover {
    color: #4267B2;
}

.social-link.instagram:hover {
    color: #E4405F;
}

.social-link.youtube:hover {
    color: #FF0000;
}

/* Policies Section */
.footer-policies {
    padding: 0 !important;
    text-align: right !important;
}

.policies-link {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.policies-link:hover {
    color: #17a2b8;
    text-decoration: none;
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(23, 162, 184, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-float:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.6);
    color: white;
}

.btn-float:active {
    transform: translateY(-1px) scale(1.05);
}

.btn-float:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(23, 162, 184, 0.4), 0 0 0 3px rgba(23, 162, 184, 0.3);
}

/* Floating button animation */
@keyframes float-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(23, 162, 184, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(23, 162, 184, 0.6);
    }
}

.btn-float {
    animation: float-pulse 2s ease-in-out infinite;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-logo, .footer-social, .footer-policies {
        margin-bottom: 1rem;
        text-align: center !important;
    }
    
    .social-link {
        margin: 0 1rem;
        font-size: 1.5rem;
    }
    
    .footer-logo-img {
        max-height: 50px;
    }
    
    /* Center all footer elements on mobile */
    .footer-logo {
        text-align: center !important;
    }
    
    .footer-social {
        text-align: center !important;
    }
    
    .footer-policies {
        text-align: center !important;
    }
    
    .floating-contact-btn {
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
    }
    
    .btn-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Gallery Styles */
.first-row-gallery {
    padding: 4rem 0;
}

.first-row-gallery .title h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #17a2b8;
}

.photo {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.photo img,
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo:hover img,
.photo:hover .gallery-image {
    transform: scale(1.1);
}

/* Gallery modal enhancements */
.modal-lg .modal-body {
    padding: 0;
}

.modal-lg .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

.modal-footer {
    justify-content: center;
    border-top: 1px solid #dee2e6;
}

/* Modal Styles */
.modal-content {
    border-radius: 10px;
}

.modal-body img {
    border-radius: 10px;
}

/* Page Templates */
.first-row, .second-row {
    padding: 4rem 0;
}

.first-row .title h2, .second-row .title h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #17a2b8;
}

.underlanding-row {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.underlanding-row .title h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    color: #17a2b8;
}

/* Contact Form Specific */
.contact-form {
    padding: 2rem 0;
}

.contact-form .form-contact {
    background-color: transparent;
}

.contact-form .form-contact h5 {
    color: #17a2b8;
}

.contact-form .form-contact .address p {
    color: #333;
}

.contact-form .schedules p {
    color: #333;
}

.contact-form .wpcf7-form p:last-child {
    text-align: center;
}

.contact-form .wpcf7-form p:last-child input[type="submit"] {
    display: block;
    margin: 10px auto;
}

.contact-form .wpcf7-form p:last-child span {
    margin-left: 0px;
    margin-right: 0px;
}

.map {
    margin-top: 2rem;
}

.map h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #17a2b8;
    margin-bottom: 2rem;
}

.map iframe {
    border-radius: 10px;
    width: 100%;
    height: 400px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item img {
        height: 250px;
    }
    
    .about-us .title h2,
    .we-belive .title h2,
    .ourProcess .title h2,
    .reviews h2,
    .first-row-gallery .title h2,
    .first-row .title h2 {
        font-size: 3rem;
    }
    
    .about-us .text,
    .mainRow {
        text-align: center;
    }
    
    .arrow {
        display: none;
    }
    
    .photo img {
        height: 150px;
    }
}

/* FAQ Styles */
.accordion .card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 10px 10px 0 0;
    padding: 0;
}

.accordion .btn-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 1.25rem;
    font-size: 1.1rem;
    white-space: normal;
    word-wrap: break-word;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.accordion .btn-link:hover {
    color: #17a2b8;
    text-decoration: none;
}

.accordion .btn-link:focus {
    box-shadow: none;
}

.accordion .card-body {
    padding: 1.25rem;
    line-height: 1.8;
}

.accordion .btn-link::after {
    content: '+';
    font-weight: bold;
    font-size: 1.2rem;
    color: #17a2b8;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    line-height: 1;
}

.accordion .btn-link[aria-expanded="true"]::after {
    content: '-';
    transform: rotate(180deg);
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 200px;
    }
    
    .about-us .title h2,
    .we-belive .title h2,
    .ourProcess .title h2,
    .reviews h2,
    .first-row-gallery .title h2,
    .first-row .title h2 {
        font-size: 2.5rem;
    }
    
    .accordion .btn-link {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Contact Form 7 Styling */
.wpcf7-form {
    max-width: 100%;
}

.wpcf7-form.init {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.wpcf7-form p:nth-of-type(1) {
    grid-column: 1;
    justify-self: start;
}

.wpcf7-form p:nth-of-type(2) {
    grid-column: 2;
    justify-self: start;
}

.wpcf7-form p:nth-of-type(3) {
    grid-column: 1 / -1;
}

.wpcf7-form p:nth-of-type(4) {
    grid-column: 1 / -1;
}

.wpcf7-form p:nth-of-type(5) {
    grid-column: 1 / -1;
}

.wpcf7-form p:nth-of-type(6) {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}

.wpcf7-form p {
    margin: 0;
    font-weight: 500;
    display: block;
}

.wpcf7-form p label {
    display: block;
    width: 100%;
}

.wpcf7-form span {
    color: #dc3545;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="file"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
    outline: none;
}

.wpcf7-form textarea {
    height: 120px;
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background: transparent;
    border: 2px solid #17a2b8;
    color: #17a2b8;
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 10px;
    margin-left: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #17a2b8;
    color: white;
}

.wpcf7-form p:last-child {
    display: flex;
    justify-content: center;
}

.wpcf7-form .wpcf7-spinner {
    margin-left: 0px;
    margin-right: 0px;
}

.wpcf7-response-output {
    border: none !important;
    margin: 1rem 0 0 0 !important;
    padding: 1rem !important;
    border-radius: 5px !important;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda !important;
    border-left: 4px solid #28a745 !important;
    color: #155724 !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #f8d7da !important;
    border-left: 4px solid #dc3545 !important;
    color: #721c24 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.wpcf7-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

/* File input styling */
.wpcf7-form .wpcf7-form-control.wpcf7-file {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 5px;
    box-sizing: border-box;
}

.wpcf7-form .wpcf7-form-control.wpcf7-file:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
    outline: none;
}

.wpcf7-form .wpcf7-form-control.wpcf7-file:hover {
    border-color: #17a2b8;
}

/* Business Hours Styling - Contact Page */
.schedules {
    margin-top: 2rem;
}


.schedules .schedule {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedules p.week,
.schedules p.saturday {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.5;
}

.schedules p.week span,
.schedules p.saturday span {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.schedules p.week,
.schedules p.saturday {
    color: #17a2b8;
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .wpcf7-form.init {
        grid-template-columns: 1fr;
    }
    
    .wpcf7-form.init p:nth-of-type(1),
    .wpcf7-form.init p:nth-of-type(2) {
        grid-column: 1;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea {
        font-size: 16px;
    }
    
    .schedules p.week,
    .schedules p.saturday {
        padding: 0.5rem;
    }
}