@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary: #0284c7;
    --primary-light: #e0f2fe;
    --primary-dark: #0369a1;
    --secondary: #0d9488;
    --secondary-light: #ccfbf1;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-title: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border: #f1f5f9;
    --border-dark: #cbd5e1;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-title);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-white {
    background-color: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    background-color: var(--bg-main);
    transform: translateY(-2px);
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    transition: var(--transition);
}

header.scrolled {
    background: #ffffff;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    color: var(--text-body);
}

.nav-link:hover, .nav-item.active > .nav-link {
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 8px 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-body);
    font-weight: 400;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-title);
}

/* Main Spacing for Sticky Header */
main {
    margin-top: 80px;
    min-height: calc(100vh - 400px);
}

/* Banner / Hero Section */
.hero-fullwidth {
    position: relative;
    background: linear-gradient(135deg, #e0f2fe 0%, #ccfbf1 100%);
    height: 620px;
    width: 100%;
    overflow: hidden;
}

.hero-fullwidth .hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background-color: transparent;
}

.hero-fullwidth .slide-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 10%;
}

.hero-fullwidth .slide-content h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-title);
}

.hero-fullwidth .slide-content p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 35px;
    max-width: 600px;
}

/* Bottom Curve Divider */
.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 30;
    pointer-events: none;
}

.hero-curve svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.floating-shapes .shape {
    position: absolute;
    color: var(--primary);
    opacity: 0.15;
    font-size: 32px;
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.floating-shapes .shape-1 { top: 20%; left: 8%; font-size: 44px; }
.floating-shapes .shape-2 { top: 65%; left: 12%; font-size: 28px; }
.floating-shapes .shape-3 { top: 15%; right: 15%; font-size: 38px; }
.floating-shapes .shape-4 { top: 55%; right: 8%; font-size: 48px; }
.floating-shapes .shape-5 { top: 78%; right: 22%; font-size: 32px; }

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 0 80px;
}

.slide-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-title);
}

.slide-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 20;
    transition: var(--transition);
}

.slider-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Quick Overview / Home Sections */
.section {
    padding: 80px 0;
}

.section-bg {
    background-color: #fff;
    border-bottom: 1px solid var(--border);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Grid Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.card-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* About Snippet Flex */
.flex-split {
    display: flex;
    gap: 50px;
    align-items: center;
}

.flex-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.flex-image img {
    width: 100%;
    height: auto;
    display: block;
}

.flex-text {
    flex: 1.2;
}

.flex-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary);
}

.flex-text p {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 20px;
}

/* Stat Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    text-align: center;
    background: var(--primary-light);
    padding: 30px 20px;
    border-radius: var(--radius);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
}

/* Sub-page Banner Redesign */
.page-banner {
    position: relative;
    padding: 85px 0 115px 0;
    overflow: hidden;
    border-bottom: none;
    z-index: 10;
    background: #ffffff;
}

.page-banner-svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.page-banner-svg-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 10;
    width: 100%;
}

.page-banner-left {
    flex: 1;
    min-width: 290px;
    text-align: left;
}

.page-banner-right {
    flex-shrink: 0;
}

.page-title-two-tone {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.8px;
    margin: 0;
    line-height: 1.15;
}

.title-dark {
    color: #0f172a;
}

.title-blue {
    color: var(--primary);
}

.page-title-underline {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 3px;
    margin: 15px 0 18px 0;
}

.page-banner-desc {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    max-width: 580px;
    margin: 0;
}

.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 22px;
    border-radius: 40px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -2px rgba(0,0,0,0.02);
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumbs a {
    color: #475569;
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span {
    color: #cbd5e1;
    font-weight: 400;
}

.breadcrumbs span.active {
    color: var(--primary);
    font-weight: 600;
}

/* Products Layout */
.products-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.products-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.products-content {
    flex-grow: 1;
}

.division-tabs {
    display: flex;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 6px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border: 1px solid var(--border);
}

.division-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
}

.division-tab.active {
    background-color: var(--primary);
    color: #fff;
}

.category-menu {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    list-style: none;
}

.category-menu h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.category-item {
    margin-bottom: 8px;
}

.category-link {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
}

.category-link:hover, .category-item.active .category-link {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.search-box {
    margin-bottom: 30px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
    font-size: 15px;
    background: #fff;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-tag {
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    margin-bottom: 12px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.product-composition {
    font-size: 14px;
    color: var(--text-body);
    font-style: italic;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 100vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* Presence Map Styles */
.presence-flex {
    display: flex;
    gap: 40px;
}

.states-list {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.state-item {
    background: #fff;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.state-item i {
    color: var(--primary);
}

.map-placeholder {
    flex: 1;
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* CSR Cards */
.csr-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.csr-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.csr-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.csr-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.csr-card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.csr-card-body p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Contacts Detail layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-box h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.contact-box p {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    gap: 12px;
}

.contact-box p i {
    color: var(--primary);
    margin-top: 3px;
}

/* Forms Styling */
.form-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-title {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-body);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    background: #fff;
    color: var(--text-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

.form-feedback {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: none;
    font-size: 14px;
}

.form-feedback.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-feedback.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Captcha styling */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.captcha-img {
    background: #e2e8f0;
    padding: 8px 15px;
    font-size: 18px;
    font-weight: bold;
    font-family: monospace;
    letter-spacing: 5px;
    user-select: none;
    border-radius: var(--radius-sm);
}

/* Footer styling */
footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px 0;
    font-size: 14px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #94a3b8;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        transform: none;
        text-align: center;
        display: none;
    }
    
    .nav-item:hover .dropdown-menu {
        display: block;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .flex-split {
        flex-direction: column;
    }
    
    .products-wrapper {
        flex-direction: column;
    }
    
    .products-sidebar {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .presence-flex {
        flex-direction: column-reverse;
    }
}
