/* ==========================================================================
   Shivarth Global - Premium Corporate Stylesheet
   ========================================================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Branding Colors */
    --clr-primary: #26235E;
    --clr-primary-light: #37338A;
    --clr-secondary: #F7941D;
    --clr-secondary-hover: #E08212;
    --clr-text: #58595B;
    --clr-text-light: #7E7F82;
    --clr-white: #FFFFFF;
    --clr-bg-light: #F4F6F9;
    --clr-border: #E5E7EB;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-medium: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(38, 35, 94, 0.08);
    --shadow-lg: 0 20px 40px rgba(38, 35, 94, 0.12);
    --shadow-glow: 0 10px 30px rgba(247, 148, 29, 0.3);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--clr-primary); }
.text-secondary { color: var(--clr-secondary); }
.bg-light { background-color: var(--clr-bg-light); }
.bg-primary { background-color: var(--clr-primary); color: var(--clr-white); }
.bg-primary h2, .bg-primary h3 { color: var(--clr-white); }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--clr-secondary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--clr-secondary-hover);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--clr-white);
    color: var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-primary);
    transform: translateY(-3px);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Premium Cards */
.premium-card {
    background: var(--clr-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(38, 35, 94, 0.1);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    padding: 1rem 0;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 2rem;
}

.logo img {
    height: 70px;
    mix-blend-mode: multiply; /* Makes white background transparent on white header */
    transition: var(--transition-fast);
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-right: auto;
}

.nav-menu a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn):hover::after,
.nav-menu a:not(.btn).active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--clr-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(rgba(38, 35, 94, 0.7), rgba(38, 35, 94, 0.8)), url('images/hero_home_1782323581836.png') center/cover;
    color: var(--clr-white);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.page-banner {
    padding: 8rem 0 4rem;
    background: var(--clr-primary);
    color: var(--clr-white);
    text-align: center;
}

.products-banner {
    background: linear-gradient(rgba(38, 35, 94, 0.4), rgba(38, 35, 94, 0.6)), url('images/products_header_new.png') center/cover;
}

.page-banner h1 {
    color: var(--clr-white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Features / Why Choose Us
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--clr-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--clr-secondary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(247, 148, 29, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--clr-secondary);
    font-size: 2rem;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: var(--clr-secondary);
    color: var(--clr-white);
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3,
.feature-card p,
.premium-card h3,
.premium-card p {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover h3,
.premium-card:hover h3 {
    transform: scale(1.1) translateY(-3px);
}

.feature-card:hover p,
.premium-card:hover p {
    transform: scale(1.02) translateY(-2px);
}

/* ==========================================================================
   Product Rows (Side-by-Side)
   ========================================================================== */
.product-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.product-row:nth-child(even) {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.product-row:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    flex: 1;
}

.product-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.product-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--clr-secondary);
}

.product-content p {
    font-size: 1.1rem;
    color: var(--clr-text);
    line-height: 1.8;
}

@media (max-width: 991px) {
    .product-row, .product-row:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .product-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Business Process Redesign
   ========================================================================== */
.process-row {
    display: flex;
    align-items: stretch;
    gap: 4rem;
    margin-bottom: 5rem;
}

.process-row:nth-child(even) {
    flex-direction: row-reverse;
}

.process-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.process-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.process-row:hover .process-image img {
    transform: scale(1.05);
}

.process-box {
    flex: 1;
    background-color: #fcf8f2;
    padding: 3.5rem 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(247, 148, 29, 0.15);
    transition: var(--transition-fast);
}

.process-row:hover .process-box {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(247, 148, 29, 0.4);
}

.process-number {
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 10rem;
    font-weight: 800;
    color: var(--clr-secondary);
    opacity: 0.05;
    line-height: 1;
    z-index: 0;
    font-family: var(--font-heading);
}

.process-content {
    position: relative;
    z-index: 1;
}

.process-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
}

.process-content p {
    font-size: 1.1rem;
    color: var(--clr-text);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 991px) {
    .process-row, .process-row:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-image img {
        height: 300px;
    }
    
    .process-number {
        top: -10px;
        right: 10px;
        font-size: 6rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--clr-secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-logo img {
    height: 70px;
    margin-bottom: 1.5rem;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--clr-white);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a.social-fb { background-color: #1877F2; }
.social-links a.social-li { background-color: #0A66C2; }
.social-links a.social-tw { background-color: #000000; }
.social-links a.social-yt { background-color: #FF0000; }
.social-links a.social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.social-links a:hover {
    transform: scale(1.15) translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    margin-top: 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-top: none;
    color: var(--clr-primary);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition-fast);
}

.floating-wa:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--clr-secondary);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
    background: var(--clr-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-medium);
    border: 1px solid var(--clr-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-secondary);
}
.testimonial-card .fa-quote-left {
    font-size: 2.5rem;
    color: rgba(247, 148, 29, 0.15);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}
.testimonial-text {
    font-style: italic;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--clr-secondary);
}
.testimonial-author-info h4 {
    margin: 0;
    color: var(--clr-primary);
    font-size: 1.1rem;
}
.testimonial-author-info span {
    font-size: 0.85rem;
    color: var(--clr-text-light);
}
.testimonial-stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--clr-white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    

}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-padding {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider-wrap {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-slider {
    display: flex;
    width: 400%; /* 4 images */
    height: 100%;
    animation: slide-stops 24s infinite ease-in-out;
}

.hero-slider img {
    width: 25%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9); /* Brighter since text is below now */
}

@keyframes slide-stops {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-25%); }
    50%, 70% { transform: translateX(-50%); }
    75%, 95% { transform: translateX(-75%); }
    100% { transform: translateX(0); }
}

/* ==========================================================================
   Certifications Marquee
   ========================================================================== */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--clr-white);
    padding: 1rem 0;
    white-space: nowrap;
    position: relative;
}
.marquee-container::before, .marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}
.marquee-content {
    display: inline-block;
    animation: marquee-scroll 20s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
.marquee-content .cert-item {
    display: inline-block;
    margin: 0 2rem;
    vertical-align: middle;
}
.marquee-content img {
    height: 100px;
    object-fit: contain;
    transition: var(--transition-fast);
}
.marquee-content img:hover {
    transform: scale(1.05);
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* ==========================================================================
   Language Selector & Google Translate Overrides
   ========================================================================== */
.current-lang {
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.current-lang:hover {
    background: rgba(255,255,255,0.1);
}

.lang-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--clr-white);
    color: var(--clr-primary);
    border-radius: 5px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    min-width: 160px;
    z-index: 100;
    margin-bottom: 5px;
    overflow: hidden;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    transition: var(--transition-fast);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(38, 35, 94, 0.05);
    color: var(--clr-secondary);
}

/* Hide Google Translate Top Bar & Default Widget */
iframe.skiptranslate { display: none !important; }
body { top: 0px !important; }
.goog-te-banner-frame { display: none !important; }
.skiptranslate { color: transparent !important; }
.skiptranslate > span { display: none !important; }


.language-selector {
    position: relative;
    display: inline-block;
}
