/* ===================================
   PT Inovasi Industri Digital
   Custom Stylesheet
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3B82F6;
    --secondary-color: #8B5CF6;
    --accent-color: #EC4899;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --text-color: #374151;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0px);
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--text-color);
}

.navbar.scrolled .mobile-menu-btn {
    background: var(--gradient-1);
    color: white;
    border: none;
}

.navbar.scrolled .btn-primary {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.logo-container {
    transition: all 0.3s ease;
}

.logo-container img {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
}

.navbar.scrolled .logo-container img {
    background: transparent;
    padding: 0;
}

.logo-container:hover {
    transform: scale(1.05);
}

.company-name {
    display: flex;
    flex-direction: column;
}

.company-name-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.navbar.scrolled .company-name-text {
    color: var(--dark-color);
    text-shadow: none;
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.navbar.scrolled .nav-link {
    color: var(--text-color);
    text-shadow: none;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar.scrolled .nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 0.5rem;
    margin: 0;
    font-size: 0.95rem;
    text-align: left;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    clear: both;
    font-weight: 400;
    color: var(--text-color);
    text-align: inherit;
    white-space: nowrap;
    background: none;
    border: 0;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

/* Active state for dropdown parent */
.nav-link .fa-chevron-down {
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-menu-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Show hamburger only on mobile */
@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* ===================================
   MOBILE MENU (OFFSIDE PANEL)
   =================================== */

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

/* Mobile Logo Container */
.mobile-logo-container {
    transition: all 0.3s ease;
}

.mobile-logo-wrapper {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
}

.mobile-logo-wrapper img {
    background: white;
    border-radius: 8px;
    padding: 0.25rem;
}

.mobile-site-name {
    display: flex;
    flex-direction: column;
}

.mobile-site-name-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

/* Mobile menu items without children */
.mobile-nav > a.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile menu items WITH children (wrapper div) */
.mobile-nav > .mobile-has-children {
    margin-bottom: 0.5rem;
}

.mobile-nav > .mobile-has-children > a.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-nav-item.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Submenu Styles */
.mobile-submenu {
    display: none;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    padding-left: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-submenu li {
    list-style: none;
    margin: 0;
}

.mobile-submenu-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    padding-left: 2.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.mobile-submenu-item::before {
    content: '→';
    position: absolute;
    left: 1.25rem;
    opacity: 0.7;
    font-weight: 600;
}

.mobile-submenu-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.mobile-submenu-item:hover::before {
    opacity: 1;
}

.submenu-indicator {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.mobile-has-children .submenu-indicator {
    display: inline-block;
}

.mobile-has-children.expanded .submenu-indicator {
    transform: rotate(180deg);
}

/* Show submenu when expanded */
.mobile-has-children.expanded .mobile-submenu {
    display: flex;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    width: 30px;
}

.mobile-menu-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-slide:nth-child(1) {
    background-image: url('../img/hero-bg.jpg');
}

.hero-bg-slide:nth-child(2) {
    background-image: url('../img/hero-bg-2.jpg');
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gradient-text {
    background: linear-gradient(135deg, #a8c0ff 0%, #c4b5fd 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.stats-container {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-image {
    position: relative;
}

.floating-card {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.floating-card img {
    width: 100%;
    height: auto;
}

.floating-element {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.element-1 {
    top: 10%;
    right: -10%;
    animation: float 4s ease-in-out infinite;
}

.element-2 {
    bottom: 20%;
    left: -10%;
    animation: float 5s ease-in-out infinite reverse;
}

.element-3 {
    top: 50%;
    right: -5%;
    animation: float 6s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

/* ===================================
   SECTIONS
   =================================== */

.section-padding {
    padding: 6rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 5px;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.service-card-with-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 35%,
        rgba(255, 255, 255, 0.75) 60%,
        rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.9) 35%,
        rgba(255, 255, 255, 0.65) 60%,
        rgba(255, 255, 255, 0.1) 100%);
}

.service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.service-card:not(.service-card-with-bg) .service-card-content {
    max-width: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 3;
}

.service-card:hover::before {
    transform: scaleX(1);
}


.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: inherit;
    opacity: 0.2;
    filter: blur(20px);
    transform: scale(1.2);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card:hover .service-icon::after {
    transform: scale(1.5);
    opacity: 0.4;
}

.service-icon i {
    font-size: 2.25rem;
    color: white;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.service-description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: auto;
    flex-grow: 1;
    font-size: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.service-link:hover {
    gap: 1rem;
    color: var(--secondary-color);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===================================
   VALUES SECTION
   =================================== */

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.value-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ===================================
   TALENT SECTION
   =================================== */

.talent-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.talent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.talent-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.talent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.talent-card:hover .talent-image img {
    transform: scale(1.1);
}

.talent-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.talent-card:hover .talent-overlay {
    opacity: 1;
}

.talent-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.talent-social .social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.talent-card:hover .talent-social .social-icon {
    transform: translateY(0);
    opacity: 1;
}

.talent-social .social-icon:nth-child(1) {
    transition-delay: 0.1s;
}

.talent-social .social-icon:nth-child(2) {
    transition-delay: 0.2s;
}

.talent-social .social-icon:nth-child(3) {
    transition-delay: 0.3s;
}

.talent-social .social-icon:hover {
    background: white;
    color: #667eea;
    transform: translateY(0) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.talent-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.talent-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.talent-role {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-info-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-info-card h4,
.contact-info-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.social-btn-footer {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn-footer:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    border-color: transparent;
}

.contact-form {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    padding: 2.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-input {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Scroll Animation - Initial State (only when enabled) */
.scroll-animations-enabled .service-card,
.scroll-animations-enabled .value-card,
.scroll-animations-enabled .feature-item,
.scroll-animations-enabled .portfolio-item,
.scroll-animations-enabled .article-card,
.scroll-animations-enabled .contact-info-card,
.scroll-animations-enabled .section-header {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation class */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   FOOTER
   =================================== */

footer img[alt*="Logo"] {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
}

/* Footer Logo Container */
.footer-logo-container {
    margin-bottom: 1rem;
}

.footer-logo-wrapper {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
    display: inline-block;
}

.footer-logo-wrapper img {
    background: white;
    border-radius: 8px;
    padding: 0.25rem;
}

/* ===================================
   ARTICLE CARDS (for index page)
   =================================== */

.article-card {
    display: block;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.1);
}

.article-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card-content {
    padding: 1.75rem;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-excerpt {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.article-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.article-card-meta i {
    font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE
   =================================== */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

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

    .stats-container {
        gap: 2rem;
    }

    /* Service cards tablet */
    .service-card {
        min-height: 380px;
    }

    /* Values cards tablet */
    .value-card {
        padding: 2rem 1.5rem;
    }

    /* Navbar tablet */
    .nav-links {
        gap: 1.5rem;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .section-padding {
        padding: 5rem 0;
    }

    /* Service cards 2 columns on tablet */
    .grid.md\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Values can be 2 columns on tablet */
    .grid.lg\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Article grid tablet */
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-container {
        justify-content: center;
        gap: 2rem;
    }

    .floating-element {
        display: none;
    }

    .mobile-menu {
        width: 90%;
    }

    .company-name {
        display: none;
    }

    /* Prevent horizontal overflow on mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }

    /* Hero Section Mobile Improvements */
    .hero-section {
        height: auto !important;
        min-height: 100vh;
        padding: 100px 0 60px;
        display: flex;
        align-items: center;
    }

    /* Background align right on mobile (object on right side) */
    .hero-bg-slide {
        background-position: right center !important;
        background-size: cover !important;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1.5rem !important;
        text-align: center;
    }

    .hero-title {
        font-size: 1.75rem;
        max-width: 100%;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
        display: inline-block;
    }

    /* Center buttons on mobile */
    .hero-content .flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem !important;
    }

    .hero-content .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Stats smaller grid on mobile */
    .stats-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none !important;
    }

    /* Fix grid overflow on mobile */
    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 2rem;
        margin: 0;
        min-height: 350px;
        flex-direction: column;
    }

    .service-card-content {
        max-width: 100%;
    }

    .service-card-overlay {
        background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.4) 100%);
    }

    .service-card:hover .service-card-overlay {
        background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.93) 0%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(255, 255, 255, 0.3) 100%);
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .service-icon i {
        font-size: 2rem;
    }

    .service-title {
        font-size: 1.35rem;
    }

    .value-card,
    .portfolio-item,
    .feature-item {
        padding: 1.5rem;
        margin: 0;
    }

    /* Ensure all sections respect mobile width */
    section {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Contact Section Mobile Fix */
    .contact-info-card {
        padding: 1rem;
        gap: 1rem;
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .contact-icon i {
        font-size: 1.25rem;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0;
    }

    .form-input {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .social-btn {
        width: 45px;
        height: 45px;
    }

    /* Disable transform on mobile to prevent overflow */
    .contact-info-card:hover {
        transform: none;
    }
}

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

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .stats-container {
        gap: 1.5rem;
    }

    /* Extra tight constraints for small mobile */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .company-name-text {
        font-size: 0.85rem;
    }

    /* Further tightening for extra small screens */
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .stat-item {
        min-width: auto;
        flex: 1 1 auto;
    }

    .service-card {
        padding: 1.5rem;
        min-height: 320px;
        flex-direction: column;
    }

    .service-card-content {
        max-width: 100%;
    }

    .service-card-overlay {
        background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.88) 50%,
            rgba(255, 255, 255, 0.45) 100%);
    }

    .service-card:hover .service-card-overlay {
        background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(255, 255, 255, 0.78) 50%,
            rgba(255, 255, 255, 0.35) 100%);
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }

    .service-icon i {
        font-size: 1.75rem;
    }

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

    .service-description {
        font-size: 0.95rem;
    }

    /* Prevent any element from exceeding viewport */
    * {
        max-width: 100vw;
    }

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

    /* Extra small mobile - Contact section */
    .contact-info-card {
        padding: 0.875rem;
        gap: 0.875rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .form-input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .social-btn {
        width: 42px;
        height: 42px;
    }

    /* Contact section specific */
    #contact .grid {
        gap: 2rem;
    }

    /* Disable hover transforms on small mobile */
    .contact-info-card:hover {
        transform: none;
    }

    /* Ensure text doesn't overflow */
    .contact-info-card h4,
    .contact-info-card p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

/* ===================================
   ARTICLE PAGE STYLES
   =================================== */

/* Article Header Section */
.article-header {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.article-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.article-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.article-header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    z-index: 2;
}

.article-header-content {
    position: relative;
    z-index: 3;
}

/* Breadcrumb */
.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #ffffff;
}

.article-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.article-breadcrumb span {
    color: #ffffff;
    font-weight: 500;
}

/* Article Category Badge */
.article-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Article Title */
.article-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 900px;
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.article-author > div {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.article-info span i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Article Content Section */
.article-content {
    padding: 3rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* Article Main Content */
.article-main {
    width: 100%;
    max-width: 100%;
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Share Buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-radius: 12px;
}

.article-share .share-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Article Body Typography */
.article-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.article-body .lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 2.5rem 0 1.25rem;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
    margin: 1.25rem 0;
    padding-left: 2rem;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Ensure nested lists maintain proper styling */
.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.article-body blockquote {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 2.75rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 500;
}

.article-body blockquote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.article-body strong {
    font-weight: 600;
    color: var(--dark-color);
}

.article-body a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.article-body a:hover {
    border-bottom-color: var(--primary-color);
}

/* Callout Box */
.article-callout {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #fff5f5 0%, #fee 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
}

.article-callout > i {
    font-size: 1.75rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.article-callout h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.article-callout p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Article Tags */
.article-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.article-tags .tag-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.article-tags .tag {
    padding: 0.4rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tags .tag:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    margin-top: 2.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.author-bio-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid white;
}

.author-bio-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.author-bio-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.author-social a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    align-self: start;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.sidebar-widget:first-child {
    margin-top: 0;
}

.sidebar-widget .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Search Widget */
.search-box {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box button {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Category List */
.category-list {
    list-style: disc;
    padding: 0;
    margin: 0 0 0 20px;
}

.category-list li {
    margin-bottom: 0.5rem;
    list-style: disc;
    margin-left: 0;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: inline;
    padding: 0.25rem 0;
    background: transparent;
    border-radius: 0;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-list a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.category-list span {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 600;
}

/* General sidebar lists */
.sidebar-widget ul,
.sidebar-widget ol {
    list-style: disc;
    padding: 0;
    margin: 0 0 0 20px;
}

.sidebar-widget ul li,
.sidebar-widget ol li {
    margin-bottom: 0.5rem;
    list-style: disc;
    line-height: 1.6;
}

.sidebar-widget ul li a,
.sidebar-widget ol li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline;
}

.sidebar-widget ul li a:hover,
.sidebar-widget ol li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.popular-post {
    display: flex;
    gap: 0.875rem;
}

.popular-post-image {
    flex-shrink: 0;
}

.popular-post-image img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.4rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    cursor: pointer;
}

.popular-post-content h4:hover {
    color: var(--primary-color);
}

.popular-post-content p {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.popular-post-content p i {
    font-size: 0.75rem;
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--gradient-1);
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

.newsletter-form button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid #e5e7eb;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: #f9fafb;
}

.comment-body {
    margin-left: 0;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.comment-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid #e5e7eb;
}

.comment-meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.comment-meta cite {
    font-style: normal;
    font-weight: 600;
    color: var(--dark-color);
}

.comment-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.comment-content p {
    margin-bottom: 0.75rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-reply-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.children {
    margin-left: 2rem;
    margin-top: 1.5rem;
}

.comment-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.comment-pagination .page-numbers {
    padding: 0.5rem 1rem;
    background: #f9fafb;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.comment-pagination .page-numbers:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.comment-pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Comment Form */
.comment-form {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.comment-form .form-input {
    width: 100%;
    max-width: 100%;
}

.comment-form textarea.form-input {
    min-height: 150px;
}

.comment-form .comment-submit {
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-1);
    padding: 4rem 0;
}

.cta-section h2 {
    color: white;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary,
.cta-section .btn-secondary {
    margin: 0.5rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid #e5e7eb;
    margin-bottom: 3rem;
}

.related-articles .related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 1.25rem;
}

.related-category {
    display: inline-block;
    padding: 0.3rem 0.875rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.related-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.related-date i {
    font-size: 0.75rem;
}

/* Responsive Article Styles */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 300px;
        gap: 3rem;
    }

    .article-title {
        font-size: 2.5rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 8rem 0 4rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar {
        position: static;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.75rem;
    }

    .article-body h3 {
        font-size: 1.35rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .author-bio-image {
        margin: 0 auto;
    }

    .author-social {
        justify-content: center;
    }

    .article-share {
        flex-wrap: wrap;
    }

    .article-callout {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .article-header {
        padding: 7rem 0 3rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .article-body blockquote {
        padding: 1.5rem 1.5rem 1.5rem 2.5rem;
        font-size: 1.1rem;
    }

    .article-callout {
        padding: 1.5rem;
    }

    .article-share {
        padding: 1rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .author-bio {
        padding: 1.5rem;
    }

    .author-bio-image {
        width: 80px;
        height: 80px;
    }
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* ===================================
   CTA TALENT BOX
   =================================== */

.cta-talent-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.cta-talent-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.cta-talent-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-talent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.cta-talent-icon i {
    font-size: 1.75rem;
    color: #fbbf24;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(251, 191, 36, 0);
    }
}

.cta-talent-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-talent-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-talent-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.benefit-item i {
    color: #34d399;
    font-size: 1.1rem;
}

.cta-talent-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta-talent-buttons .btn-primary,
.cta-talent-buttons .btn-secondary {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-talent-box {
        padding: 2rem 1.5rem;
    }

    .cta-talent-title {
        font-size: 1.5rem;
    }

    .cta-talent-description {
        font-size: 1rem;
    }

    .cta-talent-benefits {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .benefit-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .cta-talent-buttons {
        flex-direction: column;
    }

    .cta-talent-buttons .btn-primary,
    .cta-talent-buttons .btn-secondary {
        width: 100%;
    }
}
