:root {
    /* Color Variables */
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --black: #000000;
    
    /* Designs */
    --border-radius: 10px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

/* Global Styles */
/* 1 rem = 16px */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

.highlight {
    color: var(--primary-color);
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-top: 4.5rem;
    margin-bottom: auto;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

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

.btn--primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.btn--secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.navlist {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navlink {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.navlink::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.navlink:hover::after,
.navlink.active::after {
    width: 100%;
}

.navlink.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* HERO SECTION */
.hero {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 70%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1));
    z-index: 1;
    opacity: 0.8;
    animation: pulse 1.5s infinite;
}

.hero-img {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    max-width: 70%;
}

.hero-image:hover .hero-img {
    transform: scale(0.9);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.wave {
    animation: wave 2s infinite;
    display: inline-block;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding: 0 2rem;
}

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

.about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 60%;
    width: 200px;
    height: 20%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.about-description {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.detail-value {
    font-weight: 500;
}

.detail-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

/* SKILLS SECTION */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.skills-category {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.skills-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.skill {
    margin-bottom: 1.5rem;
}

.skill-name {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.skill-level {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level span {
    display: block;
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
}

/* OFFER SECTION */
.offer-list {
    list-style: none;
    columns: 2;
    column-gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.offer-item {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.7;
}

.offer-item::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
}

.feature {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.feature::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* PROJECTS SECTION */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.project-image {
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.project-link:hover {
    background: var(--white);
    color: var(--primary-color);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #e5e7eb;
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    flex-grow: 1;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-position {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.info-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.info-link {
    transition: var(--transition);
}

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

.form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

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

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

.form-submit {
    width: 100%;
}

/* FOOTER SECTION */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-copyright {
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2.5rem; 
}

.social-link {
    transition: var(--transition);
}

.social-icon {
    width: 3rem;
    height: 1rem;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease; 
}

.social-icon:hover {
    transform: scale(1.2); 
    filter: brightness(0) invert(0.8);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        max-width: 40%;
        margin: 2rem auto;
    }

    .hero-content {
        order: 2;
        text-align: center;
        max-width: 100%;
    }

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

    .about-text {
        text-align: center;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .offer-list {
        columns: 1;
    }

    .contact-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .navlist {
        gap: 1rem;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .navlist {
        flex-direction: row;
        align-items: center;
        gap: 0.625rem;
    }

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

    .btn {
        width: 100%;
    }

    .logo {
        overflow: hidden;
        display: none; 
    }

    .form {
        padding: 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr; 
        text-align: center; 
    }

    .hero-content {
        max-width: 70%; 
        margin: 0 auto; 
    }

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

    .hero-subtitle {
        font-size: 1.125rem; 
        margin-bottom: 1.5rem; 
    }

    .hero-buttons {
        flex-direction: column; 
        gap: 1rem; 
        align-items: center; 
    }

    .hero-image {
        max-width: 80%; 
        margin: 1.5rem auto 0; 
    }

    .hero-img {
        max-width: 70%; 
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem; 
    }

    .info-card {
        flex-direction: column; 
        text-align: center; 
    }

    .info-title {
        font-size: 1rem; 
    }

    .info-link {
        font-size: 0.875rem; 
    }
}