/* Custom CSS styles */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

/* Variables */
:root {
    --primary-color: #1E40AF;
    --primary-hover: #1E3A8A;
    --secondary-color: #22C55E;
    --secondary-hover: #16A34A;
}

/* Custom color classes to work with our variables */
.text-primary-700 {
    color: var(--primary-color) !important;
}

.text-secondary-600 {
    color: var(--secondary-color) !important;
}

.bg-primary-700 {
    background-color: var(--primary-color) !important;
}

/* Basic styles */
body {
    font-family: 'Montserrat', sans-serif;
}

.font-display {
    font-family: 'Poppins', sans-serif;
}

/* Additional custom styles */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Card hover effects */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Gallery custom styling */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.5s;
}

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

/* Service icon styling */
.service-icon {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
    margin-bottom: 15px;
}

/* Testimonial styling */
.testimonial-card {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-quote {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
}

/* Blog post styling */
.blog-post {
    transition: transform 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.blog-post-title {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* WhatsApp button hover effect */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer link hover effect */
.text-muted {
    transition: color 0.2s;
}

a.text-muted:hover {
    color: #fff !important;
    text-decoration: none;
}

/* Buttons custom styling */
.btn-primary.custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Bootstrap adjustments */
.navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    font-family: 'Poppins', sans-serif;
}

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

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Custom CTA styling */
.cta-box {
    border-radius: 10px;
    overflow: hidden;
}

/* For service detail pages */
.service-detail-icon {
    width: 80px;
    height: 80px;
    fill: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: "\f00c"; /* FontAwesome checkmark */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--secondary-color);
}

/* Contact form styling */
.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 0.8rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Call to action banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: 3rem 0;
    margin: 3rem 0;
}

/* Custom breakpoints for gallery images */
@media (min-width: 768px) {
    .gallery-columns {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .gallery-columns {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .gallery-columns {
        column-count: 4;
    }
}

/* Custom container */
.container-custom {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}