/*
Theme Name: Beata Homecare
Theme URI: http://beatahomecare.local
Author: Richard Sawanaka
Author URI: https://your-portfolio.com
Description: Custom WordPress theme with Bootstrap
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beatahomecare
*/

/* Basic Styles */
.custom-logo {
    max-height: 60px;
    height: auto;
    width: auto;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #EBB461;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-dark .navbar-nav .current-menu-item .nav-link {
    color: white;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-dark .navbar-nav .current-menu-item .nav-link::after {
    width: 80%;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Navigation Search Bar */
.nav-search-form {
    margin-left: 1rem;
}

.nav-search-form .input-group {
    width: 220px;
}

.nav-search-form .form-control {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 0.75rem;
}

.nav-search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.nav-search-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
}

.nav-search-form .btn {
    background-color: #ECB662;
    border: 1px solid #ECB662;
    color: #fff;
    padding: 0.5rem 0.75rem;
}

.nav-search-form .btn:hover {
    background-color: #d9a554;
    border-color: #d9a554;
    color: #fff;
}

.nav-search-form .btn i {
    color: #fff;
}

/* Mobile Slide Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: linear-gradient(135deg, #06548D 0%, #044065 100%);
    z-index: 1050;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu-sidebar.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
}

.mobile-menu-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-nav-menu {
    list-style: none;
    padding: 4rem 1.5rem 1.5rem;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.mobile-nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    padding-left: 1.5rem;
}

.mobile-nav-menu .current-menu-item a {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
    }
    
    .navbar-toggler {
        display: block;
    }

    .navbar-dark .navbar-nav .nav-link::after {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-menu-overlay,
    .mobile-menu-sidebar {
        display: none !important;
    }
    
    .navbar-toggler {
        display: none;
    }
}

/* Header Spacing */
header .row {
    align-items: center;
}

/* Search Bar */
.input-group .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group .btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Icon and Primary Color Override */
.text-primary,
i.fa,
i.fas,
i.far,
i.fab,
.fa-icon,
[class*="fa-"] {
    color: #06548D !important;
}

.text-primary:hover {
    color: #044065 !important;
}

/* Hero Carousel */
#heroCarousel {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 120px 0;
}

.hero-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 84, 141, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

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

.hero-content {
    text-align: left;
}

.hero-subtitle-small {
    color: #EBB461;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Hero Text Animations */
.carousel-item.active .hero-subtitle-small {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.carousel-item.active .hero-title {
    animation: slideInLeft 1s ease-out 0.4s forwards;
}

.carousel-item.active .hero-description {
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    color: #fff;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0;
}

.text-shadow {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.carousel-item {
    position: relative;
    transition: transform 0.6s ease-in-out;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    z-index: 10;
    position: absolute;
    cursor: pointer;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 50vh;
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        letter-spacing: -1px;
    }
    
    .hero-description {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 70vh;
        padding: 80px 0 60px;
        background-position: 65% 50%;
    }
    
    .hero-slide .container {
        padding-left: 70px;
        padding-right: 70px;
    }
    
    .hero-subtitle-small {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 1rem !important;
    }
    
    .hero-title {
        font-size: 4rem !important;
        letter-spacing: -2px;
        margin-bottom: 1.5rem !important;
        line-height: 1.05;
    }
    
    .hero-description {
        font-size: 1.35rem !important;
        line-height: 1.65;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        background-color: rgba(6, 84, 141, 0.8);
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        min-height: 80vh;
        padding: 60px 0 40px;
        background-position: 60% 50%;
    }
    
    .hero-slide .container {
        padding-left: 65px;
        padding-right: 65px;
    }
    
    .hero-subtitle-small {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    
    .hero-title {
        font-size: 3.25rem !important;
        letter-spacing: -1.5px;
        margin-bottom: 1.25rem !important;
        line-height: 1.05;
    }
    
    .hero-description {
        font-size: 1.2rem !important;
        line-height: 1.65;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }
}

/* Stunning Phone CTA Section */
.phone-cta {
    transition: all 0.4s ease;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.phone-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.phone-number {
    font-size: 2rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    animation: phoneGlow 3s ease-in-out infinite alternate;
}

@keyframes phoneGlow {
    from {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    to {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 8px rgba(13, 110, 253, 0.3);
    }
}

/* Mobile Phone CTA */
@media (max-width: 991.98px) {
    .phone-cta {
        margin: 1rem 0;
        padding: 1.5rem;
        text-align: right;
        justify-content: flex-end;
    }

    .phone-number {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 576px) {
    .phone-cta {
        padding: 1rem;
        margin: 0.5rem 0;
        text-align: right;
        justify-content: flex-end;
    }

    .phone-number {
        font-size: 1.5rem !important;
    }
}

/* Smooth animations */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
.custom-logo {
  max-height: 90px;
  height: auto;
  width: auto;
}

@media (max-width: 767.98px) {
  header .form-control {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  .ratio.ratio-4x3 {
    height: auto;
  }

  

  footer ul.list-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
}

/* Modern Header Styles */
.custom-logo {
    max-height: 60px;
    height: auto;
    width: auto;
}

/* Clean Navigation */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-dark .navbar-nav .current-menu-item .nav-link {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #212529;
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        margin-top: 1rem;
    }

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

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.25rem 0;
    }
}

/* Header Spacing */
header .d-flex {
    gap: 2rem;
}

@media (max-width: 768px) {
    header .d-flex {
        gap: 1rem;
    }

    header .d-flex > div:last-child {
        order: -1;
        width: 100%;
        justify-content: center !important;
    }
}

/* Search Bar */
.input-group .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group .btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Phone Link */
.text-primary:hover {
    color: #0056b3 !important;
}

/* Top Bar */
.bg-primary {
    background-color: #0d6efd !important;
}

/* Smooth Transitions */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.hero-slide {
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none; /* This is crucial */
}


/* Push caption above overlay */
.carousel-caption {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  text-align: center;
  padding: 1rem;
}

.carousel-caption h1,
.carousel-caption p {
  color: #fff;
}

.text-shadow {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.carousel-item {
  position: relative;
}

.carousel-item img {
  height: 700px;
  object-fit: cover;
  width: 100%;
}



/* ========================================
   Modern Footer Styles
======================================== */

/* Footer Main */
.footer-modern {
    font-size: 0.95rem;
}

.footer-top {
    background-color: #f8f9fa !important;
    border-top: 2px solid #e9ecef !important;
}

.bg-darker {
    background-color: #ffffff !important;
    border-top: 1px solid #e9ecef !important;
}

/* Footer Widget */
.footer-widget {
    margin-bottom: 0;
}

.footer-widget .widget-title {
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem !important;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #0d6efd;
}

/* Footer Description */
.footer-description {
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: #6c757d;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links li a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #0d6efd !important;
    padding-left: 5px;
}

.footer-links li a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links li a:hover i {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact li {
    line-height: 1.6;
}

.footer-contact li i {
    font-size: 1.1rem;
    width: 20px;
}

.footer-contact li a {
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #0d6efd !important;
}

/* Footer Map */
.footer-map iframe {
    width: 100%;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.footer-map iframe:hover {
    filter: grayscale(0%);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e9ecef;
}

.footer-bottom a {
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #0d6efd !important;
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer-widget {
        text-align: left;
        margin-bottom: 3rem !important;
    }
    
    .footer-widget .widget-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem !important;
    }
    
    .footer-widget .widget-title::after {
        left: 0;
        transform: none;
    }
    
    .footer-links,
    .footer-contact {
        text-align: left;
    }
    
    .footer-contact li {
        justify-content: flex-start;
        margin-bottom: 1.25rem !important;
    }
    
    .footer-contact li i {
        font-size: 1.25rem;
    }
    
    .footer-links li {
        margin-bottom: 0.75rem !important;
    }
    
    .footer-links li a {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 1rem;
        line-height: 1.8;
    }
}

@media (max-width: 767.98px) {
    .footer-top {
        padding: 3rem 1rem !important;
    }
}

/* ========================================
   Services Section Styles
======================================== */

/* Services Section Container */
.section-services {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.section-services .template-container-fluid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Service Showcase Card */
.service-showcase-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #EBB461;
    position: relative;
    overflow: hidden;
}

.service-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(235, 180, 97, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-showcase-card:hover {
    box-shadow: 0 12px 35px rgba(6, 84, 141, 0.15);
    transform: translateY(-8px);
}

.service-showcase-card:hover::before {
    left: 100%;
}

/* Service Icon */
.service-showcase-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #EBB461 0%, #E5A84D 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.service-showcase-card h3 {
    color: #06548D;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.service-showcase-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.service-showcase-card .template-link {
    color: #06548D;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-showcase-card .template-link i {
    transition: transform 0.3s ease;
}

.service-showcase-card .template-link:hover {
    color: #EBB461;
}

.service-showcase-card .template-link:hover i {
    transform: translateX(3px);
}

/* Services Section Header */
.section-services .template-h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #06548D;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-services .template-lead {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Decorative Line */
.deco-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #EBB461 0%, #E5A84D 100%);
    margin: 0 auto 2rem;
}

.deco-line-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(235, 180, 97, 0.3), transparent);
}

/* Template Button */
.template-btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    background: linear-gradient(135deg, #06548D 0%, #044065 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.template-btn:hover {
    background: linear-gradient(135deg, #044065 0%, #06548D 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 84, 141, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Services */
@media (max-width: 991.98px) {
    .section-services .template-h2 {
        font-size: 2rem;
    }
    
    .service-showcase-card {
        padding: 1.75rem;
    }
    
    .service-showcase-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-services .template-h2 {
        font-size: 1.75rem;
    }
    
    .section-services .template-lead {
        font-size: 1rem;
    }
    
    .service-showcase-card {
        padding: 1.5rem;
    }
    
    .service-showcase-card h3 {
        font-size: 1.25rem;
    }
    
    .service-showcase-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-services .template-h2 {
        font-size: 1.5rem;
    }
    
    .service-showcase-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .service-showcase-card h3 {
        font-size: 1.15rem;
    }
    
    .template-btn {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
}

/* Template Section Light Background */
.template-section-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
}
    
    .footer-widget {
        margin-bottom: 3rem !important;
        padding: 0;
        text-align: left;
    }
    
    .footer-widget:last-child {
        margin-bottom: 1.5rem !important;
    }
    
    .footer-widget .widget-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem !important;
        text-align: left;
    }
    
    .footer-widget .widget-title::after {
        left: 0;
        transform: none;
    }
    
    .footer-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem !important;
        text-align: left;
    }
    
    /* Contact list on mobile - left aligned */
    .footer-contact {
        text-align: left;
    }
    
    .footer-contact li {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
        flex-direction: row;
        align-items: flex-start !important;
        text-align: left;
        justify-content: flex-start;
    }
    
    .footer-contact li i {
        margin-right: 0.75rem !important;
        margin-bottom: 0;
    }
    
    .footer-contact li strong {
        font-size: 1.05rem;
    }
    
    /* Links - left aligned */
    .footer-links {
        text-align: left;
    }
    
    .footer-links li {
        margin-bottom: 1rem !important;
    }
    
    .footer-links li a {
        font-size: 1.05rem;
        display: inline-block;
        padding: 0.5rem 0;
    }
    
    /* Keep chevron icons on mobile */
    .footer-links li a i {
        display: inline-block;
        font-size: 0.75rem;
    }
    
    /* Social links - left aligned */
    .social-links {
        justify-content: flex-start;
    }
    
    /* Bottom footer - centered */
    .footer-bottom {
        padding: 2rem 1rem !important;
    }
    
    .footer-bottom .col-12 {
        text-align: center !important;
    }
    
    .footer-bottom .list-inline-item {
        display: inline-block;
        margin: 0.5rem 0.5rem !important;
    }
    
    .footer-bottom p,
    .footer-bottom a {
        font-size: 0.95rem;
    }
}

/* Navigation Search Bar - Mobile */
@media (max-width: 991.98px) {
    .nav-search-form {
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
    }
    
    .nav-search-form .input-group {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 2.5rem 1rem !important;
    }
    
    .footer-widget {
        margin-bottom: 2.5rem !important;
    }
    
    .footer-widget .widget-title {
        font-size: 1.25rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .footer-contact li {
        font-size: 0.95rem;
        margin-bottom: 1.25rem !important;
    }
    
    .footer-links li a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
    }
    
    /* Even more compact bottom footer */
    .footer-bottom {
        padding: 1.5rem 1rem !important;
    }
}
