/* ========================================
   TANTRA INC - MAIN WEBSITE STYLES
   Brand Colors: Green, Yellow, Red
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Brand Colors from Logo */
    --primary-green: #1a7f4e;
    --bright-green: #4caf50;
    --vibrant-red: #e63946;
    --bright-yellow: #ffd93d;
    --dark-green: #0d4d30;
    --darker-green: #082818;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-dim: rgba(255, 255, 255, 0.7);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1400px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   GLOBAL RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--dark-green);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   GLOBAL HEADER
   ======================================== */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(6, 30, 18, 0.98) 0%, rgba(8, 40, 24, 0.96) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 217, 61, 0.12);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 22px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Logo */
.header-logo a,
.logo a,
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-img,
.header-logo,
.logo img {
    height: 85px;
    width: auto;
    transition: var(--transition-smooth);
    filter: brightness(1.15) contrast(1.05);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-img:hover,
.header-logo:hover,
.logo img:hover {
    transform: scale(1.08);
    filter: brightness(1.22) contrast(1.1) drop-shadow(0 0 25px rgba(255, 217, 61, 0.5));
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bright-yellow);
    letter-spacing: 2px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.nav-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 12px 4px;
    text-transform: uppercase;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bright-yellow), #ffeb3b);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bright-yellow);
    text-shadow: 0 0 15px rgba(255, 217, 61, 0.3);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Mega Menu */
.nav-item-mega {
    position: relative;
    display: inline-flex;
}

.mega-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.mega-trigger i {
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.nav-item-mega:hover .mega-trigger i {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    max-width: 95vw;
    background: rgba(13, 77, 48, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    padding: 40px 35px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.nav-item-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
}

.mega-menu-container {
    max-width: 100%;
    margin: 0 auto;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: start;
}

.mega-menu-item {
    padding: 22px 18px;
    background: rgba(26, 127, 78, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    transition: var(--transition-smooth);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 140px;
}

.mega-menu-item:hover {
    background: rgba(26, 127, 78, 0.4);
    border-color: var(--bright-yellow);
    transform: translateY(-5px);
}

.mega-menu-item i {
    font-size: 2rem;
    color: var(--bright-yellow);
    margin-bottom: 12px;
    display: block;
}

.mega-menu-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 8px;
}

.mega-menu-item p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0;
}

/* Header CTA */
.header-cta {
    padding: 13px 32px;
    background: linear-gradient(135deg, #ffd93d 0%, #ffeb3b 100%);
    color: #082818;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.2px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 235, 59, 0.3);
}

.header-cta:hover {
    background: linear-gradient(135deg, #e63946 0%, #ff4757 100%);
    color: var(--white);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.5), 0 4px 12px rgba(230, 57, 70, 0.3);
    border-color: rgba(230, 57, 70, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--bright-yellow);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    margin-top: 80px;
    position: relative;
    height: 100vh;
    min-height: 700px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(13, 77, 48, 0.8) 0%,
        rgba(26, 127, 78, 0.6) 50%,
        rgba(8, 40, 24, 0.9) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.slide-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 217, 61, 0.2);
    border: 2px solid var(--bright-yellow);
    border-radius: 50px;
    color: var(--bright-yellow);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.slide-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--bright-yellow), var(--vibrant-red), var(--bright-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--bright-green);
    margin-bottom: 15px;
    font-weight: 500;
}

.slide-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-dim);
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--bright-yellow), #ffeb3b);
    color: var(--dark-green);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.slide-cta:hover {
    background: linear-gradient(135deg, var(--vibrant-red), #ff6b6b);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.5);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--bright-yellow);
    width: 60px;
    height: 60px;
    background: rgba(26, 127, 78, 0.3);
    border: 2px solid var(--bright-yellow);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--bright-yellow);
    color: var(--dark-green);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--bright-yellow);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--vibrant-red);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.company-intro,
.tantra-network,
.latest-news {
    padding: var(--section-padding) 0;
    position: relative;
}

.company-intro {
    background: linear-gradient(180deg, var(--dark-green), var(--darker-green));
}

.tantra-network {
    background: var(--darker-green);
}

.latest-news {
    background: linear-gradient(180deg, var(--darker-green), var(--dark-green));
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--bright-yellow), var(--bright-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    display: none;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 60px;
}

/* ========================================
   COMPANY INTRODUCTION
   ======================================== */
.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.intro-text strong {
    color: var(--bright-yellow);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(26, 127, 78, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--bright-yellow);
    box-shadow: 0 20px 50px rgba(255, 217, 61, 0.2);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--bright-yellow), var(--vibrant-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========================================
   TANTRA NETWORK GRID
   ======================================== */
.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.network-card {
    background: rgba(26, 127, 78, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.network-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-yellow);
    box-shadow: 0 20px 60px rgba(255, 217, 61, 0.3);
}

.network-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-green), var(--bright-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-smooth);
}

.network-card:hover .network-icon {
    background: linear-gradient(135deg, var(--bright-yellow), var(--vibrant-red));
    transform: scale(1.1) rotate(360deg);
}

.network-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--bright-yellow);
    margin-bottom: 15px;
}

.network-description {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.network-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bright-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.network-link:hover {
    color: var(--bright-yellow);
    gap: 12px;
}

/* ========================================
   LATEST NEWS
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.news-card {
    background: rgba(26, 127, 78, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-yellow);
    box-shadow: 0 20px 60px rgba(255, 217, 61, 0.3);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--bright-yellow);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
}

.news-content {
    padding: 30px;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 217, 61, 0.2);
    border: 1px solid var(--bright-yellow);
    border-radius: 50px;
    color: var(--bright-yellow);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.news-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bright-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.news-link:hover {
    color: var(--bright-yellow);
    gap: 12px;
}

.news-cta {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(26, 127, 78, 0.3);
    border: 2px solid var(--primary-green);
    color: var(--bright-green);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
}

/* ========================================
   GLOBAL FOOTER
   ======================================== */
.global-footer {
    background: var(--darker-green);
    border-top: 1px solid rgba(76, 175, 80, 0.2);
    padding: 80px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--bright-yellow);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-tagline {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-description {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(26, 127, 78, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bright-green);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--primary-green);
    border-color: var(--bright-yellow);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--bright-yellow);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--bright-yellow);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--bright-green);
    margin-top: 3px;
    min-width: 16px;
}

.footer-contact a {
    color: var(--bright-green);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--bright-yellow);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(76, 175, 80, 0.2);
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: var(--bright-yellow);
}

.footer-legal-links span {
    color: var(--text-dim);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 15px 30px;
    }
    
    .mega-menu {
        width: 700px;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .network-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-container {
        padding: 15px 20px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
}