body {
    font-family: 'Inter', sans-serif;
    color: #1f2933;
    background: #ffffff;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.section-title {
    font-weight: 500;
    letter-spacing: 0.3px;
}

p {
    font-weight: 400;
    font-size: 1.02rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.navbar {
    height: 100px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo img {
    height: 380px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #0b5ed7;
    font-weight: bold;
}

.nav-links a.active,
.nav-links a:hover {
    border-bottom: 3px solid #0b5ed7;
}

.hero {
    height: 90vh;
    background: url("../images/hero.jpg") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 94, 215, 0.7);
}

.hero-content {
    position: relative;
    color: #ffffff;
    max-width: 600px;
    padding-left: 10%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
}

.home-info {
    padding: 70px 10%;
    text-align: center;
    background: #f4f9ff;
}

.home-info h2 {
    color: #0b5ed7;
    margin-bottom: 20px;
}

.home-services {
    padding: 70px 10%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    color: #0b5ed7;
    margin-bottom: 10px;
}

.footer {
    background: #0b5ed7;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

.page-header {
    background: linear-gradient(135deg, #0b5ed7, #084298);
    color: #ffffff;
    text-align: center;
    padding: 70px 10%;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-section {
    padding: 70px 10%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: #0b5ed7;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.history-section {
    background: #f4f9ff;
    padding: 70px 10%;
    text-align: center;
}

.history-section h2 {
    color: #0b5ed7;
    margin-bottom: 40px;
}

.timeline {
    max-width: 700px;
    margin: auto;
}

.timeline-item {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 6px solid #0b5ed7;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: left;
}

.timeline-item span {
    font-weight: bold;
    color: #0b5ed7;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.catalog-section {
    padding: 70px 10%;
}

.catalog-section h2 {
    color: #0b5ed7;
    margin-bottom: 30px;
    text-align: center;
}

.alt-bg {
    background: #f4f9ff;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.product-id {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0b5ed7;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.product-card img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    margin-bottom: 10px;
}

.price {
    color: #0b5ed7;
    font-weight: bold;
    font-size: 1.1rem;
}

.promo-section {
    padding: 70px 10%;
}

.promo-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.promo-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.promo-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.promo-image:hover img {
    transform: scale(1.1);
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 94, 215, 0.75);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.promo-image:hover .promo-overlay {
    opacity: 1;
}

.promo-text h2 {
    color: #0b5ed7;
    margin-bottom: 20px;
}

.promo-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .promo-card {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    padding: 70px 10%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h2,
.contact-form h2 {
    color: #0b5ed7;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.contact-form textarea {
    resize: none;
    height: 120px;
}

.map-section iframe {
    width: 100%;
    height: 350px;
    border: none;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.author-section {
    padding: 70px 10%;
    display: flex;
    justify-content: center;
}

.author-card {
    background: #ffffff;
    max-width: 500px;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.author-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.author-card h2 {
    color: #0b5ed7;
    margin-bottom: 15px;
}

.author-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-info p {
    margin-bottom: 8px;
}

.author-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.author-links a {
    text-decoration: none;
    color: #ffffff;
    background: #0b5ed7;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s;
}

.author-links a:hover {
    background: #084298;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 0.8s ease forwards;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hover-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #0b5ed7;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11,94,215,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 1.2s ease forwards;
}

.catalog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.catalog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(11,94,215,0.3);
}

.catalog-card img {
    transition: transform 0.4s ease;
}

.catalog-card:hover img {
    transform: scale(1.08);
}

.promo-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.promo-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.promo-image:hover img {
    transform: scale(1.1);
}

.promo-image::after {
    content: "СПЕЦИАЛНА ОФЕРТА";
    position: absolute;
    inset: 0;
    background: rgba(11,94,215,0.75);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.promo-image:hover::after {
    opacity: 1;
}

.contact-form {
    animation: zoomIn 0.9s ease forwards;
}

.contact-form input,
.contact-form textarea {
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0b5ed7;
    box-shadow: 0 0 10px rgba(11,94,215,0.3);
}

.author-card {
    animation: fadeUp 1s ease forwards;
}

.author-card img {
    transition: transform 0.5s ease;
}

.author-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.hero-xl {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #ffffff;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(11, 94, 215, 0.85),
        rgba(0, 0, 0, 0.6)
    );
    z-index: 2;
}

.hero-content-xl {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.hero-logo {
    width: 160px;
    margin-bottom: 20px;
}

.hero-content-xl h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-content-xl h1 span {
    color: #b6d4fe;
}

.hero-content-xl p {
    font-size: 1.2rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding: 30px 40px;
    max-width: 650px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 600;
    color: #b6d4fe;
    margin-bottom: 5px;
}

.stat span {
    font-size: 0.95rem;
    opacity: 0.85;
}

.about-activities {
    padding: 90px 10%;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.4rem;
    color: #0b5ed7;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-highlights span {
    display: inline-block;
    margin-right: 20px;
    font-weight: 600;
    color: #084298;
}

.activities {
    display: grid;
    gap: 25px;
}

.activity-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.activity-card img {
    width: 55px;
}

.activity-card h3 {
    margin-bottom: 5px;
    color: #0b5ed7;
}

@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }
}

.promo-section {
    padding: 90px 10%;
    background: #f8fbff;
}

.promo-title {
    text-align: center;
    font-size: 2.4rem;
    color: #0b5ed7;
    margin-bottom: 50px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.promo-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.promo-image {
    position: relative;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.promo-card:hover img {
    transform: scale(1.1);
}

.promo-image::after {
    content: "СПЕЦИАЛНА ОФЕРТА";
    position: absolute;
    inset: 0;
    background: rgba(11, 94, 215, 0.75);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.promo-card:hover .promo-image::after {
    opacity: 1;
}

.promo-content {
    padding: 25px;
    text-align: center;
}

.promo-content h3 {
    color: #0b5ed7;
    margin-bottom: 10px;
}

.video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #ffffff;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(11, 94, 215, 0.85),
        rgba(0, 0, 0, 0.65)
    );
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    padding: 90px 10%;
}

.video-section .why-card {
    background: rgba(255,255,255,0.9);
    color: #000;
}

@media (max-width: 768px) {
    .video-section {
        height: auto;
    }

    .bg-video {
        display: none;
    }

    .video-section {
        background: linear-gradient(135deg, #0b5ed7, #084298);
    }
}

.process {
    padding: 90px 10%;
    background: #f8fbff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.step {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.step span {
    display: inline-block;
    background: #0b5ed7;
    color: #ffffff;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    margin-bottom: 15px;
    font-weight: bold;
}

.reveal-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #e5efff;
    overflow: hidden;
}

.reveal-lines .line {
    opacity: 0;
    transform: translateY(20px);
}

.reveal-lines.active .line {
    animation: lineReveal 0.8s ease forwards;
}

.reveal-lines.active .line:nth-child(1) { animation-delay: 0.1s; }
.reveal-lines.active .line:nth-child(2) { animation-delay: 0.25s; }
.reveal-lines.active .line:nth-child(3) { animation-delay: 0.4s; }
.reveal-lines.active .line:nth-child(4) { animation-delay: 0.55s; }

@keyframes lineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .reveal-lines {
        font-size: 1.4rem;
    }
}

.why-pro {
    position: relative;
    min-height: 100vh;
    color: #eaf2ff;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5,20,40,0.85),
        rgba(5,20,40,0.45)
    );
    z-index: 2;
}

.why-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 100%;
    padding: 0 8%;
    gap: 80px;
}

.why-text h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.why-text .lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 480px;
    opacity: 0.9;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-card {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.feature-card span {
    font-size: 2.4rem;
    font-weight: 300;
    color: #93c5fd;
}

.feature-card p {
    font-size: 1.05rem;
    font-weight: 300;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left.active,
.reveal-up.active {
    opacity: 1;
    transform: translate(0);
    transition: all 1s cubic-bezier(.2,.8,.2,1);
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
    opacity: 0;
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom { transform: scale(0.85); }

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
    opacity: 1;
    transform: none;
    transition: all 0.9s ease;
}

.promo-3d {
    padding: 120px 0;
    background: radial-gradient(circle at top, hwb(0 100% 0%), hsl(0, 0%, 100%));
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.section-subtitle {
    opacity: 0.8;
    margin-bottom: 60px;
}

.wrapper {
    width: 100%;
    height: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner {
    --w: 220px;
    --h: 300px;
    --translateZ: 420px;
    --rotateX: -12deg;
    --perspective: 1200px;
    width: var(--w);
    height: var(--h);
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(var(--perspective));
    animation: rotating 25s linear infinite;
}

.wrapper:hover .inner {
    animation-play-state: paused;
}

@keyframes rotating {
    from {
        transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(0);
    }
    to {
        transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(360deg);
    }
}

.card {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    overflow: hidden;
    transform: rotateY(calc(360deg / var(--quantity) * var(--index)))
        translateZ(var(--translateZ));
    box-shadow: 0 20px 50px rgb(81, 203, 255);
}

.img {
  height: 75%;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 14px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(11, 77, 107, 0.753);
}

.img {
    position: relative;
}

.img::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0) 35%);
}

.promo-info {
    padding: 50px;
    background: linear-gradient(to top, #1a50a2, transparent);
}

.promo-info h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.old {
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 8px;
}

.new {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4dd2ff;
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.why-visual img {
    max-width: 360px;
    opacity: 0.85;
    filter: drop-shadow(0 20px 60px rgba(0, 120, 255, 0.35));
    transform: translateY(0);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.why-visual img:hover {
    transform: translateY(-10px);
    opacity: 1;
}

@media (max-width: 900px) {
    .why-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-visual {
        margin-top: 40px;
    }
}

.why-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-visual img {
    backdrop-filter: blur(2px);
}

.why-pro {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.timeline-section {
    padding: 120px 10%;
    background: #f4f7fb;
    text-align: center;
}

.timeline-title {
    font-size: 2.5rem;
    margin-bottom: 70px;
    color: #0a2a5e;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0a2a5e;
    z-index: 0;
}

.timeline-item {
    position: relative;
    width: 22%;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    z-index: 1;
}

.timeline-item:hover {
    transform: translateY(-8px);
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: #0a2a5e;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}

.timeline-item h4 {
    margin-bottom: 10px;
    color: #0a2a5e;
}

@media (max-width: 900px) {
    .timeline {
        flex-direction: column;
        gap: 40px;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
    }
}

.catalog-section {
    padding: 100px 10%;
    background: #f4f7fb;
    text-align: center;
}

.catalog-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #0a2a5e;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    text-align: left;
     overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-card h3 {
    margin-bottom: 10px;
    color: #0a2a5e;
}

.product-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
}

.product-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: #123e91;
}

.catalog-slider {
    width: 100%;
    overflow: hidden;
    background: #0a2a5e;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollSlider 25s linear infinite;
}

.slider-track img {
    height: 140px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: transform 0.4s ease;
}

.slider-track img:hover {
    transform: scale(1.08);
}

@keyframes scrollSlider {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.chart-section {
    padding: 100px 10%;
    text-align: center;
    background: #f4f7fb;
}

.chart-section canvas {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    margin: 50px auto;
}

.chart-section {
    padding: 120px 5%;
    background: #f4f7fb;
    text-align: center;
}

.chart-section canvas {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.development-section {
    padding: 120px 8%;
    background: #f4f7fb;
}

.development-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
    color: #0a2a5e;
}

.development-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.development-chart canvas {
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.development-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.timeline-card {
    background: white;
    padding: 25px;
    border-left: 4px solid #0a2a5e;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.timeline-card:hover {
    transform: translateX(6px);
}

.timeline-card h4 {
    margin-bottom: 8px;
    color: #0a2a5e;
}

@media (max-width: 1000px) {
    .development-grid {
        grid-template-columns: 1fr;
    }
}

.author-cards {
    padding: 100px 10%;
    background: #f4f7fb;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.author-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: 0.4s ease;
}

.author-card:hover {
    transform: translateY(-10px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.author-card h3 {
    padding: 20px 20px 10px;
    color: #123e91;
}

.author-card p {
    padding: 0 20px 25px;
    line-height: 1.6;
    color: #444;
}

.erasmus-gallery {
    padding: 100px 10%;
    background: #ffffff;
    text-align: center;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.slides {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.slide {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,42,94,0.8);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.prev:hover,
.next:hover {
    background: #123e91;
}

.prev {
    left: -60px;
}

.next {
    right: -60px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #004494;
}

.projects-links{
    padding:100px 10%;
    background:#f4f7fb;
    text-align:center;
}

.projects-container{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

.project-box{
    background:white;
    padding:30px;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,0.06);
    transition:0.3s ease;
}

.project-box:hover{
    transform:translateY(-8px);
}

.project-box h3{
    color:#0a2a5e;
    margin-bottom:15px;
}

.project-box p{
    margin-bottom:20px;
    color:#444;
}

.project-btn{
    display:inline-block;
    padding:10px 20px;
    background:#123e91;
    color:white;
    text-decoration:none;
    border-radius:8px;
    transition:0.3s;
}

.project-btn:hover{
    background:#0a2a5e;
}

body {
    font-family: 'Poppins', sans-serif !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    color: #1f2937;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 7%;
    background: #ffffff;
    box-shadow: 0 2px 12px rgb(52, 123, 230);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 380px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #2864b7;
    font-weight: 500;
    transition: 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0ea5e9;
}

.page-header {
    background: linear-gradient(135deg, #203974, #6888e2);
    color: white;
    text-align: center;
    padding: 90px 20px 80px;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 14px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.92;
}

.author-section {
    padding: 70px 7%;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.author-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 24px;
}

.card-tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.author-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
    color: #0f172a;
}

.author-card p {
    font-size: 15.5px;
    color: #4b5563;
    margin-bottom: 18px;
}

.author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.author-links a {
    text-decoration: none;
    background: #0ea5e9;
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.author-links a:hover {
    background: #0284c7;
}

.projects-section {
    padding: 20px 7% 80px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #0f172a;
    font-weight: 800;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.project-box {
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.project-box:hover {
    transform: translateY(-6px);
}

.project-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #111827;
}

.project-box p {
    color: #4b5563;
    font-size: 15px;
    margin-bottom: 18px;
}

.project-btn {
    display: inline-block;
    text-decoration: none;
    background: #111827;
    color: white;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s ease;
}

.project-btn:hover {
    background: #0ea5e9;
}

.footer {
    background: #3656a0;
    color: white;
    text-align: center;
    padding: 20px;
    
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }
}

.card-img{
display:block;
margin:0 auto;
}

.nav-links a{
font-family:'Montserrat', sans-serif;
font-weight:600;
letter-spacing:0.5px;
font-size:15px;
}

.catalog-slider {
    width: 100%;
    overflow: hidden;
    background: #0a2a5e;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: scrollSlider 20s linear infinite;
}

.slider-track img {
    display: block;
    width: 220px;
    height: 140px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 12px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.slider-track img:hover {
    transform: scale(1.08);
}

@keyframes scrollSlider {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Промени това на -50% */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-video video {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transition: 0.4s;
}

.contact-video video:hover {
    transform: scale(1.03);
}

.author-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}



@media (max-width: 768px) {

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .contact-grid,
    .author-grid,
    .about-wrapper,
    .why-container,
    .process-steps,
    .activities {
        display: flex;
        flex-direction: column;
    }

    .hero-content-xl h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .author-card,
    .contact-info,
    .contact-video {
        width: 100%;
    }

    .why-visual img,
    .contact-video video {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .nav-links a {
        display: block;
        font-size: 22px;
    }
}

@media (max-width: 768px) {

    .navbar {
        height: auto;
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .logo img {
        height: 120px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .hero-content-xl h1 {
        font-size: 2rem;
    }

    .hero-content-xl p {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .about-wrapper,
    .contact-grid,
    .promo-card {
        grid-template-columns: 1fr;
    }

    .activity-card {
        flex-direction: column;
        text-align: center;
    }

    .author-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .author-card {
        width: 100%;
        max-width: 350px;
    }
}

/* =====================================================
   MOBILE RESPONSIVE — COMPREHENSIVE OVERRIDE
   Placed last so it wins over all duplicate rules above
   ===================================================== */

/* Hamburger button — hidden on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #0b5ed7;
    padding: 4px 8px;
    line-height: 1;
    margin-left: auto;
}

@media (max-width: 768px) {

    /* --- NAVBAR & LOGO --- */
    .navbar {
        height: auto !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        padding: 10px 5% !important;
        gap: 0 !important;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #ffffff;
    }

    .logo {
        flex: 1;
    }

    .logo img {
        height: auto !important;
        max-height: 120px !important;
        max-width: 280px !important;
        width: auto !important;
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .navbar nav {
        display: none;
        width: 100%;
        border-top: 1px solid #e5e7eb;
        padding-bottom: 8px;
    }

    .navbar nav.open {
        display: block;
    }

    .nav-links {
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 14px 0 !important;
        margin-top: 0 !important;
        width: 100%;
    }

    .nav-links a {
        font-size: 16px !important;
        display: block;
    }

    /* --- HERO SECTION --- */
    .hero-xl {
        height: 100svh;
        min-height: 500px;
    }

    .hero-content-xl {
        padding: 0 5% !important;
        gap: 14px;
    }

    .hero-content-xl h1 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .hero-content-xl p {
        font-size: 0.95rem !important;
    }

    .hero-stats {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 14px 16px !important;
        margin-top: 16px;
        max-width: 100%;
    }

    .stat {
        flex: 1 1 calc(33% - 10px);
        min-width: 75px;
    }

    .stat h3 {
        font-size: 1.5rem !important;
    }

    .stat span {
        font-size: 0.72rem !important;
    }

    /* --- ABOUT SECTION (index) --- */
    .about-activities {
        padding: 50px 5% !important;
    }

    .about-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-text h2 {
        font-size: 1.8rem !important;
    }

    .about-highlights {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .about-highlights span {
        margin-right: 0 !important;
    }

    .activity-card {
        flex-direction: row !important;
        text-align: left !important;
    }

    /* --- WHY PRO SECTION --- */
    .why-pro {
        min-height: auto !important;
        padding: 50px 0;
    }

    .why-container {
        grid-template-columns: 1fr !important;
        padding: 40px 5% !important;
        gap: 30px !important;
        text-align: center;
        height: auto;
    }

    .why-text h2 {
        font-size: 1.9rem !important;
    }

    .why-text .lead {
        font-size: 1rem !important;
        max-width: 100% !important;
    }

    .why-visual img {
        max-width: 75% !important;
        margin: 0 auto;
    }

    /* --- PROCESS SECTION --- */
    .process {
        padding: 50px 5% !important;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    .section-title {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }

    /* --- CATALOG GRID (uslugi.html) --- */
    .catalog-section {
        padding: 40px 5% !important;
    }

    .catalog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .product-card img {
        height: 220px !important;
    }

    /* --- 3D CAROUSEL (монтажи.html) --- */
    .promo-3d {
        padding: 50px 0 !important;
    }

    .wrapper {
        height: 320px !important;
    }

    .inner {
        --translateZ: 200px;
        --w: 150px;
        --h: 210px;
        --perspective: 700px;
    }

    /* --- CONTACT SECTION (kontakti.html) --- */
    .contact-section {
        padding: 40px 5% !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .contact-video video {
        height: 240px !important;
    }

    /* --- ABOUT GRID (nachalo.html) --- */
    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .about-section {
        padding: 40px 5% !important;
    }

    /* --- PAGE HEADER --- */
    .page-header {
        padding: 50px 5% !important;
    }

    .page-header h1 {
        font-size: 1.8rem !important;
    }

    .page-header p {
        font-size: 1rem !important;
    }

    /* --- AUTHOR PAGE --- */
    .author-section {
        padding: 40px 5% !important;
    }

    .author-card {
        width: 100% !important;
        max-width: 100% !important;
        animation: none !important;
    }

    .card-img {
        height: 200px !important;
    }

    /* --- SLIDER ARROWS --- */
    .prev {
        left: 5px !important;
    }

    .next {
        right: 5px !important;
    }

    /* --- MAP SECTION --- */
    .map-section iframe {
        height: 280px;
    }

    /* --- FOOTER --- */
    .footer {
        padding: 20px 5% !important;
        font-size: 0.88rem;
    }
}