/* Section Styles */

body {
    font-family: 'Poppins', sans-serif; /* Added Poppins font */
    background-color: var(--bg-color);
}
.section {
    padding: 3rem 1rem;
    font-family: 'Poppins', sans-serif; /* Added Poppins font */
}

.section-bg {
    background-color: var(--bg-color);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Icon styling for section titles */
.section-title i {
    margin-right: 10px;
    color: #c1121f;
}

/* Hero Section */
.hero {
    background-image: url('/assets/hero-bg.jpeg'); 
    background-size: cover; 
    background-position: center; 
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 0;
    color: var(--main-color);
    text-shadow: 2px 2px 4px var(--text-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--main-color);
    text-shadow: 2px 2px 4px var(--text-color);
}

/* Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.card, .testimonial-card {
    background-color: var(--main-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* border: 1px solid var(--text-color); */
}

.card:hover, .testimonial-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--text-color);
}

.card-title {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--text-color);
}

/* Icon styling for card titles */
.card-title i {
    margin-right: 8px;
    color: #003049;
}

.card-text {
    color: var(--text-color);
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.card-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    text-decoration: none;
}

/* Icon styling for buttons and links */
.btn i, .card-link i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: var(--secondary-accent);
    text-decoration: underline;
}

.card-link:hover i {
    transform: translateX(3px);
}

/* Testimonial Styles */
.testimonial-card {
    padding: 1.5rem;
    text-align: left;
    background-color: var(--main-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Quote icons in testimonials */
.testimonial-text .fa-quote-left {
    margin-right: 6px;
    color: #669bbc;
    opacity: 0.8;
    font-size: 0.8em;
    vertical-align: super;
}

.testimonial-text .fa-quote-right {
    margin-left: 6px;
    color: #669bbc;
    opacity: 0.8;
    font-size: 0.8em;
    vertical-align: super;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-color);
    text-align: right;
}

/* Icon styling for testimonial authors */
.testimonial-author i {
    margin-right: 5px;
    color: #003049;
    font-size: 0.9em;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info, .contact-map {
    background-color: var(--main-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* border: 1px solid var(--text-color); */
}

.contact-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Contact info icons */
.contact-title i {
    margin-right: 8px;
    color: #c1121f;
}

.contact-text {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Contact info icons */
.contact-text i {
    width: 24px;
    font-size: 20px;
    text-align: center;
    margin-right: 10px;
    color: #003049;
}

iframe {
    border-radius: 8px;
    border: 1px solid var(--text-color);
}

/* Hover effects for interactive elements with icons */
.btn:hover i {
    transform: scale(1.1);
}

/* Media Queries for Responsive Design */
@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section {
        padding: 5rem 2rem;
    }
}

/* Add these styles at the end of your home.css file */

/* Contact Information Styling */
.contact-cta-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--accent-color);
    color: var(--main-color);
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.contact-cta-btn:hover {
    background-color: var(--secondary-accent);
    color: var(--main-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-divider {
    height: 2px;
    background-color: #e0e0e0;
    margin: 20px 0;
    position: relative;
}

/* .contact-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 50px;
    height: 4px;
    background-color: #c1121f;
} */

.contact-details-section {
    background-color: #f9f9f9;
    border-left: 4px solid #c1121f;
    padding: 15px;
    border-radius: 0 5px 5px 0;
}

.contact-details-section .contact-text {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details-section .contact-text i {
    color: #c1121f;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .contact-cta-section {
        flex-direction: column;
    }
    
    .contact-cta-btn {
        width: 100%;
    }
}
