:root {
    /* Color Palette - Light Mode (Kinetic Precision) */
    --bg-color: #ffffff;
    --text-color: #0F172A;
    --text-muted: #64748B;
    --primary-color: #0067FF; /* Talya Blue */
    --primary-hover: #0055d5;
    --accent-color: #00E0FF; /* Electric */
    --card-bg: #E7F6FF; /* Ice Blue Surface */
    --border-color: #dae2fd;
    --navbar-bg: rgba(255, 255, 255, 0.85);
    --footer-bg: #0F172A;
    --footer-text: #dae2fd;
    --icon-invert: 0;
    --nav-active-dot: #0067FF;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: 0 10px 25px -5px rgba(0, 103, 255, 0.15); /* Primary glow hover */
    --border-radius: 8px; /* Kinetic base radius */
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Glassmorphism */
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    /* Color Palette - Dark Mode (Kinetic Precision) */
    --bg-color: #0F172A; /* Slate Navy */
    --text-color: #dae2fd;
    --text-muted: #c2c6d8;
    --primary-color: #0067FF;
    --primary-hover: #3385ff;
    --accent-color: #00E0FF;
    --card-bg: #171f33; /* Surface Container */
    --border-color: #283044;
    --navbar-bg: rgba(15, 23, 42, 0.7);
    --footer-bg: #060e20;
    --footer-text: #c2c6d8;
    --icon-invert: 1;
    --nav-active-dot: #00E0FF;
    
    --shadow-lg: 0 0 25px rgba(0, 103, 255, 0.25); /* Stronger glow in dark */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color var(--transition), color var(--transition);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.highlight {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-3px);
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 103, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.scroll-to-top:hover {
    background: #0055d5;
    transform: translateY(-3px) scale(1.05);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0284c7);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: var(--text-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Logo switching */
.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}
.dark-logo {
    display: none;
}
[data-theme="dark"] .light-logo {
    display: none;
}
[data-theme="dark"] .dark-logo {
    display: inline-block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--navbar-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: -1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}
.nav-links a.active {
    color: var(--primary-color);
    position: relative;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--nav-active-dot);
}

.hamburger {
    display: none;
}

/* Custom GTranslate Select */
.gtranslate_wrapper select {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 35px !important;
}

.gtranslate_wrapper select:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.gtranslate_wrapper select option {
    background: #0F172A;
    color: #ffffff;
}

[data-theme="light"] .gtranslate_wrapper select option {
    background: #ffffff;
    color: #0F172A;
}

[data-theme="light"] .gtranslate_wrapper select {
    color: #0F172A;
    border-color: rgba(0, 0, 0, 0.2);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F172A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
}

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

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(14, 165, 233, 0.3);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.2);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 30px) scale(1.1); }
}

.hero-container {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 165, 233, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card, .project-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition);
    border: none;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Projects Grid & Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(0, 103, 255, 0.4);
}

.project-img-wrapper {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
    background: #0f172a;
}

.project-img {
    width: 100%;
    height: 100%;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img img {
    transform: scale(1.06);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.project-main-text {
    flex: 1;
}

.project-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.4;
}

.project-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.3em;
}

/* Action Buttons Bar */
.project-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.btn-card {
    flex: 1;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
    font-family: inherit;
}

.btn-card-details {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border-color: var(--border-color);
}
.btn-card-details:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--primary-color);
    color: var(--text-color);
}

.btn-card-demo {
    background: rgba(0, 103, 255, 0.12);
    color: var(--primary-color);
    border-color: rgba(0, 103, 255, 0.3);
}
.btn-card-demo:hover {
    background: var(--primary-color);
    color: white;
}

.btn-card-buy {
    background: linear-gradient(135deg, #0067FF, #00C6FF);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 103, 255, 0.25);
}
.btn-card-buy:hover {
    background: linear-gradient(135deg, #0055d5, #00a8dc);
    box-shadow: 0 6px 16px rgba(0, 103, 255, 0.4);
    transform: translateY(-2px);
}

/* Modal Popups */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.custom-modal.active .modal-box {
    transform: scale(1);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--card-bg);
    z-index: 10;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
    color: var(--text-color);
}

.modal-footer {
    padding: 18px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

/* Demo Info Styles */
.demo-box {
    background: rgba(0, 103, 255, 0.06);
    border: 1px solid rgba(0, 103, 255, 0.2);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
}

.demo-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.demo-field-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.demo-field-value {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-copy {
    background: rgba(0, 103, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 103, 255, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

.demo-note-box {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Contact form highlight pulse */
@keyframes formPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 103, 255, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(0, 103, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 103, 255, 0); }
}

.contact-card-highlight {
    animation: formPulse 1.2s 2 ease-in-out;
    border-color: var(--primary-color) !important;
}


/* References Section Redesign */
.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 103, 255, 0.35);
}

.ref-slider-container {
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.ref-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    padding-top: 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    cursor: grab;
    user-select: none;
}

.ref-slider::-webkit-scrollbar {
    display: none; /* Hide blue scrollbar in Chrome, Safari, Opera */
}

.ref-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 !important;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 20px !important;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}

.ref-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 103, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 103, 255, 0.18);
}

/* Browser Frame Mockup */
.browser-frame {
    background: rgba(15, 23, 42, 0.06);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .browser-frame {
    background: rgba(0, 0, 0, 0.4);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-address-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .browser-address-bar {
    background: rgba(255, 255, 255, 0.06);
}

.ref-img-wrapper {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ref-card:hover .ref-img-wrapper img {
    transform: scale(1.08);
}

.ref-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,103,255,0.15) 0%, rgba(15,23,42,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-badge {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 103, 255, 0.5);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.ref-card:hover .overlay-badge {
    transform: translateY(0);
}

.ref-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ref-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.ref-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ref-tag-badge {
    background: rgba(0, 103, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid rgba(0, 103, 255, 0.2);
}


/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.icon-large {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Section */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--glass-shadow);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-list {
    list-style: none;
    margin-top: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

[data-theme="dark"] .form-group input, [data-theme="dark"] .form-group textarea {
    background: rgba(0, 0, 0, 0.2);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive & Mobile Fixes */
@media (max-width: 900px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .about-container, .contact-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .glass-panel {
        padding: 30px 18px;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .ref-card {
        flex: 0 0 270px;
    }

    .nav-container {
        padding: 8px 15px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    
    .nav-right {
        display: contents;
    }

    .logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .logo-img {
        width: 140px;
        max-width: 100%;
        height: auto !important;
        object-fit: contain;
    }

    .gtranslate_wrapper {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .gtranslate_wrapper select {
        padding: 4px 22px 4px 8px !important;
        font-size: 0.8rem !important;
        background-position: right 6px center !important;
        width: 85px !important;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    
    /* Navbar */
    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-color);
        z-index: 1001;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links li:last-child {
        margin-left: 0 !important;
    }

    /* Scroll To Top & Theme Toggle */
    .scroll-to-top {
        bottom: 20px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
    .theme-toggle {
        bottom: 70px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
    .hero-title {
        font-size: 2.2rem;
        word-break: break-word;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .slider-controls {
        align-self: flex-end;
    }
}

