:root {
    --primary-blue: #396E99;
    --dark-blue: #0A1F2C;
    --mid-blue: #002841;
    --accent-blue: #2f5d85;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f2f4f3;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    margin-top: 8px;
    margin-bottom: 2px;
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-family: var(--font-heading);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu .btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-menu .btn-primary:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(57, 110, 153, 0.3);
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

.hero-section {
    position: relative;
    background: linear-gradient(rgba(10, 31, 44, 0.7), rgba(57, 110, 153, 0.6)), url('./website-images/heros/banner.png');
    background-size: cover;
    background-position: center center;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-logo-text {
    width: 150px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

.btn-hero {
    display: inline-block;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.content-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: -50px auto 50px auto;
    margin-bottom: 0px;
    z-index: 10;
}

.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 30px;
}

.card-header {
    text-align: center;
    padding: 40px 40px 0 40px;
}

.card-header h2 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 15px;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-blue);
    margin: 0 auto;
    border-radius: 2px;
}

.card-body {
    padding: 40px;
}

.lead-text {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-item h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-left: 3px solid var(--accent-blue);
    padding-left: 10px;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

footer {
    background-color: var(--dark-blue);
    color: #889bad;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-logo {
    width: 100px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #889bad;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInModal {
    to {
        opacity: 1;
    }
}

.page-header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.products-header {
    background: linear-gradient(rgba(10, 31, 44, 0.8), rgba(57, 110, 153, 0.7)), url('./website-images/heros/banner2.png');
    background-size: cover;
    background-position: center center;
    padding: 100px 20px;
}

.page-header-content {
    animation: fadeIn 1s ease-out;
}

.products-section {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px auto;
    padding: 0 20px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.products-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.product-image {
    width: 100%;
    height: 100%;
    display: block;
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.short-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    margin-top: 10px;
    flex-grow: 1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.4em * 3);
    min-height: calc(1.4em * 3);
}

.learn-more {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInModal 0.3s forwards;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 5px;
    right: 30px;
    color: #aaa;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-blue);
}

.modal-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.modal-gallery {
    padding-top: 20px;
}

body.modal-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

.main-image {
    width: 110%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 40px;
    margin-left: -10px;
}

.main-image-placeholder {
    background-color: #ffffff;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #888;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 70px;
}

.thumb {
    width: 120px;
    height: 120px;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid;
    border-color: rgb(231, 231, 231);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.thumb img {
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    display: block;
    transition: transform 0.3s ease;
}

.thumb:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumb.active {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-actions .btn-download {
    margin-right: 10px;
    margin-bottom: 8px;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.category-badge {
    background-color: rgb(231, 231, 231);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.modal-details h2 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin: 10px 0 20px 0px;
    padding-top: 20px;
}

.modal-desc {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 0.9rem;
    max-width: 92%;
}

.btn-download {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.btn-download:hover {
    background-color: var(--dark-blue);
}

.manuals-section {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 20px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.category-title {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 10px;
    margin: 40px 0 20px 0;
    font-size: 1.5rem;
}

.manual-category:first-child .category-title {
    margin-top: 0;
}

.manual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
}

.manual-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e0e6ed;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.manual-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

.manual-icon {
    background-color: #ffebeb;
    color: #d32f2f;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.manual-details {
    flex-grow: 1;
}

.manual-details h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.manual-details p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-download-small {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-download-small:hover {
    background-color: var(--dark-blue);
}

.design-header {
    background: linear-gradient(rgba(10, 31, 44, 0.8), rgba(57, 110, 153, 0.8)), url('./website-images/heros/banner2.png');
    background-size: cover;
    background-position: center center;
    padding: 100px 20px;
    color: var(--white);
    text-align: center;
}

.design-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.text-content-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.intro-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-block h2 {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.lead-paragraph {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.divider-full {
    height: 1px;
    background-color: #e0e6ed;
    margin: 50px 0;
    width: 100%;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.text-col h3 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    margin-top: 10px;
}

.text-col p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

.highlight-box {
    background-color: #f4f8fb;
    border-left: 4px solid var(--primary-blue);
    padding: 25px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.highlight-box h4 {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.highlight-box ul {
    list-style-type: disc;
    margin-left: 20px;
    color: var(--text-light);
}

.highlight-box li {
    margin-bottom: 10px;
}

.cta-section {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.map-panel {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 300px;
    max-height: 700px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-panel iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-info-panel h2 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info-panel > p {
    margin-bottom: 40px;
    color: var(--text-light);
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    background: #eef4f8;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-blue);
}

.info-text h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.info-text p,
.info-text a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.6;
}

.info-text a:hover {
    color: var(--primary-blue);
}

.info-item-single {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px 35px;
    border-left: 4px solid var(--primary-blue);
    max-width: 800px;
    margin: 0 auto;
}

.info-item-single h3 {
    border-left: none;
    padding-left: 0;
}

.about-intro {
    padding: 80px 20px;
    background-color: var(--white);
    animation: fadeIn 1s ease-out;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.subtitle {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background-color: var(--light-gray);
    padding: 35px 30px;
    text-align: center;
    border-radius: 8px;
    border-bottom: 4px solid var(--primary-blue);
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

.trusted-section {
    padding: 80px 20px;
    background-color: var(--mid-blue);
    color: var(--white);
    text-align: center;
}

.trusted-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.center-text {
    opacity: 0.8;
    margin-bottom: 40px;
}

.logo-text-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.logo-text-grid span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.logo-text-grid span:hover {
    opacity: 1;
}

.project-list {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    line-height: 1.8;
}

.team-section {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.job-title {
    display: block;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-card p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.cs-studies-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 60px 20px;
    animation: fadeIn 1s ease-out 0.3s backwards;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.cs-image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.3;
    z-index: 2;
    text-align: center;
    max-width: 85%;
    margin: 0;
}

.cs-case-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cs-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cs-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.cs-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(81, 145, 198, 0.505) 0%, rgba(3, 12, 18, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
    transition: background 0.75s ease-in-out;
}

.cs-case-card:hover .cs-image-wrapper::before {
    background: linear-gradient(135deg, rgba(110, 177, 231, 0.505) 0%, rgba(3, 12, 18, 0.6) 100%);
}

.cs-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    /*/filter: blur(3px);/*/
}

.cs-case-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cs-case-info h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cs-case-summary {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.95rem;
}

.cs-read-more {
    color: var(--dark-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.cs-case-card:hover .cs-read-more {
    color: var(--primary-blue);
}

.cs-modal-content {
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgb(255, 255, 255);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 16px;
    position: relative;
    padding: 50px 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.cs-modal-content .close-modal {
    position: absolute;
    top: 15px;
    right: 40px;
    color: #aaa;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.cs-modal-content .close-modal:hover {
    color: var(--primary-blue);
}

.cs-modal-details {
    padding: 40px;
}

.cs-modal-details h2 {
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.cs-modal-desc {
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (max-width: 1225px) {
    .modal-content {
        background-color: var(--white);
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 8px;
        position: relative;
        padding: 40px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #logo {
        margin-top: 8px;
        margin-bottom: 2px;
        height: 50px;
        width: auto;
    }

    .nav-toggle-label {
        display: block;
        position: absolute;
        top: 15px;
        right: 10px;
        cursor: pointer;
        padding: 18px;
        padding-top: 25px;
        padding-bottom: 25px;
        z-index: 1001;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--dark-blue);
        height: 4.5px;
        width: 38px;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }

    .nav-toggle-label span::before {
        bottom: 12px;
    }

    .nav-toggle-label span::after {
        top: 12px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 20px;
        padding: 0;
    }

    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 15px;
        border-top: 1px solid #eee;
        width: 100%;
        text-align: center;
    }

    .nav-menu .btn-primary {
        border-radius: 0;
        background-color: var(--light-gray);
        color: var(--primary-blue);
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .info-item h3 {
        border-left: none;
        border-bottom: 3px solid var(--accent-blue);
        padding-left: 0;
        padding-bottom: 5px;
        display: inline-block;
        margin-bottom: 15px;
    }

    .content-section {
        margin-top: 0;
        padding: 40px 20px;
    }

    .card-header,
    .card-body {
        padding: 20px;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-content {
        padding: 6% 8%;
        width: 95%;
        max-height: 85vh;
    }

    .main-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 4px;
        margin-left: -10px;
        margin-top: clamp(-25px, -10%, 0px);
        max-width: 450px;
        padding-top: 30px;
    }

    .main-image-placeholder {
        height: 80%;
    }

    .gallery-thumbnails {
        margin-top: 10px;
        justify-content: center;
        gap: 10px;
    }

    .close-modal {
        position: fixed;
        top: 75px;
        right: 25px;
        width: 45px;
        height: 45px;
        background-color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2100;
        font-size: 50px;
        color: #aaa;
        line-height: 1;
        cursor: pointer;
        margin: 0;
    }

    .cs-modal-content .close-modal {
        position: fixed;
        top: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        background-color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2100;
        font-size: 50px;
        color: #aaa;
        line-height: 1;
        cursor: pointer;
        margin: 0;
    }

    .cs-modal-details h2 {
        margin-top: 25px;
    }

    .thumb {
        width: 70px;
        height: 70px;
    }

    .modal-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .modal-desc {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .category-badge {
        margin-top: 30px;
    }

    .modal-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 4px;
        margin-top: 15px;
    }

    .modal-actions .btn-download {
        margin: 2px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .cs-studies-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 850px) {
    .about-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cs-studies-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }

    .cs-image-wrapper {
        height: 200px;
    }

    .cs-modal-content {
        padding: 40px 25px 30px 25px;
        width: 95%;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .cs-modal-details {
        padding: 20px;
    }

    .cs-modal-details h2 {
        font-size: 1.4rem;
    }

    .cs-modal-desc {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .manual-grid {
        grid-template-columns: 1fr;
    }

    .manual-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .manual-details {
        margin-bottom: 10px;
    }
}