/* ===================================
   ROBIMARKET.COM - MODERN E-COMMERCE CSS
   Responsive & Device-Optimized
   Updated with Centered Product Info
   =================================== */

/* CSS Variables for Consistent Theming */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.15);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 60%;
}

.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ===================================
   CLOTH PART SECTION (HERO)
   =================================== */
.cloth_part {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cloth_part::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

.cloth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cloth_text h1 {
    font-size: clamp(28px, 5vw, 42px);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cloth_text p {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.7;
}

.cloth_text h4.m {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.cloth_text h4.m:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cloth_vedio {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloth_vedio video {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.cloth_vedio video:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===================================
   CONTACT INFO SECTION (Products + Form)
   =================================== */
.contact_info {
    padding: 80px 0;
    background: var(--background-alt);
}

.all_pro {
    width: 100%;
}

/* Products Grid - Foolproof Centering */
.all_products {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
}

.all_products .product {
    width: 100%;
    max-width: 350px;
    flex: 0 0 auto;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

/* Product Animation */
.product {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product:nth-child(1) { animation-delay: 0.1s; }
.product:nth-child(2) { animation-delay: 0.2s; }
.product:nth-child(3) { animation-delay: 0.3s; }
.product:nth-child(4) { animation-delay: 0.4s; }
.product:nth-child(5) { animation-delay: 0.5s; }
.product:nth-child(6) { animation-delay: 0.6s; }
.product:nth-child(7) { animation-delay: 0.7s; }
.product:nth-child(8) { animation-delay: 0.8s; }

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

/* Centered Product Name and Price */
.product-card h2.name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 15px 20px 10px;
    line-height: 1.4;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.product-card .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0 20px 15px;
    display: block;
    text-align: center;
}

.popupbtn {
    padding: 0 20px 20px;
    margin-top: auto;
}

.popup-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), #1e3a8a);
}

.popup-btn:active {
    transform: translateY(0);
}

/* ===================================
   CONTACT TEXT & FORM
   =================================== */
.contact_txt {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 25px 30px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--accent-color);
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.contact_txt p {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.pro_form {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.proform {
    display: grid;
    gap: 30px;
}

.half {
    display: grid;
    gap: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
    background: var(--background-alt);
    color: var(--text-primary);
    font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #ffffff;
}

.form-control::placeholder {
    color: var(--text-secondary);
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--background-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-bordered {
    border: 1px solid var(--border-color);
}

.table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: #ffffff;
}

/* New Product Row Animation */
.table tbody tr.new-product-row {
    animation: slideInAndGlow 1.5s ease;
}

@keyframes slideInAndGlow {
    0% {
        opacity: 0;
        transform: translateX(-20px);
        background-color: var(--background-alt);
    }
    30% {
        opacity: 1;
        transform: translateX(0);
        background-color: rgba(16, 185, 129, 0.15);
    }
    100% {
        background-color: var(--background-alt);
    }
}

/* Updated Row Animation (when adding same product) */
.table tbody tr.row-updated {
    animation: rowPulse 1s ease;
}

@keyframes rowPulse {
    0%, 100% {
        background-color: var(--background-alt);
    }
    50% {
        background-color: rgba(37, 99, 235, 0.15);
        transform: scale(1.01);
    }
}

.table td {
    padding: 15px;
    font-size: 15px;
}

.table tfoot.total tr {
    background-color: #ffffff;
}

.table .total td {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
    padding: 18px 15px;
}

.table .total td:last-child {
    color: var(--primary-color);
    font-size: 20px;
}

/* Radio Buttons */
.table label {
    display: block;
    padding: 8px 0;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
}

.table label:hover {
    color: var(--primary-color);
}

.table input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Submit Button */
.proform button[type="submit"] {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
}

.proform button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.proform button[type="submit"]:active {
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large Tablets (992px and below) */
@media (max-width: 992px) {
    .all_products {
        gap: 25px;
    }
    
    .all_products .product {
        max-width: 320px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Responsive */
    .header-content {
        padding: 12px 15px;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        width: 100%;
        padding: 15px 20px;
        border-radius: 0;
        font-size: 18px;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        background: var(--background-alt);
        padding-left: 25px;
    }

    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 280px;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .nav-menu.active li {
        animation: slideInRight 0.3s ease forwards;
        opacity: 0;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .cloth_part {
        padding: 40px 0;
    }

    .cloth {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cloth_text {
        text-align: center;
    }

    .cloth_text h4.m {
        display: block;
        text-align: center;
    }

    .cloth_vedio video {
        max-width: 350px;
    }

    .contact_info {
        padding: 50px 0;
    }

    .all_products {
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .all_products .product {
        max-width: 300px;
    }

    .product-img {
        height: 240px;
    }

    .pro_form {
        padding: 25px;
    }

    .table td {
        padding: 12px;
        font-size: 14px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    /* Header Mobile */
    .header-content {
        padding: 10px;
    }

    .logo img {
        height: 35px;
    }

    .menu-toggle {
        padding: 8px 12px;
        font-size: 20px;
    }

    .nav-menu {
        width: 250px;
    }

    .nav-menu.active::before {
        right: 250px;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 12px 15px;
    }

    .cloth_part {
        padding: 30px 0;
    }

    .cloth_text h1 {
        font-size: 24px;
    }

    .cloth_text p {
        font-size: 15px;
    }

    .cloth_text h4.m {
        font-size: 14px;
        padding: 12px 20px;
    }

    .cloth_vedio video {
        max-width: 100%;
        border-radius: var(--radius-md);
    }

    .contact_info {
        padding: 40px 0;
    }

    .all_products {
        gap: 20px;
        margin-bottom: 40px;
        justify-content: center;
    }
    
    .all_products .product {
        max-width: 100%;
        width: 100%;
    }

    .product-card h2.name {
        font-size: 16px;
        min-height: auto;
    }

    .product-card .price {
        font-size: 20px;
    }

    .popup-btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .contact_txt {
        padding: 20px;
    }

    .contact_txt p {
        font-size: 14px;
    }

    .pro_form {
        padding: 20px;
    }

    .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }

    .table td {
        padding: 10px;
        font-size: 13px;
    }

    .table .total td {
        font-size: 14px;
    }

    .table .total td:last-child {
        font-size: 18px;
    }

    .table label {
        font-size: 13px;
    }

    .proform button[type="submit"] {
        padding: 15px 24px;
        font-size: 16px;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .cloth_text h1 {
        font-size: 22px;
    }

    .product-card h2.name {
        font-size: 15px;
        padding: 12px 15px 8px;
    }

    .product-card .price {
        font-size: 18px;
        padding: 0 15px 12px;
    }

    .popupbtn {
        padding: 0 15px 15px;
    }

    .popup-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .pro_form {
        padding: 15px;
    }

    .contact_txt {
        padding: 15px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
.product-img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.product-img[src] {
    animation: none;
    background: transparent;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Hidden Inputs */
input[type="hidden"] {
    display: none;
}

/* Prevent text selection on buttons */
.popup-btn,
button[type="submit"] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Print Styles */
@media print {
    .cloth_vedio,
    .popup-btn,
    button {
        display: none;
    }
    
    .cloth_part {
        background: #ffffff;
        padding: 20px 0;
    }
    
    .cloth_text h1,
    .cloth_text p {
        color: #000000;
        text-shadow: none;
    }
}

/* SweetAlert2 Custom Styling */
.swal2-popup {
    font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif !important;
    border-radius: var(--radius-lg) !important;
}

.swal2-title {
    font-size: 24px !important;
}

.swal2-html-container {
    font-size: 16px !important;
}

/* Center Notification Custom Style */
.center-notification {
    animation: zoomInBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

@keyframes zoomInBounce {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

/* Animations for page load */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cloth_part,
.contact_info {
    animation: fadeIn 0.5s ease-in;
}

/* Form Highlight Animation - When Product Added */
.form-highlight {
    animation: formPulse 2s ease;
}

@keyframes formPulse {
    0% {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.3), 0 0 0 16px rgba(37, 99, 235, 0.1);
        transform: scale(1.01);
    }
    100% {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
}

/* Contact text pulse when scrolled to */
.contact_txt.attention {
    animation: attentionPulse 1s ease;
}

@keyframes attentionPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    }
}

/* Add More Products Button */
#addMoreProductsBtn {
    display: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#addMoreProductsBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

#addMoreProductsBtn:active {
    transform: translateY(0);
}

#addMoreProductsBtn::before {
    content: '⬆';
    margin-right: 8px;
    font-size: 18px;
}

/* Responsive button */
@media (max-width: 480px) {
    #addMoreProductsBtn {
        width: 100%;
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Scrollbar Styling (Webkit browsers) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===================================
   COMPLETE CONTACT PAGE CSS
   Full CSS for Entire Contact Page
   Owner Info + Form + Map + All Responsive
   =================================== */

/* ===================================
   MAIN CONTAINER
   =================================== */

.container.contact_frm {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Page Title */
.contact_frm h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: #1e293b;
    text-align: center;
    margin: 20px 0 50px;
    font-weight: 700;
    position: relative;
}

.contact_frm h1::before {
    content: '✉️';
    margin-right: 15px;
    font-size: 2.5rem;
}

.contact_frm h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4a7c23, #a3d977, #4a7c23);
    border-radius: 2px;
}

/* ===================================
   SUCCESS/ERROR MESSAGES
   =================================== */

#successMessage,
#errorMessage {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
    animation: slideDown 0.5s ease;
}

#successMessage {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 2px solid #10b981;
}

#errorMessage {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid #ef4444;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   MAIN LAYOUT - EQUAL HEIGHT
   =================================== */

.fcf-body {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: stretch; /* Equal height columns */
}

/* ===================================
   OWNER INFO SECTION (LEFT)
   =================================== */

.owner-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInLeft 0.8s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Owner Photo */
.owner-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.owner-photo:hover img {
    transform: scale(1.1);
}

/* Owner Name & Title */
.owner-info h2 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.owner-info .position {
    text-align: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 500;
}

/* Owner Details Container */
.owner-details {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Owner Detail Items */
.owner-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.owner-detail-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.owner-detail-item:last-child {
    margin-bottom: 0;
}

/* Icons */
.owner-detail-item .icon {
    min-width: 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    flex-shrink: 0;
}

.owner-detail-item .icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

/* Icon Colors */
.icon.location {
    background: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.icon.phone {
    background: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.icon.whatsapp {
    background: rgba(37, 211, 102, 0.3);
    color: #6ee7b7;
}

.icon.email {
    background: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.icon.time {
    background: rgba(251, 191, 36, 0.3);
    color: #fde68a;
}

/* Owner Detail Text */
.owner-detail-item span:not(.icon) {
    flex: 1;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.owner-detail-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.owner-detail-item a:hover {
    color: #fde68a;
}

/* ===================================
   CONTACT FORM SECTION (RIGHT)
   =================================== */

#fcf-form {
    animation: fadeInRight 0.8s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fcf-form-class {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Form Row */
.row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    margin-bottom: 25px;
    align-items: start;
}

.row:last-of-type {
    grid-template-columns: 1fr;
    margin-bottom: 0;
}

.col-25 {
    padding-top: 12px;
}

.col-75 {
    width: 100%;
}

/* Form Labels */
.fcf-label {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: block;
}

.fcf-label small {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

/* Form Inputs */
.fcf-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: #1e293b;
}

.fcf-form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #ffffff;
}

.fcf-form-control:hover {
    border-color: #cbd5e1;
}

textarea.fcf-form-control {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.6;
}

.fcf-form-control::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

/* Submit Button */
.fcf-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.fcf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.fcf-btn:active {
    transform: translateY(0);
}

.fcf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===================================
   MAP SECTION (BELOW)
   =================================== */

.map-section {
    margin-top: 80px;
    padding: 0;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.map-section h2::before {
    content: '🗺️';
    margin-right: 15px;
    font-size: 2.5rem;
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #4a7c23, #a3d977, #4a7c23);
    border-radius: 2px;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   RESPONSIVE - ALL BREAKPOINTS
   =================================== */

/* Large Desktop (1200px and below) */
@media (max-width: 1200px) {
    .fcf-body {
        grid-template-columns: 350px 1fr;
        gap: 40px;
    }
    
    .owner-info {
        padding: 35px 25px;
    }
    
    .owner-photo {
        width: 150px;
        height: 150px;
    }
    
    .fcf-form-class {
        padding: 35px;
    }
    
    .row {
        grid-template-columns: 160px 1fr;
        gap: 18px;
        margin-bottom: 22px;
    }
    
    .fcf-label {
        font-size: 15px;
    }
    
    .fcf-form-control {
        padding: 13px 15px;
        font-size: 15px;
    }
    
    textarea.fcf-form-control {
        min-height: 130px;
    }
    
    .fcf-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* Tablets (992px and below) */
@media (max-width: 992px) {
    .fcf-body {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: start;
    }
    
    .owner-info {
        max-width: 600px;
        margin: 0 auto;
        height: auto;
    }
    
    .owner-details {
        flex-grow: 0;
        justify-content: flex-start;
    }
    
    #fcf-form {
        height: auto;
    }
    
    .fcf-form-class {
        max-width: 100%;
        height: auto;
        padding: 35px 30px;
    }
    
    .row {
        grid-template-columns: 150px 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .col-25 {
        padding-top: 10px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .container.contact_frm {
        padding: 50px 15px;
    }
    
    .contact_frm h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .fcf-body {
        gap: 35px;
    }
    
    /* Owner Info */
    .owner-info {
        padding: 30px 20px;
    }
    
    .owner-photo {
        width: 140px;
        height: 140px;
    }
    
    .owner-info h2 {
        font-size: 24px;
    }
    
    .owner-details {
        padding: 18px;
    }
    
    .owner-detail-item {
        padding: 10px;
        font-size: 14px;
    }
    
    /* Form */
    .fcf-form-class {
        padding: 30px 20px;
        border-radius: 18px;
    }
    
    .row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .col-25 {
        padding-top: 0;
    }
    
    .fcf-label {
        margin-bottom: 8px;
        font-size: 15px;
    }
    
    .fcf-form-control {
        padding: 13px 15px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    textarea.fcf-form-control {
        min-height: 130px;
    }
    
    .fcf-btn {
        padding: 15px 28px;
        font-size: 16px;
        border-radius: 11px;
    }
    
    /* Map */
    .map-container {
        height: 400px;
        border-radius: 15px;
    }
    
    .map-section {
        margin-top: 60px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .container.contact_frm {
        padding: 40px 10px;
    }
    
    .contact_frm h1 {
        font-size: 28px;
        margin: 20px 0 30px;
    }
    
    #successMessage,
    #errorMessage {
        font-size: 16px;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .fcf-body {
        gap: 30px;
    }
    
    /* Owner Info */
    .owner-info {
        padding: 25px 18px;
    }
    
    .owner-photo {
        width: 120px;
        height: 120px;
    }
    
    .owner-info h2 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .owner-info .position {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .owner-details {
        padding: 15px;
    }
    
    .owner-detail-item {
        padding: 10px;
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .owner-detail-item .icon {
        min-width: 28px;
        width: 28px;
        height: 28px;
        margin-right: 10px;
    }
    
    /* Form */
    .fcf-form-class {
        padding: 25px 18px;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }
    
    .row {
        gap: 8px;
        margin-bottom: 18px;
    }
    
    .fcf-label {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .fcf-label small {
        font-size: 12px;
    }
    
    .fcf-form-control {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .fcf-form-control::placeholder {
        font-size: 13px;
    }
    
    textarea.fcf-form-control {
        min-height: 120px;
    }
    
    .fcf-btn {
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 10px;
        letter-spacing: 0.3px;
    }
    
    /* Map */
    .map-section {
        margin-top: 50px;
    }
    
    .map-section h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .map-container {
        height: 300px;
        border-radius: 12px;
    }
}

/* Extra Small (360px and below) */
@media (max-width: 360px) {
    .container.contact_frm {
        padding: 30px 8px;
    }
    
    .contact_frm h1 {
        font-size: 24px;
    }
    
    /* Owner Info */
    .owner-info {
        padding: 20px 15px;
    }
    
    .owner-photo {
        width: 100px;
        height: 100px;
    }
    
    .owner-info h2 {
        font-size: 20px;
    }
    
    .owner-detail-item {
        font-size: 12px;
    }
    
    /* Form */
    .fcf-form-class {
        padding: 20px 15px;
        border-radius: 14px;
    }
    
    .row {
        gap: 6px;
        margin-bottom: 16px;
    }
    
    .fcf-label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .fcf-label small {
        font-size: 11px;
    }
    
    .fcf-form-control {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .fcf-form-control::placeholder {
        font-size: 12px;
    }
    
    textarea.fcf-form-control {
        min-height: 110px;
    }
    
    .fcf-btn {
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 9px;
        letter-spacing: 0.2px;
    }
    
    /* Map */
    .map-container {
        height: 250px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .owner-photo,
    .map-container,
    .fcf-btn {
        display: none;
    }
    
    .fcf-body {
        grid-template-columns: 1fr;
    }
    
    .owner-info {
        background: #f3f4f6;
        color: #000000;
    }
    
    .fcf-form-class {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .fcf-form-control {
        border: 1px solid #000;
        background: #fff;
    }
}

/* ===================================
   ACCESSIBILITY - REDUCED MOTION
   =================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   HIGH CONTRAST MODE
   =================================== */

@media (prefers-contrast: high) {
    .fcf-form-control {
        border-width: 3px;
    }
    
    .fcf-form-control:focus {
        border-color: #000;
        box-shadow: 0 0 0 3px #000;
    }
    
    .fcf-btn {
        border: 2px solid #000;
    }
}

/* ===================================
   FOCUS VISIBLE (Better Accessibility)
   =================================== */

.fcf-form-control:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.fcf-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ===================================
   FOOTER - FULLY RESPONSIVE WITH NETWORK ANIMATION
   All text centered, maximum 2 rows on desktop/tablet
   =================================== */

footer {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #ffffff;
    padding: clamp(40px, 8vh, 60px) 0 clamp(20px, 4vh, 30px);
    overflow: hidden;
    margin-top: clamp(40px, 8vh, 80px);
    min-height: 400px;
}

.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(25px, 4vw, 40px);
    margin-bottom: clamp(25px, 5vh, 40px);
}

/* Center all footer sections */
.footer-section {
    text-align: center;
}

.footer-section h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 700;
    margin-bottom: clamp(15px, 3vh, 20px);
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.footer-section p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Centered Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 5px 10px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #8b5cf6;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover::after {
    width: 80%;
}

/* Centered Contact Items */
.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: center;
    gap: 10px;
}

.footer-contact-item .icon {
    color: #6366f1;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    flex-shrink: 0;
}

.footer-contact-item span:not(.icon) {
    text-align: center;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
    text-align: center;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

/* Centered Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social a {
    width: clamp(38px, 8vw, 40px);
    height: clamp(38px, 8vw, 40px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    border-color: transparent;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Centered Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: clamp(20px, 4vh, 30px);
    margin-top: clamp(25px, 5vh, 40px);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    margin: 0;
    text-align: center;
}

.footer-bottom a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #8b5cf6;
}

/* Yellow Text Styling */
span[style*="color:yellow"],
span[style*="color: yellow"] {
    color: #ffd700 !important;
    font-weight: 600;
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   =================================== */

/* Large Desktop (1101px+): 4 columns in ONE row */
@media (min-width: 1101px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Medium Desktop/Tablet (850px-1100px): 1 centered + 3 below = TWO rows */
@media (min-width: 850px) and (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-section:first-child {
        grid-column: 1 / 4;
        max-width: 600px;
        margin: 0 auto 20px auto;
    }
}

/* Tablet Portrait (481px-768px): 2x2 grid = TWO rows */
@media (min-width: 481px) and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(25px, 5vw, 35px);
    }
    
    .footer-section:first-child {
        grid-column: auto;
        max-width: none;
    }
    
    footer {
        margin-top: clamp(30px, 6vh, 60px);
        padding: clamp(40px, 6vh, 50px) 0 clamp(20px, 3vh, 25px);
    }
    
    .footer-contact-item {
        flex-direction: column;
        gap: 5px;
    }
}

/* Mobile (320px-480px): 1 column = FOUR rows */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: clamp(25px, 5vw, 30px);
    }
    
    .footer-section:first-child {
        grid-column: auto;
        max-width: none;
    }

    footer {
        padding: clamp(30px, 6vh, 50px) 0 clamp(15px, 3vh, 25px);
        min-height: 300px;
        margin-top: clamp(30px, 5vh, 50px);
    }
    
    .footer-content {
        padding: 0 15px;
    }

    .footer-section h3::after {
        width: 40px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }
    
    .footer-social svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-contact-item {
        flex-direction: column;
        gap: 5px;
    }
}

/* Extra Small Mobile (below 360px) */
@media (max-width: 360px) {
    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section h3::after {
        width: 35px;
    }

    .footer-contact-item {
        font-size: 0.9rem;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
    }

    .footer-social svg {
        width: 16px;
        height: 16px;
    }
}

/* Ultra Small Mobile (below 320px) */
@media (max-width: 320px) {
    footer {
        padding: clamp(25px, 5vh, 40px) 0 clamp(12px, 2.5vh, 20px);
    }

    .footer-grid {
        gap: 20px;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    footer {
        padding: clamp(30px, 5vh, 40px) 0 clamp(15px, 3vh, 20px);
        min-height: auto;
    }
}

/* ===================================
   ACCESSIBILITY & PERFORMANCE
   =================================== */

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .footer-links a:active,
    .footer-social a:active,
    .footer-contact-item a:active {
        opacity: 0.8;
    }

    .footer-social a {
        min-width: 44px;
        min-height: 44px;
    }

    .footer-links a {
        padding: 8px 10px;
    }
}

/* Print Styles */
@media print {
    .network-canvas {
        display: none;
    }
    
    footer {
        background: #0f172a;
        page-break-inside: avoid;
    }
    
    .footer-social a {
        border: 1px solid #6366f1;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    footer {
        border-top: 3px solid #6366f1;
    }
    
    .footer-section h3::after {
        height: 4px;
    }

    .footer-links a,
    .footer-contact-item a {
        text-decoration: underline;
    }
    
    .footer-social a {
        border: 2px solid white;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .footer-links a,
    .footer-social a,
    .footer-contact-item a,
    .network-canvas {
        animation: none !important;
        transition: none !important;
    }

    .footer-social a:hover {
        transform: none;
    }

    .footer-links a:hover {
        transform: none;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    footer {
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
    .footer-content {
        max-width: 1600px;
    }
}

/* Extra Large Desktop */
@media (min-width: 1441px) {
    .footer-content {
        max-width: 1400px;
    }
}
