
/* 
* PLT Games: Agensi Digital Marketing dan Livestreaming Indonesia
* CSS Stylesheet (Responsive Fixed)
*/

/* ========== Base Styles ========== */
:root {
    --primary: #E50914;
    --secondary: #FFD700;
    --dark: #121212;
    --darker: #0A0A0A;
    --light: #F8F8F8;
    --gray: #333333;
    --light-gray: #666666;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --container-width: 1200px;
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Utility Classes ========== */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.w-32 {
    width: 8rem;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.text-primary {
    color: var(--primary);
}

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

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.gold-gradient {
    background: linear-gradient(90deg, #B78628 0%, #FCC201 35%, #EDDA74 50%, #EDDB54 65%, #B78628 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gold-text {
    color: var(--secondary);
    font-weight: 500;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: rgba(229, 9, 20, 0.9);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-primary);
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius);
    background-color: var(--primary);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.glow-button {
    position: relative;
    overflow: hidden;
}

.glow-button:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,215,0,0.1), rgba(255,215,0,0), rgba(255,215,0,0.1));
    transform: rotate(45deg);
    animation: glowEffect 3s infinite;
}

@keyframes glowEffect {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

/* ========== Preloader ========== */
.custom-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.progress-container {
    width: 16rem;
    height: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.5s ease;
}

/* ========== Header/Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 3rem;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
}

.tagline {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 500;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-item {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.menu-item:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.menu-item:hover {
    color: var(--secondary);
}

.menu-item:hover:after {
    width: 100%;
}

.language-selector {
    position: relative;
    margin-left: 1.5rem;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.875rem;
}

.language-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    z-index: 100;
    min-width: 120px;
}

.language-selector:hover .language-options {
    display: block;
}

.language-option {
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.language-option:hover {
    background-color: var(--primary);
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-button {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    z-index: 50;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

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

.close-menu-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-item {
    padding: 1rem 0;
    font-size: 1.25rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-item:hover {
    color: var(--secondary);
}

.mobile-cta {
    margin-top: 2rem;
    width: 100%;
}

.mobile-cta .btn {
    width: 100%;
    justify-content: center;
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.9), rgba(0, 0, 0, 0.95));
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.hero-video-container {
    position: relative;
    height: 24rem;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.play-video-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-video-btn:hover {
    transform: scale(1.1);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.2;
    animation: float 6s infinite alternate;
    z-index: 0;
}

.element-1 {
    width: 10rem;
    height: 10rem;
    background: var(--secondary);
    bottom: -5rem;
    left: -5rem;
    animation-delay: 0s;
}

.element-2 {
    width: 15rem;
    height: 15rem;
    background: var(--primary);
    top: 50%;
    right: -7rem;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-20px) scale(1.05);
    }
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 5rem;
    width: 100%;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
}

/* ========== Section Styles ========== */
.section {
    padding: 6rem 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section-dark {
    background-color: var(--darker);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    background: linear-gradient(to bottom, var(--dark), transparent);
    opacity: 0.5;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(229, 9, 20, 0.2);
    color: var(--primary);
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    max-width: 48rem;
    margin: 0 auto;
    color: var(--text-secondary);
}

.section-cta {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ========== About Section ========== */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.image-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
}

.about-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.accent-box {
    position: absolute;
    width: 6rem;
    height: 6rem;
    border-radius: var(--radius);
    z-index: -1;
}

.accent-box-1 {
    background: rgba(255, 215, 0, 0.2);
    top: -1.5rem;
    right: -1.5rem;
}

.accent-box-2 {
    background: rgba(229, 9, 20, 0.2);
    bottom: -1.5rem;
    left: -1.5rem;
}

.about-heading {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

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

.feature-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem; /* Prevent icon from shrinking */
    border-radius: 0.75rem;
    background: rgba(229, 9, 20, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========== Services Section ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}


.service-card {
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    flex-grow: 1; /* Allow description to expand to push link to bottom */
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: auto; /* Push link to bottom of card */
}

.service-link:hover {
    gap: 0.75rem;
}

/* ========== Portfolio Section ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.video-card {
    background: var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(229, 9, 20, 0.3), 0 10px 10px -5px rgba(229, 9, 20, 0.2);
}

.video-thumbnail {
    position: relative;
    height: 12rem;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

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

.video-card:hover .thumbnail-img {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-button {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background-color: var(--primary);
}

.video-info {
    padding: 1.5rem;
    border-top: 2px solid var(--primary);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allow description to expand to push link to bottom */
}

.video-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: auto; /* Push link to bottom of card */
}

.video-link:hover {
    gap: 0.75rem;
}

/* ========== Video Modal ========== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 64rem;
    padding: 0.5rem;
    margin: 0 1rem;
}

.close-video {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== Partners Section ========== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.partner-logo {
    max-height: 4rem;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
}

.cta-box {
    background: linear-gradient(to right, var(--dark), var(--darker));
    border-radius: var(--radius);
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border-left: 4px solid var(--primary);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 250px;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--text-secondary);
}

.cta-button {
    min-width: 200px;
    display: flex;
    justify-content: center;
}

/* ========== Contact Section ========== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.contact-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    border-radius: 0.75rem;
    background: rgba(229, 9, 20, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-content {
    flex: 1;
    word-break: break-word; /* Prevent long text from overflowing */
}

.contact-item-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item-content p, 
.contact-item-content a {
    color: var(--text-secondary);
    display: inline-block;
    max-width: 100%;
}

.contact-item-content a:hover {
    color: var(--text-primary);
}

.map-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
}

.map-link:hover {
    text-decoration: underline;
}

.contact-map {
    height: 25rem;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
}

.contact-map iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.contact-form-container {
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    resize: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
    width: 100%;
}

.form-submit button {
    min-width: 200px;
}

/* ========== Footer ========== */
.footer {
    background: var(--darker);
    padding: 5rem 0 2rem;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 3rem;
}

.footer-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

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

.footer-links-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-secondary);
    position: relative;
    display: inline-block;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-list li i {
    color: var(--primary);
    margin-top: 0.25rem;
    min-width: 1rem;
}

.contact-list li span,
.contact-list li a {
    word-break: break-word;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 30;
    transform: scale(0);
    transition: all 0.3s ease;
    border: none;
}

.back-to-top.active {
    transform: scale(1);
}

.back-to-top:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* ========== Cookie Consent ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 40;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-actions a {
    color: var(--primary);
    font-size: 0.875rem;
}

.cookie-actions a:hover {
    text-decoration: underline;
}

/* ========== Media Queries ========== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-button {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, 
    .hero-image {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-video-container {
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .service-card,
    .video-card {
        max-width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid, 
    .portfolio-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Fix for mobile viewport overflow issues */
@media (max-width: 320px) {
    html, body {
        max-width: 100vw;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
    }
}
