/* ===== REPAIRED HEADER & NAV SYSTEM ===== */
.navbar {
    width: 100%;
    background: linear-gradient(90deg, #031a29 0%, #021523 100%);
    padding: 18px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1450px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo:hover {
    color: #2196ff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
    list-style: none;
    margin: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.nav-menu li a:hover {
    color: #2196ff;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2196ff;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-btn {
    background: linear-gradient(135deg, #2f9cff 0%, #1f8df1 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(47, 156, 255, 0.3);
}

.project-btn:hover {
    background: linear-gradient(135deg, #1f8df1 0%, #157dd6 100%);
    box-shadow: 0 6px 20px rgba(47, 156, 255, 0.4);
    transform: translateY(-2px);
}

/* Hamburger Mechanics Mobile Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* ===== REPAIRED GLOBAL FOOTER DESIGN ===== */
.tv-footer {
    background: linear-gradient(135deg, #0d1117 0%, #1a1f28 100%);
    color: #e0e4ef;
    padding: 0;
    width: 100%;
    border-top: 1px solid #1e293b;
    font-family: 'DM Sans', sans-serif;
}

.tv-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 0 40px;
}

.tv-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 52px;
}

.tv-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tv-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.tv-desc {
    font-size: 13px;
    color: #7788a0;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 240px;
}

.tv-social-label {
    font-size: 12px;
    color: #9aabb8;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tv-socials {
    display: flex;
    gap: 10px;
}

.tv-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1b2a3b;
    border: 2px solid #2a3f55;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tv-social-btn:hover {
    border-color: #1e80ef;
    background: #1e80ef;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 128, 239, 0.3);
}

.tv-social-btn svg {
    width: 15px;
    height: 15px;
    fill: #7090b0;
    transition: fill 0.3s ease;
}

.tv-social-btn:hover svg {
    fill: #ffffff;
}

.tv-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tv-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tv-col ul li a {
    font-size: 13.5px;
    color: #7a8fa8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 10px;
}

.tv-col ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tv-col ul li a:hover {
    color: #1e80ef;
    padding-left: 15px;
}

.tv-col ul li a:hover::before {
    opacity: 1;
}

.tv-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
}

.tv-contact-item:hover {
    background: rgba(30, 128, 239, 0.1);
    padding-left: 12px;
}

.tv-contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: #1e80ef;
    transition: all 0.3s ease;
}

.tv-contact-item:hover .tv-contact-icon {
    transform: scale(1.2);
}

.tv-contact-text {
    font-size: 13.5px;
    color: #7a8fa8;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.tv-contact-item:hover .tv-contact-text {
    color: #1e80ef;
}

.tv-divider {
    border: none;
    border-top: 1px solid #1d2d3e;
    margin: 0;
}

.tv-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 12px;
}

.tv-copy {
    font-size: 13px;
    color: #4e6070;
}

.tv-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.tv-bottom-links a {
    font-size: 13px;
    color: #4e6070;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tv-bottom-links a:hover {
    color: #1e80ef;
}