:root {
    --primary-color: #333333;
    --secondary-color: #666666;
    --accent-color: #000000;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #777777;
    --border-color: #e0e0e0;
    --container-width: 1200px;
    --section-padding: 80px 0;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: rgba(51, 51, 51, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#main-header.scrolled {
    padding: 15px 0;
    background: rgba(34, 34, 34, 0.98);
}

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

.logo img {
    height: 50px;
    transition: height 0.3s ease;
}

#main-header.scrolled .logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--white);
}

.main-nav a:hover {
    color: #cccccc;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

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

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

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

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Sections */
.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: #222;
    color: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

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

.divider.align-left {
    margin: 0 0 20px 0;
}

/* Project Split */
.project-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.project-text,
.project-media {
    flex: 1;
    min-width: 300px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Specs */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-6 {
    width: 50%;
    padding: 0 15px;
}

.items-center {
    align-items: center;
}

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

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.check-list i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.project-feature {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.project-feature i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 4px;
    font-family: inherit;
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 50px 0;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

/* Chatbot & WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.chatbot-trigger {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 0 20px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.chatbot-container {
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    z-index: 998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chatbot-container.closed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.chatbot-header {
    background: #333;
    padding: 15px;
    color: white;
    display: flex;
    justify-content: space-between;
}

.agent-status {
    color: #4cd137;
    font-size: 10px;
    text-transform: uppercase;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.message {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    max-width: 85%;
}

.message.bot {
    background: #eee;
    align-self: flex-start;
}

.message.user {
    background: var(--primary-color);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-input {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 5px;
}

.chatbot-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .col-6 {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(34, 34, 34, 0.95);
        padding: 20px;
        text-align: center;
    }

    .main-nav.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: block;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
}