/* Hero Section */
.hero-section {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%),
        url('/images/header.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(228, 10, 129);
    margin-top: 0;
}

.circle-icon {
    width: 80px;
    height: 80px;
    background-color: rgb(228, 10, 129);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.circle-icon:hover {
    transform: scale(1.1);
}

/* Product Sections */
.product-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.product-dark-section {
    background-color: #000;
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-dark-section:hover {
    transform: scale(1.02);
}

/* Video Functionality */
.clickable-video-section {
    position: relative;
}

.product-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
}

.product-video.show {
    opacity: 1;
    visibility: visible;
}

.product-dark-section.video-playing {
    background-image: none !important;
}

.product-dark-section.video-playing .dark-overlay {
    opacity: 0;
}

/* Video Gradient Overlay */
.product-dark-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.product-dark-section.video-playing::after {
    opacity: 1;
    visibility: visible;
}

.product-dark-section .container {
    display: flex;
    justify-content: center;
}

.product-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 400px;
}

.product-label {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
    padding-left: 10px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.product-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 9.5vh;
    width: 1px;
    background-color: rgb(228, 10, 129);
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 0.8;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    margin-top: 7px;
}

.product-description {
    font-size: 18px;
    color: #fff;
    margin-bottom: 0;
    font-weight: 300;
    margin-left: 10px;
}

.learn-more-btn {
    background-color: rgb(228, 10, 129);
    color: #fff;
    border: 2px solid rgb(228, 10, 129);
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-left: 10px;
    margin-top: 15px;
}

.learn-more-btn:hover {
    background-color: transparent;
    color: rgb(228, 10, 129);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 10, 129, 0.3);
}

/* KAVACA Smart Cut Section - Updated */
.smart-cut-section {
    background-image: url('/images/section44.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.smart-cut-section:hover {
    transform: scale(1.02);
}

/* Smart Cut Video */
.smart-cut-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
}

.smart-cut-video.show {
    opacity: 1;
    visibility: visible;
}

.smart-cut-section.video-playing {
    background-image: none !important;
}

/* Smart Cut Video Gradient Overlay */
.smart-cut-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.smart-cut-section.video-playing::after {
    opacity: 1;
    visibility: visible;
}

.smart-cut-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.smart-cut-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: rgb(228, 10, 129);
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.smart-cut-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.smart-cut-description {
    font-size: 1.3rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.kavaca-highlight {
    color: rgb(228, 10, 129);
    font-weight: 700;
}

.btn-learn-more {
    background-color: #fff;
    color: rgb(228, 10, 129);
    border: 2px solid rgb(228, 10, 129);
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-learn-more:hover {
    background-color: rgb(228, 10, 129);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 10, 129, 0.4);
}

.software-notice {
    color: #fff;
    font-size: 14px;
    margin-top: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Pink Banner */
.pink-banner {
    background-color: rgb(228, 10, 129);
    padding: 30px 0;
    text-align: center;
}

.pink-banner h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

/* Responsive Design for Smart Cut Section */
@media (max-width: 1200px) {
    .smart-cut-title {
        font-size: 3.5rem;
    }

    .smart-cut-subtitle {
        font-size: 1.6rem;
    }

    .smart-cut-description {
        font-size: 1.2rem;
    }

    .smart-cut-section {
        min-height: 450px;
        padding: 50px 20px;
    }

    .btn-learn-more {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .smart-cut-section {
        min-height: 400px;
        padding: 40px 15px;
    }

    .smart-cut-section:hover {
        transform: none;
    }

    .smart-cut-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .smart-cut-subtitle {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .smart-cut-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .btn-learn-more {
        padding: 12px 25px;
        font-size: 14px;
    }

    .software-notice {
        font-size: 12px;
    }

    .product-dark-section:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .smart-cut-section {
        min-height: 350px;
        padding: 30px 10px;
    }

    .smart-cut-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }

    .smart-cut-subtitle {
        font-size: 1.1rem;
    }

    .smart-cut-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .btn-learn-more {
        padding: 10px 20px;
        font-size: 13px;
    }

    .software-notice {
        font-size: 11px;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .smart-cut-section {
        min-height: 600px;
    }

    .smart-cut-title {
        font-size: 5rem;
    }

    .smart-cut-subtitle {
        font-size: 2rem;
    }

    .smart-cut-description {
        font-size: 1.4rem;
    }

    .pink-banner h2 {
        font-size: 2.8rem;
    }
}

/* Individual section backgrounds */
#kavaca-urban-section {
    background-image: url('/images/section2.jpg');
    background-size: cover;
    background-position: center;
}

#kavaca-ion-section {
    background-image: url('/images/section3.jpg');
    background-size: cover;
    background-position: center;
}

/* Dark overlay to make images barely visible */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease;
}

.section-label {
    color: rgb(228, 10, 129);
    font-size: 1.2rem;
    margin-bottom: 0;
}

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

.section-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Armor Section - Enhanced Responsive Design */
.armor-section {
    position: relative;
    height: 100%;
    background-color: #f5f5f5;
    overflow: hidden;
}

.armor-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.armor-content {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 20px;
    max-width: 90vw;
}

.armor-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 0.3em;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.02em;
}

.armor-description {
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    color: #000;
    margin: 0;
    line-height: 1.3;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.armor-description + .armor-description {
    margin-top: 0.4em;
}

/* Icon positioning with tighter spacing */
.armor-icons-container {
    position: absolute;
    top: 15%;
    left: 30%;
    width: 40%;
    height: 30%;
    pointer-events: none;
}

.armor-icon {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
}

.armor-icon img {
    max-width: 80%;
    max-height: 80%;
}

/* Adjusted arc positioning with lower icons 5 and 6 */
.armor-icon:nth-child(1) {
    top: 100px;
    left: 10%;
}

.armor-icon:nth-child(2) {
    top: 60px;
    left: 26%;
}

.armor-icon:nth-child(3) {
    top: 40px;
    left: 42%;
}

.armor-icon:nth-child(4) {
    top: 40px;
    left: 58%;
}

.armor-icon:nth-child(5) {
    top: 80px;
    left: 74%;
}

.armor-icon:nth-child(6) {
    top: 130px;
    left: 90%;
}

/* Winning Combination Section */
.winning-combination-section {
    background-color: #000;
    color: #fff;
    overflow: hidden;
    padding: 0;
}

.winning-combination-row {
    display: flex;
    align-items: stretch;
    height: 400px;
}

.winning-combination-image {
    flex: 0 0 33.333%;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.winning-combination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.winning-combination-content {
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.winning-label {
    color: #e91e63;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    position: relative;
}

.winning-label:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #e91e63;
    margin: 10px auto 0;
}

.winning-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.winning-plus {
    font-size: 24px;
    margin: 5px 0;
}

.winning-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 100%;
}

/* Small icon styling */
.pink-icon {
    position: absolute;
    bottom: 50px;
    left: 50px;
}

.pink-icon-circle {
    width: 50px;
    height: 50px;
    background-color: #e91e63;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-icon {
    position: absolute;
    bottom: 50px;
    right: 50px;
}

.white-icon-square {
    width: 30px;
    height: 30px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Slider Styles */
.video-gallery {
    padding: 60px 0;
    background-color: #fff;
}

.video-slider {
    padding: 0 50px;
}

.video-slide {
    padding: 0 10px;
}

.video-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    margin-bottom: 10px;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-item img {
    width: 100%;
    transition: transform 0.3s;
}

.video-item:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(247, 5, 167, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: background-color 0.3s;
}

.video-item:hover .play-button {
    background-color: rgba(247, 5, 167, 1);
}

/* Modern Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Blog Heading with Lines */
.blog-heading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.blog-heading {
    color: rgb(228, 10, 129);
    font-weight: 700;
    font-size: 28px;
    text-transform: uppercase;
    margin: 0 15px;
    padding: 0 10px;
}

.blog-heading-line {
    height: 1px;
    background-color: rgb(228, 10, 129);
    flex-grow: 1;
    max-width: 200px;
}

/* Blog Grid */
.blog-grid {
    margin-top: 30px;
}

.blog-item-wrapper {
    padding: 15px;
}

.blog-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-image {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    transition: opacity 0.3s ease;
}

.blog-author {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Product Features */
.features-section {
    padding: 80px 0;
    background-color: #111;
}

.feature-card {
    text-align: center;
    margin-bottom: 30px;
}

.feature-title {
    font-size: 1.8rem;
    margin: 20px 0 15px;
    color: #fff;
}

.feature-description {
    font-size: 1rem;
    color: #ddd;
}

/* Usage Section */
.usage-section {
    padding: 60px 0;
    background-color: #000;
}

.usage-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
}

.usage-item img {
    width: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.usage-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.usage-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.usage-subtitle {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 0;
}

/* Technology Section */
.tech-section {
    padding: 80px 0;
    background-color: rgb(228, 10, 129);
    text-align: center;
    color: #fff;
}

.tech-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.tech-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #fff;
}

.tech-logo {
    max-width: 200px;
    margin: 20px auto;
}

.tech-btn {
    background-color: #f8d1e6;
    color: rgb(228, 10, 129);
}

.tech-btn:hover {
    background-color: #fff;
    color: rgb(228, 10, 129);
}

/* Responsive Design */
@media (max-width: 1199px) {
    /* Large tablets */
    .armor-content {
        padding: 0 30px;
    }

    .armor-icons-container {
        left: 25%;
        width: 50%;
    }

    .armor-icon {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 991px) {
    /* Tablets */
    .armor-content {
        top: 70%;
        padding: 0 40px;
    }

    .armor-icons-container {
        top: 10%;
        left: 20%;
        width: 60%;
        height: 35%;
    }

    .armor-icon {
        width: 65px;
        height: 65px;
    }

    .winning-combination-row {
        flex-direction: column;
        height: auto;
    }

    .winning-combination-image,
    .winning-combination-content {
        flex: 1 1 auto;
    }

    .winning-combination-image {
        height: 250px;
    }

    .winning-combination-content {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    /* Mobile devices */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .armor-content {
        top: 75%;
        padding: 0 20px;
    }

    .armor-title {
        margin-bottom: 1.3em;
    }

    .armor-description {
        display: none;
    }

    .armor-icons-container {
        top: 8%;
        left: 10%;
        width: 80%;
        height: 40%;
    }

    .armor-icon {
        width: 45px;
        height: 45px;
    }

    /* Adjust icon positions for mobile - spread out layout */
    .armor-icon:nth-child(1) {
        top: 70px;
        left: 0%;
    }

    .armor-icon:nth-child(2) {
        top: 30px;
        left: 18%;
    }

    .armor-icon:nth-child(3) {
        top: 10px;
        left: 38%;
    }

    .armor-icon:nth-child(4) {
        top: 10px;
        left: 58%;
    }

    .armor-icon:nth-child(5) {
        top: 30px;
        left: 78%;
    }

    .armor-icon:nth-child(6) {
        top: 70px;
        left: 95%;
    }

    .blog-item {
        margin-bottom: 15px;
    }

    .blog-heading-container {
        flex-direction: column;
    }

    .blog-heading-line {
        width: 80px;
        margin: 10px 0;
    }

    .blog-heading {
        margin: 0;
    }

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

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

    .winning-combination-image {
        height: 200px;
    }

    .winning-title {
        font-size: 26px;
    }

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

@media (max-width: 575px) {
    /* Small mobile devices */
    .armor-content {
        top: 80%;
        padding: 0 15px;
    }

    .armor-icons-container {
        top: 6%;
        left: 5%;
        width: 90%;
        height: 45%;
    }

    .armor-icon {
        width: 38px;
        height: 38px;
    }

    /* Better distribution for small screens */
    .armor-icon:nth-child(1) {
        top: 80px;
        left: 5%;
    }

    .armor-icon:nth-child(2) {
        top: 35px;
        left: 20%;
    }

    .armor-icon:nth-child(3) {
        top: 15px;
        left: 40%;
    }

    .armor-icon:nth-child(4) {
        top: 15px;
        left: 60%;
    }

    .armor-icon:nth-child(5) {
        top: 35px;
        left: 80%;
    }

    .armor-icon:nth-child(6) {
        top: 80px;
        left: 95%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .circle-icon {
        width: 60px;
        height: 60px;
    }

    .tech-title {
        font-size: 2rem;
    }

    .tech-description {
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    /* Very small mobile devices */
    .armor-content {
        top: 82%;
        padding: 0 10px;
    }

    .armor-icons-container {
        top: 5%;
        left: 2%;
        width: 96%;
        height: 50%;
    }

    .armor-icon {
        width: 32px;
        height: 32px;
    }

    /* Compact but well-spaced layout for very small screens */
    .armor-icon:nth-child(1) {
        top: 70px;
        left: 8%;
    }

    .armor-icon:nth-child(2) {
        top: 30px;
        left: 22%;
    }

    .armor-icon:nth-child(3) {
        top: 10px;
        left: 38%;
    }

    .armor-icon:nth-child(4) {
        top: 10px;
        left: 58%;
    }

    .armor-icon:nth-child(5) {
        top: 30px;
        left: 74%;
    }

    .armor-icon:nth-child(6) {
        top: 70px;
        left: 88%;
    }
}

/* Additional responsive improvements for armor content */
@media (max-width: 480px) and (orientation: landscape) {
    .armor-content {
        top: 75%;
    }
}

@media (min-width: 1400px) {
    /* Extra large screens */
    .armor-title {
        font-size: 4.5rem;
    }

    .armor-description {
        font-size: 1.2rem;
    }
}
