/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1.0);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
}

.logo span {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 300;
}

.logo-image {
    height: 55px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #3498db, #2980b9);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.lang-switch {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.lang-switch::after {
    display: none;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    filter: none !important;
    -webkit-filter: none !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: none !important;
    -webkit-filter: none !important;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% -80%;
    transform: scale(1.0);
    filter: hue-rotate(10deg) saturate(1.4) contrast(1.15) brightness(0.85) !important;
    -webkit-filter: hue-rotate(10deg) saturate(1.4) contrast(1.15) brightness(0.85) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1 !important;
    -webkit-opacity: 1 !important;
    -ms-interpolation-mode: bicubic;
    transition: transform 0.4s ease, object-position 0.4s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.0);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hero-content {
    text-align: left;
    color: white;
    width: 55%;
    max-width: 800px;
    min-width: 650px;
    margin-right: -200px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    white-space: nowrap;
}

.highlight {
    background: linear-gradient(45deg, #F06292 0%, #BA68C8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    white-space: nowrap;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #F06292 0%, #BA68C8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 98, 146, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 98, 146, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.0rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: #666;
}

.stat-label {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

/* Connection Graphic */
.connection-graphic {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    animation: floating 3s ease-in-out infinite;
}

.node:hover {
    transform: scale(1.1);
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.node i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.flag-icon {
    width: 30px;
    height: 20px;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
}

/* Flag Styles */
.flag {
    width: 40px;
    height: 25px;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.node i,
.flag {
    margin-bottom: 0.5rem;
}

.singapore-flag {
    background: linear-gradient(to bottom, #ed2939 50%, #ffffff 50%);
    position: relative;
}

.singapore-flag::before {
    content: '☾';
    position: absolute;
    left: 2px;
    top: 2px;
    color: white;
    font-size: 6px;
    line-height: 1;
}

.singapore-flag .stars {
    position: absolute;
    left: 6px;
    top: 2px;
    width: 8px;
    height: 6px;
}

.singapore-flag .star {
    position: absolute;
    color: white !important;
    font-size: 2px;
    line-height: 1;
    filter: brightness(0) invert(1);
}

.singapore-flag .star:nth-child(1) { left: 3px; top: 0px; }
.singapore-flag .star:nth-child(2) { left: 5px; top: 1px; }
.singapore-flag .star:nth-child(3) { left: 4px; top: 4px; }
.singapore-flag .star:nth-child(4) { left: 1px; top: 4px; }
.singapore-flag .star:nth-child(5) { left: 0px; top: 1px; }

.flag-stripe {
    height: 50%;
}

.flag-stripe.red {
    background: #ed2939;
}

.flag-stripe.white {
    background: #ffffff;
}

.japan-flag {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.japan-circle {
    width: 15px;
    height: 15px;
    background: #bc002d;
    border-radius: 50%;
}

.node span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.singapore {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    padding: 2rem;
    width: 120px;
    height: 120px;
}

.japan {
    top: 15%;
    right: 10%;
    animation-delay: 1s;
    padding: 2rem;
    width: 120px;
    height: 120px;
}

.global {
    bottom: 10%;
    left: 50%;
    margin-left: -60px;
    animation-delay: 2s;
    padding: 2rem;
    width: 120px;
    height: 120px;
}

/* Our Value Section */
.value {
    background: #f8f9fa;
    padding: 5rem 0;
}

.value-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.value-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2c3e50;
    font-weight: 400;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #3498db;
}

.value-text strong {
    font-weight: 700;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Clients Section */
.clients {
    background: #f8f9fa;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.clients-grid .client-card:nth-child(1),
.clients-grid .client-card:nth-child(2),
.clients-grid .client-card:nth-child(3),
.clients-grid .client-card:nth-child(4) {
    flex: 0 0 200px;
    width: 200px;
}

.clients-grid .client-card:nth-child(5),
.clients-grid .client-card:nth-child(6),
.clients-grid .client-card:nth-child(7) {
    flex: 0 0 200px;
    width: 200px;
}

.client-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2c3e50;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.client-card:hover {
    transform: translateY(-5px);
    color: #3498db;
}

.client-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-card:hover .client-logo {
    opacity: 1;
    transform: scale(1.1);
}

.client-logo-icmg {
    height: 45px;
    object-fit: contain;
}

.client-logo-icnet {
    margin-top: 8px;
}

.client-logo[alt="Crimsonlogic"] {
    height: 70px;
    object-fit: contain;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-content-simple {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-content-simple .contact-info {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.contact-content-simple .office-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.contact-content-simple .office-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.privacy-notice-contact {
    margin-top: 10px !important;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
    line-height: 1.4;
}

.privacy-policy-link-inline {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px dotted #3498db;
}

.privacy-policy-link-inline:hover {
    color: #2980b9;
    border-bottom: 1px solid #2980b9;
    text-decoration: none;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.office-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.office-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.office-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.office-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.office-background:hover {
    transform: scale(1.05);
}

.office-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.office-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-top: 0.2rem;
}

.office-item h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.office-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact form styles removed - no longer needed */

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.ssl-seal {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.ssl-seal span {
    display: inline-block;
    line-height: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 2rem 0;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        padding: 2rem;
    }

    .hero-content {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content-simple .contact-info {
        max-width: 100%;
        text-align: left;
    }

    .contact-content-simple .office-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .email-note {
        font-size: 0.7rem;
    }

    .privacy-notice-contact {
        font-size: 0.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* Privacy Policy Styles */
.privacy-policy {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

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

.privacy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 30px;
}

.privacy-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.privacy-nav li {
    color: #7f8c8d;
    font-weight: 500;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.privacy-content h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.privacy-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}

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

.privacy-section h3 {
    font-size: 1.4rem;
    color: #3498db;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.privacy-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.privacy-section li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
}

.privacy-section .contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.privacy-section .contact-info h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 15px;
}

.privacy-section .contact-info h4:first-child {
    margin-top: 0;
}

.privacy-section .contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.privacy-notice {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.privacy-notice p {
    margin: 0;
    color: #666;
    font-style: italic;
}

/* Mobile Responsive Styles for Privacy Policy */
@media (max-width: 768px) {
    .privacy-header h1 {
        font-size: 2rem;
    }

    .privacy-header h2 {
        font-size: 1.5rem;
    }

    .privacy-nav {
        flex-direction: column;
        gap: 10px;
    }

    .privacy-content {
        padding: 25px;
        margin: 0 1rem;
    }

    .privacy-content h2 {
        font-size: 1.6rem;
    }

    .privacy-section h3 {
        font-size: 1.2rem;
    }

    .privacy-section ol {
        margin-left: 15px;
    }

    .privacy-section .contact-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-policy {
        padding: 100px 0 60px;
    }

    .privacy-content {
        padding: 20px;
        margin: 0 0.5rem;
    }

    .privacy-content h2 {
        font-size: 1.4rem;
    }

    .privacy-section h3 {
        font-size: 1.1rem;
    }

    .privacy-section ol {
        margin-left: 10px;
    }

    .privacy-section .contact-info {
        padding: 12px;
    }
}
