/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Color Palette */
    --primary: #3b82f6;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --secondary: #f8fafc;
    --accent: #3b82f6;
    --foreground: #1e293b;
    --muted: #64748b;
    --background: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #0ea5e9;
    
    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-padding: 1.5rem;
    --section-padding: 5rem 0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.text-primary {
    color: var(--primary);
}

.highlight {
    color: #fbbf24;
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: rgb(0, 0, 0);
    border: 2px solid rgba(89, 93, 124, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Grid Pattern Background */
.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 50%, #1d4ed8 100%);
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

.decoration-1 {
    top: 5rem;
    left: 5rem;
    width: 16rem;
    height: 16rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.decoration-2 {
    bottom: 5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(255, 255, 255, 0.1);
    animation-delay: 1s;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 2rem;
}

.hero-logo {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: nowrap; /* jangan pindah ke kolom pada layar kecil */
}

.hero-stats .stat {
    min-width: 64px;
    text-align: center;
}

.hero-stats .stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(30,41,59,0.08);
    align-self: stretch;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
}

.stat-divider {
    width: 1px;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.3);
}

/* About Us Section */
.about-us {
    padding: var(--section-padding);
    background-color: var(--background);
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-icon img,
.mikhmon-image {
    width: 64px; /* sesuaikan ukuran jika perlu */
    height: auto;
    display: block;
    margin: 0 auto;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.service-description {
    color: #002e6a;
    margin-bottom: 1.5rem;
}

.service-description-mikhmon {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.service-features li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Mikhmon Special Card */
.mikhmon-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.mikhmon-content {
    padding: 2rem;
    text-align: center;
}

.mikhmon-form {
    margin-top: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.input-group {
    display: flex;
}

.input-group input {
    border-radius: 0.5rem 0 0 0.5rem;
    border-right: none;
}

.input-suffix {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    padding: 0.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background-color: var(--background);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    height: 200px;
    background-color: var(--secondary);
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0.1;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 0.2;
}

.portfolio-category {
    background-color: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-title {
    color: var(--primary);
}

.portfolio-description {
    color: var(--muted);
    line-height: 1.6;
}

.download-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.download-content {
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-card .portfolio-title {
    color: white;
    margin-bottom: 1rem;
}

.download-card .portfolio-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.portfolio-more {
    text-align: center;
}

/* Personal About Section */
.personal-about {
    padding: var(--section-padding);
    background-color: var(--secondary);
}

.about-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
}

.about-text {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 2rem;
}

.about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.about-visual {
    position: relative;
    text-align: center;
}

.profile-card {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 1.5rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.profile-avatar {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    position: relative;
    z-index: 1;
}

.profile-info {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background-color: #ffffff;
    backdrop-filter: none;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
}

.profile-title {
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.profile-subtitle {
    color: var(--foreground);
    font-size: 0.75rem;
    opacity: 0.9;
}

.floating-icon {
    position: absolute;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    top: -1rem;
    right: -1rem;
    background-color: rgba(16, 185, 129, 0.2);
}

.icon-2 {
    bottom: -1rem;
    left: -1rem;
    width: 5rem;
    height: 5rem;
    background-color: rgba(14, 165, 233, 0.2);
    animation-delay: 0.5s;
}

/* CTA Section */
.cta {
    padding: var(--section-padding);
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 50%, #1d4ed8 100%);
    color: white;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.cta-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration-3 {
    top: 2.5rem;
    left: 2.5rem;
    width: 10rem;
    height: 10rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.decoration-4 {
    bottom: 2.5rem;
    right: 2.5rem;
    width: 15rem;
    height: 15rem;
    background-color: rgba(255, 255, 255, 0.1);
    animation-delay: 1s;
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.cta-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.response-time {
    font-size: 0.875rem;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-feature {
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background-color: var(--foreground);
    color: var(--background);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.brand-logo {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
}

.brand-tagline {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-description {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.8;
    transition: var(--transition);
}

.contact-link:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (min-width: 640px) {
.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center; /* <- ditambahkan */
    margin-bottom: 3rem;
}    
    .hero-title {
        font-size: 4rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 639px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .stat-divider {
        width: 3rem;
        height: 1px;
    }
    
    .about-content {
        padding: 2rem;
        gap: 2rem;
    }
    
    .profile-card {
        width: 280px;
        height: 280px;
    }
    .profile-avatar .profile-image,
.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

}
