/* ===================================
   CorX Custom Styles - Dark Theme
   =================================== */

:root {
    --bg-primary: #161c3a;
    --bg-secondary: #161c3a;
    --bg-card: #1a2442;
    --bg-hover: #252f4f;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --accent-primary: #06b0b2;
    --accent-secondary: #06b0b2;
    --accent-success: #10b981;
    --border-color: #2d3748;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --gradient-1: linear-gradient(135deg, #06b0b2 0%, #048a8c 100%);
    --gradient-2: linear-gradient(135deg, #06b0b2 0%, #048a8c 100%);
    --gradient-3: linear-gradient(135deg, #06b0b2 0%, #048a8c 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb Background - Replace image with CSS color - More prominent */
.breadcumb-wrapper {
    background: linear-gradient(135deg, #1a2d4a 0%, #161c3a 50%, #0f1528 100%) !important;
    background-image: none !important;
    position: relative;
    border-top: 2px solid rgba(6, 176, 178, 0.3);
    border-bottom: 2px solid rgba(6, 176, 178, 0.2);
}

.breadcumb-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 176, 178, 0.25) 0%, rgba(6, 176, 178, 0.05) 50%, rgba(22, 28, 58, 0.8) 100%);
    z-index: 0;
}

.breadcumb-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-primary, #06b0b2) 50%, transparent 100%);
    z-index: 1;
    opacity: 0.6;
}

.breadcumb-wrapper .container,
.breadcumb-wrapper .breadcumb-content {
    position: relative;
    z-index: 2;
}

/* Language Switcher Dropdown */
.lang-switcher-btn {
    color: var(--text-primary, #e5e7eb);
    font-size: 18px;
    transition: color 0.3s;
}

.lang-switcher-btn:hover {
    color: var(--accent-primary, #06b0b2);
}

.dropdown-menu {
    background: var(--bg-card, #1a1f2e);
    border: 1px solid var(--border-color, #2d3748);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 100px;
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0, 0, 0, 0.4));
}

.dropdown-menu .lang-option {
    display: block;
    padding: 8px 16px;
    color: var(--text-primary, #e5e7eb);
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu .lang-option:hover {
    background-color: rgba(6, 176, 178, 0.1);
    color: var(--accent-primary, #06b0b2);
}

.dropdown-menu .lang-option.active {
    background-color: rgba(6, 176, 178, 0.2);
    color: var(--accent-primary, #06b0b2);
    font-weight: 600;
}

/* Language Content Visibility - TEMPORARY: Georgian content disabled, only English visible */
/* All Georgian content is hidden, only language switcher remains visible */
[data-lang="ka"]:not(.dropdown-menu .lang-option):not(.dropdown-menu li) {
    display: none !important;
}

/* Always show English content */
[data-lang="en"] {
    display: block !important;
}

span[data-lang="en"] {
    display: inline !important;
}

/* Menu navigation links - ensure spans inside links work correctly */
.main-menu a span[data-lang],
.ot-mobile-menu a span[data-lang],
nav a span[data-lang] {
    display: inline !important;
}

/* Hide Georgian spans in menu */
.main-menu a span[data-lang="ka"],
.ot-mobile-menu a span[data-lang="ka"],
nav a span[data-lang="ka"] {
    display: none !important;
}

/* List items should be block */
li[data-lang="en"] {
    display: list-item !important;
}

li[data-lang="ka"]:not(.dropdown-menu li) {
    display: none !important;
}

/* Keep language switcher visible - both options */
.dropdown-menu .lang-option {
    display: block !important;
}

/* Logo Styles */
.header-logo img,
.header-layout2 .header-logo img,
.header-default .header-logo img,
.ot-header .header-logo img {
    max-width: 160px !important;
    height: auto !important;
    display: block;
}

.ot-menu-wrapper .mobile-logo img,
.mobile-logo img {
    max-width: 185px !important;
    height: auto !important;
    display: block;
}

/* Extra small devices */
@media (max-width: 575px) {
    .header-logo img,
    .header-layout2 .header-logo img,
    .header-default .header-logo img,
    .ot-header .header-logo img {
        max-width: 140px !important;
    }
    
    .ot-menu-wrapper .mobile-logo img,
    .mobile-logo img {
        max-width: 160px !important;
    }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(22, 28, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    padding: 15px 0;
}

.navbar {
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(6, 176, 178, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(6, 176, 178, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-features {
    list-style: none;
    margin-bottom: 40px;
}

.hero-features li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-success);
    font-weight: bold;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-block {
    margin-bottom: 40px;
}

.about-block h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--accent-primary);
}

.about-block p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Timeline */
.about-timeline h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--accent-primary);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: -30px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
    background-color: var(--bg-card) !important;
}

/* Fix text readability on hover - keep text colors readable */
.service-card:hover .box-title,
.service-card:hover .box-text,
.service-card:hover .service-features-list,
.service-card:hover .service-features-list li {
    color: var(--text-primary) !important;
}

.service-card:hover .box-icon,
.service-card:hover .box-icon span,
.service-card:hover .box-icon svg {
    color: var(--accent-primary) !important;
}

.service-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.service-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-core .tier-badge {
    background: rgba(6, 176, 178, 0.2);
    color: var(--accent-primary);
}

.tier-advanced .tier-badge {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-secondary);
}

.tier-elite .tier-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
}

.tier-addons .tier-badge {
    background: rgba(245, 87, 108, 0.2);
    color: #f5576c;
}

.service-subtitle {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 20px;
}

/* Technology Section */
.technology-section {
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.tech-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.tech-item i {
    font-size: 40px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.team-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--accent-primary);
}

.team-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-primary);
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-item a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent-secondary);
}

.contact-item p {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(6, 176, 178, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.main-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lang-switcher {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* Background Overrides - Apply #161c3a to all backgrounds */
body {
    background-color: #161c3a !important;
}

.hero-2 {
    background: #161c3a !important;
}

/* Alternating background colors for different sections */
/* Feature Area - Lighter background */
.feature-area-1 {
    background-color: #1a2442 !important;
}

/* About CorX - Keep original */
.about-sec2 {
    background-color: #161c3a !important;
}

/* Services Section - Medium dark background */
#service-sec,
.bg-smoke#service-sec {
    background-color: #1f2a4f !important;
    background: #1f2a4f !important;
}

/* Brands/Clients Section - Keep original */
#brands-sec,
div.space#brands-sec {
    background-color: #161c3a !important;
}

/* Ensure brands slider container is transparent */
#blogSlider1 {
    background-color: transparent;
}

/* How it Works Section - Darker background */
.space-bottom.overflow-hidden {
    background-color: #0f1425 !important;
}

/* General space class - default */
.space {
    background-color: #161c3a;
}

/* General section - default */
section {
    background-color: #161c3a;
}

/* Override theme-color in style.css */
:root {
    --theme-color: #06b0b2;
    --theme-color2: #048a8c;
    --ot-body-background: #161c3a;
    --smoke-color: #161c3a;
}

/* Additional accent color overrides */
a:hover,
.ot-btn:hover,
.icon-btn:hover,
.link-btn:hover {
    color: #06b0b2;
}

a {
    color: #06b0b2;
}

.ot-btn {
    background: linear-gradient(-30deg, #06b0b2, #048a8c, #06b0b2) no-repeat !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.ot-btn:hover {
    background: linear-gradient(-30deg, #06b0b2, #048a8c, #06b0b2) no-repeat !important;
    color: #ffffff !important;
}

/* Make style-border buttons visible */
.ot-btn.style-border {
    color: #06b0b2 !important;
    -webkit-text-fill-color: #06b0b2 !important;
    background: transparent !important;
    border: 2px solid #06b0b2 !important;
    background-clip: unset !important;
}

.ot-btn.style-border:after {
    display: none !important;
}

.ot-btn.style-border:before {
    display: none !important;
}

.ot-btn.style-border:hover {
    background: #06b0b2 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: #06b0b2 !important;
}

/* Ensure buttons are visible in hero section */
.hero-2 .btn-wrap .ot-btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
    z-index: 10 !important;
    position: relative !important;
}

.hero-2 .btn-wrap .ot-btn span {
    color: inherit !important;
    display: inline-block !important;
}

.hero-2 .btn-wrap .ot-btn i {
    color: inherit !important;
    display: inline-block !important;
}

/* Ensure btn-wrap is visible */
.btn-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: center !important;
    justify-content: center !important;
}

.link-btn:before {
    background-color: #06b0b2 !important;
}

.link-btn:hover {
    color: #06b0b2 !important;
}

.service-card:hover {
    background: #06b0b2 !important;
}

.box-icon {
    color: #06b0b2;
}

.hero-title .title1 span,
.hero-title .title2 span {
    color: #06b0b2 !important;
}

/* Update hero-2 background gradient */
.hero-2 {
    background: #161c3a !important;
}

