/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Dark Modern Theme */
    --primary: #2c3e50;
    --secondary: #8e44ad;
    --accent: #f39c12;
    --dark: #1a252f;
    --darker: #0f151b;
    --light: #ecf0f1;
    --gray: #95a5a6;
    --success: #27ae60;
    --whatsapp: #25d366;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #e67e22 100%);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--light);
    background-color: var(--darker);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    white-space: nowrap;
}

.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-outline:hover {
    background: var(--light);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-xlarge {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Navbar - Fixed Issues */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 37, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 1001;
}

.logo-text {
    background: var(--gradient-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta-desktop {
    display: block;
}

.nav-cta-mobile {
    display: none;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 5px auto;
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--gradient-dark);
    z-index: 1002;
    padding: 80px 2rem 2rem;
    transition: right var(--transition-normal);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.mobile-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--accent);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    backdrop-filter: blur(3px);
}

.mobile-overlay.active {
    display: block;
}

/* Hero Section - Fixed Issues */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 100px 0 0;
    margin-top: 0;
}

.hero-section .container {
    z-index: 2;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-name {
    display: block;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--light) 0%, #bdc3c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.5rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-normal);
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(26, 37, 47, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
}

.image-badge i {
    color: var(--accent);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--darker);
    transform: rotate(180deg);
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: 150px;
    display: block;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: var(--dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--light);
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--light);
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--light);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.value-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.value-item h4 {
    margin-bottom: 0.5rem;
    color: var(--light);
}

.seo-keywords {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--accent);
}

.seo-keywords p {
    margin: 0;
    font-size: 1.1rem;
}

/* Topics Section */
.topics-section {
    padding: var(--section-padding);
    background: var(--darker);
    position: relative;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.topic-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.08);
}

.topic-card:hover::before {
    opacity: 1;
}

.topic-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.topic-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.topic-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.topic-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.topic-footer i {
    margin-right: 0.5rem;
}

.section-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(142, 68, 173, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(142, 68, 173, 0.2);
}

.section-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Portfolio Preview */
.portfolio-preview {
    padding: var(--section-padding);
    background: var(--dark);
}

.portfolio-grid.preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform var(--transition-normal);
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26, 37, 47, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.portfolio-client,
.portfolio-participants {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.text-center {
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--darker);
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 400px;
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--light);
    line-height: 1.6;
}

.rating {
    margin-bottom: 1.5rem;
}

.rating i {
    color: var(--gray);
    font-size: 1.2rem;
    margin-right: 0.25rem;
}

.rating i.filled {
    color: var(--accent);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--light);
}

.author-position {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.author-company {
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    position: relative;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge i {
    color: var(--accent);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.cta-note i {
    margin-right: 0.5rem;
    color: var(--accent);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--light);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-logo h3 {
    color: var(--light);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--gray);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.6;
}

.contact-info i {
    color: var(--accent);
    width: 20px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.working-hours p {
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px 0 0 50px;
    color: var(--light);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: var(--gray);
}

.newsletter-form button {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background var(--transition-fast);
    font-family: var(--font-body);
    font-weight: 600;
}

.newsletter-form button:hover {
    background: #e67e22;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* WhatsApp Button */
.whatsapp-button-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.whatsapp-button {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.whatsapp-button .pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp);
    opacity: 0.6;
    animation: pulse 2s infinite;
    z-index: -1;
}

.whatsapp-button .pulse-ring.delay {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.whatsapp-button-container:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Responsive Design - FIXED */
@media (max-width: 1024px) {
    .topics-grid,
    .portfolio-grid.preview,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile Fix */
    .nav-menu {
        display: none;
    }
    
    .nav-cta-desktop {
        display: none;
    }
    
    .nav-cta-mobile {
        display: block;
        margin-top: 1rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* Content Responsive */
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        min-width: 300px;
    }
    
    .hero-name {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .portfolio-grid.preview {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .about-image {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .btn-large,
    .btn-xlarge {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .stat-item {
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-img {
        height: 400px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mobile-menu {
        width: 100%;
        right: -100%;
    }
}

/* ==================== PORTFOLIO PAGE ==================== */
.portfolio-page {
    background: var(--dark);
    min-height: 100vh;
    padding-top: 80px;
}

.portfolio-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.portfolio-hero .hero-title {
    font-size: 3.5rem;
    color: var(--light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.portfolio-hero .hero-subtitle {
    font-size: 1.5rem;
    color: var(--light);
    opacity: 0.9;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.portfolio-hero .hero-description {
    font-size: 1.1rem;
    color: var(--light);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Portfolio Stats */
.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1000px;
    text-align: center;
}

.portfolio-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.portfolio-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.portfolio-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.portfolio-stats .stat-label {
    color: var(--gray);
    font-size: 1rem;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.portfolio-filters .filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.portfolio-filters .filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.portfolio-filters .filter-btn.active {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(243, 156, 18, 0.3);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(26, 37, 47, 0.9);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 37, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay .view-btn {
    background: var(--accent);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.portfolio-overlay .view-btn:hover {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.portfolio-client {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.portfolio-client i {
    color: var(--accent);
}

.portfolio-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.portfolio-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.portfolio-meta .meta-item i {
    color: var(--accent);
    font-size: 0.9rem;
}

.portfolio-desc {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    background: rgba(142, 68, 173, 0.1);
    padding: 3rem;
    border-radius: 15px;
    margin: 4rem 0;
    border: 1px solid rgba(142, 68, 173, 0.2);
}

.portfolio-cta h2 {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.portfolio-cta p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.portfolio-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== EVENT DETAIL PAGE ==================== */
.event-detail-page {
    background: var(--dark);
    min-height: 100vh;
    padding-top: 80px;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-nav .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--accent);
}

.breadcrumb-separator {
    color: var(--gray);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Event Header */
.event-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.event-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.event-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.event-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.event-title {
    font-size: 3rem;
    color: var(--light);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.event-subtitle {
    font-size: 1.2rem;
    color: var(--light);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.meta-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.meta-label {
    display: block;
    font-size: 0.8rem;
    color: var(--light);
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.meta-value {
    display: block;
    font-size: 1rem;
    color: var(--light);
    font-weight: 600;
}

/* Event Content Grid */
.event-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    padding: 3rem 0;
}

/* Event Main Content */
.event-gallery {
    margin-bottom: 3rem;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.02);
}

.thumbnail-list {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border: 3px solid var(--accent);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Event Description */
.event-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-description h2 {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.event-description h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin: 2.5rem 0 1.5rem;
}

.event-description p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.event-description strong {
    color: var(--accent);
}

/* Materials List */
.materials-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.material-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.material-item i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.material-item h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.material-item p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Format Grid */
.format-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.format-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.format-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.format-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.format-item h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.format-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Event Highlights */
.event-highlights {
    background: rgba(243, 156, 18, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.event-highlights h3 {
    color: var(--light);
    margin-bottom: 1rem;
}

.event-highlights ul {
    list-style: none;
    padding: 0;
}

.event-highlights li {
    color: var(--gray);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.event-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Sidebar */
.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-title {
    font-size: 1.25rem;
    color: var(--light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Client Info */
.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo i {
    font-size: 1.5rem;
    color: var(--light);
}

.client-details h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.client-details p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.client-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Testimonial Card */
.testimonial-card {
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1) 0%, rgba(44, 62, 80, 0.1) 100%);
    border-color: rgba(142, 68, 173, 0.2);
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--light);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-author h4 {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-position {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.author-company {
    color: var(--gray);
    font-size: 0.85rem;
}

/* CTA Card */
.cta-card {
    background: rgba(243, 156, 18, 0.1);
    border-color: rgba(243, 156, 18, 0.2);
    text-align: center;
}

.cta-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-outline:hover {
    background: var(--light);
    color: var(--dark);
}

/* ==================== RESPONSIVE ==================== */

/* Responsive untuk Portfolio & Detail */
@media (max-width: 1024px) {
    /* Portfolio Responsive */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .portfolio-hero .hero-title {
        font-size: 2.8rem;
    }
    
    /* Detail Responsive */
    .event-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .format-grid {
        grid-template-columns: 1fr;
    }
    
    .event-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Portfolio Mobile */
    .portfolio-page {
        padding-top: 70px;
    }
    
    .portfolio-hero {
        padding: 80px 0 40px;
        margin-top: -70px;
    }
    
    .portfolio-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .portfolio-filters .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .portfolio-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-stats .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .portfolio-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-cta {
        padding: 2rem 1rem;
        margin: 3rem 0;
    }
    
    .portfolio-cta h2 {
        font-size: 1.8rem;
    }
    
    /* Detail Mobile */
    .event-detail-page {
        padding-top: 70px;
    }
    
    .event-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .event-title {
        font-size: 2.2rem;
    }
    
    .event-subtitle {
        font-size: 1.1rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .material-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .event-description {
        padding: 1.5rem;
    }
    
    .sidebar-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    /* Portfolio Mobile Small */
    .portfolio-hero {
        padding: 70px 0 30px;
    }
    
    .portfolio-hero .hero-title {
        font-size: 2rem;
    }
    
    .portfolio-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .portfolio-hero .hero-description {
        font-size: 0.95rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-content {
        padding: 1rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.25rem;
    }
    
    .portfolio-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .portfolio-cta h2 {
        font-size: 1.5rem;
    }
    
    .portfolio-cta p {
        font-size: 1rem;
    }
    
    .portfolio-filters .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Detail Mobile Small */
    .event-title {
        font-size: 1.8rem;
    }
    
    .event-subtitle {
        font-size: 1rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .client-info {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .event-gallery {
        margin-bottom: 2rem;
    }
    
    .event-header {
        padding: 2rem 0;
    }
}

/* ==================== RESPONSIVE FIXES FOR HOME PAGE ==================== */

/* Hero Section - Mobile Fix */
@media (max-width: 768px) {
    /* Hero Content */
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    
    .hero-name {
        font-size: 2.2rem !important;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
        color: var(--accent);
    }
    
    .hero-tagline {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Hero Buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .hero-buttons .btn-text {
        display: inline;
    }
    
    /* Hero Stats */
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
        text-align: center;
        padding: 1rem 0.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Hero Image */
    .hero-image {
        order: -1;
    }
    
    .image-container {
        transform: none !important;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-img {
        height: 350px;
    }
    
    .image-badge {
        bottom: 15px;
        left: 15px;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        text-align: center;
    }
    
    .value-item i {
        margin-bottom: 0.5rem;
    }
    
    /* Topics Section */
    .topics-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }
    
    .topic-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .topic-title {
        font-size: 1.3rem;
    }
    
    .topic-description {
        font-size: 0.95rem;
    }
    
    /* Portfolio Preview */
    .portfolio-grid.preview {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .portfolio-item {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-info h3 {
        font-size: 1.2rem;
    }
    
    /* Testimonials Section */
    .testimonials-slider {
        padding: 0.5rem 0;
    }
    
    .testimonial-card {
        min-width: 280px !important;
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
    }
    
    /* CTA Section */
    .cta-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .cta-subtitle {
        font-size: 1.1rem !important;
    }
    
    .cta-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.8rem;
    }
    
    .badge span {
        display: inline;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-xlarge {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        justify-content: center;
    }
    
    .cta-note {
        font-size: 0.9rem;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero-name {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-tagline {
        font-size: 1rem !important;
    }
    
    .hero-img {
        height: 300px;
    }
    
    /* Stats */
    .stat-item {
        flex: 0 0 100%;
    }
    
    /* Buttons */
    .btn-text {
        font-size: 0.9rem;
    }
    
    /* Portfolio Preview */
    .portfolio-item {
        width: 100%;
    }
    
    /* Testimonials */
    .testimonial-card {
        min-width: 250px !important;
        padding: 1.2rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.6rem !important;
    }
    
    .cta-subtitle {
        font-size: 1rem !important;
    }
    
    .badge {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
    
    /* Section Padding */
    .section-padding {
        padding: 3rem 0 !important;
    }
    
    .about-section,
    .topics-section,
    .portfolio-preview,
    .testimonials-section,
    .cta-section {
        padding: 3rem 0 !important;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero Section */
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-name {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-img {
        height: 450px;
    }
    
    /* Topics Grid */
    .topics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Portfolio Preview */
    .portfolio-grid.preview {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .portfolio-item:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Testimonials */
    .testimonial-card {
        min-width: 320px;
    }
}

/* Button Text Fix for Mobile */
@media (max-width: 400px) {
    .btn-text {
        display: none;
    }
    
    .btn i {
        margin-right: 0;
    }
    
    .hero-buttons .btn-large {
        padding: 0.8rem;
    }
    
    .badge span {
        font-size: 0.8rem;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
    
    .mobile-menu {
        height: -webkit-fill-available;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-img {
        height: 300px;
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    .topic-card:hover,
    .portfolio-item:hover,
    .btn:hover {
        transform: none !important;
    }
    
    .topic-card:active,
    .portfolio-item:active,
    .btn:active {
        transform: scale(0.98) !important;
    }
    
    /* Better touch scrolling */
    .testimonials-slider {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .testimonial-card {
        scroll-snap-align: start;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-button-container,
    .mobile-toggle,
    .hero-wave,
    .btn {
        display: none !important;
    }
    
    .hero-section,
    .about-section,
    .topics-section,
    .portfolio-preview,
    .testimonials-section,
    .cta-section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }
    
    .container {
        max-width: 100%;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark: #0a0a0a;
        --darker: #000000;
        --light: #f8f9fa;
        --gray: #adb5bd;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-name {
        background: var(--light) !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
    
    .highlight::after {
        height: 4px;
    }
}
/* Reduced Data Mode */
@media (prefers-reduced-data: reduce) {
    .hero-wave svg,
    .portfolio-hero::before,
    .event-header::before {
        display: none;
    }
    
    /* HAPUS SEMUA KODE YANG SALAH INI: */
    /* .hero-img,
    .about-image img,
    .portfolio-image img,
    .portfolio-card img {
        loading: lazy;
    } */
}

/* ==================== TESTIMONIALS GRID ==================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--light);
    line-height: 1.6;
    flex-grow: 1;
}

.rating {
    margin-bottom: 1.5rem;
}

.rating i {
    color: var(--gray);
    font-size: 1.2rem;
    margin-right: 0.25rem;
}

.rating i.filled {
    color: var(--accent);
}

.testimonial-author {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--light);
    font-size: 1.1rem;
}

.author-position {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.author-company {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE TESTIMONIALS ==================== */

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
        margin: 2rem auto 0;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
    
    .rating i {
        font-size: 1.1rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-position,
    .author-company {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
        border-radius: 15px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .quote-icon {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .rating {
        margin-bottom: 1rem;
    }
    
    .rating i {
        font-size: 1rem;
    }
    
    .testimonial-author {
        padding-top: 1rem;
    }
}

/* Hapus styles slider lama */
.testimonials-slider {
    display: none;
}

/* ==================== PORTFOLIO STATS FIX ==================== */

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    text-align: center;
}

.portfolio-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.portfolio-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.portfolio-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.portfolio-stats .stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
}

/* RESPONSIVE FIX */
@media (max-width: 1024px) {
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .portfolio-stats .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .portfolio-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-stats .stat-item {
        padding: 1.25rem;
    }
}

.logo-navbar {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* Flyer Section Styles */
.flyer-section {
    padding: var(--section-padding);
    background: var(--dark); /* Menggunakan warna dark agar kontras dengan testimonial yang 'darker' */
}

.flyer-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flyer-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.flyer-item:hover {
    transform: translateY(-10px);
}

.flyer-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    margin-bottom: 1.5rem;
}

.flyer-actions {
    text-align: center;
    padding-bottom: 1rem;
}

/* Penyesuaian Responsif untuk Flyer */
@media (max-width: 768px) {
    .flyer-container {
        padding: 0 1rem;
    }
    
    .flyer-section .section-title {
        font-size: 2rem;
    }
}

/* Style Tombol WA di Footer */
.wa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading); /* Mengikuti font Montserrat Anda */
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    background-color: var(--whatsapp); /* Menggunakan variabel #25d366 dari root Anda */
    color: white;
    transition: all var(--transition-fast);
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
}

.wa-button i {
    font-size: 1.2rem;
}

.wa-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: #128c7e; /* Warna hijau gelap saat hover */
    color: white;
}
