/*
====================================
TRANSTECH VENTURE - NEW LOGO THEME
====================================
*/

/* --- Core Variables & Fonts --- */
:root {
    --ttv-primary-blue: #2A2AFF; /* A vibrant blue from the logo */
    --ttv-accent-cyan: #00E0C7;  /* The bright cyan/teal from the logo */
    --ttv-dark-bg: #0A0A2A;      /* A very dark blue for backgrounds */
    --ttv-footer-bg: #080820;    /* An even darker blue for the footer */
    --text-dark: #2f2f2f;
    --text-light: #ffffff;
    --border-color: #e2e8f0;
    --light-bg: #f8f9fa;
    --gradient: linear-gradient(90deg, var(--ttv-primary-blue) 0%, var(--ttv-accent-cyan) 100%);
}

/* --- Global Styles --- */
body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

a {
    color: var(--ttv-accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ttv-primary-blue);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6, .col-lg-4, .col-lg-3, .col-md-5, .col-md-7 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
}

@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
}


/* --- Typography & Headings --- */
h1, h2, h3, h4 {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.3;
    font-weight: 800;
}
.section-heading-sm {
    color: #555;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.section-heading-lg {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}
.lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}
.page-title {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* --- Dividers --- */
.divider {
    height: 4px;
    background: var(--gradient);
    width: 60px;
    margin: 1.5rem 0;
    border: none;
}
.divider.centered {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.btn-primary {
    color: #fff;
    background: var(--gradient);
    border: none;
    padding: 14px 32px;
}
.btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 42, 255, 0.3);
}
.header-link {
    background: var(--gradient);
    color: #fff !important;
    padding: 8px 15px;
    margin-left: 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}
.header-link:hover {
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(0, 224, 199, 0.4);
}

/* --- Top Bar --- */
#top-bar-wrap {
    background-color: #f1f5f9;
    color: var(--text-dark);
    border-bottom: 1px solid #e2e8f0;
}
#top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}
#top-bar-content a {
    color: var(--text-dark);
    font-weight: 600;
}
#top-bar-social {
    display: flex;
    align-items: center;
}
#top-bar-social ul {
    display: flex;
    margin-left: 15px;
}
#top-bar-social li a {
    color: var(--ttv-primary-blue);
    margin-left: 15px;
    font-size: 1.2rem;
}
#top-bar-social li a:hover {
    color: var(--ttv-accent-cyan);
}


/* --- Header --- */
#site-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
#site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#site-logo img {
    max-height: 50px;
}
#site-navigation .main-menu {
    display: flex;
    align-items: center; /* Vertically align menu items */
}
#site-navigation .main-menu li {
    margin-left: 22px; /* CHANGED from 30px */
}
#site-navigation .main-menu li a {
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 13.5px; /* CHANGED from 14px */
    padding-bottom: 5px;
    position: relative;
    white-space: nowrap; /* Prevent menu items from breaking into two lines */
}
#site-navigation .main-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s ease;
}
#site-navigation .main-menu li a:hover::after,
#site-navigation .main-menu li a.active::after {
    width: 100%;
}


/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: left;
}
.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 42, 0.7);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin: 1rem 0 2rem;
    color: rgba(255,255,255,0.9);
}


/* --- General Page/Section Styles --- */
.site-section {
    padding: 100px 0;
}
.bg-very-light {
    background-color: var(--light-bg);
}
.bg-light-blue {
    background-color: #f0f8ff;
}

.align-items-center {
    align-items: center;
}
.text-center {
    text-align: center;
}
.text-center .divider {
    margin-left: auto;
    margin-right: auto;
}
.mt-5 {
    margin-top: 3rem;
}

/* --- Page Header --- */
.page-header-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.85;
}
.page-header-section .container {
    position: relative;
    z-index: 2;
}

.rounded-img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Partners Section --- */
.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}
.partner-logo-item img {
    width: 100%;
    max-width: 150px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #fff;
}
.partner-logo-item img:hover {
    border-color: var(--ttv-accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 224, 199, 0.2);
}
.partner-logo-img {
    height: 90px; /* Set a fixed height for partner logos */
    width: auto;
    max-width: 220px; /* Allow width to adjust but not exceed this */
    object-fit: contain; /* Ensure logo is scaled properly within the box */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* --- About Page --- */
.vision-mission-box {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    height: 100%;
    border: 1px solid var(--border-color);
}
.why-us-box {
    background: var(--gradient);
    padding: 2.5rem;
    border-radius: 8px;
    height: 100%;
    color: #fff;
}
.why-us-box .lead-text {
    color: rgba(255,255,255,0.9);
}
.icon-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    text-align: left;
}
.icon-list i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 15px;
    font-size: 1.5rem;
    margin-top: 5px;
}

/* --- Services Page --- */
.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.service-gallery-item {
    height: 350px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.service-gallery-item:hover {
    transform: translateY(-10px);
}
.service-gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent);
    transition: background 0.3s ease;
}
.service-gallery-item:hover::after {
    background: linear-gradient(to top, rgba(42, 42, 255, 0.8) 20%, transparent);
}
.service-gallery-item-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    border-bottom: 5px solid var(--ttv-accent-cyan);
    text-align: left;
}


/* --- Investment Page --- */
.icon-box {
    text-align: center;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
    background: #fff;
}
.icon-box:hover {
    border-color: var(--ttv-accent-cyan);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}
.icon-box .icon {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.icon-box h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* --- Contact Page --- */
.contact-form-wrap {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: left;
}
.contact-info-wrap {
    padding: 2.5rem;
    text-align: left;
}
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form .form-control {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #f8f9fa;
}
.contact-form .form-control:focus {
    outline: none;
    border-color: var(--ttv-primary-blue);
    box-shadow: 0 0 0 3px rgba(42, 42, 255, 0.2);
}
.contact-list.large {
    font-size: 1.1rem;
}
.contact-list.large li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    text-align: left;
}
.contact-list.large i {
    margin-right: 15px;
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

/* --- Footer --- */
#footer {
    background-color: var(--ttv-dark-bg);
    color: rgba(255,255,255,0.8);
    text-align: left;
}
#footer-widgets {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.widget-title {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-box ul li {
    padding: 8px 0;
}
.footer-box a {
    color: rgba(255,255,255,0.7);
}
.footer-box a:hover {
    color: #fff;
}
.footer-box .contact-list li {
    display: flex;
    align-items: flex-start;
}
.footer-box .contact-list i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--ttv-accent-cyan);
}
#footer-social ul {
    display: flex;
}
#footer-social li a {
    font-size: 1.5rem;
    margin-right: 15px;
}
#footer-bottom {
    background-color: var(--ttv-footer-bg);
    padding: 20px 0;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    #footer-widgets, .partner-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    .col-md-5, .col-md-6, .col-md-7, .col-lg-3, .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    .flex-row-reverse {
        flex-direction: column-reverse;
    }
    .hero-title, .page-title {
        font-size: 2.2rem;
    }
    .section-heading-lg {
        font-size: 2rem;
    }
    .site-section {
        padding: 60px 20px;
    }
    #site-navigation .main-menu {
        display: none; /* Simple mobile hide, needs a burger menu for real use */
    }
    #footer-widgets, .partner-logo-grid {
        grid-template-columns: 1fr;
    }
    .hero-section {
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
}

/* --- Language Switcher --- */
#site-navigation .main-menu li.lang-switcher {
    display: flex;
    align-items: center;
}
.lang-switcher a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
    padding: 2px 5px;
    border-radius: 3px;
    line-height: 1; /* Add this to prevent extra vertical space */
}
.lang-switcher a.active,
.lang-switcher a:hover {
    color: var(--ttv-primary-blue);
}
.lang-switcher a.active {
    background: var(--gradient);
    color: #fff !important; /* Use !important to override hover styles */
}
.lang-switcher a.active:hover {
    color: #fff !important;
}
.lang-switcher span {
    color: #ccc;
    margin: 0 -2px;
    font-weight: 400;
    font-size: 14px;
}
/* remove the underline hover effect for language switcher */
#site-navigation .main-menu li.lang-switcher a::after {
    display: none; 
}

/* --- FORCE CENTER ALIGNMENT FOR ENERGY INVESTMENT PAGE --- */
.energyinvestmentfacilitation-page .text-center,
.energyinvestmentfacilitation-page .section-heading-lg,
.energyinvestmentfacilitation-page .lead-text {
    text-align: center !important;
}