﻿
/* Center alignment for specific sections */
.portfolio-section .section-header,
.features-section .section-header,
.additional-section .section-header {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.portfolio-section .section-header::after,
.features-section .section-header::after,
.additional-section .section-header::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== PORTFOLIO & FEATURES ===== */
.portfolio-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item, .feature-item {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover, .feature-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
}

.portfolio-item h3, .feature-item h3 {
    padding: 1.5rem 2rem 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.portfolio-item p, .feature-item p {
    padding: 0 2rem 2rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== ADDITIONAL CONTENT SECTION ===== */
.additional-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 4rem;
    border: 1px solid #e2e8f0;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.03);
}

.additional-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #0f172a;
}

.additional-content li {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #475569;
}

.additional-content li::before {
    content: '→';
    color: #2563eb;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.additional-content li:hover::before {
    transform: translateX(5px);
}




/* ===== SECTION SPACING & VERTICAL RHYTHM ===== */

/* Standardize the "Breathing Room" for all major sections */
.portfolio-section, 
.features-section, 
.additional-section, 
.contact-form-section {
    padding: 100px 50px; /* Generous top and bottom padding */
    position: relative;
}

/* Ensure consistent spacing for section headers across all types */
.section-header {
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

/* ===== TYPOGRAPHY REFINEMENT ===== */



/* Specific styling for paragraphs inside items to prevent double margins */
.portfolio-item p, 
.feature-item p, 
.additional-content p {
    margin-bottom: 1.25rem;
}

.portfolio-item p:last-child, 
.feature-item p:last-child, 
.additional-content p:last-child {
    margin-bottom: 0;
}

/* ===== ADVANCED LIST & BULLET ALIGNMENT ===== */

/* Target the "Why Choose Us" / Additional Content Lists */
.additional-content ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0; /* Space out the list from surrounding text */
}

.additional-content li {
    margin-bottom: 1rem; /* Space between each bullet point */
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start; /* Keeps bullet aligned with the first line of text */
    gap: 12px;
    line-height: 1.6;
    border-bottom: 1px solid #f1f5f9; /* Subtle separator */
}

.additional-content li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

/* The "Bullet" - Using a pseudo-element for perfect alignment */
.additional-content li::before {
    content: '';
    flex-shrink: 0; /* Prevents the bullet from squishing */
    width: 8px;
    height: 8px;
    margin-top: 8px; /* Perfectly centers bullet with the first line of text */
    background-color: #2563eb;
    border-radius: 50%; /* Clean circular bullet */
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
    transition: transform 0.3s ease;
}

.additional-content li:hover::before {
    transform: scale(1.4);
    background-color: #38bdf8;
}

/* Ensuring nested strong tags stand out */
.additional-content li strong {
    color: #0f172a;
    font-weight: 700;
    margin-right: 4px;
}

/* ===== GRID & ITEM SPACING ===== */

.portfolio-grid, .features-grid {
    gap: 3rem; /* Increased gap for cleaner layout */
    margin-top: 2rem;
}

/* Ensure feature items have consistent internal padding */
.feature-item {
    padding: 4rem 2.5rem;
    height: 100%;
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
}


.news-section {
	padding: 100px 0 0 0;
}


/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 768px) {
    .portfolio-section, 
    .features-section, 
    .additional-section {
        padding: 60px 0; /* Slightly tighter on mobile */
    }
    
}