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

:root {
    --bg-dark: #000000;
    --bg-gray: #1a1a1a;
    --bg-light-gray: #2a2a2a;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --accent-gold: #ff8c42;
    --accent-orange: #ff6b35;
    --card-bg: #ffffff;
    --card-text: #000000;
}

body {
    font-family: 'Kanit','Poppins', 'Cairo', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .filter-btn,
    .view-btn,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
}

.top-blue-line {
    width: 100%;
    height: 3px;
    background-color: #0066ff;
    position: relative;
    z-index: 1001;
}

.main-wrapper {
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}


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

/* Responsive container padding */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Header */
.header {
    background-color: var(--bg-dark);
    padding: 20px 40px;
    margin: 20px auto 0 auto;
    border-radius: 50px;
    position: fixed;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    width: calc(100% - 80px);
    box-shadow: 
        0 0 10px #ffffff,
        0 0 20px #ffffff,
        0 2px 10px rgba(0, 0, 0, 0.3);
    animation: neonGlow 2s ease-in-out infinite alternate;
    transition: top 0.3s ease, opacity 0.3s ease;
}

.header.hidden {
    top: -100px;
    opacity: 0;
}

.header.visible {
    top: 3px;
    opacity: 1;
}

.header-static {
    position: fixed;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    animation: none;
    width: calc(100% - 80px);
    transition: top 0.3s ease, opacity 0.3s ease;
}

.header-static.hidden {
    top: -100px;
    opacity: 0;
}

.header-static.visible {
    top: 3px;
    opacity: 1;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    /* background: linear-gradient(to right, transparent 0%, rgba(0, 255, 255, 0.3) 20%, rgba(0, 255, 255, 0.5) 50%, rgba(0, 255, 255, 0.3) 80%, transparent 100%); */
    border-radius: 0 0 50px 50px;
}

@keyframes neonGlow {
    from {
        box-shadow: 
            0 0 10px #ffffff,
            0 0 20px #ffffff,
            0 2px 10px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 
            0 0 10px #ffffff,
            0 0 20px #ffffff,
            0 2px 10px rgba(0, 0, 0, 0.3);
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    max-width: none;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 40px;
}

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

.logo-icon {
    font-size: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-text h1 sup {
    font-size: 12px;
    font-weight: normal;
    vertical-align: super;
    margin-left: 2px;
}

.tagline {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
    z-index: 1001;
    order: 2;
    margin-left: auto;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    order: 1;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    background-image: url('hero.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 140px 40px 80px 40px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 200px auto, 180px auto, 200px auto, 150px auto;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    flex: 1;
}

.hero-content {
    flex: 0 0 50%;
    max-width: 600px;
    z-index: 2;
    padding-right: 40px;
    padding-left: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--bg-light-gray);
    color: var(--text-white);
}

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

.btn-dark {
    background-color: var(--bg-light-gray);
    color: var(--text-white);
}

.btn-dark:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: var(--bg-gray);
    color: var(--text-white);
    border: 1px solid var(--text-white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: var(--bg-light-gray);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 25px rgba(255, 255, 255, 0.3);
}

.btn-light {
    background-color: var(--text-white);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: var(--bg-light-gray);
    color: var(--text-white);
    margin-top: 30px;
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
}

.btn-footer {
    background-color: var(--bg-light-gray);
    color: var(--text-white);
    padding: 12px 24px;
    margin-top: 10px;
}


.equipment-showcase {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light-gray) 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.equipment-showcase::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 66, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.2) 0%, transparent 50%);
}

/* About Section */
.about-section {
    background-color: var(--card-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.card {
    background-color: var(--card-bg);
    background-image: url('chart.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--card-bg);
    opacity: 0.5;
    z-index: 0;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--card-text);
    margin-bottom: 20px;
}

.card-text {
    font-size: 16px;
    color: var(--card-text);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    background-color: #e8e8e8;
    padding: 80px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.section-icon {
    font-size: 32px;
    color: #2a2a2a;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--card-text);
}

.services-section .section-title {
    color: #2a2a2a;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.6);
}

.work-section .section-title {
    color: var(--text-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    background-color: #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.icon-image {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-item img,
.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.icon-number {
    position: absolute;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    z-index: 2;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 12px rgba(255, 255, 255, 0.4);
}

.service-title {
    font-size: 14px;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 1.5;
    margin: 0;
}

.services-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light-gray) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.gallery-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Work Section */
.work-section {
    background-color: var(--card-bg);
    padding: 80px 0;
    text-align: center;
}

.work-section .section-title {
    color: var(--text-white);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--bg-light-gray);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-light-gray);
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light-gray) 100%);
    position: relative;
}

.carousel-image img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
}

.carousel-btn:hover {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 0 0 25px rgba(255, 255, 255, 0.2);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2), 0 0 12px rgba(255, 255, 255, 0.1);
}

.dot:hover {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.2);
}

.dot.active {
    background-color: var(--card-text);
    border-color: var(--card-text);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5), 0 0 18px rgba(255, 255, 255, 0.3);
}

/* Breadcrumb */
.breadcrumb-container {
    background-color: var(--bg-dark);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--text-white);
}

.breadcrumb-separator {
    color: #666666;
}

.breadcrumb-current {
    color: #cccccc;
}

/* Our Works Section */
.works-section {
    background-color: var(--text-white);
    padding: 80px 0;
}

.works-header {
    margin-bottom: 40px;
    margin-top: 100px;
}

.works-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 20px;
}

.works-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 800px;
}

.works-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #ebebeb;
    border: none;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 40px;
}

.filter-btn:hover {
    color: #333333;
    background: #d0d0d0;
}

.filter-btn.active {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2), 0 0 12px rgba(255, 255, 255, 0.1);
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    background: var(--text-white);
    border: none;
    color: #cccccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
    padding: 0;
}

.view-btn:hover {
    color: #999999;
}

.view-btn.active {
    background-color: #2a2a2a;
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.view-btn[data-view="grid"] {
    background: var(--text-white);
    color: #999999;
}

.view-btn[data-view="grid"] svg {
    stroke: #999999;
    fill: none;
}

.view-btn[data-view="grid"].active {
    background: var(--text-white);
    color: #999999;
}

.view-btn[data-view="list"] {
    background: var(--text-white);
}

.view-btn[data-view="list"].active {
    background-color: #2a2a2a;
    color: var(--text-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.view-btn[data-view="list"].active svg {
    stroke: var(--text-white);
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.work-card-image {
    width: 300px;
    min-width: 300px;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--card-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.work-card-category {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
    font-weight: 500;
}

.work-card-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Grid view styles */
.works-grid .work-card {
    flex-direction: column;
    gap: 0;
}

.works-grid .work-card-image {
    width: 100%;
    min-width: 100%;
    height: 200px;
}

.works-grid .work-card-content {
    padding: 20px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    padding: 80px 0 60px;
    text-align: center;

}

.footer-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer > .container {
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    justify-items: center;
    text-align: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.newsletter-box {
    background-color: #2a2a2a;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.footer-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 15px;
}

.footer-text {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    padding: 12px 16px;
    border: none;
    background-color: var(--text-white);
    color: var(--bg-dark);
    border-radius: 8px;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.newsletter-input::placeholder {
    color: #999999;
}

.newsletter-input:focus {
    outline: none;
}

.btn-footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-footer:hover {
    background-color: #333333;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 0;
    padding-left: 0;
    justify-content: center;
    width: 100%;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #494C5E;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
    color: var(--bg-dark);
}

.social-icon:hover {
    background-color: #3a3a3a;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

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

@media (max-width: 968px) {
    .header {
        margin: 20px 20px 0 20px;
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: calc(100% - 40px);
    }

    .header-static {
        margin: 20px auto;
        width: calc(100% - 40px);
    }

    .menu-toggle {
        display: flex;
    }

    .header {
        justify-content: space-between;
    }

    .logo {
        order: 1;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
        position: fixed;
    }

    .nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        z-index: 998;
    }

    .nav.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero {
        padding: 100px 20px 60px 20px;
        min-height: auto;
        height: auto;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        flex: 1 1 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

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

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

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

    .section-title {
        font-size: 32px;
    }

    .footer-panel {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-newsletter {
        margin: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .btn-footer {
        width: 100%;
    }

    .works-title {
        font-size: 36px;
    }

    .works-description {
        font-size: 16px;
    }

    .works-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .filter-buttons {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .work-card {
        flex-direction: column;
    }

    .work-card-image {
        width: 100%;
        min-width: 100%;
        height: 250px;
    }

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

    .breadcrumb-container {
        padding: 15px 0;
    }

    .breadcrumb {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .header {
        margin: 15px 15px 0 15px;
        padding: 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: calc(100% - 30px);
        border-radius: 30px;
    }

    .header-static {
        margin: 15px auto;
        width: calc(100% - 30px);
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 70px 25px 25px;
        gap: 15px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
        position: fixed;
    }

    .nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        z-index: 998;
    }

    .nav.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero {
        padding: 80px 15px 40px 15px;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }

    .services-section {
        padding: 60px 0;
    }

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

    .services-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-item {
        padding: 20px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .service-title {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 32px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .works-section {
        padding: 60px 0;
    }

    .works-title {
        font-size: 28px;
    }

    .works-description {
        font-size: 14px;
    }

    .works-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-buttons {
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .filter-buttons::-webkit-scrollbar {
        height: 4px;
    }

    .filter-buttons::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 2px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .view-toggle {
        align-self: flex-end;
    }

    .work-card {
        flex-direction: column;
    }

    .work-card-image {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .work-card-content {
        padding: 20px;
    }

    .work-card-title {
        font-size: 20px;
    }

    .work-card-category {
        font-size: 12px;
    }

    .work-card-description {
        font-size: 13px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-panel {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .footer-title {
        font-size: 22px;
    }

    .footer-text {
        font-size: 13px;
    }

    .newsletter-input {
        min-width: 100%;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .header {
        margin: 10px 10px 0 0;
        padding: 12px 15px;
        width: calc(100% - 20px);
    }

    .header-static {
        margin: 10px auto;
        width: calc(100% - 20px);
    }

    .logo-img {
        height: 30px;
    }

    .nav {
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero {
        padding: 70px 10px 30px 10px;
    }

    .hero-title {
        font-size: 24px;
        margin-top: 40px;
    }

    .hero-description {
        font-size: 13px;
    }

    .works-title {
        font-size: 24px;
    }

    .works-description {
        font-size: 13px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .view-btn {
        width: 35px;
        height: 35px;
    }

    .work-card-image {
        height: 180px;
    }

    .work-card-content {
        padding: 15px;
    }

    .work-card-title {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .card {
        padding: 25px;
    }

    .card-title {
        font-size: 22px;
    }

    .card-text {
        font-size: 14px;
    }

    .service-item {
        padding: 15px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .gallery-item {
        height: 150px;
    }

    .carousel-container {
        height: 250px;
    }

    .footer-panel {
        padding: 20px 12px;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-heading {
        font-size: 16px;
    }

    .breadcrumb {
        font-size: 11px;
    }
}
