/* ========================================
   BTI - Barakah Talenta Inspirasi
   Laravel Version Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #02b555;
    --primary-dark: #028a44;
    --primary-light: #4eed91;
    --secondary: #111E48;
    --secondary-light: #1a2d6b;
    --accent: #00d4ff;
    
    --text-dark: #1a1a2e;
    --text-body: #4a4a5a;
    --text-light: #6b6b7b;
    --text-muted: #9a9aaa;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fc;
    --bg-dark: #0a0e27;
    --bg-card: #ffffff;
    
    --border-light: #e8e8f0;
    --border-dark: rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(2, 181, 85, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --container-width: 1280px;
    --section-padding: 100px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-body);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Section Padding */
.section-padding {
    padding: var(--section-padding) 0;
}

.bg-light {
    background: var(--bg-light);
}

.bg-dark {
    background: var(--secondary);
    color: var(--bg-white);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: var(--bg-white);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header.light {
    color: var(--bg-white);
}

.section-header.light .section-title {
    color: var(--bg-white);
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(2, 181, 85, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.bg-dark .section-tag {
    background: rgba(2, 181, 85, 0.15);
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1px solid color-mix(in srgb, var(--secondary), transparent 50%);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--bg-white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text span {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    display: block;
    width: 100%;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Value Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(2, 181, 85, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Services Preview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.service-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-content i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
}

.service-content h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 40px;
}

/* Team Preview */
.team-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Center layout when less than 3 team members */
.team-grid-preview.team-count-1 {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid-preview.team-count-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-card-preview {
    text-align: center;
}

.team-image {
    margin-bottom: 24px;
    width: 180px;
    height: 180px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-white);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-role {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--secondary);
    transition: var(--transition-base);
}

.team-social a:hover {
    background: var(--primary);
    color: white;
}

/* Clients Section */
.clients-section {
    background: var(--bg-light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: var(--transition-base);
}

.client-logo-item:hover {
    transform: translateY(-4px);
}

.client-logo-img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-base);
}

.client-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    background: #111E48;
    background: linear-gradient(90deg, rgba(17, 30, 72, 1) 20%, rgba(42, 61, 122, 1) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    background-image: url(../storage/cta-bg.png);
    background-repeat: no-repeat;
    background-size: 50%;
    opacity: 0.3;
    pointer-events: none;
    inset: 0px;
    background-position: 100% center, 0px 0px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--bg-white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--primary);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact ul li i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(2, 181, 85, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.page-title {
    margin-bottom: 16px;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-info-center {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(2, 181, 85, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.contact-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.contact-link:hover {
    gap: 12px;
}

.contact-text {
    color: var(--text-body);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
    padding-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item h3 i {
    color: var(--primary);
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

/* Alert Messages */
.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(2, 181, 85, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(2, 181, 85, 0.2);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-light);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-cta {
        display: none;
    }

    .contact-info-center {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .values-grid,
    .services-grid,
    .team-grid-preview {
        grid-template-columns: 1fr;
    }
    
    .team-grid-preview.team-count-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-center {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
