/* Evolygen Premium Theme */
:root {
    --primary-gold: rgba(255, 193, 7, 1);
    /*--secondary-gold: #C5A000;*/
    --secondary-gold: rgba(255, 193, 7, 1);
    --dark-bg: #121212;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-light: #F5F5F5;
    --text-muted: #B0B0B0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Reset & Base Styles */
body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar-custom {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.navbar-brand {
    color: var(--primary-gold) !important;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-gold);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active-link {
    color: var(--primary-gold) !important;
}

.navbar-toggler {
    border-color: var(--primary-gold);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    /* Fallback color */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-logo {
    width: 150px;
    height: auto;
    /* Removed border-radius: 50% to keep original shape */
    /* Removed border to look cleaner if not round */
    margin-bottom: 2rem;
    animation: pulse-gold 3s infinite;
}



.filter-white {
    filter: brightness(0) invert(1);
}

@media (max-width: 991.98px) {
    .hero-floating-card {
        display: none;
        /* Hide on mobile/tablet as requested by d-none d-lg-block in HTML, but good to have safety here */
    }
}

.hero-title {
    font-size: 4rem;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
}

.btn-premium {
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    animation: fadeUp 1s forwards 1.1s;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
    color: #000;
}

.hero-partnership-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.4s;
}

/* Sections */
.section-padding {
    padding: 150px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-gold);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Services Cards */
.card-service-static {
    background: var(--card-bg);
    border: 1px solid var(--primary-gold);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.card-service {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.card-service:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.card-service h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-service p {
    color: var(--text-muted);
}

/* Featured Service */
.featured-service {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.new-badge {
    background-color: #ff4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 10px;
    padding: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    color: var(--text-light);
    box-shadow: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    background-color: #000;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-media {
    text-align: center;
    margin-bottom: 30px;
}

.social-text {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary-gold);
    color: #000;
    transform: translateY(-3px);
}

footer p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

footer a {
    color: var(--primary-gold);
}

/* Utilities */
.bg-darker {
    background-color: #080808;
}

/* Animations */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Language Selector */
/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 20px;
    padding: 5px 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-toggle:hover {
    background: var(--primary-gold);
    color: #000;
}

.language-dropdown {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--primary-gold);
    border-radius: 10px;
    margin-top: 10px;
    padding: 5px 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Team Section Styles */
.team-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.team-photo.bw {
    z-index: 1;
    opacity: 1;
    filter: grayscale(100%);
}

.team-photo.color {
    z-index: 2;
    opacity: 0;
}

.team-card:hover .team-photo.color {
    opacity: 1;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    z-index: 3;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.team-card:hover .team-info {
    transform: translateY(0);
}

.team-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.language-dropdown.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-option {
    color: var(--text-light);
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.language-option:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
}

/* Map */
.map-container {
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    overflow: hidden;
}


.featured-service .location-info {
    background-color: rgba(255, 217, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
}

.featured-service .location-info h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-float i {
    margin-top: 2px;
    /* Minor adjustment for vertical centering */
}

/* Navbar Updates for Two-Row Layout */
.small-nav-text .nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Custom Dropdown Styles */
.navbar-custom .dropdown-menu {
    /*  background-color: rgba(18, 18, 18, 0.95);*/
    background-color: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--primary-gold);
    backdrop-filter: blur(10px);
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-custom .dropdown-item {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
}

/* Ensure dropdown toggle arrow looks good */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
}

/* Trans-Ova Section Styles */
.text-gradient-gold {
    background: linear-gradient(45deg, #FFD700, #FDB931, #C5A000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.border-gold-light {
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.feature-box:hover .border-gold-light {
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-5px);
}


/* Trans-Ova Specific Theme (White/Red/Gray) */
.bg-transova {
    background-color: #ffffff;
    color: #333333;
}

.text-transova-red {
    color: #D32F2F;
    /* A strong, professional red */
}

.text-transova-dark {
    color: #212121;
}

.border-transova-red {
    border: 1px solid rgba(211, 47, 47, 0.2);
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.feature-box-transova:hover .border-transova-red {
    border-color: #D32F2F;
    background: #fff;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.1);
    transform: translateY(-5px);
}

.transova-accent-border-top {
    border-top: 3px solid #D32F2F !important;
    border-right: 3px solid #D32F2F !important;
}

.transova-accent-border-bottom {
    border-bottom: 3px solid #D32F2F !important;
    border-left: 3px solid #D32F2F !important;
}

.img-header-logo {
    width: 200px;
}

.flag-icon {
    width: 15px;
    height: 15px;
}

/* Responsive */

@media (max-width: 991.98px) {
    .language-dropdown {
        right: auto;
        left: 0;
    }

    .section-padding {
        padding: 100px 0;
    }
}

@media (max-width: 991.98px),
(hover: none) {
    .team-card.active .team-photo.color {
        opacity: 1;
    }

    .team-card.active .team-info {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .img-header-logo {
        width: 130px;
    }
}