@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #0a2540;
    --secondary-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #6c757d;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--dark-color);
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: left;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #081c30;
    border-color: #081c30;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e6ac00;
    border-color: #e6ac00;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

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

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.hero-section {
    background: url('../images/banner-car-key-locksmith-san-antonio.webp') no-repeat center center/cover;
    height: 500px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section p {
    color: #fff;
}

#about .section-title h2 {
    color: var(--dark-color);
}

.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#detailed-services .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

#detailed-services .nav-link {
    color: var(--text-color);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 2px solid transparent;
}

#detailed-services .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom: 2px solid var(--primary-color);
}

#detailed-services .tab-content {
    padding: 40px 0;
}

.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#contact {
    background-color: var(--light-color);
}

.footer {
    background-color: var(--primary-color);
}

.footer h5 {
    color: #fff;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    transition: all 0.3s ease;
}

#back-to-top:hover {
    background-color: #081c30;
}

:root {
    --primary-color: #0D2F4F; /* Deep Navy Blue */
    --secondary-color: #2D6A9D; /* Lighter Professional Blue */
    --accent-color: #FFC107;   /* Bright Yellow */
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #495057;
    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Roboto', sans-serif;
    --border-radius: 0.5rem;
    --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-family-body);
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    color: var(--primary-color);
}

.btn {
    font-family: var(--font-family-heading);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a2540;
    border-color: #0a2540;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-gray);
}

.btn-accent:hover {
    background-color: #e6ad06;
    border-color: #e6ad06;
    color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: var(--font-family-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-link {
    font-family: var(--font-family-heading);
    font-weight: 500;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

/* Page Sections Styling */
.page-section {
    display: none;
    padding: 80px 0;
    animation: fadeIn 0.8s ease-in-out;
}

.page-section.active {
    display: block;
}

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

/* Hero Section */
#hero {
    position: relative;
    color: white;
    padding: 120px 0;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1,
#hero p {
    color: white;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.section-title h2.after::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Service Card */
.service-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.service-card img {
    width: 300px;
    height: 100%;
    object-fit: cover;
}

.service-card .card-body {
    padding: 2rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--light-gray);
    border-left: 5px solid var(--accent-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}
.testimonial-card p {
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 5rem 0;
}
.cta-section h2 {
    color: white;
}

/* About Section */
.about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Contact Form */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.3);
    border-color: var(--accent-color);
}
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--secondary-color);
    color: white;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.3);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 1rem 0;
}
.footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}
.footer a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    font-size: 1.2rem;
}
.footer .social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}
.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 2rem;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.why-choose-us-img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.feature-list .d-flex {
    align-items: flex-start;
}

.feature-list h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-list p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.text-primary {
    color: var(--primary-color) !important;
}
.spam { display:none;}