/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #C85A3A;
    --secondary-color: #8B6F47;
    --accent-color: #A67C52;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    align-items: center;
    text-align: center;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a4a4a;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 400;
    color: #4a4a4a;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-top: 0.1rem;
    text-transform: uppercase;
    text-align: center;
}

.nav-logo:hover .logo-main,
.nav-logo:hover .logo-sub {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.hero-logo-main {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: lowercase;
    color: white;
    text-align: center;
}

.hero-logo-sub {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-top: 0;
    color: white;
    text-transform: lowercase;
    text-align: center;
}

.hero-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: normal;
    animation: fadeInUp 0.8s ease 0.1s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
}

.about-main {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-top: 1.5rem;
}

.about-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.about-roles {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

/* Services Section */
.services {
    background-color: var(--bg-white);
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-details {
    list-style: none;
    margin-top: auto;
}

.service-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Roles Covered Section */
.roles-section {
    background-color: var(--bg-light);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.role-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.role-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.role-item span {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

/* Skills Section */
.skills {
    background-color: var(--bg-white);
}

.skills-compact {
    max-width: 900px;
    margin: 0 auto;
}

.skills-compact .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.skill-tag {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Experience Section */
.experience {
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-header {
    margin-bottom: 1.5rem;
}

.timeline-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.company {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.date {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contract-clients {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.timeline-details {
    list-style: none;
}

.timeline-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.timeline-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Certifications Section */
.certifications {
    background-color: var(--bg-white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cert-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cert-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Projects Section */
.projects {
    background-color: var(--bg-light);
}

.projects-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Brand-specific project card styling */
.project-ovo {
    border-top: 4px solid #4CAF50;
}

.project-ovo .project-header {
    border-bottom-color: rgba(76, 175, 80, 0.2);
}

.project-ovo .project-type {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.project-ovo .project-link {
    color: #4CAF50;
}

.project-ovo .project-link:hover {
    color: #2E7D32;
}

.project-ovo:hover {
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.15);
}

.project-greatstate {
    border-top: 4px solid #00ACC1;
}

.project-greatstate .project-header {
    border-bottom-color: rgba(0, 172, 193, 0.2);
}

.project-greatstate .project-type {
    background-color: rgba(0, 172, 193, 0.1);
    color: #00838F;
}

.project-greatstate .project-link {
    color: #00ACC1;
}

.project-greatstate .project-link:hover {
    color: #00838F;
}

.project-greatstate:hover {
    box-shadow: 0 10px 25px rgba(0, 172, 193, 0.15);
}

.project-pixelprana {
    border-top: 4px solid #7B2CBF;
}

.project-pixelprana .project-header {
    border-bottom-color: rgba(123, 44, 191, 0.2);
}

.project-pixelprana .project-type {
    background-color: rgba(123, 44, 191, 0.1);
    color: #5A189A;
}

.project-pixelprana .project-link {
    color: #7B2CBF;
}

.project-pixelprana .project-link:hover {
    color: #5A189A;
}

.project-pixelprana:hover {
    box-shadow: 0 10px 25px rgba(123, 44, 191, 0.15);
}

.project-creativesteam {
    border-top: 4px solid #FF6B35;
}

.project-creativesteam .project-header {
    border-bottom-color: rgba(255, 107, 53, 0.2);
}

.project-creativesteam .project-type {
    background-color: rgba(255, 107, 53, 0.1);
    color: #D84315;
}

.project-creativesteam .project-link {
    color: #FF6B35;
}

.project-creativesteam .project-link:hover {
    color: #D84315;
}

.project-creativesteam:hover {
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
}

.project-hallam {
    border-top: 4px solid #1976D2;
}

.project-hallam .project-header {
    border-bottom-color: rgba(25, 118, 210, 0.2);
}

.project-hallam .project-type {
    background-color: rgba(25, 118, 210, 0.1);
    color: #1565C0;
}

.project-hallam .project-link {
    color: #1976D2;
}

.project-hallam .project-link:hover {
    color: #1565C0;
}

.project-hallam:hover {
    box-shadow: 0 10px 25px rgba(25, 118, 210, 0.15);
}

/* Brand-specific tech tag styling */
.project-ovo .tech-tag:hover {
    background-color: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
    color: #2E7D32;
}

.project-greatstate .tech-tag:hover {
    background-color: rgba(0, 172, 193, 0.1);
    border-color: #00ACC1;
    color: #00838F;
}

.project-pixelprana .tech-tag:hover {
    background-color: rgba(123, 44, 191, 0.1);
    border-color: #7B2CBF;
    color: #5A189A;
}

.project-creativesteam .tech-tag:hover {
    background-color: rgba(255, 107, 53, 0.1);
    border-color: #FF6B35;
    color: #D84315;
}

.project-hallam .tech-tag:hover {
    background-color: rgba(25, 118, 210, 0.1);
    border-color: #1976D2;
    color: #1565C0;
}

.project-unidays {
    border-top: 4px solid #000000;
}

.project-unidays .project-header {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

.project-unidays .project-type {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.project-unidays .project-link {
    color: #000000;
}

.project-unidays .project-link:hover {
    color: #333333;
}

.project-unidays:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-unidays .tech-tag:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: #000000;
    color: #000000;
}

.project-lovehoney {
    border-top: 4px solid #E6007E;
}

.project-lovehoney .project-header {
    border-bottom-color: rgba(230, 0, 126, 0.2);
}

.project-lovehoney .project-type {
    background-color: rgba(230, 0, 126, 0.1);
    color: #AD005A;
}

.project-lovehoney .project-link {
    color: #E6007E;
}

.project-lovehoney .project-link:hover {
    color: #AD005A;
}

.project-lovehoney:hover {
    box-shadow: 0 10px 25px rgba(230, 0, 126, 0.15);
}

.project-lovehoney .tech-tag:hover {
    background-color: rgba(230, 0, 126, 0.1);
    border-color: #E6007E;
    color: #AD005A;
}

.project-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.project-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-type {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    background-color: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.project-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.project-links {
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--secondary-color);
}

.project-link i {
    font-size: 0.9rem;
}

.projects-note {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    max-width: 800px;
    margin: 0 auto;
}

.projects-note p {
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.projects-note i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
    padding-top: 6rem;
    min-height: calc(100vh - 200px);
}

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.contact-photo-wrapper {
    flex-shrink: 0;
}

.contact-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.contact-header-text {
    max-width: 800px;
}

.contact-header-text .section-title {
    margin-bottom: 1.5rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form-container {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-white);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-optional {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
}

.checkbox-label:hover {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + span,
.checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
    font-weight: 600;
}

/* Postman Automation Section */
.postman-section {
    background: #FF6C37;
    color: white;
    padding: 4rem 0;
}

.postman-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.postman-logo {
    flex-shrink: 0;
}

.postman-logo svg {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.postman-header-content {
    flex: 1;
    min-width: 300px;
}

.postman-title {
    color: white;
    text-align: left;
    margin-bottom: 1.5rem;
}

.postman-title::after {
    background: white;
}

.postman-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
}

.postman-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.postman-feature-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.postman-feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
}

.postman-feature-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #FF6C37;
    font-size: 1.5rem;
}

.postman-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.postman-feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

.postman-use-cases {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.postman-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.postman-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.postman-use-case {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.postman-use-case:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.postman-use-case i {
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.postman-use-case span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

/* Playwright Automation Section */
.playwright-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0;
}

.playwright-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.playwright-code-example {
    margin-top: 1.5rem;
}

.playwright-header-content {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    box-sizing: border-box;
}

.playwright-logo {
    flex-shrink: 0;
}

.playwright-logo svg {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.playwright-title {
    color: white;
    text-align: left;
    margin-bottom: 1.5rem;
}

.playwright-title::after {
    background: white;
}

.playwright-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.playwright-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.playwright-feature-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.playwright-feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
}

.playwright-feature-icon {
    width: 60px;
    height: 60px;
    background-color: #45ba4d;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.playwright-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.playwright-feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

.playwright-code-example {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
}

.playwright-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.code-container {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
}

.code-container pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d4d4d4;
}

.code-container code {
    color: #d4d4d4;
    font-family: inherit;
}

/* Python syntax highlighting colors */
.code-container code .keyword {
    color: #569cd6;
}

.code-container code .string {
    color: #ce9178;
}

.code-container code .function {
    color: #dcdcaa;
}

.code-container code .comment {
    color: #6a9955;
}

.code-container code .number {
    color: #b5cea8;
}

.code-container code .class-name {
    color: #4ec9b0;
}

.playwright-use-cases {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.playwright-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.playwright-use-case {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.playwright-use-case:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.playwright-use-case i {
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.playwright-use-case span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-note {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-logo-main {
        font-size: 2.5rem;
    }
    
    .hero-logo-sub {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .roles-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline-marker {
        left: -1.75rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-header {
        flex-direction: column;
    }
    
    .contact-photo {
        width: 180px;
        height: 180px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .postman-header {
        flex-direction: column;
        text-align: center;
    }

    .postman-title {
        text-align: center;
    }

    .postman-features {
        grid-template-columns: 1fr;
    }

    .postman-use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .playwright-section {
        padding: 3rem 0 !important;
    }

    .playwright-section .container {
        padding: 0 1rem !important;
    }

    .playwright-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem !important;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .playwright-header-content {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0;
        box-sizing: border-box;
    }

    .playwright-logo {
        margin: 0 auto;
        flex-shrink: 0;
    }

    .playwright-title {
        text-align: center;
        font-size: 2rem !important;
    }

    .playwright-intro {
        font-size: 1rem !important;
        padding: 0;
        max-width: 100% !important;
        width: 100%;
        box-sizing: border-box;
    }

    .playwright-features {
        grid-template-columns: 1fr;
    }

    .playwright-use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .playwright-code-example {
        margin-top: 1.5rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .code-container {
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: auto;
        box-sizing: border-box;
    }
    
    .code-container pre {
        font-size: 0.8rem;
        padding: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
        max-width: 100%;
        box-sizing: border-box;
    }

    .code-container code {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-tagline {
        font-size: 1.1rem !important;
        padding: 0 1rem;
    }

    .client-logos-row {
        gap: 2rem !important;
        padding: 1.5rem 1rem !important;
    }

    .why-choose > .container > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem !important;
        letter-spacing: 0.05em !important;
    }

    .hero-tagline {
        font-size: 1rem !important;
    }

    .client-logos-row {
        gap: 1.5rem !important;
        padding: 1rem 0.5rem !important;
    }

    .hero-buttons .btn {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .playwright-section {
        padding: 2rem 0 !important;
    }

    .playwright-section .container {
        padding: 0 0.5rem !important;
    }

    .playwright-header {
        gap: 1rem !important;
        padding: 0;
        width: 100%;
    }

    .playwright-header-content {
        width: 100% !important;
        padding: 0;
    }

    .playwright-title {
        font-size: 1.75rem !important;
    }

    .playwright-intro {
        font-size: 0.95rem !important;
        padding: 0;
        width: 100%;
        line-height: 1.6 !important;
    }

    .playwright-code-example {
        padding: 0;
        width: 100%;
        margin-top: 1rem !important;
    }

    .code-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .code-container pre {
        font-size: 0.7rem !important;
        padding: 0.75rem !important;
        line-height: 1.5 !important;
    }

    .playwright-logo svg {
        width: 60px !important;
        height: 60px !important;
    }
}

