:root {
    /* Modern Portfolio Theme Colors */
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --accent-hover-color: #533483;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --card-bg: #ffffff;
    --dark-text: #1e293b;
    --light-text: #f1f5f9;
    --gray-text: #64748b;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-family: 'Poppins', sans-serif;
    --section-padding: 6rem 0;
    --transition-speed: 0.3s;
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: var(--dark-text);
    background: var(--light-bg);
    font-weight: 400;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container {
    width: 90%;
    max-width: 1200px; /* Max width for large screens */
    margin: auto;
    overflow: hidden; /* Keep this for floats if any remain */
}
h1, h2, h3 {
     font-weight: 600; /* Bolder headings */
     color: var(--primary-color);
}

/* --- Header --- */
header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    backdrop-filter: blur(20px);
    color: var(--light-text);
    padding: 1.2rem 0;
    min-height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    transition: all var(--transition-speed) ease;
}

header.scrolled {
    padding: 0.8rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}
header a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    text-transform: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}
header a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}
header a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}
header a:hover::after {
    width: 100%;
}
header ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex; /* Use flex for nav items */
    align-items: center;
}
header li {
    padding: 0 1rem; /* Consistent padding */
}
/* Header branding styling */
header #branding h1 {
    margin: 0;
    padding: 0.2rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    text-transform: none;
    position: relative;
}
header .current a, header .current a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Header Buttons Container */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Language Toggle */
#language-toggle {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}
#language-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Language display logic (no change needed) */
html[lang="id"] .lang-en { display: none; }
html[lang="en"] .lang-id { display: none; }
html[lang="id"] .lang-id,
html[lang="en"] .lang-en {
    display: inline;
}

/* --- Hero Section --- */
#hero {
    background: url('https://res.cloudinary.com/dmxb07mkh/image/upload/v1748260007/banner_ekvpl6.jpg') no-repeat center center/cover;
    color: var(--light-text);
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
    z-index: 1;
}

/* Bottom gradient fade */
#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--light-bg) 0%, transparent 100%);
    z-index: 2;
}
#hero .container {
    position: relative;
    z-index: 3; /* Ensure content appears above overlays */
    width: 90%;
    max-width: 1200px;
}
#hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    text-transform: none;
    position: relative;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
#hero p {
    font-size: 1.35rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --- Section Base Styling --- */
section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

section:nth-child(odd) {
    background: var(--card-bg);
}
section h2 {
    text-align: center;
    font-size: 2.5rem;
    display: block;
    width: fit-content;
    margin: 0 auto 3rem auto; /* Top, Auto-Horizontal, Bottom, Auto-Horizontal */
    position: relative;
}
/* Optional: Add an underline to section titles */
section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
}


/* --- Contact Section --- */
#contact {
    background-color: #f0f7ff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.05);
    z-index: 0;
}

#contact::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.05);
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}
#contact .container {
    text-align: center;
    padding: 0 1rem;
}
/* Contact heading styles already inherited */
#contact .contact-intro {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#contact .contact-details {
    display: inline-block;
    background: white;
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    margin-top: 1rem;
    border: 1px solid rgba(0,0,0,0.03);
}

#contact .contact-details p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#contact .contact-details p:last-child {
    margin-bottom: 0;
}

#contact .contact-details a {
    color: var(--accent-color);
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

#contact .contact-details a:hover {
    color: var(--accent-hover-color);
    text-decoration: underline;
}
#contact .contact-details strong {
     font-weight: 600;
}
#contact .contact-details a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
#contact .contact-details a:hover {
    color: var(--accent-hover-color);
    text-decoration: underline;
}

/* Button styling */
.btn, .btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--secondary-color);
}

/* --- Services Section --- */
#services {
    background: #fff;
    color: var(--dark-text);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e7e7e7 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
}

#services {
    padding-bottom: 7rem; /* Increased bottom padding to ensure services aren't cut off */
}

#services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2-column layout for desktop */
    gap: 3.5rem; /* Increased gap between grid items */
    margin-top: 3rem;
    margin-bottom: 3rem; /* Added bottom margin to the grid */
    padding: 0.5rem; /* Add some padding around the entire grid */
}

/* Switch to 1 column on mobile devices */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1-column layout for mobile */
        gap: 2rem;
    }
    
    .service-box {
        padding: 2rem;
    }
}

.service-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0.5rem;
    backdrop-filter: blur(10px);
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.5s ease;
    opacity: 0.1;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.service-box:hover::before {
    height: 100%;
}

.service-box h3 {
    margin-top: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.service-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-box:hover h3::after {
    width: 60px;
}

.service-box p {
    margin-bottom: 0;
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 1rem;
}

/* --- Portfolio Section --- */
#portfolio {
    background: linear-gradient(to bottom, #fff, #f5f5f5);
    position: relative;
    z-index: 1;
    padding: 5rem 0;
    text-align: center;
    color: #555;
}

.portfolio-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2-column layout for desktop */
    gap: 3.5rem; /* Increased gap between grid items */
    margin-top: 2.5rem;
    padding: 0.5rem; /* Add some padding around the entire grid */
}

/* Switch to 1 column on mobile devices */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* 1-column layout for mobile */
        gap: 2.5rem;
    }
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0.5rem; /* Added margin around each item */
    border: 1px solid rgba(0,0,0,0.04);
}

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

.portfolio-image {
    padding: 2rem;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
    z-index: 1;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.95);
}

.portfolio-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.portfolio-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

.portfolio-meta {
    display: flex;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.portfolio-category {
    background-color: #e7f2ff;
    color: #0067cb;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    margin-right: 1rem;
}

.portfolio-year {
    background-color: #fff0e7;
    color: #ff5722;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.portfolio-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn, .hero-buttons .btn-primary, .hero-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0.3px;
    margin: 0.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: white;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(102, 126, 234, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(44, 62, 80, 0.1);
    color: var(--primary-color) !important;
    text-decoration: none;
}

/* Pricing Section Styles */
#pricing {
    background-color: var(--light-bg);
    padding: var(--section-padding);
}

.pricing-info {
    margin: 0 auto;
    max-width: 800px;
}

.pricing-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-top: 2rem;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-text);
    font-size: 1.1rem;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.pricing-list li:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: 600;
    color: var(--primary-color);
}

.price-value {
    font-weight: 600;
    color: var(--accent-color);
}

.negotiable {
    text-align: center;
    color: var(--gray-text);
    font-style: italic;
    margin: 1.5rem 0;
}

.contact-prompt {
    text-align: center;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

#start-now-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#start-now-btn:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-text);
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab-button.active {
    color: var(--accent-color);
}

.tab-button.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
}

.tab-button:hover {
    color: var(--accent-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Footer styles */
footer {
    background-color: var(--primary-color);
    color: white; /* Set the default text color for the footer to white */
    position: relative;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links h4, .footer-social h4 {
    color: white;
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

footer p {
    margin: 0;
    opacity: 0.9;
}

footer .copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-hover-color);
    text-decoration: underline;
}

/* Base transition for interactive elements */
a, button, .service-box {
    transition: all 0.3s ease-in-out;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Show mobile menu button on mobile */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block !important;
    }
    
    /* Hide desktop navigation on mobile */
    #main-nav {
        display: none;
    }
    
    /* Show navigation when active */
    #main-nav.active {
        display: block;
    }
}

/* Mobile-specific additions */
:root {
    -webkit-tap-highlight-color: rgba(231, 76, 60, 0.2); /* Light accent color tap highlight */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Fix mobile title clarity */
    #hero h1 {
        text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.4);
    }
    
    #hero p {
        text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    }
    
    /* Make all clickable elements more touch-friendly */
    a, button, input[type="submit"], .btn, select, .tab-button {
        min-height: 44px; /* Minimum touch target size */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    /* Typography for mobile */
    h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    p, li {
        font-size: 0.95rem;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 1.2rem;
    }
    
    /* Header adjustments */
    header {
        padding: 0.8rem 0;
    }
    
    header #branding h1 {
        font-size: 1.5rem;
        white-space: nowrap;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    }
    
    .header-buttons {
        position: relative;
        z-index: 1001; /* Above the mobile menu */
        gap: 0.75rem;
        margin-right: 0.5rem;
    }
    
    /* Mobile menu button */
    .mobile-menu-button {
        display: block !important;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        font-size: 1.2rem;
        backdrop-filter: blur(10px);
    }
    
    /* Mobile navigation */
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
        backdrop-filter: blur(20px);
        box-shadow: -5px 0 25px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 999;
        padding: 5rem 0 2rem;
        overflow-y: auto;
    }
    
    #main-nav.active {
        right: 0;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    header nav ul li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    header nav ul li a {
        color: rgba(255, 255, 255, 0.9);
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    header nav ul li.current a {
        color: white;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }
    
    header nav ul li a:hover {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        transform: translateX(5px);
    }
    
    /* Overlay for mobile menu */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Hero section */
    #hero {
        padding: 5rem 0 4rem;
    }
    
    #hero h1 {
        margin-bottom: 1.2rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        font-weight: 700;
        line-height: 1.2;
    }
    
    #hero p {
        max-width: 100%;
        margin-bottom: 1.5rem;
        font-size: 1rem;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
        align-items: center;
        justify-content: center;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Contact section adjustments */
    .contact-details {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .contact-info-item {
        margin-bottom: 1.2rem;
        width: 100%;
    }
    
    .cta-container {
        margin: 2rem 0;
        flex-direction: column;
    }
    
    .cta-container .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem auto;
    }
    
    /* Modal improvements for mobile */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 10px;
    }
    
    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.5rem;
    }
    
    #quote-form .form-group {
        margin-bottom: 1.2rem;
    }
    
    #quote-form input,
    #quote-form select,
    #quote-form textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
        border-radius: 5px;
    }
    
    .checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Footer adjustments */
    footer {
        padding: 2.5rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-nav a {
        padding: 0.5rem;
        width: 100%;
        display: block;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Portfolio section */
    .portfolio-grid {
        gap: 1.5rem;
    }
    
    .portfolio-item {
        margin-bottom: 1.5rem;
    }
    
    .portfolio-image {
        height: 180px;
    }
    
    .portfolio-content {
        padding: 1.2rem;
        min-height: auto;
    }
    
    /* Pricing section */
    .pricing-box {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Form inputs and elements */
    input, select, textarea {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    /* Section spacing */
    section {
        padding: 3rem 0;
    }
    
    #hero, #contact, #services, #portfolio, #pricing {
        padding: 3.5rem 0;
    }
    
    /* FAQ section */
    .faq-item {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
}

/* Extra Small Screen Adjustments */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Container */
    .container {
        width: 95%;
        padding: 0 0.8rem;
    }
    
    /* Header */
    header #branding h1 {
        font-size: 1.5rem;
        white-space: nowrap;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    /* Improve header buttons position */
    .header-buttons {
        display: flex;
        gap: 0.5rem;
        margin-right: 0;
    }
    
    #language-toggle {
        margin-left: 0;
        padding: 0.4rem 0.6rem;
    }
    
    /* Hero Section */
    #hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-buttons {
        max-width: 240px;
    }
    
    /* Services */
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-box {
        padding: 1.5rem;
    }
    
    /* Forms and Inputs */
    input, select, textarea {
        padding: 0.6rem;
    }
    
    /* Modals */
    .modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        padding: 1.2rem;
    }
}

/* Keyframes for scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero buttons */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1.4s ease-out;
    position: relative;
    z-index: 2;
}

/* Contact section styling */
#contact {
    background-color: var(--light-bg);
    padding: var(--section-padding);
    padding-bottom: 5rem;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-details {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.contact-details p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-hover-color);
    text-decoration: underline;
}

.cta-container {
    text-align: center;
    margin: 3rem 0;
    padding-bottom: 2rem;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.visible {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    animation: modalSlideDown 0.3s forwards;
}

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

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--accent-color);
}

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

#quote-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

#quote-form input,
#quote-form select,
#quote-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#quote-form input:focus,
#quote-form select:focus,
#quote-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

#quote-form button {
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 1.8s ease-out 0.5s backwards;
}

.scroll-indicator a {
    display: inline-block;
    text-decoration: none;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 14px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollArrow 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Initial state for elements to be animated on scroll */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform; /* Performance hint */
}

/* State when element becomes visible */
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Apply initial transform for fadeInUp effect */
.animate-on-scroll.fade-in-up {
    transform: translateY(30px);
}

#services, #pricing, #faq, #refund-policy, #terms {
    padding: 40px 0;
    background-color: #ffffff;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#services .service-box{
    text-align: center;
    padding: 20px;
}
#services h2, #pricing h2, #faq h2, #refund-policy h2, #terms h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #35424a;
    font-size: 2em;
}
/* Add basic styling for content within new sections */
#faq .faq-item, #refund-policy p, #terms p {
    margin-bottom: 15px;
    text-align: left; /* Align policy/term text left for readability */
}
#faq .faq-item h3 {
    margin-bottom: 5px;
    color: #e8491d;
}

/* Payment Form Styles */
#payment {
    padding: 40px 0;
    background-color: #e8f4fd; /* Light background to stand out */
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#payment h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #35424a;
    font-size: 2em;
}
#payment form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
#payment .form-group {
    margin-bottom: 20px;
}
#payment label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}
#payment input[type="text"],
#payment input[type="email"],
#payment input[type="tel"],
#payment input[type="number"],
#payment select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-size: 1em;
}
#payment .price-note {
    font-size: 0.9em;
    color: #555;
    margin-top: 8px; /* Consistent margin */
    display: block;
}
/* Target the button specifically by ID within the payment section */
#payment #pay-button {
    display: block; /* Ensure it takes full width if needed */
    background: #e8491d;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: 100%; /* Make button full width */
    margin-top: 10px; /* Add margin above button */
}
#payment #pay-button:hover {
    background: #f05a28;
}
#payment-status {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}
.payment-success { color: green; }
.payment-error { color: red; }

/* Success Dialog Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}
 .modal-close:hover {
     color: #333;
 }
#payment-success-dialog h2 {
    color: #28a745; /* Green for success */
    margin-top: 0;
    margin-bottom: 15px;
}
#payment-success-dialog p {
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
}
#payment-success-dialog strong {
     color: #000;
}

/* Warning/Failure Dialog Styles */
#payment-warning-dialog h2 {
    color: #dc3545; /* Red for warning/failure */
    margin-top: 0;
    margin-bottom: 15px;
}
#payment-warning-dialog p {
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
}
#payment-warning-dialog strong {
     color: #000;
}

/* Tab Styles */
.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}
.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.1em;
    font-weight: bold;
    color: #555;
    position: relative;
    transition: color 0.3s ease;
    margin: 0 5px;
}
.tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Align with border-bottom of .tab-nav */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
.tab-button.active {
    color: #e8491d;
}
.tab-button.active::after {
    background-color: #e8491d;
}
.tab-pane {
    display: none; /* Hide panes by default */
}
.tab-pane.active {
    display: block; /* Show active pane */
}

/* Payment Form Styles (Now targeting #payment-content) */
#payment-content {
    /* No specific styles needed for the pane itself unless desired */
}
/* Remove styles previously targeting the non-existent #payment section 
   if they were specific to the section itself (like background/padding) 
   Let the #pricing section handle the overall section padding/bg */

#payment-content form {
    max-width: 600px;
    margin: 0 auto; /* Keep form centered */
    background: #fff; /* Background for the form box */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Shadow for the form box */
}
#payment-content .form-group {
    margin-bottom: 20px;
}
#payment-content label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}
#payment-content input[type="text"],
#payment-content input[type="email"],
#payment-content input[type="tel"],
#payment-content input[type="number"],
#payment-content select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-size: 1em;
}
#payment-content .price-note {
    font-size: 0.9em;
    color: #555;
    margin-top: 8px; /* Consistent margin */
    display: block;
}
/* Target the button specifically by ID within #payment-content */
#payment-content #pay-button {
    display: block; /* Ensure it takes full width */
    background: #e8491d;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: 100%; /* Make button full width */
    margin-top: 10px; /* Add margin above button */
}
#payment-content #pay-button:hover {
    background: #f05a28;
}
#payment-content #payment-status {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* Dialog Detail Styling */
.dialog-details p {
     margin: 8px 0;
     font-size: 0.95em;
     text-align: left;
}
.dialog-details p strong {
    display: inline-block;
    min-width: 100px; /* Adjust as needed for alignment */
}

/* Download Button */
.dialog-download-btn {
    background-color: #5bc0de; /* Info blue */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}
.dialog-download-btn:hover {
     background-color: #31b0d5;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none; /* Hidden by default */
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: none;
    backdrop-filter: blur(10px);
}
.mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Dialog Detail Styling */
.dialog-details p {
     margin: 8px 0;
     font-size: 0.95em;
     text-align: left;
}
.dialog-details p strong {
    display: inline-block;
    min-width: 100px; /* Adjust as needed for alignment */
}

/* Mobile Header Adjustments */
header .container {
    flex-direction: row; /* Keep items in a row */
    justify-content: space-between; /* Space out logo and buttons */
    align-items: center; /* Vertically align items */
}
#branding {
     flex-grow: 1; /* Allow branding to take available space */
}
header nav {
     display: none; /* Hide nav by default */
     position: absolute;
     top: 100%; /* Position below header */
     left: 0;
     width: 100%;
     background-color: var(--primary-color); /* Match header bg */
     box-shadow: 0 2px 5px var(--shadow-color);
     z-index: 999;
}
header nav.mobile-nav-open { /* Style for when menu is open */
     display: block;
}
header nav ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
}
header nav li {
     padding: 0.8rem 0;
     width: 100%;
     text-align: center;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
 header nav li:last-child {
     border-bottom: none;
 }
#language-toggle {
     margin-top: 0; /* Reset margin */
     margin-left: 0.5rem; /* Space between buttons */
}
.mobile-menu-button {
     display: block; /* Show hamburger on mobile */
}
/* End Mobile Header Adjustments */

/* Portfolio Preview Screen Styles */
.portfolio-preview-container {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.portfolio-screen-frame {
    background: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.screen-header {
    background: #e8e8e8;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d0d0d0;
}

.screen-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.control-dot.red {
    background: #ff5f57;
}

.control-dot.yellow {
    background: #ffbd2e;
}

.control-dot.green {
    background: #28ca42;
}

.screen-url {
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--gray-text);
    border: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.screen-url i {
    color: #28a745;
}

.screen-content {
    position: relative;
    height: 600px;
    background: white;
    overflow: hidden;
}

.screen-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    cursor: pointer;
}

.portfolio-screen-frame:hover .screen-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 400px;
}

.overlay-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.overlay-content p {
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.overlay-content .btn-primary {
    background: var(--accent-color);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.overlay-content .btn-primary:hover {
    background: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Responsive Design for Portfolio Preview */
@media (max-width: 768px) {
    .portfolio-preview-container {
        margin: 2rem 0;
        padding: 1rem;
    }
    
    .screen-content {
        height: 400px;
    }
    
    .screen-url {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .overlay-content {
        padding: 1.5rem;
    }
    
    .overlay-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .screen-content {
        height: 300px;
    }
    
    .screen-header {
        padding: 8px 12px;
    }
    
    .control-dot {
        width: 10px;
        height: 10px;
    }
}