/* Products Section */
.products {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 30%, rgba(74, 20, 140, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(233, 30, 99, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(74, 20, 140, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.products::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.03), rgba(233, 30, 99, 0.03));
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.products .floating-element-1 {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.06), rgba(233, 30, 99, 0.06));
    border-radius: 50%;
    filter: blur(25px);
    pointer-events: none;
    animation: float 9s ease-in-out infinite;
}

.products .floating-element-2 {
    position: absolute;
    bottom: 15%;
    left: 15%;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(74, 20, 140, 0.05));
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
    animation: float 7s ease-in-out infinite;
    animation-delay: 3s;
}

.products .floating-element-3 {
    position: absolute;
    top: 60%;
    right: 25%;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.04), rgba(233, 30, 99, 0.04));
    border-radius: 50%;
    filter: blur(15px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
    animation-delay: 5s;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(74, 20, 140, 0.05);
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(74, 20, 140, 0.1);
    border-color: rgba(74, 20, 140, 0.2);
}

/* Product Image Slider */
.product-image-slider {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
    pointer-events: none;
}

.slider-slide-video {
    background: #0a0a0f;
}

.slider-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.products-grid-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    margin: 0;
    gap: 2rem;
}

@media (max-width: 900px) {
    .products-grid-two {
        grid-template-columns: 1fr;
    }
}

.project-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-purple);
    background: rgba(74, 20, 140, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-btn i {
    color: var(--primary-purple);
    font-size: 1rem;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

.product-content {
    padding: 1.2rem;
}

.product-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.8rem;
}

.product-content p {
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.product-features {
    display: none;
}

.btn-contact {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(74, 20, 140, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 20, 140, 0.4);
    background: linear-gradient(135deg, var(--light-purple), var(--light-pink));
}

.btn-contact:active {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(74, 20, 140, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(233, 30, 99, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.05), rgba(233, 30, 99, 0.05));
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
}

.contact .floating-element-1 {
    position: absolute;
    top: 30%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.06), rgba(233, 30, 99, 0.06));
    border-radius: 50%;
    filter: blur(18px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.contact .floating-element-2 {
    position: absolute;
    bottom: 25%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(74, 20, 140, 0.05));
    border-radius: 50%;
    filter: blur(22px);
    pointer-events: none;
    animation: float 9s ease-in-out infinite;
    animation-delay: 2s;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--text-gray);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 20, 140, 0.05);
    position: relative;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(74, 20, 140, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(74, 20, 140, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(233, 30, 99, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.05), rgba(233, 30, 99, 0.05));
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border-radius: 2px;
}

.footer-section p {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Footer Logo Specific Styles */
.footer-logo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo {
    display: flex;
    align-items: center;
    position: relative;
    gap: 0.1rem;
    margin-right: 0.5rem;
}

.footer-logo .logo-m {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    position: relative;
    z-index: 2;
}

.footer-logo .logo-n {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    position: relative;
    z-index: 2;
}

.footer-logo .logo::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--light-purple) 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 1;
    margin-left: -0.1rem;
}

.footer-logo .company-name {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    opacity: 0.95;
    margin-top: 0;
    width: 100%;
    flex-basis: 100%;
}

/* Footer Green/Black Logo Variant */
.footer-logo .logo-green-black .logo-m-green {
    color: #000000;
}

.footer-logo .logo-green-black .logo-n-green {
    color: #556B2F;
}

.footer-logo .logo-green-black::after {
    background: linear-gradient(135deg, #6B8E23 0%, #556B2F 100%);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
    position: relative;
}

.footer-section ul li a:hover {
    color: var(--primary-pink);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(74, 20, 140, 0.3);
    position: relative;
    overflow: hidden;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 20, 140, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(52, 73, 94, 0.5);
    padding-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(74, 20, 140, 0.1), transparent);
    margin-top: 2rem;
    padding-top: 2.5rem;
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.95rem;
    margin: 0;
    position: relative;
}

.footer-bottom p::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
}

/* Form Message Styles */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    animation: fadeInUp 0.5s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-message-success {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    color: #2e7d32;
}

.form-message-error {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: #c62828;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.message-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.message-content span {
    font-weight: 500;
    line-height: 1.5;
}

/* Button Loading State */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: inherit !important;
}

/* Responsive Design for Additional Sections */
@media (max-width: 768px) {
    .products {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        margin-top: 1.5rem;
    }
}

/* Contact Form Popup */
.contact-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-popup {
    background: var(--white);
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    padding: 2.5rem;
}

.contact-popup-overlay.active .contact-popup {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.popup-close i {
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.popup-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.popup-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popup-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.popup-form label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.popup-form .required {
    color: var(--primary-pink);
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(74, 20, 140, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark-gray);
}

.popup-form input:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
}

.popup-form input[readonly] {
    background: rgba(74, 20, 140, 0.05);
    cursor: not-allowed;
    color: var(--primary-purple);
    font-weight: 600;
}

.popup-form textarea {
    resize: vertical;
    min-height: 120px;
}

.popup-form .btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    margin-top: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.popup-form .btn-submit:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-popup {
        width: 95%;
        padding: 2rem 1.5rem;
        max-height: 95vh;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .popup-close {
        top: 1rem;
        right: 1rem;
    }
}


/* ============================= */
/* MOBILE FOOTER PERFECT CENTER  */
/* ============================= */

@media (max-width: 768px) {

    .footer {
        padding: 60px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        justify-items: center;
    }

    .footer-section {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Headings */
    .footer-section h4 {
        text-align: center;
        margin-bottom: 1rem;
    }

    /* Remove left underline and center it */
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Paragraph */
    .footer-section p {
        text-align: center;
    }

    /* Logo Section */
    .footer-logo {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-logo .company-name {
        margin-top: 0.5rem;
        width: 100%;
    }

    /* UL Fix */
    .footer-section ul {
        padding: 0;
        margin: 0;
        list-style: none;
        text-align: center;
    }

    .footer-section ul li {
        margin-bottom: 0.6rem;
    }

    .footer-section ul li a {
        display: inline-block;
    }

    /* Remove left slide hover on mobile */
    .footer-section ul li a:hover {
        transform: none;
    }

    /* Social Icons Center */
    .social-links {
        justify-content: center;
        margin-top: 1.2rem;
    }

    /* Footer Bottom */
    .footer-bottom {
        text-align: center;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .footer-bottom p::before {
        left: 50%;
        transform: translateX(-50%);
    }
}
