/*
Theme Name: Alejandro Portfolio
Theme URI:
Author: Alejandro Silva
Author URI:
Description: A modern portfolio theme for Alejandro Silva - Web Developer
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alejandro-portfolio
*/

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0f172a;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

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

.logo img {
    height: 30px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.hero-text {
    /* Animation handled by GSAP */
}

.hero-greeting {
    display: inline-block;
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 32px;
    max-width: 500px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.6s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Animation handled by GSAP */
}

.hero-image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero-shape {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shape-inner {
    width: 85%;
    height: 85%;
    background: var(--bg-white);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    animation: morphing 8s ease-in-out infinite reverse;
}

@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SECTIONS COMMON ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-light);
}

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

.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image lottie-player {
    display: block;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
}

.about-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.about-decoration-1 {
    top: -30px;
    left: -30px;
}

.about-decoration-2 {
    bottom: -30px;
    right: -30px;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.skill-tag {
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== LOGO CAROUSEL SECTION ===== */
.logo-carousel {
    padding: 100px 24px;
}

.logo-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    background: #1A1A1A;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    clip-path: inset(0 0 0 0 round 24px);
}

/* Fade edges */
.logo-carousel-container::before,
.logo-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #1A1A1A, transparent);
}

.logo-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #1A1A1A, transparent);
}

.logo-carousel-row {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    will-change: transform;
}

.logo-carousel-item {
    flex-shrink: 0;
}

.logo-carousel-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-carousel {
        padding: 60px 0;
    }

    .logo-carousel-container {
        gap: 24px;
    }

    .logo-carousel-row {
        gap: 32px;
    }

    .logo-carousel-item img {
        height: 50px;
    }

    .logo-carousel-container::before,
    .logo-carousel-container::after {
        width: 50px;
    }
}

/* ===== WHAT I DO SECTION ===== */
.what-i-do {
    background: var(--bg-white);
}

.what-i-do-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.what-i-do-text .section-label {
    display: inline-block;
    margin-bottom: 12px;
}

.what-i-do-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.what-i-do-description {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 32px;
    line-height: 1.7;
}

.what-i-do-list {
    margin-bottom: 32px;
}

.what-i-do-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.what-i-do-list .list-icon {
    width: 32px;
    height: 32px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.what-i-do-list .list-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary-color);
}

.what-i-do-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.what-i-do-animation lottie-player {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--bg-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.project-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-content {
    padding: 28px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    font-weight: 500;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-link:hover {
    text-decoration: underline;
}

.project-view-more {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.project-card:hover .project-view-more {
    transform: translateX(5px);
}

/* ===== SINGLE PROJECT PAGE ===== */
.project-single {
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.project-single-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.project-single-image {
    max-width: 350px;
}

.project-single-header {
    margin-bottom: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.project-single-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.project-single-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-single-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.project-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-single-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.project-single-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.project-single-description h2 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
}

.project-single-description h3 {
    font-size: 1.375rem;
    color: var(--secondary-color);
    margin: 32px 0 16px;
}

.project-single-description p {
    margin-bottom: 20px;
}

.project-single-description ul,
.project-single-description ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.project-single-description li {
    margin-bottom: 10px;
}

.project-single-description img {
    border-radius: 12px;
    margin: 30px 0;
}

.project-single-sidebar {
    position: sticky;
    top: 100px;
}

.project-single-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-single-links .btn {
    justify-content: center;
}

@media (max-width: 992px) {
    .project-single-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-single-sidebar {
        position: static;
    }

    .project-single-links {
        flex-direction: row;
    }

    .project-single-title {
        font-size: 2.25rem;
    }

    .project-single-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .project-single {
        padding-top: 100px;
    }

    .project-single-title {
        font-size: 1.75rem;
    }

    .project-single-links {
        flex-direction: column;
    }
}

/* Project Highlight Section */
.project-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.project-highlight-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.project-highlight-text .highlight-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.project-highlight-text .highlight-content p {
    margin-bottom: 16px;
}

.project-highlight-media img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-highlight-media lottie-player {
    width: 100%;
    max-width: 500px;
    height: auto;
}

@media (max-width: 992px) {
    .project-highlight {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-highlight-media {
        order: -1;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--secondary-color);
    color: white;
}

.contact .section-label {
    color: rgba(255, 255, 255, 0.6);
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-details a:hover {
    color: white;
}

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

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

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

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* CF7 on portfolio page (dark background) */
.contact-form .wpcf7-form .form-group {
    margin-bottom: 24px;
}

.contact-form .wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form .wpcf7-form input:focus,
.contact-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form .wpcf7-form input::placeholder,
.contact-form .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

.contact-form .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

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

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

/* ===== HOMEPAGE - HERO ===== */
.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 0;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;   /* left = text, right = laptop — increase 1.4 to give laptop more space */
    gap: 60px;
    align-items: center;
}

.home-hero-text {
    text-align: left;
}

.home-hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.home-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.home-hero-description {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 32px;
}

.typewriter-wrapper {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 24px;
    min-height: 2rem;
}

.typewriter-cursor {
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.home-hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.home-hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.home-hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Laptop Mockup — CSS-only MacBook style */
.laptop-mockup {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* Screen / Lid */
.laptop-lid {
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    padding: 8px 8px 6px;
    border: 2px solid #2a2a2a;
    border-bottom: none;
    position: relative;
}

.laptop-camera {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #2a3a4a 30%, #1a1a1a 100%);
    border-radius: 50%;
    margin: 0 auto 6px;
}

.laptop-screen-inner {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
    background: #0f172a;
    position: relative;
}

.laptop-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
}

.laptop-slide.active,
.laptop-slide.exit {
    transition: transform 0.6s ease;
}

.laptop-slide.active {
    transform: translateX(0);
}

.laptop-slide.exit {
    transform: translateX(-100%);
}

.laptop-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.laptop-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    gap: 12px;
    background: #0f172a;
}

.laptop-placeholder svg {
    stroke: rgba(255, 255, 255, 0.3);
}

.laptop-placeholder span {
    font-size: 0.85rem;
}

/* Bottom edge / hinge */
.laptop-bottom-edge {
    width: 110%;
    margin-left: -5%;
    height: 14px;
    background: linear-gradient(to bottom, #c0c0c0, #a0a0a0);
    border-radius: 0 0 8px 8px;
    border: 1px solid #888;
    border-top: 1px solid #b0b0b0;
    position: relative;
}

.laptop-bottom-edge::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #888;
    border-radius: 0 0 4px 4px;
}

.hero-caption {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== HOMEPAGE - SERVICES ===== */
.home-services {
    padding: 100px 0;
    background: #ffffff;
}

/* Services Accordion */
.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    border-bottom: 1px solid var(--border-color);
}

.service-item:first-child {
    border-top: 1px solid var(--border-color);
}

.service-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-item-header:hover {
    background: rgba(37, 99, 235, 0.03);
}

.service-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon,
.service-item.active .service-icon {
    background: var(--primary-color);
}

.service-icon svg {
    stroke: var(--primary-color);
    transition: stroke 0.3s ease;
}

.service-item:hover .service-icon svg,
.service-item.active .service-icon svg {
    stroke: #fff;
}

.service-item-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.service-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 8px 0 60px;
}

.service-item.active .service-item-body {
    max-height: 200px;
    padding: 0 8px 20px 60px;
}

.service-item-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== SERVICES LAYOUT WITH IPHONE ===== */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.services-phone-mockup {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 120px;
    padding: 0 20px;
}

/* iPhone Mockup */
.iphone-mockup {
    width: 260px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 6px;
    border: 3px solid #2a2a2a;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
}

.iphone-screen {
    width: 100%;
    aspect-ratio: 9/18;
    overflow: hidden;
    border-radius: 34px;
    background: #0f172a;
    position: relative;
}

.iphone-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 28px;
    position: relative;
    z-index: 2;
    background: #F3EFE9;
}

.iphone-status-left,
.iphone-status-right {
    flex: 1;
    height: 100%;
    background: #F3EFE9;
    display: flex;
    align-items: center;
}

.iphone-status-left {
    border-radius: 34px 0 0 0;
    padding-left: 34px;
}

.iphone-status-right {
    border-radius: 0 34px 0 0;
    justify-content: flex-end;
    gap: 4px;
    padding-right: 24px;
}

.iphone-time {
    font-size: 9px;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.02em;
    font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.iphone-signal,
.iphone-wifi,
.iphone-battery {
    display: block;
    flex-shrink: 0;
}

.iphone-dynamic-island {
    width: 72px;
    height: 18px;
    background: #000;
    border-radius: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
}

.iphone-dynamic-island::after {
    content: '';
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #060f1d 30%, #1a2d4a 100%);
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(100, 160, 255, 0.4);
}

.iphone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-top: -8px;
}

.iphone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    gap: 12px;
    padding: 20px;
    text-align: center;
}

.iphone-placeholder svg {
    stroke: rgba(255, 255, 255, 0.3);
}

.iphone-placeholder span {
    font-size: 0.8rem;
}

/* ===== HOMEPAGE - PORTFOLIO SHOWCASE ===== */
.home-showcase {
    padding: 100px 0;
    background: #F8F8F8;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.showcase-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/10;
    background: var(--bg-white);
}

.showcase-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.showcase-item.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 2px dashed var(--border-color);
}

.placeholder-content {
    text-align: center;
    color: var(--text-light);
}

.placeholder-content svg {
    stroke: var(--border-color);
    margin-bottom: 10px;
}

.placeholder-content span {
    display: block;
    font-size: 0.85rem;
}

.showcase-info h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.showcase-info > p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.7;
}

.showcase-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.showcase-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-color);
}

.showcase-benefits svg {
    flex-shrink: 0;
    stroke: var(--primary-color);
    margin-top: 2px;
}

/* ===== HOMEPAGE - AUTOMATION ===== */
.home-automation {
    padding: 100px 0;
    background: #F8F8F8;
}

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

.automation-diagram {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-node {
    width: 60px;
    height: 60px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: all 0.3s ease;
}

.auto-node svg {
    stroke: var(--text-light);
}

.auto-node.node-center {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    z-index: 2;
}

.auto-node.node-center span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.auto-node.node-1 { top: 20px; left: 50%; transform: translateX(-50%); }
.auto-node.node-2 { right: 40px; top: 50%; transform: translateY(-50%); }
.auto-node.node-3 { bottom: 20px; left: 50%; transform: translateX(-50%); }

.auto-line {
    position: absolute;
    background: var(--border-color);
}

.auto-line.line-1 {
    width: 2px;
    height: 60px;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.auto-line.line-2 {
    width: 80px;
    height: 2px;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
}

.auto-line.line-3 {
    width: 2px;
    height: 60px;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.automation-text .section-title {
    text-align: left;
}

.automation-text > p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 24px;
}

.automation-list {
    list-style: none;
    margin-bottom: 32px;
}

.automation-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.automation-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.automation-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.automation-list li strong {
    color: var(--secondary-color);
}

.automation-cta {
    text-align: center;
    margin-top: 48px;
    padding: 48px 32px;
    border-top: 1px solid var(--border-color);
}

.automation-cta-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.automation-cta .btn {
    padding: 20px 48px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
    transition: all 0.3s ease;
}

.automation-cta .btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 36px rgba(37, 99, 235, 0.55);
}

/* ===== HOMEPAGE - PRICING ===== */
.home-pricing {
    padding: 100px 0;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.pricing-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.price-amount.custom {
    font-size: 1.75rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.pricing-features svg {
    flex-shrink: 0;
    stroke: var(--primary-color);
}

.pricing-btn {
    width: 100%;
    justify-content: center;
}

/* ===== HOMEPAGE - CONTACT FORM ===== */
.home-contact {
    padding: 100px 0;
    background: #F2F2F2;
}

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

.home-contact-info h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.contact-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-color);
}

.contact-benefits svg {
    flex-shrink: 0;
    stroke: var(--primary-color);
}

.contact-direct {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.contact-direct p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: var(--secondary-color);
}

.contact-email svg {
    stroke: currentColor;
}

.home-contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-home .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.contact-form-home label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-form-home input,
.contact-form-home select,
.contact-form-home textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-light);
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-form-home input:focus,
.contact-form-home select:focus,
.contact-form-home textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form-home input::placeholder,
.contact-form-home textarea::placeholder {
    color: var(--text-light);
}

.contact-form-home select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 44px;
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

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

    .home-hero-text {
        text-align: center;
    }

    .home-hero-buttons {
        justify-content: center;
    }

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

    .home-hero-image {
        order: -1;
    }

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

    .home-hero-stats {
        gap: 30px;
    }

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

    .services-phone-mockup {
        position: static;
        order: -1;
    }

    .iphone-mockup {
        width: 220px;
    }

    .iphone-signal {
        width: 8px;
        height: 6px;
    }

    .iphone-wifi {
        width: 7px;
        height: 6px;
    }

    .iphone-battery {
        width: 12px;
        height: 6px;
    }

    .iphone-time {
        font-size: 7px;
    }

    .iphone-status-left {
        padding-left: 24px;
    }

    .iphone-status-right {
        padding-right: 14px;
        gap: 3px;
    }

    .showcase-content,
    .automation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-gallery {
        order: -1;
    }

    .showcase-item:first-child {
        grid-column: span 1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

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

@media (max-width: 768px) {
    .home-hero {
        padding-top: 120px;
    }

    .home-hero-title {
        font-size: 2rem;
    }

    .home-hero-description {
        font-size: 1.1rem;
    }

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

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

    .contact-form-home .form-row {
        grid-template-columns: 1fr;
    }

    .home-contact-form {
        padding: 24px;
    }

    .btn-large {
        padding: 16px 28px;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #080c14;
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content,
    .what-i-do-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .what-i-do-animation {
        order: -1;
    }

    .what-i-do-text .section-title {
        text-align: center;
    }

    .what-i-do-text .section-label {
        display: block;
        text-align: center;
    }

    .what-i-do-description {
        text-align: center;
    }

    .what-i-do-text .btn {
        display: block;
        text-align: center;
    }

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

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        width: 300px;
        height: 300px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .hero {
        padding-top: 140px;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 24px;
    }
}


/* ===== CONTACT PAGE TEMPLATE ===== */
.contact-page {
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: 100vh;
    background: var(--bg-light);
}

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

.contact-page-lottie {
    margin-bottom: 40px;
}

.contact-page-lottie lottie-player {
    width: 100%;
    max-width: 250px;
    height: auto;
}

.contact-page-info {
    padding: 30px;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-page-info h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.contact-page-info .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-page-info .contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-page-info .contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.contact-page-info .contact-details p,
.contact-page-info .contact-details a {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.contact-page-info .social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.contact-page-info .social-link {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-page-info .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-page-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* ===== CONTACT FORM 7 STYLES ===== */
.home-contact-form .wpcf7-form .form-row,
.contact-page-form-wrapper .wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.home-contact-form .wpcf7-form .form-group,
.contact-page-form-wrapper .wpcf7-form .form-group {
    margin-bottom: 20px;
}

.home-contact-form .wpcf7-form label,
.contact-page-form-wrapper .wpcf7-form label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.home-contact-form .wpcf7-form input[type="text"],
.home-contact-form .wpcf7-form input[type="email"],
.home-contact-form .wpcf7-form select,
.home-contact-form .wpcf7-form textarea,
.contact-page-form-wrapper .wpcf7-form input[type="text"],
.contact-page-form-wrapper .wpcf7-form input[type="email"],
.contact-page-form-wrapper .wpcf7-form select,
.contact-page-form-wrapper .wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-light);
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.home-contact-form .wpcf7-form input:focus,
.home-contact-form .wpcf7-form select:focus,
.home-contact-form .wpcf7-form textarea:focus,
.contact-page-form-wrapper .wpcf7-form input:focus,
.contact-page-form-wrapper .wpcf7-form select:focus,
.contact-page-form-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.home-contact-form .wpcf7-form input::placeholder,
.home-contact-form .wpcf7-form textarea::placeholder,
.contact-page-form-wrapper .wpcf7-form input::placeholder,
.contact-page-form-wrapper .wpcf7-form textarea::placeholder {
    color: var(--text-light);
}

.home-contact-form .wpcf7-form select,
.contact-page-form-wrapper .wpcf7-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 44px;
}

.home-contact-form .wpcf7-form textarea,
.contact-page-form-wrapper .wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

.home-contact-form .wpcf7-form input[type="submit"],
.contact-page-form-wrapper .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-contact-form .wpcf7-form input[type="submit"]:hover,
.contact-page-form-wrapper .wpcf7-form input[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.wpcf7-response-output {
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 0.9rem;
    margin: 16px 0 0 !important;
}

.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .home-contact-form .wpcf7-form .form-row,
    .contact-page-form-wrapper .wpcf7-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .contact-page-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-page-lottie {
        text-align: center;
    }

    .contact-page-lottie lottie-player {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding-top: 100px;
    }

    .contact-page-form-wrapper {
        padding: 24px;
    }
}
