/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth page transitions */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    padding: 5px 0;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #073763;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo img,
.logo-img {
    height: 100px;
    transition: height 0.3s ease;
}

.logo span {
    color: #0a5ea8;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #073763;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #073763;
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-phone {
    color: #073763;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    animation: ringing 2s ease-in-out infinite;
}

.contact-phone:hover {
    color: #0a5ea8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #073763;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    color: #0a5ea8;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(7, 55, 99, 0.5) 0%, rgba(10, 94, 168, 0.5) 100%), url('images/about/bondworkers.jpg');
    background-size: cover;
    background-position: center 80%;
    background-attachment: fixed;
    color: #fff;
    padding: 100px 0 80px;
    min-height: 470px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.50);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 52px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    background-color: #fff;
    color: #073763;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #073763;
    text-align: center;
    animation: breathe 3s ease-in-out infinite;
}

.btn:hover {
    background-color: #073763;
    color: #fff;
}

.btn-primary {
    background-color: #073763;
    color: #fff;
    padding: 18px 45px;
    font-size: 17px;
    animation: breathe 3s ease-in-out infinite;
}

.btn-primary:hover {
    background-color: #0a5ea8;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 50px;
    background: #fff;
    color: #073763;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s ease;
    border: 3px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    letter-spacing: 0.5px;
    animation: breathe 3s ease-in-out infinite;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-color: #fff;
}

/* Section Titles */
.section-title {
    font-size: 38px;
    font-weight: 300;
    color: #073763;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
    text-align: center;
}

/* Content Sections */
section {
    padding: 80px 0;
}

.section-light {
    background-color: #f8f9fa;
}

.section-white {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-placeholder-text {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Base Card Component */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.project-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-column {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.category-column::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(7, 55, 99, 0.6) 100%);
    transition: all 0.4s ease;
}

.category-column::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(7, 55, 99, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-column:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(7, 55, 99, 0.4);
}

.category-column:hover::before {
    background: linear-gradient(180deg, rgba(7, 55, 99, 0.4) 0%, rgba(7, 55, 99, 0.8) 100%);
}

.category-column:hover::after {
    opacity: 1;
}

.category-column:active {
    transform: translateY(-8px) scale(1.01);
}

.category-column .category-btn {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid #fff;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.category-column:hover .category-btn {
    background: #fff;
    color: #073763;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-info {
    padding: 25px;
}

.project-title {
    font-size: 22px;
    font-weight: 600;
    color: #073763;
    margin-bottom: 12px;
}

.project-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-link {
    color: #0a5ea8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.project-link:hover {
    color: #073763;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    color: #073763;
    margin-bottom: 12px;
}

.product-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-info .btn {
    margin-top: 0;
}

/* Product Detail Pages */
.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.product-detail-image img {
    width: 100%;
    border-radius: 8px;
}

.product-detail-text h2 {
    font-size: 32px;
    color: #073763;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-detail-text h3 {
    font-size: 22px;
    color: #073763;
    margin: 30px 0 15px;
    font-weight: 600;
}

.product-detail-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-detail-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
    text-align: left;
}

.product-detail-text ul li {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    text-align: left;
}

.product-detail-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #073763;
    font-weight: bold;
}

/* Color Options Grid */
.color-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.color-option {
    text-align: center;
}

.color-sample {
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.color-sample:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.color-name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    padding: 8px 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
}

/* Systems Grid */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.system-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.system-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #073763;
    margin-bottom: 15px;
}

.system-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 10px;
}

.system-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.system-card ul li {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.system-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #073763;
    font-weight: bold;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-box {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #073763;
}

.feature-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: #073763;
    margin-bottom: 12px;
}

.feature-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-items: center;
    justify-content: center;
}

.service-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    text-align: center;
    position: relative;
    overflow: visible;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Service card with background image */
.service-card[style*="background-image"] {
    background-size: cover;
    background-position: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border-radius: 8px;
    padding-bottom: 25px;
}

/* Dark overlay for background image service cards - using a wrapper div approach */
.service-card[style*="background-image"] > .service-overlay {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(7, 55, 99, 0.75) 100%);
    transition: all 0.4s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 8px;
}

/* Hover effect for background image service cards */
.service-card[style*="background-image"]:hover > .service-overlay {
    background: linear-gradient(180deg, rgba(7, 55, 99, 0.6) 0%, rgba(7, 55, 99, 0.9) 100%);
}

/* Make content appear above overlay */
.service-card[style*="background-image"] .service-icon,
.service-card[style*="background-image"] .service-title,
.service-card[style*="background-image"] .service-description {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Adjust icon for background image cards */
.service-card[style*="background-image"] .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

/* Add soft fuzzy background behind description text for better readability */
.service-card[style*="background-image"] .service-description {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 25px;
    border-radius: 15px;
    backdrop-filter: blur(1px);
    margin-top: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Compact service cards for additional services section */
.services-grid-compact .service-card[style*="background-image"] .service-description {
    font-size: 14px;
    padding: 15px 18px;
    margin-top: 10px;
    border-radius: 12px;
}

/* Keep stamps visible on background image cards */
.service-card[style*="background-image"].stamp-router::before,
.service-card[style*="background-image"].stamp-bond::after {
    z-index: 3;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

/* Team Logos Section */
.team-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.team-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    width: 100%;
}

.team-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.team-logo:hover {
    transform: scale(1.05);
}

.team-description {
    text-align: center;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    width: 100%;
    padding: 0 10px;
}

.team-description strong {
    color: #073763;
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .team-logos {
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }

    .team-logo-item {
        max-width: 100%;
    }

    .team-logo {
        width: 180px;
        height: 180px;
    }

    .team-description {
        font-size: 15px;
        padding: 0 20px;
    }

    .team-description strong {
        font-size: 17px;
    }
}

/* Service card stamps - Generic classes */
/* Router Team stamp (left side) */
.stamp-router::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: url('images/about/router-team.png') center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-20deg);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    z-index: 10;
}

/* Bond Workers stamp (right side) */
.stamp-bond::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: url('images/about/bond-workers.png') center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(20deg);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    z-index: 10;
}

/* Legacy classes for backward compatibility */
.service-card-proektirane::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: url('images/about/router-team.png') center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-20deg);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    z-index: 10;
}

.service-card-montaj::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: url('images/about/bond-workers.png') center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(20deg);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    z-index: 10;
}

.service-card-modernizacia::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: url('images/about/router-team.png') center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-20deg);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    z-index: 10;
}

.service-card-modernizacia::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: url('images/about/bond-workers.png') center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(20deg);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    z-index: 10;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #073763;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 24px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #073763;
    margin-bottom: 12px;
}

.service-description {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* Content Block Styles */
.content-block ul {
    list-style-position: outside;
    padding-left: 20px;
    margin-left: 0;
}

.content-block ul li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* CTA Buttons Section */
.section-light .btn,
.section-white .btn {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .section-light .btn,
    .section-white .btn {
        display: block;
        margin: 10px auto;
        width: 100%;
        max-width: 300px;
    }

    .section-light .container > div,
    .section-white .container > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text h3 {
    font-size: 28px;
    color: #073763;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: left;
}

.about-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.about-image {
    width: 100%;
    height: 90%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-card h3 {
    font-size: 22px;
    color: #073763;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info {
    color: #666;
    font-size: 15px;
    line-height: 2;
    text-align: left;
}

.contact-info a {
    color: #0a5ea8;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #073763;
}

.contact-form {
    max-width: 800px;
    margin: 30px auto 0;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #073763;
}

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

/* Map */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-text {
    color: rgba(0,0,0,0.4);
    font-size: 16px;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

/* Categories */
.categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 28px;
    background-color: #fff;
    color: #073763;
    text-decoration: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #073763;
    transition: all 0.3s;
    cursor: pointer;
    font-family: inherit;
}

.category-btn:hover,
.category-btn.active {
    background-color: #073763;
    color: #fff;
}

/* Fade in animation for filtered projects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.content-text {
    text-align: left;
}

.content-text p {
    text-align: left;
}

.content-text ul {
    margin-left: 20px;
    color: #555;
    line-height: 2;
    text-align: left;
}

.content-text ul li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }

    .project-categories {
        grid-template-columns: 1fr;
    }

    .category-column {
        height: 300px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid #e5e5e5;
    }

    .main-nav a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
    }

    .main-nav a::after {
        display: none;
    }

    .header-contact {
        flex-wrap: wrap;
        gap: 10px;
    }

    .contact-phone {
        font-size: 14px;
    }

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

    .about-content,
    .content-grid,
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .color-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .systems-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-content {
        position: relative;
        justify-content: space-between;
    }

    .logo {
        order: 0;
    }

    .header-contact {
        order: 1;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu-toggle {
        order: 2;
        margin-left: auto;
    }

    .logo img,
    .logo-img {
        height: 50px;
    }

    .hero {
        padding: 60px 0 50px;
        background-position: center 90% !important;
        background-attachment: scroll;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

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

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

    section {
        padding: 50px 0;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* Photo Gallery Styles */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.photo-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.photo-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 40px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 20px;
    line-height: 1;
    border-radius: 4px;
    transition: background-color 0.3s;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }

    .lightbox-counter {
        bottom: 10px;
        font-size: 14px;
    }

    .lightbox-content {
        max-width: 95%;
    }
}

/* Floating Call Button */
.floating-call-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #073763;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(7, 55, 99, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: breathe 3s ease-in-out infinite;
}

.floating-call-button:hover {
    background-color: #0a5ea8;
    box-shadow: 0 6px 20px rgba(7, 55, 99, 0.4);
    transform: translateY(-2px);
}

.floating-call-icon {
    font-size: 24px;
    animation: ringing 2s ease-in-out infinite;
    display: inline-block;
}

.floating-call-text {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .floating-call-button {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
    }

    .floating-call-icon {
        font-size: 20px;
    }

    .floating-call-text {
        font-size: 14px;
    }
}

/* Animations */
@keyframes ringing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(7, 55, 99, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(7, 55, 99, 0.3);
    }
}