* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Custom CSS Variables */
:root {
    --primary-color: #0f1f3d;
    --secondary-color: #1a365d;
    --accent-color: #10b981;
    --green-light: #34d399;
    --gradient-primary: linear-gradient(135deg, #0f1f3d 0%, #1a365d 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Navbar Styling */
.navbar {
    background: rgba(15, 31, 61, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(15, 31, 61, 1) !important;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff !important;
    text-decoration: none;
}
.navbar-brand img{
    height: 70px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    background-color: white !important;
    border: var(--accent-color) !important;
}
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    
}

.hero-carousel .carousel-item {
    height: 100vh;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(15, 31, 61, 0.8), rgba(16, 185, 129, 0.6));
    z-index: 1;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dummy Image Backgrounds */
.dummy-image-1 {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.dummy-image-2 {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.dummy-image-3 {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.btn-hero {
    background: var(--gradient-accent);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-medium);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: white;
}

/* About Section */
.about-section, .product-section{
    padding: 120px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.about-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Products Section */
.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.products-section {
    padding: 120px 0;
    background: white;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-image {
    height: 300px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    z-index: 2;
}

.btn-read{
    border: none;
}
.btn-read a{
    color: white;
    text-decoration: none;
}
.btn-read:hover {
    text-decoration: none;
    background-color: var(--accent-color);
    border: none;
}
/* Individual product image backgrounds */
.product-image.specialty {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-image.solvents {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-image.pharma {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.product-image.agriculture {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.product-image.coating {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.product-image.catalysts {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.product-content {
    padding: 2rem;
}

.product-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}



/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info {
    padding: 2.5rem 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
}

.contact-info-content h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-content p {
    margin: 0;
    opacity: 0.8;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    margin-bottom: 1rem;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.btn-contact {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-contact:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0f1419;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    text-align: center;
    opacity: 0.8;
}

/* Stats Section - New Addition */
.stats-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials Section - New Addition */

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}
.testimonials-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-company {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content {
        width: 95%;
    }
    
    .about-card,
    .product-content,
    .contact-form {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Custom carousel indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--accent-color);
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}