* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.layout-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* Header */
.header {
    background: white url('/images/header.png') center 40%;
    background-size: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    position: relative;
    z-index: 100;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.2);
    pointer-events: none;
}

.header-logo {
    position: relative;
    z-index: 10;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.header-text {
    font-size: 0.95rem;
    color: white;
    line-height: 1.7;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.header-text a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.header-text a:hover {
    opacity: 0.6;
}

.header-text i {
    margin-right: 6px;
    width: 14px;
    text-align: center;
    font-size: 0.9rem;
}

.fab.fa-whatsapp {
    color: #25D366;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-btn .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid #007bff;
    background: #007bff;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.btn:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn.btn-support {
    border-color: #ffc107;
    background: #ffc107;
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn.btn-support:hover {
    background: #ffdd33;
    color: #000;
    border-color: #ffdd33;
    box-shadow: 0 4px 12px rgba(255, 221, 51, 0.4);
}

.btn-support-icon {
    font-size: 1.1rem;
}

.header-logo {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6c757d;
    min-width: 200px;
    min-height: 160px;
    transition: all 0.3s ease;
}

.header-logo:hover {
    border-color: #007bff;
    color: #007bff;
    transform: scale(1.05);
}

.logo-image {
    max-height: 140px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Main Content Area */
.main-content {
    flex: 1;
    background: #f8f9fa;
    min-height: 60vh;
    position: relative;
}

.content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 0;
    min-height: 50vh;
}

.content-area:has(.service-hero) {
    padding: 0;
    max-width: none;
    margin: 0;
}

/* Services Section */
.services-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.services-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.services-alignment-guide {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(5 * 350px + 4 * 2rem);
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.service-item {
    background: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 3.5rem 3rem;
    min-height: 240px;
    width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.7);
    transition: all 0.3s ease;
    z-index: 1;
}

.service-item:hover::before {
    background: rgba(0, 123, 255, 0);
}

.service-item:hover {
    border-color: #007bff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-name {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 2rem;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Homepage Content */
.homepage-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8rem 3rem 8rem;
    line-height: 1.8;
    color: #444;
    position: relative;
}


.homepage-logo {
    float: left;
    width: 80px;
    height: auto;
    margin: 0 1.5rem 1rem 0;
    margin-top: 0;
    object-fit: contain;
}

.homepage-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Partner Logos Section */
.partners-section {
    background: white;
    border-top: 1px solid #dee2e6;
    padding: 2rem 0;
    width: 100%;
}

.partners-container {
    width: 100%;
    padding: 0 2rem;
}

.partners-title {
    text-align: center;
    font-size: 1rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.partners-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 100%;
}

.partners-scroll::-webkit-scrollbar {
    height: 0;
    width: 0;
    background: transparent;
}

.partners-scroll:hover::-webkit-scrollbar {
    height: 6px;
}

.partners-scroll:hover::-webkit-scrollbar-track {
    background: rgba(241, 243, 244, 0.8);
    border-radius: 3px;
}

.partners-scroll:hover::-webkit-scrollbar-thumb {
    background: rgba(193, 193, 193, 0.8);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.partners-scroll:hover::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 168, 168, 0.9);
}

.partner-logo {
    flex: 0 0 auto;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 100px;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.partner-logo-img {
    max-width: 100px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Footer */
.footer {
    background: #343a40;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8rem;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #495057;
}

.footer-contact {
    font-size: 0.7rem;
    line-height: 1.6;
    text-align: left;
    flex: 1;
}

.footer-contact a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.7;
}

.footer-contact i {
    margin-right: 6px;
    width: 12px;
    text-align: center;
    font-size: 0.8rem;
}

.footer-services {
    font-size: 0.7rem;
    line-height: 1.6;
    text-align: left;
    flex: 0 0 auto;
    min-width: 200px;
}

.footer-services a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-services a:hover {
    opacity: 0.7;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Service Pages */
.service-hero {
    width: 100%;
    height: 25vh;
    background-size: cover;
    background-position: center 65%;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

.service-title-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 2rem;
    text-align: center;
}

.service-page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.service-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8rem 3rem 8rem;
    line-height: 1.8;
    color: #444;
}

.service-section {
    margin-bottom: 2.5rem;
}

.service-section h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-section h3 i {
    margin-right: 0.5rem;
    color: #007bff;
    font-size: 1.2rem;
}

.service-section ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.service-section li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

.partners-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partner-logos-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-logo-inline {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    min-width: 60px;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.partner-logo-inline:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.partner-logo-inline img {
    max-width: 50px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 0 2rem;
    }
    
    .header-left {
        order: 2;
        gap: 2rem;
    }
    
    .header-logo {
        order: 1;
        width: fit-content;
        min-width: auto;
        min-height: auto;
        padding: 1.5rem;
        margin: 0 auto;
    }
    
    .header {
        padding: 2rem 0;
    }
    
    .logo-image {
        max-height: 100px;
        max-width: 150px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header-buttons {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .btn {
        min-width: 100px;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .content-area {
        padding: 1.5rem 1rem;
        min-height: 30vh;
    }
    
    .services-section {
        padding: 2rem 1rem;
    }
    
    .services-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .service-item {
        width: 100%;
        max-width: 300px;
        min-height: 80px;
        padding: 1.5rem 1rem;
    }
    
    .homepage-logo {
        width: 65px;
        margin: 0 1rem 1rem 0;
        margin-top: 0;
    }
    
    .homepage-content {
        padding: 0 1rem 3rem 1rem;
    }
    
    .homepage-content::after {
        width: 280px;
        margin: 2rem auto 0;
    }
    
    .homepage-content p {
        font-size: 1rem;
    }
    
    .partners-container {
        padding: 0 1rem;
    }
    
    .partners-section {
        padding: 1.5rem 0;
    }
    
    .partner-logo {
        min-width: 100px;
        height: 70px;
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .partner-logo-img {
        max-width: 80px;
        max-height: 60px;
    }
    
    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .header-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .partner-logo {
        min-width: 90px;
        height: 60px;
        padding: 0.4rem;
    }
    
    .partner-logo-img {
        max-width: 70px;
        max-height: 50px;
    }
    
    .service-hero {
        height: 15vh;
    }
    
    .service-title-section {
        padding: 2rem 1rem 1rem 1rem;
    }
    
    .service-page-title {
        font-size: 2rem;
    }
    
    .service-content {
        padding: 0 1rem 3rem 1rem;
    }
    
    .service-section li {
        font-size: 1rem;
    }
    
    .partners-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .partner-logos-inline {
        flex-wrap: wrap;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-columns {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-services {
        min-width: auto;
    }
}