@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --accent: #2E32F6;
    --accent-rgb: 46, 50, 246;
    --accent-hover: #1e22d4;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.06);
    --glow-shadow: 0 10px 30px rgba(46, 50, 246, 0.08);
    --glow-shadow-intense: 0 10px 30px rgba(46, 50, 246, 0.22);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* --- BASE STYLES & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor for magic cursor */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* --- SELECTION COLORS --- */
::selection {
    background: var(--accent);
    color: #ffffff;
}

/* --- MAGIC CURSOR --- */
#magic-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    mix-blend-mode: difference;
}

#magic-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

/* Hover effect for magic cursor */
.cursor-hover #magic-cursor {
    width: 50px;
    height: 50px;
    background-color: rgba(46, 50, 246, 0.1);
    border-color: rgba(46, 50, 246, 0.8);
}

/* Disable magic cursor on mobile touch devices */
@media (max-width: 1024px) {
    * {
        cursor: auto !important;
    }
    #magic-cursor, #magic-cursor-dot {
        display: none !important;
    }
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo img {
    height: 60px;
    animation: pulse 1.5s infinite alternate;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(15, 23, 42, 0.05);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* --- GLASS CONTAINER UTILITY --- */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(46, 50, 246, 0.3);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

/* --- HEADER / NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-brand span {
    background: linear-gradient(135deg, #0f172a 30%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-brand .dot {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    display: inline-block;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { text-shadow: 0 0 5px var(--accent); }
    50% { text-shadow: 0 0 15px var(--accent); }
    100% { text-shadow: 0 0 5px var(--accent); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

nav ul li a:hover,
nav ul li.active a {
    color: var(--text-primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

nav ul li a:hover::after,
nav ul li.active a::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.phone-link i {
    color: var(--accent);
}

.phone-link:hover {
    border-color: var(--accent);
    background: rgba(46, 50, 246, 0.05);
    box-shadow: 0 0 15px rgba(46, 50, 246, 0.2);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 30%, rgba(46, 50, 246, 0.05) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background: rgba(46, 50, 246, 0.1);
    border: 1px solid rgba(46, 50, 246, 0.3);
    color: #8b8eff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(46, 50, 246, 0.1);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-content h1 span.gradient-text {
    background: linear-gradient(135deg, #0f172a 40%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h1 span.accent-text {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(46, 50, 246, 0.3);
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: var(--glow-shadow-intense);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-back {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(46, 50, 246, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.hero-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 100%);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.hero-card-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-stat-row:last-child {
    border-bottom: none;
}

.hero-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-stat-value {
    font-weight: 700;
    color: var(--text-primary);
}

/* --- SECTION GENERAL STYLE --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px auto;
}

.section-subtitle {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0f172a 50%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- PRODUCTS GRID SECTION --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(46, 50, 246, 0.08);
    border: 1px solid rgba(46, 50, 246, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--accent);
    transition: var(--transition-smooth);
}

.product-card:hover .product-icon {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(46, 50, 246, 0.5);
    transform: scale(1.05);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;
}

.product-links {
    display: flex;
    gap: 20px;
}

.product-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.product-links .learn-more {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-links .learn-more:hover {
    color: var(--accent);
}

.product-links .learn-more i {
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.product-links .learn-more:hover i {
    transform: translateX(4px);
}

.product-links .get-quote {
    color: var(--accent);
}

.product-links .get-quote:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* --- SERVICES SECTION --- */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 48px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-circle-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    font-size: 2rem;
    color: var(--accent);
    position: relative;
    transition: var(--transition-smooth);
}

.service-circle-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(46, 50, 246, 0.2);
    transition: var(--transition-smooth);
}

.service-card:hover .service-circle-icon {
    border-color: var(--accent);
    color: #ffffff;
    background: var(--accent);
    box-shadow: var(--glow-shadow);
}

.service-card:hover .service-circle-icon::after {
    transform: rotate(45deg);
    border-color: var(--accent);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- ABOUT HIGHLIGHT SECTION --- */
.about-highlight {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(248, 250, 252, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 40%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.stat-item {
    padding: 24px;
    text-align: left;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(46, 50, 246, 0.2);
}

.stat-lbl {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CLIENTS CAROUSEL --- */
.clients-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 0;
    overflow: hidden;
}

.clients-slider-container {
    width: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.clients-track {
    display: flex;
    gap: 80px;
    animation: scroll-marquee 25s linear infinite;
    align-items: center;
}

.client-logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 80px;
}

.client-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.5);
    transition: var(--transition-smooth);
}

.client-logo-box img:hover {
    filter: grayscale(0) opacity(1);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}

[dir="rtl"] .clients-track {
    animation: scroll-marquee-rtl 25s linear infinite;
}

@keyframes scroll-marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(50% + 40px)); }
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(46, 50, 246, 0.08);
    border: 1px solid rgba(46, 50, 246, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item-content h5 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.info-item-content p,
.info-item-content a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
}

.info-item-content a:hover {
    color: var(--accent);
}

.social-links-wrapper {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    border-color: var(--accent);
    color: #ffffff;
    background: var(--accent);
    box-shadow: var(--glow-shadow);
    transform: translateY(-3px);
}

.contact-form-card {
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(46, 50, 246, 0.2);
}

textarea.form-control {
    resize: none;
    min-height: 150px;
}

.btn-block {
    width: 100%;
}

/* --- FOOTER --- */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

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

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-brand-column p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 360px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* --- RESPONSIVENESS --- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-columns {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    
    .footer-brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        padding: 100px 40px;
        z-index: 850;
        transition: var(--transition-smooth);
    }
    
    nav.open {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- PRODUCT GROUP & SUBSIDIARIES LAYOUT --- */
.product-group-container {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 48px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.03);
}

.product-group-header {
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product-group-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.product-group-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 700px;
}

.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.subsidiary-card {
    padding: 30px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
}

.subsidiary-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.standalone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .product-group-container {
        padding: 24px;
    }
    .standalone-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PARTNERS PAGE STYLES --- */
.partners-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.partner-profile-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-logo-container {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

.partner-logo-container img {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
}

.clients-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.client-profile-card {
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.client-profile-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
    transition: var(--transition-smooth);
}

.client-profile-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.client-profile-card:hover img {
    filter: grayscale(0) opacity(1);
}

/* --- COMPANY PROFILE BUTTON --- */
.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

/* --- SERVICE IMAGE WRAPPER (SOFT SHADOW / PREMIUM LOOK) --- */
.service-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02); /* Extremely soft, clean mockup look */
    transition: var(--transition-smooth);
}

.service-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.service-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(46, 50, 246, 0.05); /* Slight accent highlight on hover */
}



