/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --blue-primary: #0066cc;
    --blue-light: #4a90e2;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #4a90e2 100%);
    --gradient-hover: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.lang-switcher {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.lang-switcher.active {
    color: var(--blue-primary);
    background: var(--bg-light);
}

.lang-switcher:hover {
    color: var(--blue-primary);
}

.nav-separator {
    color: var(--border-color);
    font-weight: 300;
    margin: 0 5px;
}

.lang-separator {
    color: var(--border-color);
    font-weight: 300;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 15px;
    padding: 8px 0;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--blue-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 100px;
    background: var(--bg-light);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../image/backs.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 248, 248, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

/* Logo Styles */
.logo-container {
    margin-bottom: 50px;
}

.main-logo {
    width: auto;
    height: auto;
    max-width: none;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0, 102, 204, 0.2));
    position: relative;
    z-index: 10;
    animation: logoFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo-circle {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-gear {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0066cc 0%, #4a90e2 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-gear::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border: 2px solid #0066cc;
    border-radius: 50%;
    opacity: 0.2;
}

.logo-gear::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.logo-text-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    font-size: 10px;
    font-weight: 600;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    top: 0;
    left: 0;
    border-radius: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.logo-title {
    font-size: 4rem;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 4px;
    margin: 0;
    text-transform: uppercase;
}

/* Slogan */
.slogan {
    margin-top: 40px;
}

.slogan-line1 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.slogan-line2 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    font-style: italic;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Columns Section */
.columns-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.column-item {
    background: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.6s ease-out both;
}

.column-item:nth-child(1) {
    animation-delay: 0.1s;
}

.column-item:nth-child(2) {
    animation-delay: 0.2s;
}

.column-item:nth-child(3) {
    animation-delay: 0.3s;
}

.column-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.column-item:hover {
    transform: translateY(-8px);
}

.column-item:hover::after {
    opacity: 0.03;
}

.column-preview-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.column-preview {
    width: 100%;
    min-height: 300px;
    background: #ffffff;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.column-preview::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.column-preview:hover::after {
    width: 300px;
    height: 300px;
}

.column-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(74, 144, 226, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 8px;
}

.column-preview-link:hover .column-preview,
.column-item:hover .column-preview {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.2);
    border-color: rgba(0, 102, 204, 0.4);
}

.column-preview-link:hover .column-preview::before,
.column-item:hover .column-preview::before {
    opacity: 1;
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    z-index: 1;
}

.column-preview-link:hover .preview-image,
.column-item:hover .preview-image {
    transform: scale(1.05);
}


.column-info {
    padding: 0;
}

.column-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.column-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 400;
}

.social-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.social-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--bg-white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.youtube {
    background: #ff0000;
}

/* Page Hero (for About and Contact) */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    background: var(--bg-light);
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../image/backs.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 0;
}

.page-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 248, 248, 0.4);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 4px 20px rgba(0, 102, 204, 0.2);
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.about-logo-section {
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
    max-width: 800px;
}

.about-text p {
    margin-bottom: 25px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: #0066cc;
    margin-top: 3px;
    min-width: 24px;
}

.info-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.info-item p:last-child {
    margin-bottom: 0;
}

.info-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #0066cc;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 248, 248, 0.9) 100%);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 12px 48px rgba(0, 102, 204, 0.12);
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group-half {
    width: 100%;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15), 0 4px 16px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    padding: 16px 48px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--bg-white);
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-container p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animations */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .columns-grid {
        gap: 40px;
        padding: 0 30px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
}

@media (max-width: 968px) {
    .columns-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 40px;
    }
    
    .main-logo {
        max-width: 350px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        justify-content: center;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero-section {
        min-height: 65vh;
        padding: 120px 20px 80px;
    }
    
    .main-logo {
        max-width: 90%;
    }
    
    .slogan-line1 {
        font-size: 1.2rem;
    }
    
    .slogan-line2 {
        font-size: 1rem;
    }
    
    .columns-section {
        padding: 80px 0;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 35px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .contact-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .main-logo {
        max-width: 85%;
    }
    
    .slogan-line1 {
        font-size: 1rem;
    }
    
    .slogan-line2 {
        font-size: 0.9rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .column-preview {
        min-height: 250px;
        padding: 15px;
    }
}
