/*
Theme Name: UNICOL Theme
Theme URI: #
Author: Umesh
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --brand-red: #E31E24;
    --brand-yellow: #FFEA00;
    --brand-dark: #0f172a;
    --brand-gray: #64748b;
    --brand-blue: #0d6efd;
    --bg-light: #f8fafc;
}

/* ==========================================
   1. BASE & TYPOGRAPHY
   ========================================== */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #ffffff;
    color: var(--brand-dark);
    overflow-x: hidden;
}

.section-padding { padding: 100px 0; }
.hero-title span { color: var(--brand-red); }
.content-wrapper { margin-top: 70px; }

#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #fff; display: flex; justify-content: center; align-items: center;
    z-index: 10000;
}

/* ==========================================
   2. HEADER, NAVBAR & FOOTER
   ========================================== */
.top-notice-bar {
    background: var(--brand-red);
    color: white; padding: 8px 0; font-size: 0.85rem; font-weight: 600;
    position: fixed; top: 0; width: 100%; z-index: 1050; overflow: hidden;
}

.notice-ticker {
    display: inline-block; white-space: nowrap; padding-left: 100%;
    animation: marquee 30s linear infinite;
}
.notice-ticker span { display: inline-block; padding-right: 50px; }
@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

.navbar {
    padding: 20px 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(15px);
    position: fixed; top: 36px; width: 100%; z-index: 1040;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.navbar.scrolled { padding: 10px 0; background: rgba(255, 255, 255, 0.95); }
.navbar-brand img { height: 45px; }

.nav-link {
    font-weight: 600; font-size: 0.95rem; color: var(--brand-dark) !important;
    margin: 0 15px; opacity: 0.8; transition: 0.3s;
}
.nav-link:hover { opacity: 1; color: var(--brand-red) !important; }

.page-header {
    padding-top: 180px; padding-bottom: 80px; text-align: center;
    background: radial-gradient(circle at top right, rgba(227, 30, 36, 0.03), transparent);
}

footer { background: #fff; padding: 80px 0 40px; border-top: 1px solid #eee; }

/* ==========================================
   3. BUTTONS & FORMS
   ========================================== */
.btn-custom, .btn-send, .btn-enquiry {
    padding: 16px 36px; border-radius: 100px; font-weight: 700;
    transition: 0.3s; display: inline-flex; align-items: center; justify-content: center;
    gap: 12px; text-decoration: none; border: none;
}

.btn-red, .btn-send { background: var(--brand-red); color: white; }
.btn-red:hover, .btn-send:hover {
    background: #c2151a; color: white; transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.2);
}

.btn-outline-dark { border: 2px solid var(--brand-dark); color: var(--brand-dark); background: transparent;}
.btn-outline-dark:hover { background: var(--brand-dark); color: white; }

.btn-enquiry { background: var(--brand-dark); color: white; width: 100%; border-radius: 15px; padding: 14px; }
.btn-enquiry:hover { background: var(--brand-red); transform: translateY(-2px); }

.btn-brand-primary {
    background-color: var(--brand-red); color: #ffffff; font-weight: 600;
    border: none; border-radius: 6px; transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.2);
}
.btn-brand-primary:hover {
    background-color: #c82333; color: #ffffff; transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
}

.form-section { background: var(--bg-light); border-radius: 40px; padding: 60px; }
.form-control, .form-select {
    border-radius: 12px; padding: 14px; background: #ffffff;
    border: 1px solid #e2e8f0; transition: 0.3s;
}
.form-control:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

/* ==========================================
   4. CARDS, MODULES & SECTIONS
   ========================================== */
/* Industry & Contact Cards */
.industry-card, .contact-card {
    background: white; padding: 40px; border-radius: 30px; height: 100%;
    border: 1px solid #eee; transition: all 0.3s ease; text-align: center;
}
.industry-card:hover, .contact-card:hover {
    transform: translateY(-10px); border-color: var(--brand-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.industry-icon, .icon-circle {
    width: 60px; height: 60px; background: #fff5f5; color: var(--brand-red);
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 25px; transition: 0.3s;
}
.contact-card .icon-circle { width: 70px; height: 70px; border-radius: 50%; }
.contact-card:hover .icon-circle { background: var(--brand-red); color: white; }

/* Product Cards */
.product-card {
    background: white; border-radius: 30px; padding: 30px; height: 100%;
    border: 1px solid #f1f5f9; transition: all 0.4s ease; position: relative; overflow: hidden;
}
.product-card:hover {
    transform: translateY(-10px); border-color: var(--brand-red);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}
.product-img-wrapper {
    background: var(--bg-light); border-radius: 20px; padding: 40px; margin-bottom: 25px;
    display: flex; justify-content: center; align-items: center; position: relative;
}
.product-img {
    max-height: 220px; width: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.08) rotate(3deg); }

.badge-spec {
    position: absolute; top: 15px; right: 15px; background: var(--brand-yellow);
    color: var(--brand-dark); padding: 5px 12px; border-radius: 10px;
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
}
.bonding-tag { font-size: 0.8rem; color: var(--brand-red); font-weight: 700; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.product-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.product-desc { font-size: 0.9rem; color: var(--brand-gray); line-height: 1.6; margin-bottom: 20px; }

/* Filter Pills */
.filter-container { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
    padding: 8px 24px; border-radius: 100px; border: 1px solid #e2e8f0;
    background: white; font-weight: 600; font-size: 0.9rem; transition: 0.3s; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--brand-red); color: white; border-color: var(--brand-red); }

/* Counters */
.counter-box {
    text-align: center; padding: 40px; background: white; border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); border: 1px solid #f1f5f9;
}
.counter-number { font-size: 3.5rem; font-weight: 800; color: var(--brand-red); line-height: 1; margin-bottom: 10px; }

/* Custom Sections */
.india-section {
    background: linear-gradient(135deg, #fffcf5 0%, #fff 100%); border-radius: 60px;
    margin: 0 20px; border: 1px solid #fff1d6;
}
.india-badge {
    background: #fff; border: 1px solid #ddd; padding: 10px 20px; border-radius: 100px;
    display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem;
}
.grow-section { background: var(--brand-dark); color: white; border-radius: 60px; margin: 0 20px; overflow: hidden; position: relative; }
.grow-circle { position: absolute; width: 400px; height: 400px; background: var(--brand-red); filter: blur(150px); opacity: 0.1; bottom: -200px; right: -100px; }
.map-wrapper { height: 450px; border-radius: 30px; overflow: hidden; border: 1px solid #eee; margin-top: 80px; }

/* About Us Section */
.about-section-wrapper { background-color: #fdf8f5; position: relative; overflow: hidden; }
.about-bg-graphic {
    position: absolute; top: 0; left: 0; width: 50%; height: 100%;
    background-image: url('assets/bg-2.png'); background-position: left center;
    background-size: contain; background-repeat: no-repeat; opacity: 0.15; z-index: 1; pointer-events: none;
}
.about-content-row { position: relative; z-index: 2; }
.legacy-portrait-card { transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(0, 0, 0, 0.05) !important; }
.legacy-portrait-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(227, 30, 36, 0.08) !important; }

/* ==========================================
   5. SWIPER SLIDERS
   ========================================== */
.swiper { width: 100%; height: auto; padding: 30px 0 100px; }
.swiper-slide { text-align: center; font-size: 18px; display: flex; justify-content: center; align-items: center; }
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; margin-bottom: 30px;}
.swiper-pagination { display: none; }

.product-slide {
    background: white; border-radius: 32px; padding: 50px; text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); transition: all 0.5s; border: 1px solid transparent; cursor: pointer;
}
.swiper-slide-active .product-slide { border-color: var(--brand-red); transform: scale(1.05); box-shadow: 0 30px 60px rgba(227, 30, 36, 0.1); }
.badge-timer {
    display: inline-block; background: #fff5f5; color: var(--brand-red); padding: 6px 16px;
    border-radius: 100px; font-weight: 700; font-size: 0.8rem; margin-bottom: 20px; border: 1px solid rgba(227, 30, 36, 0.1);
}

/* ==========================================
   6. MODALS
   ========================================== */
.modal-content { border-radius: 20px; border: none; padding: 20px; }
.title-wrapper { display: inline-block; border-bottom: 3px solid var(--brand-red); padding-bottom: 5px; }
.modal-product-title { font-weight: 800; font-size: 2.2rem; margin: 0; text-transform: uppercase; color: var(--brand-blue); letter-spacing: 0.5px; }
.modal-product-desc { font-size: 1rem; line-height: 1.7; }
.icon-box { color: var(--brand-blue); }
.feature-title { color: #333333; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px; margin-top: 10px; }
.specs-table { font-size: 0.95rem; }
.product-modal-img { max-height: 380px; object-fit: contain; transition: transform 0.3s ease; }
.product-modal-img:hover { transform: scale(1.05); }

/* ==========================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 991.98px) {
    .navbar { top: 32px; }
    .navbar.scrolled { top: 0; }
    
    .about-bg-graphic { width: 100%; height: 50%; top: auto; bottom: 0; opacity: 0.08; }
    .portrait-container-col { order: 2; margin-top: 2rem; }
    .legacy-portrait-card { padding: 15px !important; }
    
    .section-padding { padding: 50px 0; }
    .swiper { padding: 60px 0 0px; }
    
    .swiper-button-next, .swiper-button-prev { display: none !important; }
    .swiper-pagination { display: block; bottom: 10px; }
}

@media (max-width: 768px) {
    .form-section { padding: 30px; }
    .page-header { padding-top: 150px; }
}