body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
}

header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #333;
}

nav a.active {
    color: #4ecdc4;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.social-icons a {
    display: inline-block;
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.social-icons a:hover {
    opacity: 1;
}

.icon {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
    grid-auto-flow: row dense;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specific grid positioning to match the reference layout */
.portfolio-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}

.portfolio-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.portfolio-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.portfolio-item:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
}

.portfolio-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2 / 4;
}

.portfolio-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}

.portfolio-item:nth-child(7) {
    grid-column: 3;
    grid-row: 3;
}

/* Make specific items taller */
.portfolio-item:nth-child(1),
.portfolio-item:nth-child(5) {
    min-height: 400px;
}

.portfolio-item:nth-child(2),
.portfolio-item:nth-child(3),
.portfolio-item:nth-child(4),
.portfolio-item:nth-child(6),
.portfolio-item:nth-child(7) {
    min-height: 190px;
}

footer {
    background: #fff;
    color: #666;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

/* Additional styles for service pages */
.page-header {
    text-align: center;
    padding: 3rem 1rem 2rem 1rem;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.services-detail {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.category:hover {
    transform: translateY(-5px);
}

.category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.category h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.category p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.category ul {
    list-style: none;
    padding: 0;
}

.category li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.category li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

/* Home page styles */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-primary {
    background: #4ecdc4;
    color: white;
}

.btn-primary:hover {
    background: #45b7aa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.services-overview {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.services-overview h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
}

.service-link:hover {
    text-decoration: underline;
}

/* Contact page styles */
.contact-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
}

.social-contact {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Pricing and additional styles */
.pricing-info,
.video-features,
.streaming-platforms,
.technical-specs,
.marketing-process,
.marketing-stats {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.pricing-grid,
.features-grid,
.platforms-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-card,
.feature,
.platform,
.stat {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.price-card.featured {
    border: 2px solid #4ecdc4;
    transform: scale(1.05);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #4ecdc4;
    margin: 1rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4ecdc4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 900px) {
    .navbar {
        padding: 1rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item:nth-child(n) {
        min-height: 280px;
    }
}