/* ═══════════════════════════════════════════════════════════════════
   About Modern - CityStone Theme
   An elegant, minimal, and sophisticated about section
   ═══════════════════════════════════════════════════════════════════ */

/* CSS Variables */
:root {
    --about-bg: #fff;
    --about-text: #374151;
    --about-heading: #111827;
    --about-accent: var(--secondary-color, #d4af37);
    --about-primary: var(--primary-color, #2c3e50);
}

/* ═══════════════════════════════════════════════════════════════════
   Main Section
   ═══════════════════════════════════════════════════════════════════ */

.about-modern {
    position: relative;
    background: var(--about-bg);
    padding: 100px 0;
    overflow: hidden;
}

/* Subtle Pattern */
.about-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 62, 80, 0.03) 0%, transparent 50%);
    z-index: 0;
}

/* Decorative Line */
.about-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--about-accent), transparent);
    z-index: 1;
}

.about-modern .container {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════
   Grid Layout
   ═══════════════════════════════════════════════════════════════════ */

.about-modern-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* ═══════════════════════════════════════════════════════════════════
   Image Column
   ═══════════════════════════════════════════════════════════════════ */

.about-image-modern {
    position: relative;
}

.about-img-container {
    position: relative;
    display: inline-block;
}

/* Main Image */
.about-main-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

/* Decorative Frame */
.about-img-container::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--about-accent);
    border-radius: 24px;
    z-index: 1;
    transition: all 0.4s ease;
}

.about-img-container:hover::before {
    top: 15px;
    right: -15px;
}

/* Decorative Dots Pattern */
.about-dots-pattern {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--about-accent) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.4;
    z-index: 0;
}

/* Experience Badge */
.about-exp-badge-modern {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: linear-gradient(135deg, var(--about-primary) 0%, #1a252f 100%);
    padding: 25px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(44, 62, 80, 0.35);
    border: 4px solid #fff;
    z-index: 3;
}

.about-exp-badge-modern .number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--about-accent);
    line-height: 1;
}

.about-exp-badge-modern .text {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

/* Placeholder */
.about-img-placeholder-modern {
    width: 100%;
    max-width: 480px;
    height: 400px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.about-img-placeholder-modern i {
    font-size: 5rem;
    color: #d1d5db;
}

/* ═══════════════════════════════════════════════════════════════════
   Content Column
   ═══════════════════════════════════════════════════════════════════ */

.about-content-modern {
    padding-right: 20px;
}

/* Subtitle Badge */
.about-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--about-accent);
    margin-bottom: 20px;
}

.about-subtitle-badge i {
    font-size: 0.85rem;
}

/* Title */
.about-modern-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--about-heading);
    margin: 0 0 25px 0;
}

.about-modern-title span {
    color: var(--about-primary);
    position: relative;
}

.about-modern-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--about-accent);
    opacity: 0.25;
    z-index: -1;
    border-radius: 5px;
}

/* Description */
.about-modern-desc {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--about-text);
    margin: 0 0 35px 0;
}

/* ═══════════════════════════════════════════════════════════════════
   Features Grid
   ═══════════════════════════════════════════════════════════════════ */

.about-features-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.about-feature-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    padding: 15px 18px;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.about-feature-modern:hover {
    background: #fff;
    border-color: var(--about-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.about-feature-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--about-primary) 0%, #1a252f 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon i {
    font-size: 1rem;
    color: #fff;
}

.about-feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--about-heading);
}

/* ═══════════════════════════════════════════════════════════════════
   CTA Buttons
   ═══════════════════════════════════════════════════════════════════ */

.about-cta-modern {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-btn-primary {
    background: linear-gradient(135deg, var(--about-primary) 0%, #1a252f 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.25);
}

.about-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 62, 80, 0.35);
}

.about-btn-secondary {
    background: transparent;
    color: var(--about-primary);
    border: 2px solid var(--about-primary);
}

.about-btn-secondary:hover {
    background: var(--about-primary);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive Design
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .about-modern-wrapper {
        gap: 60px;
    }
}

@media (max-width: 991px) {
    .about-modern {
        padding: 80px 0;
    }

    .about-modern::after {
        display: none;
    }

    .about-modern-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-image-modern {
        display: flex;
        justify-content: center;
    }

    .about-img-container::before {
        display: none;
    }

    .about-dots-pattern {
        display: none;
    }

    .about-exp-badge-modern {
        left: auto;
        right: -20px;
        bottom: 20px;
    }

    .about-content-modern {
        padding-right: 0;
    }

    .about-features-modern {
        justify-content: center;
    }

    .about-cta-modern {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-modern-title {
        font-size: 1.8rem;
    }

    .about-modern-desc {
        font-size: 1rem;
    }

    .about-features-modern {
        grid-template-columns: 1fr;
    }

    .about-feature-modern {
        justify-content: center;
    }

    .about-main-img {
        max-width: 350px;
    }

    .about-exp-badge-modern {
        bottom: -20px;
        right: 50%;
        transform: translateX(50%);
        padding: 20px 25px;
    }

    .about-exp-badge-modern .number {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .about-cta-modern {
        flex-direction: column;
    }

    .about-btn {
        width: 100%;
        justify-content: center;
    }
}