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

:root {
    /* Colors from design */
    --primary-teal: #068367;
    --dark-teal: #095544;
    --light-beige: #DDE8D6;
    --dark-bg: #111111;
    --text-dark: #000000;
    --text-light: #FFFFFF;
    --text-gray: #333333;
    
    /* Fonts */
    --font-inter: 'Inter', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --font-karla: 'Karla', sans-serif;
}

body {
    font-family: var(--font-inter);
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    background-color: var(--dark-bg);
    padding-top: 0;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section - About Page Specific */
.hero {
    min-height: 542px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: -7px !important;
    background-color: transparent !important;
    padding-top: 0 !important;
}

.hero .container {
    position: relative !important;
    display: block !important;
    flex-direction: row !important;
    height: auto !important;
}

.hero-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('../assets/about-hero-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    filter: blur(9px) !important;
}

.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.hero-content {
    position: relative !important;
    z-index: 1 !important;
    text-align: center !important;
}

.hero-title {
    font-family: var(--font-inter) !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
    margin-bottom: 16px !important;
    line-height: 57.6px !important;
    letter-spacing: -0.96px !important;
}

.hero-subtitle {
    font-family: var(--font-inter) !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    color: var(--text-light) !important;
    line-height: 38.4px !important;
}

/* About Company Section */
.about-company {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-images {
    display: flex;
    justify-content: center;
}

.company-photos {
    width: 100%;
    max-width: 781px;
    height: auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: justify;
}

.section-title {
    font-family: var(--font-inter);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-teal);
    text-align: center;
}

.about-description {
    font-family: var(--font-inter);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 28.8px;
    letter-spacing: -0.48px;
}

/* Springtech Values Section */
.values {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.values .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-title {
    font-family: var(--font-inter);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: -0.24px;
}

.value-description {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 24px;
}

/* Our Presence Section */
.presence-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background-color: var(--dark-bg);
}

.presence-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.presence-title {
    font-family: var(--font-inter);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-teal);
    text-align: center;
    margin-bottom: 80px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-animate {
    animation: fadeInUp 0.8s ease-out;
}

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

/* World Map Image */
.world-map {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.8;
    filter: brightness(1.2) contrast(1.1);
}

/* Flag Container - LARGER sizing */
.flag {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.flag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    pointer-events: none;
}


/* Flag Image - circular crop, LARGER */
.flag img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 2;
    object-fit: cover;
    background: #ffffff;

}

/* Hover Effects - LARGER, NO SHADOW */
.flag:hover::before {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.flag:hover img {
    transform: scale(1.2);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    border-width: 3px;
}

/* Country Name Tooltip - LARGER */
.country-name {
    position: absolute;
    bottom: calc(100% + 25px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

/* Tooltip Arrow */
.country-name::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, 0.9);
}

/* Show tooltip on hover */
.flag:hover .country-name {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-content {
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-description {
        font-size: 18px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .presence-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .map-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .world-map {
        max-width: 100%;
        height: auto;
    }
    
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-description {
        font-size: 16px;
    }
    
    .presence-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .flag img {
        width: 24px;
        height: 24px;
    }
    
    .country-name {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .value-title {
        font-size: 20px;
    }
}