/*
Theme Name: Bambo Papaya
Theme URI: https://www.bambopapaya.com
Author: Bambo Papaya Team
Author URI: https://www.bambopapaya.com
Description: A modern, professional WordPress theme for Bambo Papaya Private Limited - Technology In Motion: Intelligent Systems, Dynamic Results
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bambo-papaya
Tags: business, technology, corporate, responsive, modern
*/

/* ====================
   CSS Reset & Base
   ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ====================
   Typography
   ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* ====================
   Container
   ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ====================
   Navigation
   ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.25rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-mark {
    display: flex;
    align-items: center;
}

.logo-bp {
    background: #1d4ed8;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem 0 0 0.25rem;
}

.logo-text {
    background: #2563eb;
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 0 0.25rem 0.25rem 0;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-info {
    display: none;
}

@media (min-width: 640px) {
    .logo-info {
        display: block;
    }
    .logo-info .company-name {
        font-weight: 600;
        font-size: 0.875rem;
        line-height: 1.25;
    }
    .logo-info .company-type {
        font-size: 0.75rem;
        opacity: 0.8;
    }
}

.navbar.scrolled .logo-info {
    color: #1f2937;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    position: relative;
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-link {
    color: #374151;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: white;
}

.navbar.scrolled .mobile-menu-btn {
    color: #1f2937;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    border-radius: 0.5rem;
    margin: 0.5rem 1rem;
}

.mobile-menu a:hover {
    background: #f3f4f6;
}

/* ====================
   Hero Section
   ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #312e81 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.8), transparent, rgba(30, 58, 138, 0.4));
}

.hero-glow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.glow-1 {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 16rem;
    height: 16rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
}

.glow-2 {
    position: absolute;
    bottom: 25%;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.hero-badge .dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

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

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title span {
    color: #93c5fd;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 48rem;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

@media (min-width: 640px) {
    .stat-value {
        font-size: 2.5rem;
    }
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-indicator-inner::after {
    content: '';
    width: 0.375rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 9999px;
}

/* ====================
   Section Styles
   ==================== */
.section {
    padding: 5rem 0;
}

@media (min-width: 640px) {
    .section {
        padding: 8rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title span {
    color: #2563eb;
}

.section-description {
    font-size: 1.125rem;
    color: #4b5563;
}

/* ====================
   About Section
   ==================== */
.about-section {
    background: #f9fafb;
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.about-features {
    margin: 2rem 0;
    space-y: 1rem;
}

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

.feature-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.feature-item span {
    color: #374151;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quote-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-width: 20rem;
}

.quote-card p {
    color: #4b5563;
    font-style: italic;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.quote-card .author {
    color: #2563eb;
    font-weight: 600;
}

/* ====================
   Services Section
   ==================== */
.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #dbeafe;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #2563eb;
    color: white;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #4b5563;
    font-size: 0.9375rem;
}

/* ====================
   Portfolio Section
   ==================== */
.portfolio-section {
    background: #111827;
    color: white;
}

.portfolio-section .section-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.portfolio-section .section-title {
    color: white;
}

.portfolio-section .section-description {
    color: #d1d5db;
}

.portfolio-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.portfolio-content h3 {
    color: #93c5fd;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.portfolio-item {
    margin-bottom: 2rem;
}

.portfolio-item:last-child {
    margin-bottom: 0;
}

.portfolio-subitem {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.portfolio-subitem svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #60a5fa;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.portfolio-subitem .title {
    font-weight: 500;
    color: white;
}

.portfolio-subitem .description {
    color: #9ca3af;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-box {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.feature-box-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.feature-box-title {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-box-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ====================
   Software Solutions Section
   ==================== */
.software-section {
    background: #2563eb;
    color: white;
}

.software-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .software-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.software-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .software-title {
        font-size: 2.5rem;
    }
}

.software-description {
    font-size: 1.125rem;
    color: #dbeafe;
    margin-bottom: 2rem;
}

.software-features {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .software-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.software-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.software-feature svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #bfdbfe;
}

.software-image img {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ====================
   Contact Section
   ==================== */
.contact-section {
    background: #f9fafb;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.contact-info {
    space-y: 2rem;
}

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

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: #dbeafe;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    color: #4b5563;
}

.contact-item a:hover {
    color: #2563eb;
}

.quote-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.quote-box p {
    color: #4b5563;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.quote-box .author {
    color: #2563eb;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 0.875rem;
    background: #2563eb;
    color: white;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #1d4ed8;
}

/* ====================
   Footer
   ==================== */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    max-width: 24rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    color: #9ca3af;
}

.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: white;
}

/* ====================
   Utility Classes
   ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* WordPress Specific */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    padding: 0.5rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f3f4f6;
    clip: auto !important;
    clip-path: none;
    color: #1f2937;
    display: block;
    font-size: 0.875rem;
    height: auto;
    left: 5px;
    padding: 1rem;
    top: 5px;
    width: auto;
    z-index: 100000;
}
