/* Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    z-index: 1;
}

.slide-bg img {
    transition: transform 8s ease-out;
    position: relative;
    z-index: 1;
}

.slide.active .slide-bg img {
    transform: scale(1.1);
}

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

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

/* Navigation Styles */
.slider-nav {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.slider-dots .dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot:hover {
    transform: scale(1.2);
}

/* Google Reviews Stars */
.google-reviews .fa-star {
    color: #D4AF37 !important;
}

.google-reviews .fa-star-half-alt {
    color: #D4AF37 !important;
}

.google-reviews .far.fa-star {
    color: #ccc !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-nav {
        display: none;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }
}

/* Service Content Styles */
.prose {
    max-width: none;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #1e3a8a !important; /* text-navy */
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.prose h1 {
    font-size: 2.25rem !important; /* text-4xl */
    margin-top: 0 !important;
}

.prose h2 {
    font-size: 1.875rem !important; /* text-3xl */
}

.prose h3 {
    font-size: 1.5rem !important; /* text-2xl */
}

.prose h4 {
    font-size: 1.25rem !important; /* text-xl */
}

.prose h5 {
    font-size: 1.125rem !important; /* text-lg */
}

.prose h6 {
    font-size: 1rem !important; /* text-base */
}

.prose p {
    margin-bottom: 1rem !important;
    line-height: 1.7 !important;
}

.prose ul,
.prose ol {
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
}

.prose li {
    margin-bottom: 0.5rem !important;
    line-height: 1.6 !important;
}

.prose ul li {
    list-style-type: disc !important;
}

.prose ol li {
    list-style-type: decimal !important;
}

.prose strong {
    font-weight: 600 !important;
    color: #1e3a8a !important; /* text-navy */
}

.prose em {
    font-style: italic !important;
}

.prose a {
    color: #D4AF37 !important; /* gold */
    text-decoration: underline !important;
    transition: color 0.3s ease;
}

.prose a:hover {
    color: #B8941F !important; /* darker gold */
}

.prose blockquote {
    border-left: 4px solid #D4AF37 !important;
    padding-left: 1rem !important;
    margin: 1.5rem 0 !important;
    font-style: italic !important;
    background-color: #f8f9fa !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
}

.prose code {
    background-color: #f1f5f9 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
    font-family: 'Courier New', monospace !important;
    font-size: 0.875rem !important;
}

.prose pre {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    overflow-x: auto !important;
    margin: 1rem 0 !important;
}

.prose pre code {
    background-color: transparent !important;
    padding: 0 !important;
    color: inherit !important;
}

.prose table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1rem 0 !important;
}

.prose th,
.prose td {
    border: 1px solid #e2e8f0 !important;
    padding: 0.75rem !important;
    text-align: left !important;
}

.prose th {
    background-color: #f8fafc !important;
    font-weight: 600 !important;
    color: #1e3a8a !important;
}

.prose hr {
    border: none !important;
    border-top: 2px solid #e2e8f0 !important;
    margin: 2rem 0 !important;
}

/* Responsive typography */
@media (max-width: 768px) {
    .prose h1 {
        font-size: 1.875rem !important; /* text-3xl */
    }

    .prose h2 {
        font-size: 1.5rem !important; /* text-2xl */
    }

    .prose h3 {
        font-size: 1.25rem !important; /* text-xl */
    }
}

/* Extra specific styles to override Tailwind CSS base reset */
div.prose h1,
div.prose h2, 
div.prose h3,
div.prose h4,
div.prose h5,
div.prose h6 {
    font-size: revert !important;
    font-weight: revert !important;
    color: rgb(30 58 95 / var(--tw-text-opacity, 1)) !important;
    margin: revert !important;
}

/* Specific heading sizes with higher specificity */
div.bg-white div.prose h1 {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: rgb(30 58 95 / var(--tw-text-opacity, 1)) !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

div.bg-white div.prose h2 {
    font-size: 1.875rem !important;
    font-weight: 700 !important;
    color: rgb(30 58 95 / var(--tw-text-opacity, 1)) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

div.bg-white div.prose h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: rgb(30 58 95 / var(--tw-text-opacity, 1)) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

div.bg-white div.prose h4 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: rgb(30 58 95 / var(--tw-text-opacity, 1)) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

div.bg-white div.prose h5 {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: rgb(30 58 95 / var(--tw-text-opacity, 1)) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

div.bg-white div.prose h6 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: rgb(30 58 95 / var(--tw-text-opacity, 1)) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

/* Alternative approach - using CSS custom properties */
.prose {
    --heading-color: rgb(30 58 95 / var(--tw-text-opacity, 1));
    --heading-weight: 700;
}

.prose h1 { 
    font-size: 2.25rem !important; 
    font-weight: var(--heading-weight) !important; 
    color: var(--heading-color) !important; 
}
.prose h2 { 
    font-size: 1.875rem !important; 
    font-weight: var(--heading-weight) !important; 
    color: var(--heading-color) !important; 
}
.prose h3 { 
    font-size: 1.5rem !important; 
    font-weight: var(--heading-weight) !important; 
    color: var(--heading-color) !important; 
}
.prose h4 { 
    font-size: 1.25rem !important; 
    font-weight: var(--heading-weight) !important; 
    color: var(--heading-color) !important; 
}
.prose h5 { 
    font-size: 1.125rem !important; 
    font-weight: var(--heading-weight) !important; 
    color: var(--heading-color) !important; 
}
.prose h6 { 
    font-size: 1rem !important; 
    font-weight: var(--heading-weight) !important; 
    color: var(--heading-color) !important; 
}

/* Services Page Styles */
.service-item {
    margin-bottom: 3rem;
    padding: 0;
    position: relative;
}

.service-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-item:nth-child(even) .service-card {
    background-color: #f8fafc;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 500px;
}

.service-text {
    padding: 3rem;
}

.service-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-icon {
    display: none;
}

.service-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.service-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.service-features li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #d4af37;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Services Page Responsive Design */
@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .service-image {
        height: 300px;
    }
    
    .service-title {
        font-size: 2rem;
    }
    
    .service-text {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .service-text {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.75rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-card {
        border-radius: 1rem;
    }
}
/* CTA Background */
.bg-cta {
    background-color: #f8fafc;
}

/* Portfolio Styles */
.portfolio-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.portfolio-item img {
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #1e40af !important;
    color: white !important;
    border-color: #1e40af !important;
}

.portfolio-item.hidden {
    display: none;
}
/* Client Testimonial Section - Single Column */
.testimonial-single-column {
    max-width: 56rem;
    margin: 0 auto;
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 3rem 2rem;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.25rem;
}

.testimonial-quote {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #1f2937;
    font-style: italic;
}

.client-avatar-large {
    width: 4rem;
    height: 4rem;
    background-color: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.project-info-horizontal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.project-info-item {
    text-align: center;
}

.project-info-item p:first-child {
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.project-info-item p:last-child {
    color: #1e40af;
    font-weight: 600;
}