/* ==========================================================================
   IKON Global Advisors - Homepage Enhanced Styles
   ========================================================================== */

/* Hero Section - Enhanced */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary, #1F3C88) 0%, #0f1f3d 100%);
    color: #fff;
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 600px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 176, 79, 0.2) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.label-icon {
    display: flex;
    color: #00B04F;
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-description strong {
    color: #00B04F;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    opacity: 0.9;
}

.trust-item svg {
    color: #00B04F;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00B04F;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Featured Services Cards */
.featured-services {
    padding: 80px 0;
    background: #fff;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.featured-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-tax { background: linear-gradient(135deg, #1F3C88 0%, #2a4fa3 100%); }
.card-assurance { background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%); }
.card-advisory { background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%); }
.card-business { background: linear-gradient(135deg, #ea580c 0%, #f97316 100%); }

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.featured-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.featured-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
    flex-grow: 1;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-top: 16px;
    opacity: 0.9;
}

.card-link svg {
    transition: transform 0.3s ease;
}

.featured-card:hover .card-link svg {
    transform: translateX(4px);
}

/* Section Styles */
.services-section,
.countries-section,
.process-section {
    padding: 80px 0;
}

.services-section { background: #f7f9fb; }
.countries-section { background: #f7f9fb; }
.process-section { background: #fff; }
.why-us-section { padding: 80px 0; background: #fff; }

.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    color: #1F3C88;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
}

.section-header.center p {
    margin: 0 auto;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1F3C88 0%, #2a4fa3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.service-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1F3C88;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}

.service-link:hover { color: #152a5f; }
.service-link svg { transition: transform 0.3s ease; }
.service-link:hover svg { transform: translateX(4px); }

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Why Choose Us */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.why-us-content > p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 32px;
}

.why-us-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00B04F 0%, #00d861 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.feature-text h4 {
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
}

.feature-text p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.image-card {
    background: #f7f9fb;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
}

.quote-icon {
    color: #1F3C88;
    opacity: 0.2;
    margin-bottom: 16px;
}

.testimonial-preview p {
    font-size: 1.125rem;
    font-style: italic;
    color: #1f2937;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author strong {
    display: block;
    font-weight: 600;
    color: #1f2937;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.country-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-color: #1F3C88;
}

.country-flag {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-info { flex-grow: 1; }
.country-info h3 { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.country-info p { font-size: 0.75rem; color: #6b7280; line-height: 1.4; }

.country-arrow {
    color: #9ca3af;
    transition: color 0.3s ease, transform 0.3s ease;
}

.country-card:hover .country-arrow {
    color: #1F3C88;
    transform: translateX(4px);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 45px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #1F3C88 0%, transparent 100%);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #1F3C88;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #f7f9fb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1F3C88;
}

.process-step h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1F3C88 0%, #0f1f3d 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.cta-content > p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-large { padding: 16px 32px; font-size: 1rem; }
.btn-primary { background: #1F3C88; color: #fff; }
.btn-primary:hover { background: #152a5f; transform: translateY(-2px); }
.btn-accent { background: #00B04F; color: #fff; }
.btn-accent:hover { background: #008a3e; transform: translateY(-2px); }
.btn-secondary { background: #fff; color: #1F3C88; border: 2px solid #e5e7eb; }
.btn-secondary:hover { border-color: #1F3C88; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.4); }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #128c7e; transform: translateY(-2px); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: 1fr; }
    .countries-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
    .hero-section { padding: 80px 0 60px; min-height: auto; }
    .hero-section h1 { font-size: 2.25rem; }
    .hero-description { font-size: 1rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .featured-grid, .services-grid, .countries-grid, .process-grid, .why-us-features { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.75rem; }
    .cta-content h2 { font-size: 1.75rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
}
