/* ============================================================
   TAC AGRO - Modern Premium Industrial Theme
   Aesthetic: Refined Industrial Precision
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* === CSS Variables === */
:root {
    --primary: #0f477a;
    --primary-light: #1a6bb5;
    --primary-dark: #0a3259;
    --accent: #c8984c;
    --accent-light: #dbb274;
    --dark: #0a1628;
    --dark-surface: #111d30;
    --surface: #f5f7fa;
    --surface-warm: #faf8f5;
    --text: #1a1a2e;
    --text-muted: #5a6270;
    --border: #e2e6ec;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 30px 80px rgba(10, 22, 40, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* === Base Typography Override === */
body {
    font-family: 'Source Sans 3', 'Poppins', sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: var(--primary);
}

p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 400;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover, a:focus {
    color: var(--primary-light);
    text-decoration: none;
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-moz-selection {
    background: var(--primary);
    color: #fff;
}

/* === Theme Colors Override === */
.theme-bg {
    background: var(--primary) !important;
}

.primary-bg {
    background: var(--surface) !important;
}

.theme-color {
    color: var(--primary) !important;
}

.theme-hover:hover {
    color: var(--primary) !important;
}

.theme-border {
    border: 1px solid var(--primary) !important;
}

.theme-border-bottom2 {
    border-bottom: 2px solid var(--primary) !important;
}

/* === Smooth Scroll === */
html {
    scroll-behavior: smooth;
}

/* === Modern Header === */
.header-area {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 71, 122, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-area.sticky-header {
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.08);
}

.transparent-header .header {
    padding: 4px 0;
}

.logo img {
    max-height: 70px;
    transition: all 0.3s ease;
}

/* Navigation */
.main-menu ul li a {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
}

.main-menu ul li > a {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-menu ul li:hover > a {
    color: var(--primary) !important;
}

.main-menu ul li:hover > a::after,
.main-menu ul li.active > a::after {
    width: 100%;
}

.main-menu ul li {
    margin-right: 36px;
    position: relative;
}

/* Dropdown Submenu */
.main-menu ul li .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    list-style: none;
}

.main-menu ul li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu ul li .submenu li {
    margin-right: 0 !important;
    display: block !important;
    width: 100%;
}

.main-menu ul li .submenu li a {
    display: block;
    padding: 9px 24px !important;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    color: var(--text-muted);
    letter-spacing: 0;
    transition: all 0.2s ease;
}

.main-menu ul li .submenu li a::after {
    display: none;
}

.main-menu ul li .submenu li a:hover {
    color: var(--primary) !important;
    background: var(--surface);
    padding-left: 30px !important;
}

/* Header Language Button */
.header-right .my-btn .btn {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px 22px;
    border-radius: 6px;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    box-shadow: none;
}

.header-right .my-btn .btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

/* === Modern Buttons === */
.my-btn .btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    padding: 14px 42px;
    font-size: 14px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    box-shadow: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.my-btn .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    z-index: -1;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.my-btn .btn:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(15, 71, 122, 0.3);
    transform: translateY(-2px);
}

.my-btn .btn:hover::before {
    left: 0;
}

.my-btn .btn.transparent-bg {
    color: var(--text);
    box-shadow: none;
    border: 2px solid var(--border);
}

.my-btn .btn.transparent-bg:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(15, 71, 122, 0.3);
}

.my-btn .btn.f-18 {
    font-size: 13px;
    padding: 14px 38px;
}

/* === Title Styles === */
.title span {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent) !important;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.title span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
}

.title h3 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text);
}

.title h4 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.title.text-center span {
    padding-left: 0;
}

.title.text-center span::before {
    display: none;
}

/* === Slider Area (Homepage) === */
.slayt-area {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    overflow: hidden;
}

.slayt-content {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85), rgba(15, 71, 122, 0.7)) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md) !important;
    padding: 32px !important;
}

.slayt-content h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff !important;
}

.slayt-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Source Sans 3', sans-serif;
}

.slayt-indicator {
    width: 10px !important;
    height: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent !important;
    border-radius: 50%;
}

.slayt-indicator.active {
    background: #fff !important;
    border-color: #fff;
    transform: scale(1.3);
}

/* === About Section === */
.about-area.home6 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.home6-about-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* === Progress Bars / Export Section === */
.home6-work-area.home6 {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%) !important;
    position: relative;
    overflow: hidden;
}

.home6-work-area.home6::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(200, 152, 76, 0.05));
    pointer-events: none;
}

.home6-work-area .title span {
    color: var(--accent-light) !important;
}

.home6-work-area .title h3,
.home6-work-area .bar-title h4,
.home6-work-area p {
    color: #fff !important;
}

.home6-work-area .bar-title h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    height: 10px;
    overflow: visible;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-light), var(--accent)) !important;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 0 15px rgba(200, 152, 76, 0.3);
}

.progress-bar span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-light);
    position: absolute;
    right: 0;
    top: -28px;
}

/* === Products / Portfolio Section === */
.portfolio-area.home6 {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--white);
}

.portfolio-area .title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
}

/* Portfolio Filter Buttons */
.portfolio-menu button {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    border: 2px solid var(--border);
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    margin: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-menu button:hover,
.portfolio-menu button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(15, 71, 122, 0.25);
}

/* Product Cards */
.single-portfolio {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-portfolio:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.single-portfolio img {
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-portfolio:hover img {
    transform: scale(1.05);
}

.single-portfolio span {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent) !important;
    padding: 15px 20px 4px 20px !important;
}

.single-portfolio:hover span {
    color: var(--accent) !important;
}

.single-portfolio h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text) !important;
    padding: 0 20px 20px 20px !important;
}

.single-portfolio:hover h6 {
    color: var(--text) !important;
}

a .single-portfolio span,
a .single-portfolio h6,
a:hover .single-portfolio span,
a:hover .single-portfolio h6,
a:focus .single-portfolio span,
a:focus .single-portfolio h6 {
    color: inherit;
}

a .single-portfolio span,
a:hover .single-portfolio span {
    color: var(--accent) !important;
}

a .single-portfolio h6,
a:hover .single-portfolio h6 {
    color: var(--text) !important;
}

/* === Services Section === */
.home3-service-area.home6 {
    background: var(--surface) !important;
    padding-top: 80px !important;
    padding-bottom: 60px !important;
}

.home3-single-service-content {
    border-radius: var(--radius-md) !important;
    border-top: none !important;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 35px 25px 35px !important;
    margin-bottom: 30px !important;
}

.home3-single-service-border {
    border-top: none !important;
    position: relative;
    overflow: hidden;
}

.home3-single-service-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home3-single-service-content:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.home3-single-service-content:hover::before {
    transform: scaleX(1);
}

.service-text h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-text p {
    font-size: 14px;
    line-height: 1.7;
}

/* === Page Headers (Inner Pages) === */
.slider-area.position-relative.primary-bg {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary) 100%) !important;
    position: relative;
    overflow: hidden;
}

.slider-area.position-relative.primary-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(200, 152, 76, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 107, 181, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-title h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
}

.breadcrumb-item a:hover {
    color: var(--accent-light) !important;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* === Footer === */
.footer-area.home6 {
    background: var(--white);
}

.footer-heading {
    background: var(--surface);
    padding: 25px 0;
    border-radius: var(--radius-md);
    margin: 0 15px;
}

.footer-heading h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
}

.footer-top {
    background: var(--dark) !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 60px 0 40px 0;
}

.footer-top h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 24px !important;
    position: relative;
    padding-bottom: 14px;
}

.footer-top h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-contact p,
.footer-top p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
}

.footer-info li a {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 3px 0 !important;
}

.footer-info li a:hover {
    color: var(--accent-light) !important;
    padding-left: 6px !important;
}

.footer-top a:hover,
.footer-bottom a:hover,
.footer-bottom a.c-theme:hover {
    color: var(--accent-light) !important;
}

.f-logo img {
    max-height: 48px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Footer Social Links */
.footer-top .social-link li a {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0 !important;
    margin-right: 8px;
}

.footer-top .social-link li a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
    transform: translateY(-3px);
}

/* === Contact Page === */
.contact-wrapper .title h3 {
    font-family: 'Outfit', sans-serif;
}

.contact-info-content .s-contact {
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--surface);
    margin-bottom: 16px !important;
    transition: all 0.3s ease;
}

.contact-info-content .s-contact:hover {
    box-shadow: var(--shadow-sm);
}

.contact-info-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
}

/* Contact Form Inputs */
.contact-form input,
.contact-form textarea {
    font-family: 'Source Sans 3', sans-serif;
    border: 2px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 14px 20px !important;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(15, 71, 122, 0.08);
    outline: none;
}

/* === Product Pages === */
.blog-page1-content-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.blog-page1-content-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.blog-page1-content {
    padding: 24px !important;
}

.blog-page1-content h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.blog-page1-content h6 a {
    color: var(--primary);
}

/* Sidebar */
.blog-page-sidebar h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 20px;
}

/* === About Us Page === */
.about-us-about-area {
    padding-top: 120px;
}

.about-us-left-content .title h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
}

.about-us-marker {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg);
}

.about-us-marker h3 {
    font-family: 'Outfit', sans-serif;
}

.about-us-marker .theme-color {
    font-size: 48px;
}

.about-us-about-icon {
    border-radius: 50% !important;
}

/* === Blog Page === */
.blog-page3-content h4 a {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
}

.blog-page3-content h4 a:hover {
    color: var(--primary);
}

.blog-page3-img img {
    border-radius: var(--radius-md);
}

/* === Banner / CTA Section === */
.banner-area.service-page {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark)) !important;
}

.banner-content h4 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* === Pagination === */
.pagination .page-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border: 2px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm) !important;
    margin: 0 3px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 71, 122, 0.2);
}

/* === Scroll to Top === */
.scroll-up .top span {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(15, 71, 122, 0.3);
    transition: all 0.3s ease;
}

.scroll-up .top span:hover {
    background: var(--accent) !important;
    transform: translateY(-3px);
}

/* === Mobile Menu === */
.side-mobile-menu {
    box-shadow: var(--shadow-xl);
}

.side-mobile-menu .mobile-menu nav ul li a {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.side-mobile-menu .mobile-menu nav ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.mobile-language-switcher .btn {
    border-radius: var(--radius-sm) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* === Alerts === */
.alert {
    border-radius: var(--radius-sm);
    font-family: 'Source Sans 3', sans-serif;
    border: none;
    font-size: 14px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-danger {
    background: #fce4ec;
    color: #c62828;
}

.alert-info {
    background: #e3f2fd;
    color: var(--primary);
}

.alert-warning {
    background: #fff8e1;
    color: #f57f17;
}

/* === Cards General === */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.card-title a {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text);
}

.card-title a:hover {
    color: var(--primary);
}

/* === WhatsApp Button Enhancement === */
#whatsapp-btn {
    width: 58px !important;
    height: 58px !important;
    font-size: 30px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
}

#whatsapp-btn:hover {
    border-radius: 50% !important;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5) !important;
}

/* === Page Load Animation === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

main {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* === Blog Detail Page === */
.blog-article .blog-header img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.blog-content {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
}

.blog-meta-item {
    font-family: 'Source Sans 3', sans-serif;
}

.blog-meta-item i {
    color: var(--accent) !important;
}

.similar-blogs h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text);
    position: relative;
    padding-bottom: 14px;
}

.similar-blogs h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* === Product Detail Page === */
.product-gallery .main-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.product-gallery .thumbnail-list img {
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-gallery .thumbnail-list img:hover,
.product-gallery .thumbnail-list img.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 71, 122, 0.15);
}

/* === About Page Enhancements === */
.about-us-about-area img {
    border-radius: var(--radius-lg);
}

.about-us-marker {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.about-us-marker::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(200, 152, 76, 0.1));
    pointer-events: none;
}

.about-us-marker h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #fff !important;
}

/* === Contact Page Enhancements === */
.contact-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-info-content .s-contact i {
    color: var(--primary);
    font-size: 20px;
}

/* === General Section Spacing === */
.about-area.home6 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.portfolio-area.home6 {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* === Table Styles (for product specs) === */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

table thead th {
    background: var(--primary);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
    padding: 12px 16px;
    border: none;
}

table tbody td {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

table tbody tr:nth-child(even) {
    background: var(--surface);
}

table tbody tr:hover {
    background: rgba(15, 71, 122, 0.04);
}

/* === Utility Overrides === */
.f-500 { font-weight: 500; }
.f-700 { font-weight: 700; }

.border-radius5 {
    border-radius: var(--radius-sm) !important;
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Responsive Refinements === */
@media (max-width: 992px) {
    .title h3 {
        font-size: 28px;
    }
    .title h4 {
        font-size: 24px;
    }
    .page-title h1 {
        font-size: 32px;
    }
    .portfolio-area .title h2 {
        font-size: 32px;
    }
    .footer-top {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
}

@media (max-width: 768px) {
    .title h3 {
        font-size: 24px;
    }
    .title h4 {
        font-size: 22px;
    }
    .page-title h1 {
        font-size: 26px;
    }
    .portfolio-area .title h2 {
        font-size: 26px;
    }
    .my-btn .btn {
        padding: 12px 30px;
        font-size: 13px;
    }
    .home3-single-service-content {
        padding: 30px 25px 20px 25px !important;
    }
    .footer-top {
        padding: 40px 0 30px;
    }
    .main-menu ul li {
        margin-right: 20px;
    }
}

@media (max-width: 576px) {
    .title span {
        font-size: 11px;
        padding-left: 30px;
    }
    .title span::before {
        width: 20px;
    }
    .portfolio-menu button {
        font-size: 11px;
        padding: 8px 16px;
    }
    #whatsapp-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 26px !important;
        bottom: 20px !important;
        left: 20px !important;
    }
}
