:root {
    --primary-blue: #0D47A1;
    --secondary-blue: #1E88E5;
    --accent-orange: #FF9800;
    --dark-text: #2C3E50;
    --light-bg: #F4F7FA;
    --white: #FFFFFF;
    --gray-border: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-blue);
}

.brand-tagline {
    font-size: 11px;
    color: var(--accent-orange);
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-btn {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-btn:hover,
.nav-btn.active {
    color: var(--secondary-blue);
    background-color: #E3F2FD;
}

/* Headers & Heroes */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.textile-header {
    background: linear-gradient(135deg, #1565C0, #00838F);
}

.hero-banner {
    background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Buttons & Grids */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Cards & Components */
.card,
.info-box,
.cert-card,
.contact-form-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-icon,
.cert-icon {
    font-size: 35px;
    color: var(--secondary-blue);
    margin-bottom: 15px;
}

.img-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.img-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.img-card h4 {
    padding: 15px;
    text-align: center;
    font-size: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
}

/* Textile Specific */
.stat-cards {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.stat-box {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 15px;
    border-radius: 6px;
    flex: 1;
    text-align: center;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag-cloud span {
    background: #E3F2FD;
    color: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.buyers-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.buyer-badge {
    background: var(--white);
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 71, 161, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Certifications & Contact */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 22px;
    color: var(--secondary-blue);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    outline: none;
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    margin-top: 40px;
}

@media (max-width: 992px) {

    .grid-4,
    .gallery-grid,
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.custom-brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Logo boro korar jonno height barano hoyeche */
.custom-brand-logo {
    height: 85px;
    /* Size aro boro korte chaile 95px ba 100px dite paren */
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 22px;
    color: #0D47A1;
    letter-spacing: 1px;
}

.brand-tagline {
    font-size: 11px;
    color: #FF9800;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Enhanced Footer Design */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 20px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #FFB74D;
    font-size: 20px;
    margin-bottom: 12px;
}

.footer-col h4 {
    color: #FFB74D;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
    display: inline-block;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #E0E0E0;
    line-height: 1.6;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.footer-col i {
    margin-right: 8px;
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    font-size: 13px;
    color: #B0BEC5;
}

/* Responsive Footer for Mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}