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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A4A;
    background-color: #F2F4ED;
}

/* Ensure consistent font family across all elements */
* {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6, p, a, span, div, li, td, th, input, textarea, button, select {
    font-family: 'Montserrat', sans-serif !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: 48px;
    font-weight: 500;
}

h2 {
    font-size: 36px;
    font-weight: 500;
}

h3 {
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 20px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #8DC63F;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #7AB32F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 198, 63, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* Mobile viewport height fix */
    background-image: url('img/UFIN_audyt_www_foto_01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 64px; /* Account for fixed navigation */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(242, 244, 237, 0.2) 0%, rgba(242, 244, 237, 0.5) 40%, rgba(242, 244, 237, 0.3) 80%, rgba(242, 244, 237, 0.1) 100%);
}

.hero-container {
    padding: 0 16px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-top: 80px; /* reduced from 164px */
    padding-left: 100px;
}

.hero-content {
    text-align: left;
    max-width: 600px;
    margin-top: 20px; /* reduced from 60px */
}



.hero-text {
    margin-bottom: 120px;
}

.hero-main-text {
    font-size: 52px;
    font-weight: 600;
    color: #4A4A4A;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-sub-text {
    font-size: 36px;
    font-weight: 500;
    color: #8DC63F;
    line-height: 1.3;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .hero-section {
        background-attachment: scroll; /* Better performance on mobile */
        min-height: 100vh;
    }
    
    .hero-container {
        padding-top: 120px;
        padding-left: 16px;
        padding-right: 16px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 80px;
    }
    
    .hero-main-text {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
    }
    
    .hero-sub-text {
        font-size: 16px;
        line-height: 1.4;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .hero-section {
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .hero-container {
        padding-top: 120px;
        padding-left: 20px;
        padding-right: 20px;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-text {
        margin-bottom: 100px;
    }
    
    .hero-main-text {
        font-size: 26px;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }
    
    .hero-sub-text {
        font-size: 18px;
        line-height: 1.4;
    }
}

/* Tablet landscape */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        padding-top: 100px;
        padding-left: 60px;
    }
    
    .hero-text {
        margin-bottom: 120px;
    }
    
    .hero-main-text {
        font-size: 32px;
    }
    
    .hero-sub-text {
        font-size: 22px;
    }
}

/* Landscape orientation - horizontal view */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-container {
        padding-top: 60px;
        padding-left: 40px;
    }
    
    .hero-text {
        margin-bottom: 80px;
    }
    
    .hero-content {
        margin-top: 20px;
    }
    
    .hero-main-text {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 8px;
    }
    
    .hero-sub-text {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .scroll-indicator {
        bottom: 12px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Small landscape devices - phones in landscape */
@media (orientation: landscape) and (max-height: 480px) {
    .hero-container {
        padding-top: 40px;
        padding-left: 20px;
    }
    
    .hero-text {
        margin-bottom: 60px;
    }
    
    .hero-content {
        margin-top: 15px;
    }
    
    .hero-main-text {
        font-size: 24px;
        line-height: 1.0;
        margin-bottom: 6px;
    }
    
    .hero-sub-text {
        font-size: 16px;
        line-height: 1.1;
    }
    
    .scroll-indicator {
        bottom: 8px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    color: #FFFFFF;
    font-size: 20px;
    animation: bounce 2s infinite;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8DC63F 0%, #7AB32F 100%);
    box-shadow: 0 4px 15px rgba(141, 198, 63, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.scroll-indicator:hover {
    background: linear-gradient(135deg, #7AB32F 0%, #6AA025 100%);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(141, 198, 63, 0.5);
}

@media (max-width: 480px) {
    .scroll-indicator {
        bottom: 16px;
        font-size: 18px;
        width: 44px;
        height: 44px;
    }
    
    .hero-text {
        margin-bottom: 100px;
    }
}

/* Ensure scroll indicator is visible on very small screens */
@media (max-height: 500px) {
    .hero-text {
        margin-bottom: 60px;
    }
    
    .scroll-indicator {
        bottom: 8px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Section Navigation Buttons */
.section-nav-button {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: linear-gradient(135deg, #8DC63F 0%, #7AB32F 100%);
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141, 198, 63, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    animation: pulse 3s infinite;
    pointer-events: auto;
    min-height: 60px;
}

.section-nav-button:hover {
    background: linear-gradient(135deg, #7AB32F 0%, #6AA025 100%);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 25px rgba(141, 198, 63, 0.5);
    scale: 1.03;
}

.section-nav-button i {
    font-size: 18px;
    animation: bounceArrow 2s infinite;
    margin-bottom: 2px;
}

.section-nav-button span {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 8px;
    text-align: center;
    line-height: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(141, 198, 63, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(141, 198, 63, 0.7), 0 0 0 8px rgba(141, 198, 63, 0.1);
    }
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .section-nav-button {
        bottom: 70px;
        width: 50px;
        height: 50px;
        font-size: 9px;
    }
    
    .section-nav-button i {
        font-size: 16px;
    }
    
    .section-nav-button span {
        font-size: 7px;
    }
}

@media (max-width: 480px) {
    .section-nav-button {
        bottom: 60px;
        width: 44px;
        height: 44px;
    }
    
    .section-nav-button span {
        display: none;
    }
    
    .section-nav-button i {
        font-size: 18px;
        margin-bottom: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Navigation */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 64px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #4A4A4A;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: #4A4A4A;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    border: none;
    outline: none;
}

.nav-menu a:hover,
.nav-menu a:active,
.nav-menu a:focus,
.nav-menu a.active {
    color: #8DC63F;
    border: none;
    outline: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #4A4A4A;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: #FFFFFF;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 16px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    min-height: 100vh;
    background-image: url('img/UFIN_audyt_www_foto_02.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start;
    position: relative;
    scroll-margin-top: 64px; /* Account for fixed navigation */
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(farthest-side at 35% 35%, rgba(255, 255, 255, 0.9) 20%, rgba(242, 244, 237, 0.7) 50%, rgba(242, 244, 237, 0.3) 80%, rgba(242, 244, 237, 0.1) 100%);
    z-index: 1;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 32px 100px 32px;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-header {
    margin-bottom: 32px;
    margin-top: 60px;
    text-align: left;
}

.about-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #777777;
    margin: 0 0 16px 0;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.about-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #4A4A4A;
    margin: 0;
    letter-spacing: 2px;
    text-transform: none;
}

.about-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 32px 36px;
    margin: 0 0 0 0;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    color: #333;
    max-width: 850px;
    min-width: 320px;
    min-height: 0;
    transition: all 0.3s ease;
    text-align: left;
}

.about-card p {
    margin-bottom: 18px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Remove grid/columns from about-text-content if present */
.about-text-content {
    display: block !important;
    padding: 0;
    margin: 0;
}

@media (max-width: 900px) {
    .about-card {
        max-width: 100%;
        padding: 20px 10px;
    }
    .about-container {
        padding: 0 8px;
    }
}
@media (max-width: 600px) {
    .about-header h2 {
        font-size: 32px;
    }
    .about-card {
        padding: 12px 4px;
        font-size: 15px;
    }
}

.about-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    color: #8DC63F;
    font-weight: 600;
}
.about-card ul {
    padding-left: 18px;
    margin: 0;
}
.about-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .hero-container {
        padding-top: 48px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero-content {
        margin-top: 8px;
    }
    .about-card {
        padding: 24px 14px;
        margin: 0;
    }
    
    .section-header h2,
    .contact-header h2 {
        font-size: 28px;
        letter-spacing: 3px;
    }
}

/* Offer Section */
/* Offer Section - New Design */
.offer-section {
    min-height: 100vh;
    padding: 60px 0 180px 0;
    background: #F2F4ED;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    scroll-margin-top: 64px; /* Account for fixed navigation */
}

/* Service Overview Cards */
.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}


.service-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A4A4A 0%, #666 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
    border-color: #4A4A4A;
}

.service-card-inner {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: #FFFFFF;
    position: relative;
    transition: all 0.4s ease;
}

.service-card[data-service="audit"] .service-icon {
    background: linear-gradient(135deg, #8DC63F 0%, #7AB32F 100%);
}

.service-card[data-service="consulting"] .service-icon {
    background: linear-gradient(135deg, #8DC63F 0%, #7AB32F 100%);
}

.service-card[data-service="training"] .service-icon {
    background: linear-gradient(135deg, #8DC63F 0%, #7AB32F 100%);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: #4A4A4A;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-summary {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
    flex: 1;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-shrink: 0;
    min-height: 60px;
}

.highlight {
    background: #f8f9fa;
    color: #4A4A4A;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card[data-service="audit"] .highlight {
    background: #FFFFFF;
    color: #8DC63F;
    border: 2px solid #8DC63F;
}

.service-card[data-service="consulting"] .highlight {
    background: #FFFFFF;
    color: #8DC63F;
    border: 2px solid #8DC63F;
}

.service-card[data-service="training"] .highlight {
    background: #FFFFFF;
    color: #8DC63F;
    border: 2px solid #8DC63F;
}

.service-card:hover .highlight {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.expand-btn {
    background: linear-gradient(135deg, #4A4A4A 0%, #666 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    flex-shrink: 0;
    margin-top: auto;
    min-height: 50px;
}

.expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #666 0%, #4A4A4A 100%);
}

.expand-btn i {
    transition: transform 0.3s ease;
}

.expand-btn:hover i {
    transform: translateY(2px);
}

/* Dynamic Details Container */
.details-container {
    min-height: 0;
    transition: min-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Service Details - Hidden by default */
.service-details {
    background: #FFFFFF;
    border-radius: 20px;
    margin-bottom: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #4A4A4A;
    max-height: 0;
}

.service-details.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    max-height: 2000px;
    margin-bottom: 0;
}

.details-header {
    background: linear-gradient(135deg, #4A4A4A 0%, #666 100%);
    color: #FFFFFF;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.close-details {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-details:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.details-content {
    padding: 40px;
}

.details-intro {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    border-left: 4px solid #4A4A4A;
}

.details-intro p {
    color: #4A4A4A;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.details-column h4 {
    color: #4A4A4A;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #4A4A4A;
}

.details-column h4 i {
    color: #666;
    font-size: 18px;
}

.details-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-column ul li {
    padding: 12px 0;
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.details-column ul li:last-child {
    border-bottom: none;
}

.details-column ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8DC63F;
    font-weight: 600;
    font-size: 16px;
    top: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .offer-section {
        padding: 40px 0 60px 0;
    }
    
    .services-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card-inner {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .service-card h3 {
        font-size: 20px;
        min-height: auto;
    }
    
    .service-summary {
        font-size: 15px;
    }
    
    .expand-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .details-header {
        padding: 20px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .details-header h3 {
        font-size: 20px;
    }
    
    .details-content {
        padding: 24px 20px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .details-intro {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .details-intro p {
        font-size: 16px;
    }
    
    .details-column h4 {
        font-size: 18px;
    }
    
    .highlight {
        font-size: 12px;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .service-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight {
        width: fit-content;
    }
    
    .details-header {
        padding: 16px;
    }
    
    .details-content {
        padding: 20px 16px;
    }
}

/* Contact Section */
.contact-section {
    min-height: 100vh;
    background-image: url('img/UFIN_audyt_www_foto_03.jpg');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    scroll-margin-top: 64px; /* Account for fixed navigation */
}

/* Mobile optimization for contact section */
@media (max-width: 768px) {
    .contact-section {
        background-attachment: scroll; /* Better performance on mobile */
    }
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(242, 244, 237, 0.7) 0%,
        rgba(242, 244, 237, 0.5) 30%,
        rgba(242, 244, 237, 0.4) 60%,
        rgba(242, 244, 237, 0.6) 100%
    );
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px 100px 32px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 100px;
}

.contact-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #777777;
    margin: 0;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #8DC63F;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon i {
    font-size: 32px;
    color: #6B6B6B;
}

.contact-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: #6D6F71;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.contact-details p {
    font-size: 18px;
    font-weight: 400;
    color: #6B6B6B;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details a {
    color: #6B6B6B;
    text-decoration: underline;
    font-weight: 400;
}

.contact-details a:hover {
    color: #8DC63F;
}

.small-text {
    font-size: 16px;
    color: #888;
    font-weight: 400;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 60px 20px;
    }
    
    .contact-header h2 {
        font-size: 32px;
        margin-bottom: 60px;
        letter-spacing: 2px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-item {
        gap: 20px;
        padding: 25px 20px;
        border-radius: 16px;
        height: 100%;
        align-items: center;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    
    .contact-icon i {
        font-size: 28px;
    }
    
    .contact-details h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .contact-details p {
        font-size: 17px;
        margin-bottom: 3px;
    }
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 480px) {
    .contact-container {
        padding: 40px 16px;
    }
    
    .section-header h2,
    .contact-header h2 {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .contact-header h2 {
        margin-bottom: 40px;
    }
    
    .contact-grid {
        gap: 25px;
    }
    
    .contact-info-item {
        gap: 16px;
        padding: 20px 16px;
        border-radius: 14px;
        height: 100%;
        align-items: center;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .contact-icon i {
        font-size: 24px;
    }
    
    .contact-details h3 {
        font-size: 17px;
    }
    
    .contact-details p {
        font-size: 16px;
    }
}

/* Footer */
.footer {
    background: #F2F4ED;
    color: #4A4A4A;
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    margin-bottom: 8px;
    color: #666666;
}

.footer a {
    color: #7AB32F;
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-48 {
    margin-bottom: 48px;
}

/* Smooth Scrolling and Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .hero-section {
        background-attachment: scroll !important; /* Force scroll on touch devices */
    }
    
    .contact-section {
        background-attachment: scroll !important; /* Force scroll on touch devices */
    }
    
    .scroll-indicator {
        font-size: 28px; /* Larger touch target */
        padding: 12px;
    }
    
    .nav-menu a {
        padding: 16px !important; /* Larger touch targets */
        min-height: 44px;
    }
    
    .contact-icon {
        min-width: 60px !important;
        min-height: 60px !important;
    }
}

/* Prevent zoom on double-tap for mobile */
@media (max-width: 768px) {
    input, textarea, button, select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .hero-main-text, .hero-sub-text {
        user-select: none; /* Prevent text selection on mobile */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
}

/* Focus States */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #8DC63F;
    outline-offset: 2px;
}

.animate-fade-slide {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideIn 1s ease-out forwards;
}

.fade-out {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.delay-0 {
    animation-delay: 0.1s;
}
.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .main-navigation,
    .scroll-indicator,
    .contact-form {
        display: none !important;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
} 