/* ConnectTo Custom Styles - Based on Original Design */

/* Global Styles */
:root {
    --color-primary: #fcfcfc;
    --color-secondary: #c7fb35;
    --color-dark: #121212;
    --color-bg: #0b0c10;
    --color-text: #fcfcfc;
    --color-text-muted: #d0d0d0;
    --color-border: #363636;
}

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

body {
    font-family: 'Poppins', 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #000001;
    color: var(--color-text);
    line-height: 1.7;
}

/* Hero Section with Header */
.hero-section {
    background: url('../images/baner-glowny-2.png') center/cover no-repeat;
    background-position: 41% 42%;
    min-height: 100vh;
    position: relative;
    padding-top: 200px;
    padding-bottom: 180px;
}

@media (max-width: 768px) {
    .hero-section {
        background-position: 100% !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
        position: relative !important;
    }
    
    .hero-section::before {
        background: rgba(0, 0, 0, 0.7);
        width: 100%;
        height: 100%;
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        z-index: 0;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 12, 16, 0.8) 0%, rgba(18, 18, 18, 0.7) 100%);
    z-index: 0;
}

.hero-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.hero-header .navbar {
    background: transparent !important;
    padding: 1.5rem 0;
}

.hero-header .navbar-brand img {
    height: 27px;
    width: auto;
}

.hero-header .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.hero-header .navbar-toggler:focus {
    box-shadow: none;
}

.hero-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(199, 251, 53, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-header .navbar-nav .nav-link {
    color: var(--color-secondary) !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.hero-header .navbar-nav .nav-link:hover,
.hero-header .navbar-nav .nav-link:focus,
.hero-header .navbar-nav .nav-link.active {
    color: var(--color-primary) !important;
}

@media (max-width: 600px) {
    .hero-header .navbar-nav .nav-link {
        color: #fff !important;
        padding-left: 20px !important;
    }
    
    .hero-header .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        margin-top: 10px;
        padding: 10px 0;
    }
    
    .hero-header .dropdown-menu {
        background: transparent;
        border: none;
        padding-left: 20px;
    }
    
    .hero-header .dropdown-item {
        padding-left: 10px;
    }
}

.hero-header .dropdown-menu {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--color-border);
}

.hero-header .dropdown-item {
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    font-size: 14px;
}

.hero-header .dropdown-item:hover {
    background: var(--color-dark);
    color: var(--color-secondary);
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 40px;
    text-transform: capitalize;
    line-height: 1.2;
}

.hero-title {
    font-size: clamp(42px, 5.2778vw, 76px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-top: 23px;
    text-transform: capitalize;
    font-family: 'Poppins', sans-serif;
}

.hero-title mark {
    background: transparent;
    color: var(--color-secondary);
}

.btn-cta {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 18px 40px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Heebo', sans-serif;
}

.btn-cta:hover {
    background-color: var(--color-secondary);
    color: #000;
    border-color: var(--color-secondary);
}

/* Features Section (overlapping) */
.features-section {
    background: var(--color-bg);
    padding: 80px 0 100px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.features-row {
    padding: 0 10px;
}

.feature-card {
    background: var(--color-dark);
    padding: 50px 30px;
    border: 1px solid var(--color-border);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    border-bottom-color: var(--color-secondary);
    transform: translateY(-5px);
}

.feature-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.feature-card p {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-family: 'Heebo', sans-serif;
}

/* Services Section */
.services-section {
    background: var(--color-bg);
    padding: 100px 0;
}

.section-title {
    font-size: clamp(28px, 3.334vw, 48px);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
    font-family: 'Heebo', sans-serif;
}

.services-grid-custom .service-panel {
    background: var(--color-dark);
    padding: 50px 40px;
    border: 1px solid var(--color-border);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    height: 100%;
    min-height: 200px;
}

.services-grid-custom .service-panel:hover {
    border-bottom-color: var(--color-secondary);
}

.services-grid-custom .service-panel-highlight {
    background: var(--color-dark);
    border-left: 2px solid var(--color-secondary);
}

.service-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 20px;
}

.service-panel h3 {
    font-size: clamp(22px, 1.667vw, 24px);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 20px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.service-panel p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-family: 'Heebo', sans-serif;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--color-dark);
    padding: 80px 0;
}

.how-it-works-section img {
    border-radius: 8px;
}

/* Trusted By Section */
.trusted-section {
    background: var(--color-bg);
    padding: 100px 0 60px;
}

.trusted-section .section-subtitle {
    margin-bottom: 40px;
}

.clients-slider {
    overflow: hidden;
    position: relative;
}

.clients-row {
    display: flex;
    animation: scroll 40s linear infinite;
    gap: 30px;
    width: fit-content;
    align-items: flex-start;
}

.clients-slider:hover .clients-row {
    animation-play-state: paused;
}

.client-item {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-item img {
    width: auto;
    height: 650px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* News Section */
.news-section {
    background: var(--color-dark);
    padding: 100px 0;
}

.news-card {
    background: var(--color-bg);
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: transform 0.3s, border-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
}

.news-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.news-card:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-card .news-category,
.news-card .news-title {
    padding: 0 30px;
}

.news-card .news-category {
    padding-top: 20px;
}

.news-card .news-readmore {
    padding: 0 30px 30px;
    margin-top: auto;
}

.news-category {
    margin-bottom: 15px;
}

.news-category span {
    display: inline-block;
    padding: 5px 15px;
    background: var(--color-secondary);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Heebo', sans-serif;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.news-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--color-secondary);
}

.news-readmore {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    font-family: 'Heebo', sans-serif;
}

.news-readmore:hover {
    color: var(--color-primary);
    gap: 12px;
}

.news-readmore i {
    font-size: 12px;
}

/* Footer */
.footer-section {
    background: var(--color-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-section-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.footer-section-content a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-family: 'Heebo', sans-serif;
}

.footer-section-content a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 80px;
        min-height: 70vh;
    }
    
    .hero-section::before {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .features-section {
        margin-top: -40px;
        padding: 60px 0 80px;
    }
    
    .services-grid-custom .service-panel {
        padding: 30px 25px;
        min-height: auto;
    }
    
    .service-panel-highlight {
        border-left: none !important;
        border-top: 2px solid var(--color-secondary) !important;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    .clients-row {
        gap: 20px;
        animation: scroll 35s linear infinite;
    }
    
    .client-item img {
        height: 550px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-header .navbar-brand img {
        height: 24px;
    }

    .feature-card,
    .service-panel {
        padding: 30px 20px;
    }
    
    .client-item img {
        height: 450px;
    }
    
    .clients-row {
        gap: 15px;
        animation: scroll 30s linear infinite;
    }
}

/* Page Header Section */
.page-header-section {
    background: var(--color-bg);
    padding: 180px 0 60px;
    margin-top: 0;
    position: relative;
}

.page-header-section .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .page-header-section {
        padding: 140px 0 40px;
    }
}

.page-title {
    font-size: clamp(28px, 3.334vw, 48px);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.page-divider {
    width: 100px;
    height: 2px;
    background: var(--color-secondary);
    margin-top: 20px;
}

/* Feature Box (for O Nas page) */
.feature-box {
    background: var(--color-dark);
    padding: 40px 30px;
    border: 1px solid var(--color-border);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.feature-box:hover {
    border-bottom-color: var(--color-secondary);
    transform: translateY(-5px);
}

.feature-box .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 0;
    color: var(--color-primary);
    font-size: 32px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.feature-box .feature-icon .gtn {
    font-size: 32px;
    line-height: 1;
}

.feature-box:hover .feature-icon {
    background: var(--color-primary);
    color: var(--color-secondary);
    transform: scale(1.05);
}

.feature-box h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.feature-box p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-family: 'Heebo', sans-serif;
}

/* Why Us Section */
.why-us-section {
    background: var(--color-dark);
    padding: 100px 0;
}

.progress-bars {
    margin-top: 40px;
}

.progress-item {
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    font-family: 'Poppins', sans-serif;
}

.progress-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    font-family: 'Poppins', sans-serif;
}

.progress {
    height: 8px;
    background: var(--color-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: var(--color-secondary);
    height: 100%;
    transition: width 1.5s ease;
}

/* Team Section */
.team-section {
    background: var(--color-bg);
    padding: 100px 0;
}

.team-card {
    background: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
}

.team-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

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

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.team-role {
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-family: 'Heebo', sans-serif;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #000;
}

/* FAQ Section */
.faq-section {
    background: var(--color-dark);
    padding: 100px 0;
}

.accordion-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    margin-bottom: 15px;
    border-radius: 0;
}

.accordion-button {
    background: var(--color-bg);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
    padding: 20px;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.accordion-button:not(.collapsed) {
    background: var(--color-dark);
    color: var(--color-secondary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--color-secondary);
}

.accordion-body {
    background: var(--color-dark);
    color: var(--color-text-muted);
    padding: 20px;
    font-size: 14px;
    line-height: 1.7;
    font-family: 'Heebo', sans-serif;
}

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

.cta-section mark {
    background: transparent;
    color: var(--color-secondary);
}

/* Responsive for O Nas page */
@media (max-width: 768px) {
    .page-header-section {
        margin-top: 60px;
        padding: 60px 0 40px;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
    
    .why-us-section,
    .team-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .team-image {
        height: 300px;
    }
}

/* Contact Header Section */
.contact-header-section {
    background: var(--color-bg);
    padding: 180px 0 60px;
    margin-top: 0;
    position: relative;
}

.contact-header-section .container {
    position: relative;
    z-index: 1;
}

.contact-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
    font-family: 'Heebo', sans-serif;
}

@media (max-width: 768px) {
    .contact-header-section {
        padding: 140px 0 40px;
    }
}

/* Contact Info Section */
.contact-info-section {
    background: var(--color-dark);
    padding: 100px 0;
}

.contact-info-card {
    background: var(--color-bg);
    padding: 50px 30px;
    border: 1px solid var(--color-border);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.contact-info-card:hover {
    border-bottom-color: var(--color-secondary);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 32px;
    transition: all 0.3s;
}

.contact-icon .gtn {
    font-size: 32px;
    line-height: 1;
}

.contact-info-card:hover .contact-icon {
    background: var(--color-primary);
    color: var(--color-secondary);
    transform: scale(1.1);
}

.contact-info-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.contact-label {
    font-size: 16px;
    color: var(--color-secondary);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.contact-label mark {
    background: transparent;
    color: var(--color-secondary);
    font-weight: 600;
}

.contact-value {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    font-family: 'Heebo', sans-serif;
}

.contact-value a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--color-secondary);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--color-bg);
    padding: 100px 0;
}

.contact-form .form-control {
    background: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 0;
    color: var(--color-primary);
    padding: 15px 20px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Heebo', sans-serif;
}

.contact-form .form-control:focus {
    background: var(--color-dark);
    border-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: none;
}

.contact-form .form-control::placeholder {
    color: var(--color-text-muted);
}

/* Map Section */
.map-section {
    background: var(--color-dark);
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}

.map-container:hover iframe {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive for Contact page */
@media (max-width: 768px) {
    .contact-info-section {
        padding: 60px 0;
    }
    
    .contact-info-card {
        padding: 40px 25px;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .map-container {
        height: 350px;
    }
}
