/* About Page Specific Styles */
:root {

     /* Layout */
    --header-height: 60px;
    
    /* Color Palette */
    --primary-color: #ffffff;    /* Navy Blue */
    --accent-color: #e63946;     /* Red */
    --text-color: #fff;       /* Light Gray */
    --text-muted: #adb5bd;       /* Muted Text */
    --text-black: #000000;       /* Text Black */
    --card-bg: #000000;          /* Darker Navy for Cards */
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --bg-main: #ffffff;               /* Deepest Black for body background */
    --bg-secondary: #141414;          /* Slightly lighter black for sections/cards */
    --bg-tertiary: #1f1f1f;           /* For inputs, subtle borders */
    --text-primary: #ffffff;          /* Pure White for headings */
    --text-secondary: #b3b3b3;        /* Light Gray for body text */
    --text-black: #000000;            /* Black for text */
    --color-primary: #ffffff;         /* Brand primary text color (white) */
    --color-accent-cta: #D7282F;      /* Brand CTA / highlight red */
    --color-accent-detail: #1C355E;   /* Brand navy detail / section bg */
    --border-color: rgba(255, 255, 255, 0.1); /* Subtle borders */    

    /* Typography */
    --font-primary: "Segoe UI Light", "Segoe UI", sans-serif;
    --font-secondary: "Segoe UI Semilight", "Segoe UI", sans-serif;
    --font-bold: "Segoe UI Semibold", "Segoe UI", sans-serif;
    
    /* Transições */
    --transition: all 0.3s ease-in-out;
    
    /* Sombras */
    --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Bordas */
    --border-radius: 10px;
    --border-radius-lg: 8px;
}

/* Global Typography */
* {
    font-family: var(--font-secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--text-primary) !important;
}

strong, b, [font-weight="bold"], .font-bold {
    font-family: var(--font-bold);
    font-weight: 600;
}

/* Hero Section */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/about/new-england-entrance-front-view.jpeg') center/cover no-repeat;
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-title {
    font-family: "Segoe UI Light", "Segoe UI", sans-serif;
    font-size: 3.5rem;
    color: var(--text-color) !important;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Main Content */
.main-section {
    padding-bottom: 50px;
    padding-top: 0;
    background-color: var(--bg-secondary); /* Slightly lighter than pure black */
}

.container-boxed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% 50% split */
    gap: 60px;
    align-items: center;
    margin-top: 4rem;
}

/* Typography */
.gold-overline {
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.about-content h2{
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-primary) !important;
}

.about-content p{
    color: var(--text-primary) !important;
}

.about-content h2 em {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--color-accent-cta);
}

.lead-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* NSI Badge Design */
.nsi-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(145deg, #1C355E 0%, #D7282F 100%); /* Navy card background */
    margin-bottom: 30px;
}

.nsi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nsi-icon img {
    display: block;
    max-height: 48px;
    height: auto;
    width: auto;
}

.nsi-text strong { 
    display: block; 
    color: var(--text-primary) !important; 
    margin-bottom: 5px;
}

.nsi-text p { 
    margin: 0; 
    font-size: 0.9rem; 
    color: var(--text-primary) !important; 
}


/* Value Propositions */
.value-props {
    margin: 0;
}

.value-prop {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 0;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-prop:hover {
    background: linear-gradient(145deg, #1c355ea6 0%, #d7282e93 100%);
    transform: translateY(-3px);
    border: 2px solid var(--color-accent-cta);
}

.value-prop i {
    font-size: 1.8rem;
    color: var(--text-primary);
    padding: 1rem;;
    flex-shrink: 0;
}

.value-prop h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color:var(--text-primary);
}

.value-prop p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* NSI Certification Badge */
.certification-badge {
   display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--color-accent-cta);    /* Navy badge background */
    margin-bottom: 30px;
}

.certification-badge h4{
    color: var(--text-color) !important;
}

.certification-badge p{
    color: var(--text-color) !important;
}

.certification-badge:hover {
    border-color: var(--text-color);
    box-shadow: 0 5px 15px rgba(231, 135, 135, 0.1);
}

.certification-badge img{
    display: inline !important; 
    width: 60%;
    
}

.badge-icon {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.badge-icon i {
    font-size: 2.5rem;
    color: var(--text-color);
}

.badge-content h4 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
    color: white;
}

.badge-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Image */
.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper {
    position: relative;
    padding-top: 125%; /* 4:5 Aspect Ratio */
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover .image-wrapper img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: var(--color-accent-cta);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transform: rotate(3deg);
    transition: var(--transition);
}

.about-image:hover .experience-badge {
    transform: rotate(0) translateY(-5px);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.experience-badge .text {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Team Section */
.team-section {
    background: linear-gradient(145deg, #e2e2e2 0%, #ffffff 100%);
    padding: 6rem 0;
}

.team-section h2, p{
    color: var(--text-primary) !important;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    padding: 2rem;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.team-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--text-color);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.position{
    color: var(--text-color) !important;
}
.team-member h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-color) !important;
}

.team-member .position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member .bio {
    color: var(--text-muted) !important;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background-color: var(--bg-tertiary);
    color: var(--text-color);
}

.section-subtitle {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.process-steps {
    margin-top: 3rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 1rem;
    width: 100%;
    overflow: visible;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 120px;
    max-width: 140px;
    flex: 1;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 2rem;
    width: calc(100% - 4rem);
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color));
    z-index: -1;
}

.step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: var(--accent-color);
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.8);
}

.process-step:hover .step-number::before {
    opacity: 0.6;
    filter: blur(15px);
}

.step-content {
    padding: 1rem 0;
    position: relative;
}

.step-content h3 {
    font-size: 1.2rem;
    font-family: var(--font-bold);
    margin: 0 0 0.5rem;
    color: white;
    transition: var(--transition);
}

.step-content p {
    margin: 0;
    color: white;
    line-height: 1.7;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background: var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    white-space: normal;
    word-wrap: break-word;
}

.process-step:hover .step-content p {
    opacity: 1;
    max-height: 200px;
    position: absolute;
    top: calc(100% + 1rem);
    overflow: visible;
}

.process-step:hover .step-content h3 {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background-color: var() ;
    padding: 6rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: "Segoe UI Light", "Segoe UI", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary) !important;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.btn-outline i {
    margin-right: 0.5rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        display: flex;
        flex-direction: column;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-main, .team-section, .process-section, .cta-section, .team-grid {
        padding: 4rem 0;
        display: flex;
        flex-direction: column;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 2rem 0;
    }
    
    .process-step {
        min-width: auto;
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    
    .process-step:not(:last-child)::after {
        right: 50%;
        top: 5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 2rem;
        background: linear-gradient(180deg, var(--accent-color), transparent);
    }
    
    .step-content p {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        max-height: none;
        margin-top: 1rem;
        padding: 0.75rem;
        background: var(--accent-color);
        color: white;
        box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    }
    
    .process-step:hover .step-content p {
        position: static;
        transform: none;
        top: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .divider{
        width: 100%;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline, .btn-accent {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .value-prop {
        flex-direction: row;
    }
    
    .value-prop i {
        margin: 0 0 1rem;
        padding: 10px;
    }
    
    .certification-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .badge-icon {
        margin: 0 0 1rem;
    }
    
    .experience-badge {
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 80%;
    }
}
