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

:root {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --primary-color: #0066cc;
    --secondary-color: #333;
    --card-bg: #1e1e1e;
    --header-bg: #1a1a1a;
    --footer-bg: #1a1a1a;
    --border-color: #444;
    --hover-color: #0055aa;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Tema claro */
body.light-theme {
    --bg-color: #f5f5f5;
    --text-color: #333;
    --card-bg: #fff;
    --header-bg: #fff;
    --footer-bg: #f0f0f0;
    --border-color: #ddd;
}

/* Theme Toggle Button */
.theme-toggle-li {
    margin-left: 20px !important;
}

.theme-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
}

.theme-toggle i {
    margin-right: 8px;
    font-size: 14px;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background-color: var(--hover-color);
}

/* Header Styles */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 2.0s;
    transform: translateX(100px);
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.8s ease;
}

.slide.active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: left;
    max-width: 700px;
    padding: 0 20px;
    animation: slideInUp 1s ease-out 0.3s both;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-badge i {
    color: #ffd700;
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.title-main {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 0.6em;
    color: #ffd700;
    font-weight: 600;
    margin-top: 0.5rem;
}

.slide-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    opacity: 0.95;
}

.slide-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.slide-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.slide-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.slide-actions .btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

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

.slide-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature i {
    color: #ffd700;
    font-size: 1.1rem;
}

/* Navigation Controls */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 4;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Indicators */
.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
}

.indicator {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.indicator:hover::before {
    left: 100%;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.indicator-label {
    position: relative;
    z-index: 1;
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 4;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2, #ffd700);
    width: 0%;
    transition: width 0.3s ease;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    overflow: hidden;
}

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

.partners-title {
    font-size: 24px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.partners-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Slider Container */
.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scroll-horizontal 30s linear infinite;
    width: calc(200% + 40px);
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    flex-shrink: 0;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.partner-item:hover::before {
    left: 100%;
}

.partner-logo {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7) contrast(1.2);
    transition: all 0.4s ease;
    opacity: 0.8;
}

.partner-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%) brightness(1) contrast(1);
    opacity: 1;
}

/* Scroll Animation */
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Theme Toggle Styles */
.theme-toggle-li {
    margin-left: 20px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.theme-toggle i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode header {
    background: rgba(26, 26, 26, 0.95);
}

body.dark-mode .partners-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

body.dark-mode .partners-title {
    color: #e0e0e0;
}

body.dark-mode .partner-item {
    background: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .partner-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

body.dark-mode .theme-toggle {
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
}

body.dark-mode .theme-toggle:hover {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Services Section */
.servicios-panel {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.panel-item {
    position: relative;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.panel-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.panel-icon {
    background-color: #0066cc;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.panel-icon i {
    font-size: 32px;
}

.panel-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.panel-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Media queries para responsividad del panel */
@media (max-width: 992px) {
    .panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .panel-grid {
        grid-template-columns: 1fr;
    }
}

/* Info Dashboard Section */
.info-dashboard {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.dashboard-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/dashboard-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.info-dashboard h2 {
    margin-bottom: 60px;
    font-size: 42px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.info-dashboard h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.stat-item {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 30%;
    max-width: 350px;
    margin: 15px;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
    background-color: rgba(0, 102, 204, 0.8);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 54px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.stat-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.stat-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.quote {
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    color: #fff;
    font-size: 22px;
    position: relative;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.quote-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.quote p {
    margin-bottom: 15px;
}

.quote-author {
    font-size: 16px;
    font-style: normal;
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 40px;
    color: #0056b3;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Pro Services Section */
.pro-services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d82 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pro-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.pro-services .container {
    position: relative;
    z-index: 1;
}

.pro-services h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: center;
}

.pro-services-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pro-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.pro-service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 5px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pro-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.pro-service-item:hover::before {
    left: 100%;
}

.pro-service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.pro-service-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 25px;
    transition: all 0.3s ease;
}

.pro-service-item:hover .pro-service-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.pro-service-icon i {
    font-size: 32px;
    color: white;
}

.pro-service-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.pro-service-item p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Projects Section */
.projects {
    padding: 80px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.projects h2 {
    font-size: 36px;
    color: #0056b3;
    margin-bottom: 10px;
}

.projects h3 {
    font-size: 24px;
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 86, 179, 0.8);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

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

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

/* Manufacturing Section */
.manufacturing {
    padding: 80px 0;
    text-align: center;
}

.manufacturing h2 {
    font-size: 36px;
    color: #0056b3;
    margin-bottom: 20px;
}

.manufacturing p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

/* Our Projects Section */
.our-projects {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.our-projects h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.our-projects h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.our-projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.our-projects .project-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.our-projects .project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.our-projects .project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.our-projects .project-info {
    padding: 20px;
}

.our-projects .project-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.our-projects .project-info p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .our-projects .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .our-projects .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #ffffff;
}

/* Gallery Content Layout */
.gallery-content {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Left Column - Small Gallery */
.gallery-left {
    flex: 1;
    max-width: 50%;
}

.gallery-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item-small {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 7/3;
}

.gallery-item-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.gallery-item-small:hover img {
    transform: scale(1.05);
}

.gallery-overlay-small {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 10px;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item-small:hover .gallery-overlay-small {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay-small span {
    display: inline-block;
    padding: 6px 12px;
    background-color: #0066cc;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.gallery-overlay-small span:hover {
    background-color: #004d99;
}

/* Right Column - Video Player */
.gallery-right {
    flex: 1;
    max-width: 50%;
}

.video-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-description {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 5px solid white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: #0066cc;
}

.lightbox-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lightbox-prev,
.lightbox-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: #0066cc;
}

@media (max-width: 992px) {
    .gallery-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .gallery-left,
    .gallery-right {
        max-width: 100%;
    }
    
    .gallery-grid-small {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .video-container {
        padding: 20px;
    }
    
    .video-container h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .video-container {
        padding: 15px;
    }
    
    .video-container h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .video-description {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .gallery-content {
        gap: 20px;
    }
    
    .gallery-grid-small {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .gallery-item-small {
        aspect-ratio: 16/9;
    }
    
    .video-container {
        padding: 10px;
    }
    
    .video-container h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .video-description {
        font-size: 13px;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.company-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.company-info .info-item:hover {
    transform: translateX(10px);
}

.company-info .info-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    min-width: 25px;
}

.company-info .info-item div h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.company-info .info-item div p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
    font-family: inherit;
}

.contact-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form .btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

/* Responsive design for contact section */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .company-info .info-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .company-info .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .company-info .info-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Footer Section */
footer {
    background-color: #222;
    color: white;
    padding: 80px 0 20px;
}

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

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #0056b3;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}
/* Pro Services Section */
.pro-servicess {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d82 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pro-servicess::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.pro-services .containers {
    position: relative;
    z-index: 1;
}

.pro-servicess h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.pro-services-subtitles {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pro-services-grids {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.pro-service-items {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 5px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pro-service-items::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.pro-service-items:hover::before {
    left: 100%;
}

.pro-service-items:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.pro-service-icons {
    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 25px;
    transition: all 0.3s ease;
}

.pro-service-items:hover .pro-service-icons {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.pro-service-icons i {
    font-size: 32px;
    color: white;
}

.pro-service-items h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.pro-service-items p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}