/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #414141;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1f1f1f;
}

h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #2c2c2c;
}

p {
    margin-bottom: 15px;
    color: #414141;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
}

.hero-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero.avif') center center / cover no-repeat;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero.avif');
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
}

.logo-section {
    margin-bottom: 40px;
}

.hero-logo {
    width: 120px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    color: #1f1f1f;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #5E5E5E;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: #414141;
}

.about-text .highlight-text {
    font-size: 19px;
    color: #1f1f1f;
    margin-bottom: 10px;
}

.about-text strong {
    font-weight: 700;
    color: #1f1f1f;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Criteria Section */
.criteria-section {
    padding: 80px 0;
    background: #f7f7f7;
}

.criteria-header {
    text-align: center;
    margin-bottom: 50px;
}

.subtitle {
    font-size: 18px;
    color: #5e5e5e;
    font-weight: 400;
    margin-top: -10px;
    margin-bottom: 40px;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.criteria-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.criteria-card h3 {
    color: #1f1f1f;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.criteria-card ul {
    list-style: none;
}

.criteria-card li {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.7;
    color: #5e5e5e;
    display: flex;
    align-items: flex-start;
}

.criteria-card .dash {
    color: #999;
    margin-right: 8px;
    font-weight: 300;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: 20px;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 18px;
    color: #1f1f1f;
    margin-bottom: 5px;
    font-weight: 600;
}

.member-subtitle {
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin-bottom: 15px;
}

.member-description {
    font-size: 14px;
    line-height: 1.7;
    color: #5e5e5e;
    text-align: justify;
    max-width: 400px;
    margin: 0 auto;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: #f7f7f7;
}

.process-header {
    text-align: center;
    margin-bottom: 40px;
}

.process-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #5e5e5e;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.process-step:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.step-number {
    background: #4a4a4a;
    color: #ffffff;
    padding: 15px 25px;
    font-weight: 700;
    font-size: 16px;
}

.step-content {
    padding: 20px 25px;
}

.step-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #5e5e5e;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
}

.contact-item {
    margin-bottom: 30px;
}

.phone-link {
    font-size: 24px;
    color: #1f1f1f;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #4a90e2;
}

.email-link {
    font-size: 18px;
    color: #4a90e2;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.email-link:hover {
    opacity: 0.8;
}

.address {
    font-size: 16px;
    line-height: 1.6;
    color: #5e5e5e;
}

.address strong {
    color: #1f1f1f;
    display: block;
    margin-bottom: 5px;
}

.contact-image {
    text-align: center;
    margin-top: 40px;
}

.contact-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .criteria-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-logo {
        width: 80px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .criteria-card {
        padding: 30px 20px;
    }
    
    .member-photo {
        width: 150px;
        height: 150px;
    }
    
    .process-step {
        margin-bottom: 15px;
    }
    
    .step-number {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .step-content {
        padding: 15px 20px;
    }
    
    .phone-link {
        font-size: 20px;
    }
    
    .email-link {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .criteria-card h3 {
        font-size: 16px;
    }
    
    .criteria-card li {
        font-size: 14px;
    }
    
    .team-member h3 {
        font-size: 16px;
    }
    
    .member-description {
        font-size: 13px;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Ensure images don't get distorted */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix for logo distortion */
.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
}
