/* Colors */
:root {
    --primary: #e11d48;
    --dark: #111827;
    --gray: #4b5563;
    --light: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f8fafc;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: background 0.3s;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-wrapper {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0;
    color: #111827;
    width: 100%;
    height: 100%;
}

.text {
    color: inherit;
    white-space: pre;
}

/* Cursor */
.cursor {
    color: #e11d48;
    font-size: 1.8rem;
    line-height: 1;
    animation: blink 1.1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hover */
.logo:hover .text {
    color: #e11d48;
}

.logo:hover .cursor {
    color: #111827;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: block;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.primary-btn:hover {
    background: transparent;
    color: var(--primary);
}

.secondary-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.secondary-btn:hover {
    background: var(--primary);
    color: white;
}

/* Home Section  */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    padding: 0 5%;
    align-items: center;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text h2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 1rem;
}

.hero-text p{
    width: 90%;
    margin-bottom: 20px;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 8px solid white;
    margin-top: -20%;
}

/* About Section */
.about-container {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 5rem 5rem 6rem;
    background-color: white;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 8px solid white;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.82;
    color: #4b5563;
    text-align: justify;
}

.highlight {
    background: rgba(225, 29, 72, 0.05);
    padding: 1rem 1rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    margin: 2.5rem 0;
    font-style: italic;
    font-weight: 500;
}

.about-content .btn {
    margin-top: 1.5rem;
    padding: 1rem 2.6rem;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .about-image img {
        max-width: 380px;
        margin: 0 auto;
    }
}

/* Services */
.services-container {
    width: 100%;
    height: fit-content;
    margin: 0 auto;
    padding: 5rem 5rem 6rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.service-card .icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* CONTACT SECTION */
.contact-container {
    width: 100%;
    margin: 0 auto;
    padding: 4rem 8rem;
    background: white;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    margin-top: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 4px;
}

.contact-item h4 {
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.contact-item a,
.contact-item p {
    color: var(--gray);
}

.contact-social h4 {
    margin-bottom: 1.2rem;
    color: var(--dark);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1.4rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.3rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

.contact-form textarea {
    resize: none;
    height: 80px;
}

.contact-form button {
    padding: 1rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 1rem 2rem 2rem;
}

.copyright {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Mobile View */
@media (max-width: 900px) {
    .hero {
        padding-top: 90px;
        min-height: calc(100vh - 90px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-image img {
        max-width: 320px;
        margin: 0 auto;
    }

    .nav-links {
        display: none;
    }
}

/* Mobile responsive */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .section-subtitle {
        font-size: 1.05rem;
    }
}