/* Custom styles for Emmonds Electric Website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Electrician Theme Colors */
:root {
    --primary: #FFB703;         /* Bright yellow/amber - represents electricity/warning */
    --primary-dark: #E09600;    /* Darker yellow - for hover states */
    --secondary: #023047;       /* Dark blue - represents professionalism/trust */
    --accent: #FB8500;          /* Orange - represents caution/energy */
    --dark: #333333;            /* Dark gray for text */
    --light: #F8F9FA;           /* Light gray for backgrounds */
    --white: #FFFFFF;           /* White */
    --black: #000000;           /* Black */
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #01273a;
    border-color: #01273a;
}

.btn-warning {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    font-weight: 600;
}

.btn-warning:hover, .btn-warning:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, #023047 0%, #01273a 100%);
    position: relative;
    z-index: 10;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/circuit-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary);
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 0.85rem;
    color: var(--gray-300);
    font-style: italic;
}

.navbar-nav {
    margin: 0 2rem;
}

.nav-item {
    position: relative;
}

.navbar-nav .nav-link,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:visited,
.navbar-nav .nav-link.active {
    color: var(--gray-200) !important;
    background-color: transparent !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Saira Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

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

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

.nav-cta .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Saira Condensed', sans-serif;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.nav-cta .btn i {
    font-size: 1rem;
}

.cta-divider {
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 10px;
}

.navbar-toggler {
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    padding: 0.5rem;
}

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

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--secondary);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-cta {
        margin-top: 1rem;
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 48, 71, 0.8); /* Semi-transparent dark blue overlay */
    z-index: 1;
}

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

.hero-content {
    max-width: 700px;
}

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.license-badge {
    display: flex;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    max-width: fit-content;
    margin-top: 1rem;
}

.license-content {
    display: flex;
    align-items: center;
}

.license-icon {
    color: var(--primary);
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    animation: pulse-subtle 3s infinite;
    flex-shrink: 0;
    margin-right: 1rem;
}

.license-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.license-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-family: 'Saira Condensed', sans-serif;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.license-number {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.2;
}

@keyframes pulse-subtle {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Section Styles */
.section-title {
    color: var(--secondary);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background-color: var(--gray-100);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--secondary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.service-link::after {
    content: '→';
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    color: var(--primary);
}

.service-link:hover::after {
    transform: translateX(4px);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

/* Call to action pulse animation */

/* Accessibility improvements */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background-color: var(--white);
    color: var(--secondary);
    text-decoration: none;
}

.skip-to-content:focus {
    left: 0;
    top: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .about-image {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        text-align: center;
    }
    
    .license-info {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat {
        margin: 1rem;
        text-align: center;
    }
}

/* Gallery Section */
.gallery-section {
    background-color: var(--gray-100);
    position: relative;
}

.gallery-filter button {
    font-family: 'Saira Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
}

.gallery-filter button.active {
    background-color: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    font-weight: 600;
}

.gallery-card {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay,
.gallery-info,
.gallery-popup {
    display: none;
}

/* Gallery Modal */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
    position: relative;
    padding: 1.5rem;
    background-color: var(--light);
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.8rem;
    opacity: 0.6;
    z-index: 10;
    padding: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 0;
}

.quote-form {
    text-align: left;
}

.quote-form .form-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.quote-form .form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.quote-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.15);
}

.quote-submit-btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.quote-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffb703;
    border-color: #ffb703;
}

.form-privacy-notice {
    text-align: center;
    padding-top: 0.5rem;
}

.form-privacy-notice small {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

.form-privacy-notice i {
    color: var(--primary);
}

/* Request Quote Modal Styles */
.modal-header {
    background-color: var(--primary);
    color: var(--dark);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-header-content {
    text-align: left;
}

.modal-title {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

.modal-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.modal-body {
    padding: 2rem;
    background-color: var(--light);
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 183, 3, 0.25);
}

.form-control.error {
    border-color: #dc3545;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--white);
}

.footer-top {
    padding: 4rem 0;
    background-color: var(--secondary);
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/circuit-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.footer-top .container {
    position: relative;
    z-index: 2;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget .widget-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-widget .widget-text {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.license-badge {
    display: inline-block;
    background-color: rgba(255, 183, 3, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border-left: 3px solid var(--primary);
}

.license-badge span {
    color: var(--primary);
    font-weight: 600;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info li i {
    color: var(--primary);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-info li span,
.contact-info li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    margin-right: 1rem;
}

.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links li a:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.footer-cta .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Saira Condensed', sans-serif;
    transition: all 0.3s ease;
}

.footer-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.copyright {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-left: 1.5rem;
}

.footer-nav li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: var(--primary);
}

@media (max-width: 767.98px) {
    .footer-nav {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-nav li {
        margin: 0 0.75rem;
    }
    
    .copyright {
        text-align: center;
    }
}

/* Accessibility improvements */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background-color: var(--white);
    color: var(--secondary);
    text-decoration: none;
}

.skip-to-content:focus {
    left: 0;
    top: 0;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23023047' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.testimonial-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: var(--primary);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-rating {
    color: var(--primary);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
    border: 2px solid var(--primary);
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

@media (max-width: 767.98px) {
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}
