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

/* --- CUSTOM PROPERTIES & THEMES --- */
:root {
    /* Color Palette */
    --primary: #0A5BFF;
    --primary-rgb: 10, 91, 255;
    --secondary: #FF8A00;
    --secondary-rgb: 255, 138, 0;
    
    /* Light Mode Settings (Default) */
    --bg-primary: #F5F5F7;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #E8E8ED;
    --text-primary: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-tertiary: #A1A1A6;
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: rgba(0, 0, 0, 0.04);
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    --glow-shadow: rgba(10, 91, 255, 0.15);
    
    /* Layout Constants */
    --navbar-height: 80px;
    --navbar-height-scrolled: 64px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Font family */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Custom Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

[data-theme="dark"] {
    /* Dark Mode Settings */
    --bg-primary: #000000;
    --bg-secondary: #0D0D0E;
    --bg-tertiary: #1C1C1E;
    --text-primary: #F5F5F7;
    --text-secondary: #86868B;
    --text-tertiary: #515154;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(13, 13, 14, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    --glow-shadow: rgba(10, 91, 255, 0.3);
}

/* --- CORE RESETS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
    transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

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

span.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

span.blue-text {
    color: var(--primary);
}

span.orange-text {
    color: var(--secondary);
}

/* --- LAYOUT WRAPPERS & CONTAINER --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

/* --- BUTTONS --- */
.btn-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 20px var(--glow-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-shadow);
    background: linear-gradient(135deg, #1f6aff 0%, #004fe6 100%);
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
}

.btn-orange {
    background: var(--secondary);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(255, 138, 0, 0.2);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.4);
    background: #e67c00;
}

/* --- GLASS CARDS --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--card-shadow);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 91, 255, 0.2);
    box-shadow: var(--glass-shadow), 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .glass-card:hover {
    box-shadow: var(--glass-shadow), 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 138, 0, 0.2);
}

/* --- THE NAVBAR --- */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

header.site-header.scrolled {
    height: var(--navbar-height-scrolled);
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] header.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

header.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

header.site-header.scrolled .logo-img {
    height: 34px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: var(--transition-fast);
    border-radius: 2px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: var(--transition-smooth);
    background: var(--border-color);
}

.theme-toggle-btn:hover {
    background: var(--text-secondary);
    color: var(--bg-secondary);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.theme-toggle-btn .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
    display: block;
}

/* Mobile Hamburger Menu */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1100;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- THE FOOTER --- */
footer.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
    position: relative;
    transition: var(--transition-smooth);
}

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

.footer-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    background: var(--bg-primary);
    padding: 6px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.newsletter-input {
    background: none;
    border: none;
    outline: none;
    padding: 8px 12px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    flex-grow: 1;
    font-size: 0.9rem;
}

.newsletter-btn {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    outline: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background: var(--secondary);
}

.newsletter-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

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

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon:hover.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-icon:hover.social-linkedin {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- SCROLL PROGRESS & BACK TO TOP --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.1s ease-out;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    box-shadow: var(--glass-shadow), var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 8px 20px var(--glow-shadow);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* --- PAGE TRANSITION OVERLAY --- */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 2000;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition-overlay.fade-out {
    opacity: 0;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 99;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background-color: #128C7E;
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- STATS CARD SECTION --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    border-radius: var(--border-radius-md);
    background: rgba(10, 91, 255, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .stat-icon {
    background: rgba(10, 91, 255, 0.15);
}

.stat-card:hover .stat-icon {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.1) rotate(5deg);
}

.stat-card:nth-child(even):hover .stat-icon {
    background: var(--secondary);
    color: #FFFFFF;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- SERVICE CARD SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, rgba(10, 91, 255, 0.1) 0%, rgba(255, 138, 0, 0.1) 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(-5deg);
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.service-card-title {
    margin-bottom: 12px;
}

.service-card-text {
    flex-grow: 1;
    font-size: 0.98rem;
    margin-bottom: 24px;
}

.service-card-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    transition: var(--transition-fast);
}

.service-card-link:hover svg {
    transform: translateX(4px);
}

/* --- PORTFOLIO POPUPS / DETAIL MODALS --- */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 24px;
}

.portfolio-modal.open {
    opacity: 1;
    visibility: visible;
}

.portfolio-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-radius: var(--border-radius-xl);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.portfolio-modal.open .portfolio-modal-content {
    transform: scale(1);
}

.portfolio-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.portfolio-modal-close:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: scale(1.05);
}

.portfolio-modal-close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.portfolio-modal-body {
    padding: 48px;
}

.portfolio-modal-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 32px;
    box-shadow: var(--card-shadow);
}

.portfolio-modal-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.portfolio-modal-title {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.portfolio-modal-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.portfolio-meta-item h5 {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.portfolio-meta-item p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.portfolio-modal-desc {
    margin-bottom: 32px;
}

.portfolio-modal-section-title {
    font-size: 1.4rem;
    margin: 24px 0 12px 0;
}

.portfolio-modal-list {
    margin-left: 20px;
    margin-bottom: 32px;
    color: var(--text-secondary);
}

.portfolio-modal-list li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* --- DYNAMIC LOADING SCREEN LOGO & SPINNER --- */
.page-transition-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.loader-logo {
    max-width: 120px !important;
    height: auto !important;
    animation: pulseGlow 2s infinite ease-in-out;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: rotateRadar 1s infinite linear;
}

/* --- PROCESS WORKFLOW --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.process-step {
    padding: 32px;
    position: relative;
    border-radius: var(--border-radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--card-shadow);
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.process-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- TECHNOLOGIES tags --- */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.tech-tag {
    padding: 12px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.tech-tag:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 8px 20px var(--glow-shadow);
    color: var(--primary);
}

/* --- TESTIMONIALS SECTION --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    font-weight: 800;
    color: rgba(10, 91, 255, 0.1);
    position: absolute;
    top: -30px;
    left: -10px;
    line-height: 1;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.client-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.client-info p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* --- TEAM & CEO LAYOUT --- */
.ceo-card-container {
    max-width: 750px;
    margin: 40px auto 0 auto;
}

.ceo-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.ceo-photo-wrapper {
    display: flex;
    justify-content: center;
}

.ceo-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 0 20px rgba(10, 91, 255, 0.3);
    transition: var(--transition-smooth);
}

.ceo-info h3 {
    font-size: 2rem;
    margin-bottom: 4px;
}

.ceo-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.ceo-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.ceo-bio {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.ceo-socials {
    display: flex;
    gap: 16px;
}

/* --- DARK MODE LOGO ENHANCEMENT --- */
[data-theme="dark"] .logo-img {
    filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.85)) brightness(1.2);
}

/* --- UI ALIGNMENT & SPACING OPTIMIZATIONS --- */
.section {
    padding: 80px 0; /* Reduced padding from 100px to tighten up empty spaces */
}

/* Extra media query configurations for new grids */
@media screen and (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .ceo-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .ceo-socials {
        justify-content: center;
    }
}

