/* Reset and Base Styles */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: #333; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header { 
    padding: 1rem 2rem; 
    text-align: right; 
}

.lang-switcher a { 
    text-decoration: none; 
    color: #666; 
}

.lang-switcher a.active { 
    font-weight: bold; 
    color: #007bff; 
}

/* Hero Section */
#hero { 
    position: relative; 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    overflow: hidden; 
}

.hero-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    z-index: -1; 
}

.hero-bg::after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.6); 
}

.hero-content { 
    max-width: 800px; 
    padding: 2rem; 
    z-index: 1; 
}

.hero-content h1 { 
    font-size: 3rem; 
    margin-bottom: 1rem; 
}

.hero-content p { 
    font-size: 1.2rem; 
    margin-bottom: 2rem; 
}

/* Call-to-Action Button */
.cta-button { 
    display: inline-block; 
    padding: 0.8rem 2rem; 
    background-color: #007bff; 
    color: white; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: 600; 
    transition: background-color 0.3s ease; 
}

.cta-button:hover { 
    background-color: #0056b3; 
}

.cta-button.secondary {
    background-color: #6c757d;
}

.cta-button.secondary:hover {
    background-color: #545b62;
}

/* Sections */
section { 
    padding: 5rem 2rem; 
}

#problem { 
    background-color: #f8f9fa; 
    text-align: center; 
}

#services { 
    background-color: #fff; 
}

/* Services Grid */
.services-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.service-card { 
    padding: 2rem; 
    border: 1px solid #e9ecef; 
    border-radius: 8px; 
    text-align: center; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    transition: transform 0.3s ease; 
}

.service-card:hover { 
    transform: translateY(-5px); 
}

.price-amount { 
    font-size: 1.5rem; 
    font-weight: bold; 
    color: #007bff; 
}

/* FAQ Section */
.faq-item { 
    margin-bottom: 1rem; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
}

.faq-item h3 { 
    padding: 1rem; 
    background-color: #f8f9fa; 
    margin: 0; 
    cursor: pointer; 
}

.faq-answer { 
    padding: 0 1rem; 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease-out; 
}

.faq-answer.active { 
    padding: 1rem; 
    max-height: 300px; 
}

/* Contact Form */
#contact { 
    background-color: #f8f9fa; 
    text-align: center; 
}

.contact-options {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#contact-form { 
    max-width: 100%;
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
    text-align: left;
}

#contact-form input, #contact-form select, #contact-form textarea { 
    padding: 0.8rem; 
    border: 1px solid #ced4da; 
    border-radius: 4px; 
    font-family: inherit; 
}

#contact-form button { 
    padding: 0.8rem; 
    background-color: #28a745; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: 600; 
}

#contact-form button:hover { 
    background-color: #218838; 
}

.recaptcha-placeholder {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
    padding: 1rem;
    text-align: center;
    color: #666;
}

.email-button {
    margin-top: 1rem;
    display: inline-block;
}

#contact-form textarea { 
    padding: 0.8rem; 
    border: 1px solid #ced4da; 
    border-radius: 4px; 
    font-family: inherit; 
    resize: vertical; /* Allows users to resize vertically if needed */
    min-height: 150px; /* Ensures good initial height */
}

/* Footer */
footer { 
    text-align: center; 
    padding: 2rem; 
    background-color: #333; 
    color: white; 
}

/* Plans Page Styles */
#plans-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

#plans-hero .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.featured {
    border-color: #007bff;
    position: relative;
    /* Remove transform: scale(1.05) */
    /* Gunakan border atau background instead untuk highlight */
    border-width: 3px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.plan-card.featured:hover {
    transform: translateY(-5px); /* Remove scale dari hover juga */
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
}

.plan-price .period {
    color: #666;
    font-size: 1rem;
}

.plan-hours {
    color: #666;
    font-weight: 600;
    margin-top: 0.5rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.plan-actions {
    text-align: center;
}

/* Expansion Notice Styles */
#expansion-notice {
    background: #fff;
    padding: 1rem 2rem;
}

.expansion-banner {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.expansion-banner h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.expansion-banner p {
    color: #004d99;
    margin: 0;
}

/* Scope of Work Section */
#scope-of-work {
    background: #f8f9fa;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.scope-category {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.scope-category h3 {
    color: #007bff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.scope-category ul {
    list-style: none;
    padding: 0;
}

.scope-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.scope-category li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
}

/* Geographic Notice */
#geographic-notice {
    background: #fff;
}

.notice-banner {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.notice-banner h3 {
    color: #856404;
    margin-bottom: 0.5rem;
}

/* Client Portal Styles */
#client-portal-hero {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

#client-portal-hero .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-description {
    color: #666;
    margin-bottom: 1rem;
}

.search-input-group {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.search-input-group input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input-group input:focus {
    border-color: #007bff;
    outline: none;
}

.search-input-group button {
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-input-group button:hover:not(:disabled) {
    background: #0056b3;
}

.search-input-group button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.input-hint {
    color: #666;
    display: block;
    margin-top: 0.5rem;
}

.results-container {
    margin-top: 2rem;
    text-align: left;
}

.success-result, .error-result {
    padding: 2rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.success-result {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-result {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.client-info {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.info-item label {
    font-weight: 600;
}

.hours-remaining {
    font-weight: bold;
    color: #28a745;
}

.action-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.suggestions {
    margin-top: 1rem;
}

.suggestions ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.suggestions li {
    padding: 0.25rem 0;
}

.suggestions li:before {
    content: "• ";
    color: #666;
}

.help-links {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.help-links ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.help-links li {
    padding: 0.25rem 0;
    color: #666;
}

.help-links li:before {
    content: "• ";
    color: #007bff;
}

/* Features Grid */
#portal-features {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
}
/* ========== FIXES FOR HOSTINGER DEPLOYMENT ========== */

/* 1. Fix Monthly Retainer Plans text hidden */
#plans-overview .subtitle {
    margin-bottom: 3rem !important;
    padding: 0 2rem;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* 2. Fix space under "Professional Services" */
#services {
    padding: 8rem 2rem; /* Increased from 5rem to 8rem */
}

#services h2 {
    margin-bottom: 3rem; /* Added more space below heading */
}

/* 3. Fix Contact Us button alignment on desktop */
.services-container {
    align-items: stretch; /* Ensure all cards same height */
}

.service-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 420px; /* Minimum height for consistency */
}

.service-card .cta-button.secondary {
    margin-top: auto; /* Push button to bottom */
    align-self: center; /* Center the button */
    width: 80%; /* Consistent button width */
    text-align: center;
}

/* 4. Specific fix for Project-Based Work card */
.service-card:nth-child(3) {
    justify-content: space-between; /* Better content distribution */
}

/* 5. Ensure consistent pricing display */
.price-amount {
    margin: 1rem 0;
    font-size: 1.5rem;
    min-height: 2.5rem; /* Consistent space for pricing */
}

/* 6. Fix plans container spacing */
.plans-container {
    margin-top: 2rem; /* More space above plans */
}

/* 7. Mobile responsiveness maintain */
@media (max-width: 768px) {
    #services {
        padding: 5rem 1rem; /* Slightly less padding on mobile */
    }
    
    .service-card {
        min-height: 380px; /* Slightly less on mobile */
    }
    
    .service-card .cta-button.secondary {
        width: 90%; /* Slightly wider on mobile */
    }
}

/* 8. Fix for Block Hours price update */
.plan-card:nth-child(3) .plan-price .amount {
    color: #28a745; /* Green color for Block Hours */
}

/* 9. Better card content distribution */
.plan-card {
    display: flex;
    flex-direction: column;
}

.plan-features {
    flex-grow: 1; /* Take available space */
    margin-bottom: 1.5rem;
}

.plan-actions {
    margin-top: auto; /* Push button to bottom */
}

/* ========== FIX CENTER HERO HEADINGS ========== */
#client-portal-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 40vh !important;
}

#plans-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 50vh !important;
}

.hero-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.hero-content h1 {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Contact Info Card Styles */
.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    min-width: 325px; /* Added this line */
}

.contact-info p {
    margin: 0.8rem 0;
    font-size: 1rem;
}

.contact-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Cybersecurity Services Section */
#cybersecurity-services {
    background-color: #f8f9fa;
    padding: 5rem 2rem;
}

#cybersecurity-services .services-container {
    max-width: 800px;
    margin: 0 auto;
}

#cybersecurity-services .service-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Cybersecurity Card Specific Styles */
.cybersecurity-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cybersecurity-card .service-description {
    margin: 1.5rem 0;
    text-align: left;
}

.cybersecurity-card .service-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cybersecurity-card .cta-button {
    margin-top: 1rem;
    width: auto;
    padding: 0.8rem 2.5rem;
}

/* Cybersecurity Full Width Card */
.cybersecurity-card-full {
    background: white;
    padding: 3rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
    max-width: 100%;
}

.cybersecurity-card-full h3 {
    text-align: left;
    margin-bottom: 1rem;
}

.cybersecurity-card-full .price {
    text-align: left;
    margin-bottom: 0.5rem;
}

.cybersecurity-card-full .price-amount {
    text-align: left;
    margin-bottom: 1.5rem;
}

.cybersecurity-card-full .service-description {
    margin: 2rem 0;
}

.cybersecurity-card-full .service-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cybersecurity-button-container {
    text-align: right;
    margin-top: 2rem;
}

/* Cybersecurity Full Width Card - New Layout */
.cybersecurity-card-full {
    background: white;
    padding: 2.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
    max-width: 100%;
}

.cybersecurity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.cybersecurity-header .price {
    margin: 0;
    font-size: 1.1rem;
    color: #666;
}

.cybersecurity-header .price-amount {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.cybersecurity-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.cybersecurity-text {
    flex: 3;
}

.cybersecurity-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cybersecurity-button-container {
    flex: 1;
    text-align: center;
    padding-top: 1rem;
}

/* Project-Based Work Page Styles - UPDATED */
#project-hero {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

#project-hero .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#project-overview {
    background: #fff;
    padding: 5rem 2rem;
}

#project-overview .subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    font-size: 1.1rem;
}

#project-cta {
    background: #f8f9fa;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* UPDATED Service cards with gradients and numbers */
#project-overview .service-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
    border: 1px solid #e1e8f0;
    border-left: 4px solid #2c5aa0;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#project-overview .service-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

#project-overview .service-card > p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
}

#project-overview .service-card ul {
    margin-top: 1rem;
    text-align: left;
    list-style: none;
    counter-reset: service-item;
}

#project-overview .service-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    text-align: left;
}

#project-overview .service-card li:before {
    counter-increment: service-item;
    content: counter(service-item) ". ";
    color: #2c5aa0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

#project-overview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Blue accent text class */
.accent-text {
    color: #2c5aa0;
    font-weight: 600;
}

/* Responsive design for project page */
@media (max-width: 768px) {
    #project-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    #project-overview .service-card {
        padding: 1.5rem;
    }
}