/* 
   Tawhid Tailors - Main Stylesheet
   A clean, elegant, and modern responsive design
*/

/* ----- VARIABLES ----- */
:root {
    --primary-color: #0c2340;      /* Deep Navy */
    --primary-color-dark: #091b30; /* Darker Navy */
    --secondary-color: #1e3a5f;    /* Medium Navy */
    --accent-color: #d4af37;       /* Rich Gold */
    --accent-light: #e9d498;       /* Light Gold */
    --text-color: #333333;         /* Dark Gray */
    --light-color: #f8f9fa;        /* Light Gray/Off-White */
    --gray-color: #e5e7eb;         /* Light Gray */
    --shadow: 0 4px 16px rgba(12, 35, 64, 0.12);
    --shadow-strong: 0 10px 30px rgba(12, 35, 64, 0.18);
    --shadow-subtle: 0 3px 12px rgba(12, 35, 64, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --max-width: 1200px;
}

/* ----- RESET & BASE STYLES ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

body.bengali {
    font-family: 'Noto Sans Bengali', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

body.bengali h1, body.bengali h2, body.bengali h3, 
body.bengali h4, body.bengali h5, body.bengali h6 {
    font-family: 'Hind Siliguri', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 30px);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* ----- UTILITY CLASSES ----- */
.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

/* ----- SECTION HEADERS ----- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent-color));
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* ----- LANGUAGE TOGGLE ----- */
.bn {
    display: none !important;
}

body.bengali .en {
    display: none !important;
}

body.bengali .bn {
    display: block !important;
}

body.bengali .bn.btn,
body.bengali a.bn {
    display: inline-block !important;
}

/* ----- BLOG STYLES ----- */
.blog-header {
    padding-top: 10rem;
    padding-bottom: 3rem;
    background-color: var(--light-color);
}

.blog-header .section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-preview-title {
        font-size: 1.5rem;
    }
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.blog-card-content {
    padding: 1.5rem 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.blog-excerpt {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-excerpt p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Blog Post Page Styles */
.blog-post {
    padding-top: 10rem;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-post-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--primary-color);
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary-color);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.blog-post-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    list-style-type: none;
}

.blog-post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.blog-post-cta {
    margin-top: 3rem;
    text-align: center;
}

/* Blog Preview Section for Home Page */
.blog-preview {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.blog-preview-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

.blog-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.blog-preview-image {
    flex: 0 0 200px;
    overflow: hidden;
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.blog-preview-content {
    padding: 1.5rem;
    flex: 1;
}

.blog-preview-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--primary-color);
}

.blog-preview-excerpt {
    margin-bottom: 1rem;
}

.blog-preview-excerpt p {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Responsive adjustments for blog preview */
@media (max-width: 768px) {
    .blog-preview-card {
        flex-direction: column;
        max-width: 500px;
    }
    
    .blog-preview-image {
        flex: 0 0 180px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* ----- ANIMATIONS ----- */
/* Page loading animation */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.page-transition.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader:before, .loader:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: white;
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

.loader:after {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Fade in animation for elements */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    70% { opacity: 0.7; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ----- HEADER ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.6rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header.shadow {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 68px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

.header.shadow .logo-img {
    max-height: 62px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 1.2rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    letter-spacing: 0.4px;
    display: inline-block;
    font-size: 1.05rem;
    border-radius: 8px;
}

.nav-link:hover, .nav-link.active {
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.05), rgba(12, 35, 64, 0.1));
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transition: width 0.3s ease, opacity 0.2s ease;
    border-radius: 3px;
    opacity: 0;
    box-shadow: 0 1px 3px rgba(212, 175, 55, 0.3);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

.language-toggle {
    display: flex;
    gap: 8px;
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 1000;
}

.lang-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: 1.5px solid var(--gray-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    min-width: 40px;
    text-align: center;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(12, 35, 64, 0.25);
    transform: translateY(-2px);
}

.lang-btn:not(.active):hover {
    background-color: rgba(12, 35, 64, 0.05);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.2);
}

#bn-lang {
    font-family: 'Hind Siliguri', sans-serif;
    font-weight: 500;
    letter-spacing: 0;
}

.hamburger {
    display: none; /* Hide by default for desktop */
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.03), rgba(12, 35, 64, 0.08));
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hamburger:hover {
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.05), rgba(12, 35, 64, 0.1));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px auto;
    transition: var(--transition);
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* ----- HERO SECTION ----- */
.hero {
    min-height: 100vh;
    background-image: url('../images/ttbg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

body.bengali .hero-title {
    font-family: 'Hind Siliguri', sans-serif;
    letter-spacing: 0;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.3px;
    line-height: 1.5;
}

body.bengali .hero-tagline {
    font-family: 'Hind Siliguri', sans-serif;
    letter-spacing: 0;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    70% {
        opacity: 0.8;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- ABOUT SECTION ----- */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    transition: var(--transition-slow);
    box-shadow: 0 5px 20px rgba(12, 35, 64, 0.08);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.about-image:hover img {
    transform: translate(10px, 10px);
    box-shadow: var(--shadow-strong);
}

.about-image:hover::before {
    transform: translate(-10px, -10px);
}

/* ----- PROPRIETOR SECTION ----- */
.proprietor {
    background-color: #f9fafb;
    background-image: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.proprietor-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.proprietor-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--accent-color);
    opacity: 0.15;
    border-radius: 0 0 0 100%;
    background-image: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.proprietor-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    opacity: 0.05;
    border-radius: 0 100% 0 0;
}

.proprietor-image {
    flex: 1;
    position: relative;
}

.proprietor-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    animation: spin 30s linear infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.proprietor-image img {
    border-radius: 50%;
    box-shadow: var(--shadow-strong);
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin: 0 auto;
    border: 5px solid white;
    border: 5px solid rgba(255, 255, 255, 0.9);
    filter: brightness(1.02);
    transition: var(--transition-slow);
}

.proprietor-image:hover img {
    transform: scale(1.03);
    box-shadow: var(--shadow-strong);
}

.proprietor-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.proprietor-text h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
}

body.bengali .proprietor-text h3 {
    font-family: 'Hind Siliguri', sans-serif;
    letter-spacing: 0;
}

.proprietor-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ----- SERVICES SECTION ----- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 2px 2px 0 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-color), #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    box-shadow: 0 5px 15px rgba(12, 35, 64, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    font-size: 1.8rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px dashed var(--accent-color);
    opacity: 0.5;
    z-index: -1;
    transition: var(--transition);
    transform: scale(1.15);
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-strong);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card:hover .service-icon::after {
    transform: scale(1.3);
    opacity: 0.3;
    animation: spin 15s linear infinite;
}

.service-card:hover .service-icon::before {
    opacity: 0.7;
    transform: scale(2);
}

@keyframes spin {
    0% {
        transform: scale(1.3) rotate(0deg);
    }
    100% {
        transform: scale(1.3) rotate(360deg);
    }
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
}

body.bengali .service-card h3 {
    font-family: 'Hind Siliguri', sans-serif;
    letter-spacing: 0;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ----- CONTACT SECTION ----- */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.contact-info {
    flex: 1;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    border-top: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
    opacity: 0.5;
    border-radius: 5px 0 0 0;
    z-index: -1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
    margin-top: 0.25rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.05), rgba(12, 35, 64, 0.1));
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(12, 35, 64, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.info-item:hover i {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.1), rgba(12, 35, 64, 0.15));
    box-shadow: 0 5px 12px rgba(12, 35, 64, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
}

body.bengali .info-item h3 {
    font-family: 'Hind Siliguri', sans-serif;
    letter-spacing: 0;
}

.info-item p {
    color: #666;
    margin-bottom: 0.8rem;
}

.contact-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(212, 175, 55, 0.1);
    min-width: 120px;
}

.contact-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: white;
}

body.bengali .contact-btn {
    font-family: 'Hind Siliguri', sans-serif;
    letter-spacing: 0;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50%;
    z-index: 0;
}

.social-icons a i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(12, 35, 64, 0.15);
    color: var(--primary-color);
}

.social-icons a:hover::before {
    transform: scale(1);
}

.contact-form {
    flex: 1;
    background-color: #f9fafb;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.05);
}

.contact-form::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    border-bottom: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
    opacity: 0.5;
    z-index: -1;
    border-radius: 0 0 5px 0;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius-lg);
    font-family: inherit;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-subtle);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(12, 35, 64, 0.08);
    background-color: white;
    transform: translateY(-2px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    background-color: white;
    transform: translateY(-2px);
}

/* Since labels are before inputs in the HTML structure, we need to use JavaScript to handle the focus effect */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

/* ----- MAP CONTAINER ----- */
.map-container {
    width: 100%;
    height: 450px;
    margin-top: 4rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-strong);
    border: 3px solid rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    background-image: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-origin: border-box;
    background-clip: border-box;
    box-sizing: border-box;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    transition: var(--transition);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(212, 175, 55, 0.2);
}

.map-container:hover::before {
    opacity: 0.5;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: relative;
    z-index: 0;
}

/* ----- FOOTER ----- */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4.5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo-img {
    max-height: 100px;
    filter: brightness(2) contrast(1.2);
    transition: var(--transition);
    border-radius: 5px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-links ul {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-language {
    margin-top: 1rem;
}

.footer-language .lang-btn {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-language .lang-btn.active {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--primary-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.copyright a {
    color: var(--accent-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.copyright a:hover {
    color: var(--secondary-color);
}

.copyright a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.copyright a:hover::after {
    width: 100%;
}

/* ----- SCROLL TO TOP BUTTON ----- */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: white;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 999;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-to-top:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(212, 175, 55, 0.3);
}

#scroll-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

#scroll-to-top:hover::before {
    transform: scale(1);
}

/* ----- RESPONSIVE STYLES ----- */

/* Large Devices */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .about-container,
    .proprietor-container,
    .contact-container {
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* Medium Devices */
@media (max-width: 992px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .about-container,
    .proprietor-container,
    .contact-container {
        flex-direction: column;
    }
    
    .proprietor-image,
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .proprietor-image img {
        width: 250px;
        height: 250px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Small Devices */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }
    
    .header-inner {
        padding: 0.4rem 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        flex-wrap: nowrap;
    }
    
    .logo-img {
        max-height: 58px;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.15));
        order: 1;
    }
    
    .hamburger {
        display: flex;
        z-index: 1100;
        margin-left: 10px;
        margin-right: 0;
        order: 3;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
        box-shadow: 5px 0 25px rgba(12, 35, 64, 0.12);
        padding: 85px 25px 30px;
        transition: 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-left: 1px solid rgba(212, 175, 55, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 1rem 0;
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(0.1s * var(--i));
    }
    
    .nav-link {
        display: block;
        padding: 14px 15px;
        font-size: 1.15rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.08);
        width: 100%;
        transition: all 0.3s ease;
        font-weight: 600;
        border-radius: 8px;
        margin: 5px 0;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        padding-left: 20px;
        color: var(--primary-color);
        background: linear-gradient(135deg, rgba(12, 35, 64, 0.05), rgba(12, 35, 64, 0.1));
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        transform: translateY(-2px);
    }
    
    .hamburger.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        box-shadow: 0 4px 15px rgba(12, 35, 64, 0.2);
        border-color: var(--accent-color);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        width: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
        background-color: white;
        width: 18px;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
        background-color: white;
        width: 18px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Improved text readability for mobile */
    p {
        font-size: 0.95rem;
        line-height: 1.6;
        letter-spacing: 0.2px;
    }
    
    .section-content {
        padding: 0 10px;
    }
    
    /* Improved contact section for mobile */
    .contact-container {
        gap: 2rem;
    }
    
    .info-item {
        margin-bottom: 1.8rem;
    }
    
    .info-item h3 {
        font-size: 1rem;
    }
    
    .contact-btn {
        padding: 7px 14px;
        font-size: 0.85rem;
        display: inline-block;
        margin-top: 0.4rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .header {
        padding: 0.4rem 0;
    }
    
    .header-inner {
        padding: 0.3rem 0;
    }
    
    .logo-img {
        max-height: 52px;
    }
    
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Further text optimization for very small screens */
    p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
    
    /* Optimize contact section for very small screens */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem;
    }
    
    .contact-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        width: 100%;
        margin-top: 0.3rem;
    }
    
    .info-item p {
        margin-bottom: 0.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Make language toggle more compact */
    .language-toggle {
        position: static;
        gap: 5px;
        margin-left: 0;
        margin-right: 10px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 4px;
        border-radius: 30px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(212, 175, 55, 0.1);
        z-index: 1100;
        order: 2;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
        border-width: 1px;
        min-width: 30px;
        text-align: center;
        margin: 0;
    }
    
    .nav-menu {
        width: 85%;
        padding: 75px 20px 30px;
    }
    
    .nav-link {
        padding: 12px 0;
        font-size: 1.1rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .proprietor-image img {
        width: 200px;
        height: 200px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        box-shadow: 0 3px 8px rgba(12, 35, 64, 0.1);
    }
    
    .btn-secondary {
        margin-top: 10px;
        margin-left: 0;
    }
    
    .social-icons {
        justify-content: center;
    }
}