/* ===========================================
   Premium Methodology Section
   Clean, Centered & Professional Design
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #1e40af;
    --text: #111827;
    --text-light: #374151;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Section Styles */
.methodology-section {
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.08), transparent 55%),
        linear-gradient(180deg, #f9fafb 0%, #eef2ff 50%, #fdf2ff 100%);
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    color: var(--text);
}

.methodology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231d4ed8' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.section-title span {
    color: inherit;
    position: relative;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 auto;
    font-weight: 400;
    max-width: 700px;
}

/* Methodology Grid */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 auto 60px;
    max-width: 1200px;
}

/* Methodology Card */
.methodology-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text);
}

.methodology-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.methodology-card h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin: 0 0 15px;
    font-weight: 600;
}

.methodology-card p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 400;
}

/* CTA Section */
.cta-container {
    text-align: center;
    margin-top: 30px;

    background-color: #0f380a;
}

.cta-box {
    background: linear-gradient(135deg, #0f380a 0%, #1a4b15 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.35);
}

.cta-box h3 {
    font-size: 1.8rem;
    margin: 0 0 15px;
    font-weight: 700;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .cta-box {
        padding: 40px 25px;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .methodology-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .methodology-card h3 {
        font-size: 1.25rem;
    }
}

.methodology-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Section Heading */
.methodology-heading {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.methodology-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(67, 97, 238, 0.1);
}

.methodology-heading h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #1E88E5, #0F3D91);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4);
}

.methodology-intro {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    padding: 0 20px;
}

.methodology-intro::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 30px auto 0;
    border-radius: 3px;
    opacity: 0.7;
}

.methodology-intro p {
    font-size: 1.25rem;
    color: #4a5568;
    line-height: 1.8;
    margin: 0;
    padding: 0 20px;
    font-weight: 400;
}

/* Methodology Grid */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 auto 70px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
}

/* Methodology Item */
.methodology-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--card-shadow);
    transform: translateY(0);
    margin: 0 auto;
    max-width: 350px;
    text-align: left;
}

.methodology-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.methodology-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.2);
}

.methodology-item:hover::before {
    height: 100%;
}

.methodology-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 25px 0 15px;
    line-height: 1.4;
    position: relative;
    transition: var(--transition);
    padding-left: 15px;
}

.methodology-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 4px;
    transition: var(--transition);
}

.methodology-item:hover h3 {
    color: var(--primary-color);
    padding-left: 20px;
}

.methodology-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.methodology-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1E88E5, #0F3D91);
    opacity: 0.8;
    transition: all 0.5s ease;
}

.methodology-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(30, 136, 229, 0.2);
    border-color: rgba(30, 136, 229, 0.3);
}

.methodology-card:hover:before {
    height: 8px;
    opacity: 1;
}

/* Methodology Icon */
.methodology-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(76, 201, 240, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 2px solid rgba(67, 97, 238, 0.1);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.methodology-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.methodology-item:hover .methodology-icon {
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
}

.methodology-item:hover .methodology-icon::before {
    opacity: 1;
}

.methodology-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.methodology-card:hover .methodology-icon {
    transform: translateY(-8px) scale(1.08);
    background: linear-gradient(135deg, #0F3D91 0%, #1E88E5 100%);
    color: white;
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.4);
}

.methodology-card:hover .methodology-icon:before {
    opacity: 1;
    animation: shine 2s infinite;
}

.methodology-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #1a202c;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #1a202c, #2d3748);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.methodology-card:hover h3 {
    background: linear-gradient(90deg, #0F3D91, #1E88E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.methodology-card p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
    z-index: 1;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

.cta-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin: 0 auto 30px;
    max-width: 700px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

@keyframes shine {
    0% {
        transform: scale(0.9) translateY(-8px);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1) translateY(-8px);
        opacity: 1;
    }
    100% {
        transform: scale(0.9) translateY(-8px);
        opacity: 0.6;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .methodology-heading h2 {
        font-size: 2.5rem;
    }
    
    .methodology-intro {
        font-size: 1.1rem;
    }
    
    .methodology-item {
        padding: 35px 25px;
    }
}

@media (max-width: 992px) {
    .methodology-section {
        padding: 80px 0;
    }
    
    .methodology-heading h2 {
        font-size: 2.2rem;
    }
    
    .methodology-intro {
        font-size: 1.1rem;
    }
    
    .methodology-item {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-box {
        padding: 50px 25px;
        margin-top: 50px;
    }
    
    .cta-box h3 {
        font-size: 1.8rem;
    }
    
    .cta-box p {
        font-size: 1.05rem;
    }
    
    .btn-primary {
        padding: 14px 35px;
    }
}

@media (max-width: 768px) {
    .methodology-section {
        padding: 60px 0;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 15px;
    }
    
    .methodology-item {
        max-width: 100%;
    }
    
    .methodology-heading h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .methodology-heading h2::after {
        bottom: -12px;
        width: 50px;
        height: 3px;
    }
    
    .methodology-intro {
        font-size: 1rem;
        margin-bottom: 50px;
    }
    
    .methodology-item {
        padding: 30px 20px;
    }
    
    .methodology-item h3 {
        font-size: 1.3rem;
        margin: 20px 0 15px;
    }
    
    .methodology-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .cta-box {
        padding: 40px 20px;
        margin-top: 40px;
        border-radius: 12px;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .cta-box p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .btn-primary {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add animation to items */
.methodology-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.methodology-item:nth-child(1) { animation-delay: 0.1s; }
.methodology-item:nth-child(2) { animation-delay: 0.2s; }
.methodology-item:nth-child(3) { animation-delay: 0.3s; }
.methodology-item:nth-child(4) { animation-delay: 0.4s; }
