/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

/* ============================================
   HEADER STYLES
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.header-top {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 12px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    gap: 40px;
    animation: slideInLeft 0.8s ease;
}

.header-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s;
}

.header-info span:hover {
    transform: translateX(5px);
}

.header-main {
    padding: 18px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: slideInLeft 0.8s ease;
    text-decoration: none;
}

.logo-img {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa);
    background-size: 200% 200%;
    animation: shimmer 3s linear infinite;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 26px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    transition: all 0.3s;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.6);
}

.logo-text h1 {
    font-size: 30px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

nav {
    display: flex;
    gap: 45px;
    align-items: center;
    animation: slideInRight 0.8s ease;
}

nav a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

nav a:not(.cta-btn):hover {
    color: #3b82f6;
}

nav a:not(.cta-btn)::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav a:not(.cta-btn):hover::after {
    width: 100%;
}

nav a.active {
    color: #3b82f6;
}

nav a.active::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #1e40af;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    margin-top: 110px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(147, 197, 253, 0.15) 0%, transparent 40%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1.2s ease;
}

.hero h2 {
    font-size: 72px;
    color: white;
    margin-bottom: 28px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero h2 .gradient-text {
    background: linear-gradient(135deg, #60a5fa, #93c5fd, #dbeafe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s linear infinite;
    background-size: 200% 200%;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease;
}

.btn-white {
    background: white;
    color: #1e40af;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: white;
    color: #1e40af;
    border-color: white;
    transform: translateY(-4px);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 10%;
    left: 0;
    width: 200px;
    animation: float 5s ease-in-out infinite;
}

.card-2 {
    top: 40%;
    right: 0;
    width: 180px;
    animation: float 6s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    width: 220px;
    animation: float 7s ease-in-out infinite 1s;
}

.floating-card h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
}

.floating-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 32px;
    font-weight: 800;
}

/* ============================================
   PAGE HERO (Contact Page)
   ============================================ */
.page-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.page-hero h1 {
    font-size: 64px;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -2px;
}

.page-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    background: white;
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 100;
}

.stats-container {
    background: white;
    border-radius: 0;
    box-shadow: none;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    border-right: 1px solid #e2e8f0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInUp 0.8s ease;
}

.section-tag {
    color: #3b82f6;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 52px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 19px;
    color: #64748b;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: linear-gradient(to bottom, #f8fafc, white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    animation: slideInLeft 1s ease;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 550px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1));
    z-index: 1;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: pulse 3s ease-in-out infinite;
    z-index: 2;
}

.about-badge h4 {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 5px;
}

.about-badge p {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    animation: slideInRight 1s ease;
}

.about-content h3 {
    font-size: 42px;
    color: #1e293b;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.about-content h3 .highlight {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    font-size: 17px;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.9;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-box {
    background: white;
    padding: 28px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s;
    cursor: pointer;
}

.feature-box:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-box h4 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-box p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    animation: fadeInUp 0.8s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.product-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.05));
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(59, 130, 246, 0.8));
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-icon {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    transition: all 0.4s;
}

.product-card:hover .product-icon {
    transform: scale(1.2);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.product-content {
    padding: 35px;
}

.product-content h3 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 14px;
    font-weight: 700;
}

.product-content p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 15px;
}

.product-features {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

.product-features li:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.product-features li::before {
    content: '✓';
    color: #3b82f6;
    font-weight: bold;
    font-size: 18px;
    width: 24px;
    height: 24px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: linear-gradient(to bottom, #f8fafc, white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: #3b82f6;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
}

.service-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    transition: all 0.4s;
}

.service-card:hover .service-number {
    transform: scale(1.15) rotate(10deg);
}

.service-card h3 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    cursor: pointer;
    transition: all 0.4s;
    animation: fadeIn 0.8s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.7), rgba(59, 130, 246, 0.5));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 100px 60px;
    border-radius: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite;
}

.why-choose h3 {
    font-size: 42px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
}

.why-choose-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
    opacity: 0.9;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    position: relative;
}

.why-item {
    text-align: center;
    transition: transform 0.4s;
    animation: fadeInUp 0.8s ease;
}

.why-item:hover {
    transform: translateY(-10px);
}

.why-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 24px;
    transition: all 0.4s;
}

.why-item:hover .why-icon {
    background: white;
    transform: scale(1.1) rotate(10deg);
}

.why-item h4 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-item p {
    opacity: 0.9;
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact {
    background: linear-gradient(to bottom, white, #f8fafc);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    animation: slideInLeft 1s ease;
}

.contact-info h3 {
    font-size: 42px;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-info p {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: #3b82f6;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.contact-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-item-content p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.contact-item-content a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-content a:hover {
    color: #3b82f6;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    animation: slideInRight 1s ease;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

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

.success-message {
    display: none;
    background: #d1fae5;
    color: #065f46;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #10b981;
    animation: fadeInUp 0.5s ease;
}

.success-message.show {
    display: block;
}

.error-message {
    display: none;
    background: #fee2e2;
    color: #991b1b;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #ef4444;
    animation: fadeInUp 0.5s ease;
}

.error-message.show {
    display: block;
}

.map-section {
    margin-top: 80px;
    animation: fadeInUp 1s ease;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    height: 450px;
    background: #e2e8f0;
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about h3 {
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 800;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-5px);
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ADMIN DASHBOARD STYLES
   ============================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Outfit', sans-serif;
}

/* Login Screen */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    top: -400px;
    right: -400px;
    animation: pulse 8s ease-in-out infinite;
}

.login-container::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    bottom: -300px;
    left: -300px;
    animation: pulse 10s ease-in-out infinite;
}

.login-box {
    background: var(--bg-card);
    padding: 60px 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 100%;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.login-box h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-box p {
    color: var(--text-secondary);
    font-size: 15px;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

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

.error-msg {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: none;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 14px;
    font-weight: 500;
}

.error-msg.show {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.4s ease;
}

.error-msg::before {
    content: '⚠';
    font-size: 18px;
}

/* Dashboard */
.dashboard {
    display: none;
    min-height: 100vh;
}

.dashboard.active {
    display: block;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 30px 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 30px 30px;
    border-bottom: 1px solid var(--border);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.sidebar-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.sidebar-logo-text h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.sidebar-logo-text p {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-main);
    border-radius: 12px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.user-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.user-details p {
    font-size: 12px;
    color: var(--text-secondary);
}

.sidebar-nav {
    padding: 30px 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-icon {
    font-size: 20px;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 30px;
}

.top-bar {
    background: var(--bg-card);
    padding: 25px 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.top-bar h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top-bar-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-main);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Admin Stats */
.stat-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: var(--bg-main);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-card:nth-child(1) .stat-icon {
    color: var(--primary);
}

.stat-card:nth-child(2) .stat-icon {
    color: var(--warning);
}

.stat-card:nth-child(3) .stat-icon {
    color: var(--success);
}

.stat-card:nth-child(4) .stat-icon {
    color: var(--secondary);
}

.stat-info h3 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
}

.stat-change {
    margin-top: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-weight: 600;
}

.stat-change.negative {
    color: var(--danger);
}

/* Filters */
.filters-section {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

.filter-select {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Messages Section */
.messages-section {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.messages-header {
    padding: 30px 35px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.messages-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.table-filters {
    padding: 20px 35px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 12px;
}

.messages-table-container {
    overflow-x: auto;
}

.messages-table {
    width: 100%;
    border-collapse: collapse;
}

.messages-table thead {
    background: var(--bg-main);
}

.messages-table th {
    padding: 18px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
}

.messages-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.messages-table tbody tr:hover {
    background: var(--bg-hover);
}

.messages-table td {
    padding: 20px;
    color: var(--text-primary);
    font-size: 14px;
}

.date-time-cell {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.date-time-cell .date {
    display: block;
    font-weight: 600;
}

.date-time-cell .time {
    display: block;
    font-size: 12px;
}

.name-cell {
    font-weight: 600;
    color: var(--text-primary);
}

.email-cell {
    color: var(--text-secondary);
}

.phone-cell {
    color: var(--text-secondary);
}

.preview-cell {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-secondary);
}

.table-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-status-new {
    background: rgba(251, 191, 36, 0.15);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.table-status-read {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.table-status-responded {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.actions-cell {
    display: flex;
    gap: 8px;
}

.action-icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-view {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.btn-view:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.btn-delete-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.btn-delete-icon:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.05);
}

.loading-cell {
    text-align: center;
    padding: 80px 30px !important;
}

.loading-cell .spinner {
    margin: 0 auto 20px;
}

.loading-cell p {
    color: var(--text-secondary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    padding: 30px 35px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-hover);
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-main);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 35px;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.modal-info-item {
    background: var(--bg-main);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.modal-info-item label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.modal-info-item .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-message {
    margin-top: 30px;
}

.modal-message label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.modal-message-content {
    background: var(--bg-main);
    padding: 25px;
    border-radius: 12px;
    line-height: 1.8;
    color: var(--text-primary);
    border: 1px solid var(--border);
    font-size: 15px;
}

.modal-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* View All Data Modal */
.modal-large {
    max-width: 95%;
    max-height: 95vh;
}

.data-view-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.data-table-wrapper {
    overflow: auto;
    max-height: calc(95vh - 250px);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table thead {
    position: sticky;
    top: 0;
    background: var(--bg-main);
    z-index: 10;
}

.data-table th {
    padding: 12px 15px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: var(--bg-hover);
}

.data-table td {
    padding: 12px 15px;
    color: var(--text-primary);
    border-right: 1px solid var(--border);
}

.data-table td:last-child {
    border-right: none;
}

.data-table .message-col {
    max-width: 300px;
    white-space: normal;
    line-height: 1.5;
}

.data-table .index-col {
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
}

.copy-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease-out;
    z-index: 10000;
}

/* Loading & Empty States */
.loading, .empty-state {
    text-align: center;
    padding: 80px 30px;
    color: var(--text-secondary);
}

.loading h3, .empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .hero h2 {
        font-size: 56px;
    }

    .hero-visual {
        width: 400px;
        height: 400px;
    }

    .section-title {
        font-size: 42px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .filters-grid {
        grid-template-columns: 1fr 1fr;
    }

    .search-box {
        grid-column: 1 / -1;
    }

    .messages-table th:nth-child(4),
    .messages-table td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 992px) {
    .messages-table th:nth-child(5),
    .messages-table td:nth-child(5) {
        display: none;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        gap: 24px;
        align-items: flex-start;
    }

    nav.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        margin-top: 110px;
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 42px;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-white,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .page-hero {
        padding: 140px 0 80px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .top-bar {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .top-bar-actions {
        justify-content: space-between;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .messages-header {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .header-actions {
        justify-content: space-between;
    }

    .table-filters {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .messages-table th:nth-child(3),
    .messages-table td:nth-child(3) {
        display: none;
    }
}
