/* ==========================================================================
   Kartezya Core Design System & Stylesheet
   ========================================================================== */

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

/* --- Custom Properties (Variables) --- */
:root {
    /* Color Palette */
    --color-bg-main: #0B0D17;
    --color-bg-card: #121526;
    --color-bg-card-hover: #191E36;
    --color-text-main: #FFFFFF;
    --color-text-body: #B5BAC7;
    --color-text-muted: #8F95A3;
    
    --color-primary: #076EF4;
    --color-primary-rgb: 7, 110, 244;
    --color-secondary: #8236FB;
    --color-secondary-rgb: 130, 54, 251;
    
    --color-gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --color-gradient-card: linear-gradient(180deg, #15182C 0%, #0F111E 100%);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max-width: 100%;
    --header-height: 130px;
}

/* --- CSS Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-main);
}

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

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

input, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 4%;
}

.text-gradient {
    background: var(--color-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.section-subtitle {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--color-text-body);
    font-size: 16px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background: var(--color-gradient-primary);
    color: #FFFFFF;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    border: 1px solid var(--color-border);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(7, 110, 244, 0.08);
}

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

.header.scrolled {
    background-color: rgba(11, 13, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    height: 90px;
}

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

.logo img {
    height: 115px;
    max-height: 115px;
    width: auto;
    transition: var(--transition-smooth);
}

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

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-body);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFFFFF;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gradient-primary);
    transition: var(--transition-smooth);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}

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

/* --- Homepage Hero Slider --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.15);
    transition: transform 8s ease-out;
}

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

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(11, 13, 23, 0.2) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding-top: var(--header-height);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, opacity 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-subtitle {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: block;
}

.slide-title {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
}

.slide-desc {
    font-size: 18px;
    color: var(--color-text-body);
    margin-bottom: 40px;
}

.slide-buttons {
    display: flex;
    gap: 16px;
}

/* Slider Navigation Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--transition-smooth);
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev { left: 40px; }
.slider-arrow.next { right: 40px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background: var(--color-primary);
    width: 30px;
    border-radius: 10px;
}

/* --- Info/Stat/Intro Section --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.intro-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.intro-img {
    border-radius: var(--border-radius-lg);
    width: 100%;
}

.intro-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--color-gradient-primary);
    border-radius: var(--border-radius-md);
    padding: 20px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.intro-badge-num {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.intro-badge-txt {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    list-style: none;
}

.intro-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.intro-list-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* --- Services Card Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(7, 110, 244, 0.15);
    background: var(--color-bg-card-hover);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: rgba(7, 110, 244, 0.06);
    border: 1px solid rgba(7, 110, 244, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background: var(--color-primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--color-text-body);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

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

.service-link svg {
    transition: var(--transition-smooth);
}

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

/* --- Ticker / Logo Showcase Slider --- */
.ticker-section {
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 50px 0;
    overflow: hidden;
}

.ticker-title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 35px;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-animation 30s linear infinite;
    gap: 80px;
    align-items: center;
}

.ticker-item {
    flex-shrink: 0;
}

.ticker-item img {
    height: 180px;
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.ticker-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes ticker-animation {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* --- Top Features Section --- */
.top-features-section {
    padding: 60px 0;
    margin-top: 40px; /* added space below slider */
    position: relative;
    z-index: 10;
}

.top-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.top-feature-card {
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 20px 10px;
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-feature-card:hover {
    transform: translateY(-10px); /* lifted higher for more motion */
}

.top-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(7, 110, 244, 0.05);
    border: 1px solid rgba(7, 110, 244, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 22px;
    transition: var(--transition-smooth);
}

.top-feature-icon svg {
    transition: var(--transition-smooth);
}

.top-feature-card:hover .top-feature-icon {
    background: var(--color-gradient-primary);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(7, 110, 244, 0.4); /* glowing effect */
}

.top-feature-card:hover .top-feature-icon svg {
    transform: scale(1.15) rotate(8deg); /* micro-interaction motion */
}

.top-feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: var(--transition-smooth);
}

.top-feature-card:hover h3 {
    color: var(--color-primary);
}

.top-feature-card p {
    font-size: 13px;
    color: var(--color-text-body);
    line-height: 1.6;
}

/* --- Best Technology Solution Section --- */
.best-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.best-tech-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.best-tech-img-wrapper {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.best-tech-img {
    width: 100%;
    height: auto;
}

.animate-pulse-slow {
    animation: pulse-slow 5s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.best-tech-subfeatures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 35px;
}

.best-tech-subfeature {
    display: flex;
    gap: 16px;
}

.subfeature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(130, 54, 251, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.best-tech-subfeature h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.best-tech-subfeature p {
    font-size: 13px;
    color: var(--color-text-body);
    line-height: 1.4;
}

/* --- Work Process Section --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    position: relative;
    background: var(--color-gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 50px 40px;
    text-align: center;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.process-card:hover::before {
    opacity: 1;
}

.process-img-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 30px auto;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.05);
}

.process-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-step {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    opacity: 0.08;
    font-family: var(--font-heading);
}

.process-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.process-card p {
    color: var(--color-text-body);
    font-size: 14px;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--color-bg-card);
    aspect-ratio: 16/10;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(11, 13, 23, 0.95) 0%, rgba(11, 13, 23, 0.4) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

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

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

/* --- Testimonials --- */
.testimonial-box {
    background: var(--color-gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-size: 60px;
    color: var(--color-primary);
    line-height: 1;
    opacity: 0.15;
    margin-bottom: 20px;
}

.testimonial-txt {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-body);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

/* --- FAQ Accordion --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(7, 110, 244, 0.4);
}

.faq-header {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.faq-header span {
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--color-text-body);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--color-primary);
    color: #FFFFFF;
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-body {
    padding: 0 30px 24px 30px;
    color: var(--color-text-body);
    font-size: 14px;
    line-height: 1.6;
}

/* --- Page Hero Header (About/Services/Contact) --- */
.page-hero {
    position: relative;
    padding: 190px 0 100px 0;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--color-border);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 13, 23, 0.8) 0%, rgba(11, 13, 23, 0.98) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

.breadcrumbs {
    display: inline-flex;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    color: var(--color-text-body);
}

/* --- About Page Details --- */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: var(--color-gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    text-align: center;
}

.stat-card-num {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    background: var(--color-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card-txt {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skill-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 15px;
}

.skill-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--color-gradient-primary);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Contact Page Details --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(7, 110, 244, 0.06);
    border: 1px solid rgba(7, 110, 244, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-info-body h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-body p {
    color: var(--color-text-body);
    font-size: 14px;
}

.contact-form-box {
    background: var(--color-gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 50px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-body);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    font-size: 15px;
    color: #FFFFFF;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-primary);
    background: rgba(7, 110, 244, 0.02);
    box-shadow: 0 0 10px rgba(7, 110, 244, 0.1);
}

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

.form-status {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-status.success {
    color: #5fbd74;
    display: block;
}

.form-status.error {
    color: #cf2e2e;
    display: block;
}

/* --- Service Details Page Layout --- */
.service-details-grid {
    display: grid;
    grid-template-columns: 2.1fr 0.9fr;
    gap: 50px;
}

.service-content-main h2 {
    font-size: 32px;
    margin: 40px 0 20px 0;
}

.service-content-main h2:first-of-type {
    margin-top: 0;
}

.service-content-main h3 {
    font-size: 22px;
    margin: 30px 0 15px 0;
}

.service-content-main p {
    color: var(--color-text-body);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
}

.service-image-main {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--color-border);
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 30px;
}

.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.widget-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    font-size: 14px;
    font-weight: 600;
}

.widget-menu a:hover,
.widget-menu a.active {
    background: var(--color-gradient-primary);
    border-color: transparent;
    color: #FFFFFF;
}

.widget-contact-box {
    text-align: center;
    background: var(--color-gradient-primary);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    color: #FFFFFF;
}

.widget-contact-box svg {
    margin-bottom: 20px;
    color: #FFFFFF;
}

.widget-contact-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.widget-contact-box p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 24px;
}

.widget-contact-num {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.widget-contact-email {
    font-size: 14px;
    opacity: 0.9;
}

/* --- Call To Action (CTA) --- */
.cta {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 13, 23, 0.95) 0%, rgba(130, 54, 251, 0.85) 100%);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --- Footer --- */
.footer {
    background-color: #06070D;
    border-top: 1px solid var(--color-border);
    padding: 80px 0 30px 0;
}

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

.footer-brand .logo img {
    height: 115px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--color-text-body);
    font-size: 14px;
    margin-top: 24px;
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

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

.footer-widget h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-gradient-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
    color: var(--color-text-body);
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--color-text-body);
}

.footer-contact-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --- Mobile Menu Navigation Drawer --- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--color-bg-main);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    visibility: hidden;
}

.mobile-nav.open {
    right: 0;
    visibility: visible;
}

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

.mobile-nav-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-body);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: #FFFFFF;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 13, 23, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .logo img {
        height: 95px;
        max-height: 95px;
    }
    nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
        margin-right: 15px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 90px;
    }
    .logo img {
        height: 75px;
        max-height: 75px;
    }
    .header.scrolled {
        height: 75px;
    }
    .header.scrolled .logo img {
        height: 60px;
    }
    .page-hero {
        padding: 140px 0 80px 0;
    }
    .ticker-item img {
        height: 145px;
    }
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-details-grid {
        grid-template-columns: 1fr;
    }
    .slider-arrow {
        display: none;
    }
    .slide-title {
        font-size: 40px;
    }
    .top-features-section {
        margin-top: 0;
        padding: 40px 0;
    }
    .top-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .best-tech-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-row .form-group:first-child {
        margin-bottom: 24px;
    }
    .cta-buttons, .slide-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .testimonial-box {
        padding: 40px 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .ticker-item img {
        height: 115px;
    }
    .top-features-grid {
        grid-template-columns: 1fr;
    }
    .best-tech-subfeatures {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    .intro-list {
        grid-template-columns: 1fr;
    }
}
