/* Reset and Global Styles specific to .diy- elements */
.diy-main-content * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    color: #333; /* Only affects text within .diy- elements */
    line-height: 1.6;
}

.diy-main-content a {
    text-decoration: none;
    color: white; /* Affects only links within .diy- elements */
}

.diy-main-content h1, .diy-main-content h2, .diy-main-content h3 {
    color: #222; /* Only affects headings within .diy- elements */
}

.diy-main-content ul {
    list-style: disc;
    margin-left: 20px;
}

/* Animations */
@keyframes diy-slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes diy-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.diy-animate__fade-in {
    animation: diy-fadeIn 1s ease-in;
}

.diy-animate__delay-1 {
    animation-delay: 0.5s;
}

.diy-animate__delay-2 {
    animation-delay: 1s;
}

.diy-animate__delay-3 {
    animation-delay: 1.5s;
}

.diy-animate__delay-4 {
    animation-delay: 2s;
}

.diy-animate__slide-in {
    animation: diy-slideIn 1.5s ease-out;
}

.diy-animate__pulse {
    animation: diy-pulse 2s infinite;
}

/* DIY Content Sections */
.diy-main-content {
    background: #f9f9f9;
}

.diy-content-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Wrapper for the Content and Image */
.diy-content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensures content stacks on smaller screens */
}

/* Styling for the Image */
.diy-intro-image {
    max-width: 40%; /* Adjusts the size of the image */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

/* On Smaller Screens, Make the Image and Text Stack */
@media (max-width: 768px) {
    .diy-content-wrapper {
        flex-direction: column;
    }
    
    .diy-intro-image {
        max-width: 100%; /* Full-width on smaller screens */
        margin-bottom: 20px;
    }
}

.diy-content-card {
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px; /* Adding space after the section */
}

/* Headings */
.diy-content-card h2 {
    font-size: 1.8em; /* Adjusting heading size */
    font-weight: 700; /* Lighter bold */
    margin-bottom: 10px; /* Adding space between heading and paragraph */
}

/* Divider below heading */
.diy-content-card h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #007BFF; /* Accent color */
    margin-top: 10px;
}

/* Paragraph */
.diy-content-card p {
    font-size: 1.1em;
    line-height: 1.7; /* Increased line height for readability */
    margin-bottom: 0;
}

/* Card Shadow and Hover Effect */
.diy-content-card {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

/* Improved Card Design for "Why Choose" Section */
.diy-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px; /* Ensure space between cards */
    position: relative; /* For hover effect */
}

/* Hover effect for cards */
.diy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Add a thin divider between cards */
.diy-card + .diy-card {
    border-top: 1px solid #f0f0f0; /* Light gray divider between cards */
}

/* Card titles */
.diy-card h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Add icons to card titles */
.diy-card h3::before {
    content: url('your-icon-url-here.png'); /* Replace with relevant icon */
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

/* Adjust section heading size */
.diy-content-section h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Background Highlight Section */
.diy-bg-highlight {
    background: #005bb5; /* Darker, more cohesive blue */
    color: white;
    padding: 40px;
    border-radius: 10px;
}

/* Call-to-Action Button */
.diy-cta-button {
    padding: 10px 30px;
    background: #007BFF;
    color: white;
    border-radius: 5px;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.diy-cta-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Responsive Adjustments */
.diy-content-card {
    padding: 20px 30px; /* Reduce padding on mobile */
}

@media (min-width: 768px) {
    .diy-content-card {
        padding: 50px 60px; /* Increase padding for larger screens */
    }
}
