* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #fff;
    color: #1a1a1a;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff6b6b;
}

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

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

.logo h2 {
    font-size: 1.5rem;
    margin: 0;
}

main {
    /* margin-top: 115px; */
    min-height: calc(100vh - 160px);
}

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

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(6, 200px);
    grid-template-rows: repeat(2, 200px);
    gap: 0;
    justify-content: center;
    align-content: center;
    z-index: 0;
    opacity: 0.3;
}

.hero-background-grid img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.btn {
    display: inline-block;
    background-color: #ff6b6b;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #ff5252;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.section {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section h2 {
    color: #333;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 0.5rem;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
}

.pricing-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.pricing-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.pricing-table tr:hover {
    background-color: #f8f9fa;
}

.portfolio {
    margin-top: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0rem;
    margin-top: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    cursor: pointer;
    aspect-ratio: 1;
    background: #f0f0f0;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/*
.portfolio-item .image-number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
}
*/


.portfolio-item .image-number {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 1);
    color: #fff;
    padding: 10px 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 0px;
    font-size: 1.2em;
    z-index: 10;
    border-bottom-right-radius: 20px;
    font-weight: bold;
    cfont-style: italic;
}

.form-container {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s;
}

.file-upload:hover .file-upload-label {
    background: #e9ecef;
    border-color: #ff6b6b;
}

footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.close:hover {
    color: #ff6b6b;
}

.table-of-contents {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
}

.table-of-contents h2 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 0.5rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.table-of-contents li {
    margin: 0;
}

.table-of-contents a {
    display: block;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.table-of-contents a:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateX(5px);
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .table-of-contents ul {
        grid-template-columns: 1fr;
    }
}


#header-placeholder {
    min-height: 200px;
   /* background-color: red; */
}