/* General Body Styles */
html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Main Container */
.container {
    width: 90%;
    max-width: 1050px;
    margin: 0 auto;
}

/* Digitalmarketing-hero-section */
.Digitalmarketing-hero-section {
    text-align: center;
    padding: 50px 0;
}

.Digitalmarketing-hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.Digitalmarketing-hero-section p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto;
}

/* Photo Area */
.photo-area {
    width: 824px;
    height: 568px;
    margin: 40px auto;
    border-radius: 24px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-size: cover;
    background-position: center;
    background-image: url('../Banners/Web-development.webp');
}

/* Digital Marketing Benefits Section */
.benefits-section {
    padding: 40px 0;
    text-align: center;
}

.benefits-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.benefit-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-card p {
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Specific background colors for benefit cards */
.card-1 {
    background-color: #e7f5ff;
}

.card-2 {
    background-color: #fff0f6;
}

.card-3 {
    background-color: #f0fff0;
}

.card-4 {
    background-color: #fffbe7;
}

.card-5 {
    background-color: #f3e8ff;
}

.card-6 {
    background-color: #e0f7fa;
}


/* Process Section */
.process-section {
    padding: 60px 0;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
    align-items: stretch;
    /* Ensures grid items stretch to fill the row height */
}

.process-item {
    display: flex;
    /* Use flexbox to control inner elements */
    flex-direction: column;
}

.process-item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.process-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    flex-grow: 1;
    /* Allows this container to grow and fill the parent's space */
}

.process-container:hover {
    transition: 0.7s;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.container-1 {
    background-color: #FFFBE7;
}

.container-2 {
    background-color: #FFF0F6;
}

.container-3 {
    background-color: #F3E8FF;
}

.process-container ul {
    list-style-type: disc;
    padding-left: 20px;
}

.process-container li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1050px) {
    .photo-area {
        width: 100%;
        /* Full width on smaller screens */
        height: auto;
        aspect-ratio: 824 / 568;
        /* Maintain aspect ratio */
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .benefits-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

}

/* Section Container */
.Get-a-quote-section {
    width: 100%;
    padding: 5rem 0;
    /* Formerly py-20 */
}

/* Max-width and Centering Container */
.Get-a-quote-container {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    /* Formerly px-4 */
    padding-right: 1rem;
}

/* Flex container for centering content */
.Get-a-quote-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Main Heading - Size reduced */
.Get-main-heading {
    font-size: 1.5rem;
    /* Smaller than original */
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.025em;
    margin: 0;
}

/* Subheading/Paragraph - Size reduced */
.Get-sub-heading {
    margin-top: 2rem;
    max-width: 36rem;
    line-height: 1.6;
    font-size: .75rem;
    /* Smaller than original */
    color: #4b5563;
}

/* Call-to-Action Button */
.cta-button {
    margin-top: 1.5rem;
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #1f2937;
}

.cta-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #374151, 0 0 0 5px #f9fafb;
}

/* Responsive Styles for Tablets and Mobiles */
@media (min-width: 640px) {
    .Get-a-quote-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .Get-main-headingg {
        font-size: 1.75rem;
        /* Responsive sizing */
    }

    .Get-sub-heading {
        font-size: 1rem;
        /* Responsive sizing */
    }
}

@media (min-width: 768px) {
    .brand-section {
        padding: 8rem 0;
        /* Formerly md:py-32 */
    }
}