@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Inter-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Inter-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/Inter-800.ttf') format('truetype');
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary: #0052FF;
    --primary-dark: #0041CC;
    --accent: #00D4FF;
    --dark: #0A0B0D;
    --gray: #8B8D98;
    --light-bg: #F8F9FB;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background: #fff;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    max-width: 200px;
}

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

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

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

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

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

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

.cta-btn {
    background: var(--accent);
    color: var(--dark);
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0B0D 0%, #1a1b2e 100%);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 82, 255, 0.3), transparent);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    left: 0;
}

.grid-line.vertical {
    height: 100%;
    width: 1px;
    top: 0;
}

.floating-element {
    position: absolute;
    background: rgba(0, 82, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

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

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

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

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

.code-window {
    position: absolute;
    background: rgba(20, 21, 35, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: floatCode 6s ease-in-out infinite;
}

@keyframes floatCode {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-2deg); }
}

.code-window:nth-child(1) {
    top: 0;
    left: 0;
    width: 320px;
    animation-delay: 0s;
}

.code-window:nth-child(2) {
    top: 100px;
    right: 0;
    width: 280px;
    animation-delay: 1s;
}

.code-window:nth-child(3) {
    bottom: 50px;
    left: 50px;
    width: 300px;
    animation-delay: 2s;
}

.window-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

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

.dot:nth-child(1) { background: #FF5F56; }
.dot:nth-child(2) { background: #FFBD2E; }
.dot:nth-child(3) { background: #27C93F; }

.code-line {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.code-keyword { color: #FF6B9D; }
.code-string { color: #C3E88D; }
.code-function { color: #82AAFF; }
.code-comment { color: #676E95; }

/* Stats Section */
.stats {
    padding: 80px 40px;
    background: white;
    overflow-x: hidden;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
    width: 100%;
}

.stat-number {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 120px 40px;
    background: var(--light-bg);
    overflow-x: hidden;
}

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

.section-header h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

.service-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    transition: all 0.4s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-price {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-price span {
    font-size: 28px;
    display: block;
    margin-top: 4px;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 120px 40px;
    background: white;
    overflow-x: hidden;
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.portfolio-item {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
    transition: all 0.4s;
}

.portfolio-item:hover .portfolio-item-bg {
    filter: blur(12px);
    transform: scale(1.15);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
    transition: all 0.4s;
}

.portfolio-item:hover::before {
    background: linear-gradient(180deg, rgba(0,82,255,0.7) 0%, rgba(0,0,0,0.95) 100%);
}

.portfolio-logo {
    position: relative;
    z-index: 2;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%;
}

.portfolio-logo img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.95;
}



.portfolio-content {
    position: relative;
    padding: 32px;
    color: white;
    z-index: 2;
    transition: all 0.4s;
}

.portfolio-item h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.portfolio-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

/* Reviews Section - Sliding Animation */
.reviews {
    padding: 80px 0; /* Full width for slider */
    background: var(--light-bg);
    overflow-x: hidden;
}

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

.reviews-header h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
}

.reviews-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reviews-slider::before,
.reviews-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.reviews-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg), transparent);
}

.reviews-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg), transparent);
}

.reviews-track {
    display: flex;
    gap: 32px;
    width: max-content;
    /* Animation for sliding left to right */
    animation: scroll 40s linear infinite; 
    padding: 20px 0; /* Space for shadow */
}

/* Stop animation on hover */
.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(calc(-50% - 16px)); /* Start from half way (minus half gap) */
    }
    100% {
        transform: translateX(0); /* Move to 0 (Right direction) */
    }
}

.review-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: auto;
    display: flex;
    flex-direction: column;
    width: 400px; /* Fixed width for slider items */
    flex-shrink: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.review-stars {
    color: #FFB400;
    font-size: 16px;
    display: flex;
    gap: 2px;
}

.review-text {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    
    /* Truncate text */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.google-logo {
    width: 24px;
    height: 24px;
    margin-left: auto;
}

.google-link {
    text-decoration: none;
    color: inherit;
}

.google-link-container {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .reviews-header h2 {
        font-size: 36px;
    }
    .review-card {
        width: 300px;
        padding: 24px;
    }
}

/* Contact Section */
.contact {
    padding: 120px 40px;
    background: var(--dark);
    color: white;
    overflow-x: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.contact-info h2 {
    font-size: 56px;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.contact-detail {
    margin-bottom: 24px;
}

.contact-detail strong {
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

input, textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

/* Footer */
footer {
    padding: 60px 40px;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 11, 13, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: white;
    font-size: 32px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.3s; }

.mobile-menu a:hover {
    color: var(--accent);
}

/* Responsive - Mobile First */
@media (max-width: 768px) {
    .nav-container {
        padding: 16px 20px;
        width: 100%;
    }
    
    .logo {
        font-size: 18px;
        max-width: 150px;
    }
    
    .logo img {
        height: 32px;
        width: auto;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 36px;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-content p {
        font-size: 16px;
        text-align: center;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        height: 300px;
        display: none; /* Hide code windows on mobile for cleaner look */
    }
    
    .floating-element {
        display: none;
    }
    
    .stats {
        padding: 60px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .services, .portfolio, .contact {
        padding: 80px 20px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 32px 20px;
    }
    
    .service-card h3 {
        font-size: 24px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-item {
        height: 320px;
    }
    
    .portfolio-item h3 {
        font-size: 24px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2 {
        font-size: 36px;
        text-align: center;
    }
    
    .contact-info p {
        font-size: 16px;
        text-align: center;
    }
    
    .contact-detail {
        text-align: center;
    }
    
    .contact-form {
        padding: 32px 20px;
    }
    
    footer {
        padding: 40px 20px;
        font-size: 14px;
    }
    
    /* Mobile form fixes */
    input, textarea {
        max-width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        font-size: 15px;
        padding: 14px 24px;
    }
    
    .submit-btn {
        font-size: 15px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 56px;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
        margin: 0 auto;
    }
    
    .services-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Desktop refinements */
@media (min-width: 1025px) {
    .hamburger, .mobile-menu {
        display: none;
    }
}

/* Footer Section */
.footer-logo-text {
    font-size: 32px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #00D4FF 0%, #0052FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    letter-spacing: -1px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo-text:hover {
    transform: scale(1.05);
}
