/* ===== CSS Variables ===== */
:root {
    --primary-blue: #3366FF;
    --primary-blue-dark: #2952CC;
    --accent-orange: #F5A623;
    --accent-orange-dark: #E09000;
    --dark: #0A0F1C;
    --dark-light: #1A1F2E;
    --white: #FFFFFF;
    --gray-100: #F7F8FC;
    --gray-200: #E8EBF4;
    --gray-300: #C5CAD9;
    --gray-400: #4A5568;
    --gradient-blue: linear-gradient(135deg, #3366FF 0%, #00D4FF 100%);
    --gradient-orange: linear-gradient(135deg, #F5A623 0%, #FF6B35 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(51, 102, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ===== Dark Mode Variables ===== */
.dark-mode {
    --dark: #FFFFFF;
    --white: #0A0F1C;
    --gray-100: #1A1F2E;
    --gray-200: #2A2F3E;
    --gray-300: #4A4F5E;
    --gray-400: #B0B7C8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(51, 102, 255, 0.5);
}

/* ===== Dark Mode Overrides ===== */
.dark-mode .code-window {
    background: #0A0F1C;
}

.dark-mode .window-header {
    background: #1A1F2E;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transform-origin: left center;
    transition: var(--transition);
}

.logo-mark {
    display: none;
    /* keep image only for future use, not in navbar */
}

.logo-dev {
    background: var(--dark);
    color: var(--white);
    padding: 8px 12px;
    transition: var(--transition);
}

.logo-studios {
    background: var(--white);
    color: var(--dark);
    padding: 8px 12px;
    transition: var(--transition);
}

/* Smooth logo shrink on scroll */
.navbar.scrolled .logo-box {
    transform: scale(0.9);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

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

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

.theme-toggle {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

#theme-toggle {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

#theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

#theme-toggle svg {
    width: 20px;
    height: 20px;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

.dark-mode .sun-icon {
    display: none;
}

.dark-mode .moon-icon {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3ab8 50%, #0d1525 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
    clip-path: ellipse(80% 100% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 4px 24px rgba(0, 0, 0, 0.3);
}

.title-white {
    display: block;
}

.title-orange {
    display: block;
    color: var(--accent-orange);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    max-width: 480px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4), 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.4);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.35);
    paint-order: stroke fill;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 2px 12px rgba(0, 0, 0, 0.4);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.35);
    paint-order: stroke fill;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.floating-card .card-icon {
    font-size: 1.5rem;
}

.card-1 {
    top: 25%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 0;
    left: 15%;
    animation-delay: 1s;
}

.card-3 {
    top: 75%;
    left: 0;
    animation-delay: 2s;
}

.card-4 {
    top: 50%;
    left: 10%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.code-window {
    position: absolute;
    right: -160px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: min(340px, 42vw);
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 5;
}

.window-header {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--dark-light);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F57;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #28CA41;
}

.terminal-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: #888;
    font-family: 'Consolas', 'Monaco', monospace;
}

.terminal-content {
    padding: 16px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    min-height: 200px;
    color: #E8E8E8;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt {
    color: #50FA7B;
    font-weight: bold;
}

.command {
    color: #F8F8F2;
}

.cursor {
    color: #50FA7B;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.terminal-output {
    margin-top: 8px;
    color: #8BE9FD;
}

.terminal-output .output-line {
    margin: 4px 0;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.terminal-output .success {
    color: #50FA7B;
}

.terminal-output .info {
    color: #8BE9FD;
}

.terminal-output .warning {
    color: #F1FA8C;
}

.terminal-output .highlight {
    color: #FF79C6;
}

.terminal-output .white {
    color: #F8F8F2;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--dark);
}

.section-desc {
    color: var(--gray-400);
    font-size: 1.1rem;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

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

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
}

.pricing-card--featured .pricing-subtitle,
.pricing-card--featured .pricing-meta,
.pricing-card--featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-orange);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.pricing-subtitle {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.pricing-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange-dark);
}

.pricing-meta {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.pricing-features li::before {
    content: '•';
    color: var(--primary-blue);
    margin-right: 6px;
}

.pricing-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.pricing-extra-card {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 20px 22px;
}

.pricing-extra-card h4 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.pricing-extra-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.pricing-extra-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--gray-100);
}

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

/* ===== Portfolio Section ===== */
.portfolio {
    padding: 100px 0;
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.portfolio-card {
    display: block;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 28, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

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

.portfolio-overlay span {
    background: var(--white);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay span {
    transform: translateY(0);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.portfolio-info p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card.featured .service-features span {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 24px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--primary-blue);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: #4A5568;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-features span {
    background: var(--gray-100);
    color: #4A5568;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
}

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

.about-text .section-tag {
    margin-bottom: 16px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-desc {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

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

.feature {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 8px;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--gradient-blue);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-glow);
    max-width: 400px;
}

.about-card-inner {
    color: var(--white);
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.about-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.about-card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
}

.about-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-card-unique .about-card-inner h3 {
    margin-bottom: 12px;
}

.about-card-unique .about-card-inner p {
    margin-bottom: 20px;
}

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

.stars {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.rating-text {
    font-weight: 600;
}

/* ===== Blogs Section (SEO / Tech News) ===== */
.blogs {
    padding: 100px 0;
    background: var(--gray-100);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    min-height: 120px;
}

.blogs-loading,
.blogs-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
    font-size: 1rem;
}

.blogs-error {
    color: #c53030;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.blog-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--gray-200);
}

.blog-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.35;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--primary-blue);
}

.blog-card__meta {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.blog-card__tag {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: var(--gray-100);
    color: var(--gray-400);
    border-radius: 6px;
    font-weight: 500;
}

/* ===== CTA Section ===== */
.cta {
    padding: 80px 0;
    background: #0A0F1C;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(51, 102, 255, 0.3) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    text-align: center;
    color: #FFFFFF;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-details h4 {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-details a,
.contact-details span {
    color: var(--dark);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--primary-blue);
}

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

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    color: var(--dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    color: inherit;
    transition: var(--transition);
}

.form-group option {
    background: var(--white);
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: #0A0F1C;
    color: #ffffff;
    padding: 60px 0 30px;
}

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

.footer-brand p {
    color: #cfcfcf;
    margin-top: 16px;
}

.footer-msme {
    margin-top: 20px;
}

.footer-msme__logo {
    display: block;
    width: 140px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}



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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #cfcfcf;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #cfcfcf;
    font-size: 0.9rem;
}

/* ===== Chatbot Widget ===== */
.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: var(--font-body);
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(51, 102, 255, 0.4);
    transition: var(--transition);
    border: none;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(51, 102, 255, 0.5);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 48px);
    height: 500px;
    max-height: calc(100vh - 120px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--gray-100);
}

.chatbot-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chatbot-message--bot {
    align-self: flex-start;
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--gray-200);
}

.chatbot-message--user {
    align-self: flex-end;
    background: var(--gradient-blue);
    color: var(--white);
}

.chatbot-message p {
    margin: 0;
}

.chatbot-input-area {
    padding: 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 8px;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.chatbot-input:focus {
    border-color: var(--primary-blue);
}

.chatbot-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(51, 102, 255, 0.4);
}

@media (max-width: 768px) {
    .chatbot-window {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 80px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-desc {
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}