:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #94a3b8;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-hero: transparent;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

body.night-mode .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
}

.navbar.transparent-nav {
    background: transparent !important;
}

.navbar-dark {
    background: rgba(15, 23, 42, 0.95) !important;
}

.navbar-dark .logo,
.navbar-dark .nav-links a,
.navbar-dark .theme-toggle {
    color: #f8fafc !important;
}

.navbar-light {
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-light .logo,
.navbar-light .nav-links a,
.navbar-light .theme-toggle {
    color: #1e293b !important;
}

.nav-links a {
    font-weight: 500;
    color: #ffffff;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), #7c3aed);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--white);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.nav-links a.active {
    color: var(--white);
}

/* Night Mode (default) - White text, dark background */
body.night-mode {
    background: #0f172a;
    color: #f8fafc;
}

body.night-mode .navbar {
    background: transparent !important;
}

body.night-mode .logo,
body.night-mode .nav-links a,
body.night-mode .theme-toggle {
    color: #f8fafc;
}

body.night-mode h1, 
body.night-mode h2, 
body.night-mode h3,
body.night-mode h4,
body.night-mode h5,
body.night-mode h6,
body.night-mode li,
body.night-mode .section-title h2,
body.night-mode .product-info h3,
body.night-mode .testimonial-card .client-info h4,
body.night-mode .contact-item a {
    color: #f8fafc;
}

body.night-mode .section-content p,
body.night-mode .section-content li,
body.night-mode p {
    color: #e2e8f0;
}

body.night-mode .section,
body.night-mode .product-card,
body.night-mode .testimonial-card,
body.night-mode .contact-info {
    background: #1e293b;
    color: #f8fafc;
}

body.night-mode .product-info p,
body.night-mode .testimonial-card .quote,
body.night-mode .testimonial-card .client-info span {
    color: #94a3b8;
}

body.night-mode .footer {
    background: #020617;
}

body.night-mode .modal-content {
    background: #1e293b;
    color: #f8fafc;
}

body.night-mode .modal-details h2 {
    color: #f8fafc;
}

/* Light Mode - Black text, white background */
body.light-mode {
    background: #f8fafc;
    color: #1e293b;
}

body.light-mode .navbar {
    background: transparent !important;
}

body.light-mode .logo,
body.light-mode .nav-links a,
body.light-mode .theme-toggle {
    color: #1e293b;
}

body.light-mode h1, 
body.light-mode h2, 
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6,
body.light-mode li,
body.light-mode .section-title h2,
body.light-mode .product-info h3,
body.light-mode .testimonial-card .client-info h4,
body.light-mode .contact-item a {
    color: #1e293b;
}

body.light-mode .section-content p,
body.light-mode .section-content li,
body.light-mode p {
    color: #334155;
}

body.light-mode .section,
body.light-mode .product-card,
body.light-mode .testimonial-card,
body.light-mode .contact-info {
    background: #ffffff;
    color: #1e293b;
}

body.light-mode .product-info p,
body.light-mode .testimonial-card .quote,
body.light-mode .testimonial-card .client-info span {
    color: #64748b;
}

body.light-mode .footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

body.light-mode .footer-section h3 {
    color: #f8fafc;
}

body.light-mode .footer-section p,
body.light-mode .footer-section ul li a {
    color: #94a3b8;
}

body.light-mode .modal-content {
    background: #ffffff;
    color: #1e293b;
}

body.light-mode .modal-details h2 {
    color: #1e293b;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 1.25rem;
    color: #ffffff;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

body.night-mode .mobile-toggle {
    color: #ffffff;
}

body.light-mode .mobile-toggle {
    color: #1e293b;
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

body.light-mode .mobile-toggle:hover {
    background: rgba(0, 0, 0, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

body.night-mode .glass-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-aos="fade-up-sm"] {
    transform: translateY(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up-sm"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.scale-hover {
    transition: transform 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.02);
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 20s linear infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 2rem;
    position: relative;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #bfdbfe 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.5));
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.5)); }
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomIn 12s ease-in-out infinite;
    animation-fill-mode: forwards;
}

.hero-slide.swiper-slide-active {
    animation: zoomIn 12s ease-in-out infinite;
    animation-fill-mode: forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.section {
    padding: 6rem 0;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--section-bg, var(--section-default-bg, #f8fafc));
}

body.night-mode .section {
    --section-default-bg: #1e293b;
}

body.light-mode .section {
    --section-default-bg: #ffffff;
}

body.night-mode .section.with-bg-image::before {
    background: rgba(15, 23, 42, 0.85);
}

body.light-mode .section.with-bg-image::before {
    background: rgba(255, 255, 255, 0.85);
}

body.night-mode .section.with-bg-image {
    background: var(--section-bg-img, transparent);
}

body.light-mode .section.with-bg-image {
    background: var(--section-bg-img, transparent);
}

.section.with-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--section-overlay, rgba(0, 0, 0, 0.75));
    z-index: 1;
}

body.night-mode .section.with-bg-image::before {
    background: rgba(15, 23, 42, 0.85);
}

body.light-mode .section.with-bg-image::before {
    background: rgba(255, 255, 255, 0.88);
}

.section.with-bg-image .container {
    position: relative;
    z-index: 2;
}

.section.with-bg-image .section-title h2 {
    color: #ffffff;
}

body.night-mode .section.with-bg-image .section-title h2 {
    color: #ffffff;
}

body.light-mode .section.with-bg-image .section-title h2 {
    color: #1e293b;
}

body.night-mode .section.with-bg-image p,
body.night-mode .section.with-bg-image li {
    color: #e2e8f0;
}

body.light-mode .section.with-bg-image p,
body.light-mode .section.with-bg-image li {
    color: #334155;
}

.section .container {
    position: relative;
    z-index: 1;
}

body.night-mode .section .section-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .section .section-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.night-mode .section .section-card,
body.night-mode .section .section-card h2,
body.night-mode .section .section-card h3,
body.night-mode .section .section-card h4 {
    color: #f8fafc;
}

body.night-mode .section .section-card p,
body.night-mode .section .section-card li,
body.night-mode .section .section-card span {
    color: #cbd5e1;
}

body.light-mode .section .section-card,
body.light-mode .section .section-card h2,
body.light-mode .section .section-card h3,
body.light-mode .section .section-card h4 {
    color: #1e293b;
}

body.light-mode .section .section-card p,
body.light-mode .section .section-card li,
body.light-mode .section .section-card span {
    color: #475569;
}

.section-card {
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section.section-visible {
    animation: fadeInUp 0.6s ease forwards;
}

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

.section-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    transform: translateY(-99%);
    z-index: 10;
}

.section-divider svg {
    width: 100%;
    height: 100%;
}

.section-dark {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

body.night-mode .section.section-dark {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

body.night-mode .section.section-dark .section-title h2 {
    color: #f8fafc;
}

body.night-mode .section.section-dark p,
body.night-mode .section.section-dark li {
    color: #94a3b8;
}

.section.theme-light {
    background-color: #f8fafc;
    color: #1e293b;
}

.section.theme-light .section-title h2,
.section.theme-light h3,
.section.theme-light h4 {
    color: #1e293b;
}

.section.theme-light p,
.section.theme-light li {
    color: #475569;
}

.section.theme-dark {
    background-color: #1e293b;
    color: #f8fafc;
}

.section.theme-dark .section-title h2,
.section.theme-dark h3,
.section.theme-dark h4 {
    color: #f8fafc;
}

.section.theme-dark p,
.section.theme-dark li {
    color: #cbd5e1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 24px;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.section-title .icon:hover {
    transform: rotate(0deg) scale(1.05);
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.product-card .tilt-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.product-card:hover .tilt-glow {
    opacity: 1;
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--secondary);
    font-size: 0.875rem;
}

.testimonial-slider {
    padding: 2rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    color: rgba(37, 99, 235, 0.05);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.testimonial-card .quote {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card .client {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--light);
}

.testimonial-card .client-info h4 {
    font-weight: 600;
    color: var(--dark);
}

.testimonial-card .client-info span {
    font-size: 0.875rem;
    color: var(--gray);
}

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

.contact-info {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 14px;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--secondary);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-gradient:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.btn-gradient:active {
    transform: translateY(-1px);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.contact-map iframe,
.contact-map img {
    width: 100%;
    height: 100%;
    border: none;
}

.footer {
    background: linear-gradient(180deg, #020617 0%, #1e293b 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: #f8fafc;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-section p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1rem;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f8fafc;
    padding-left: 1.5rem;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.875rem;
}

.admin-link {
    color: var(--gray);
    font-size: 0.875rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== CONFIRMATION MODAL ===== */
.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.confirm-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

.confirm-modal .modal-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.confirm-modal .modal-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.confirm-modal .modal-box p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.confirm-modal .modal-box .actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

body.light-mode .confirm-modal .modal-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

body.light-mode .confirm-modal .modal-box h3 {
    color: #1e293b;
}

body.light-mode .confirm-modal .modal-box p {
    color: #64748b;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-main-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.modal-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    background: #0f172a;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumb.active,
.modal-thumb:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.modal-details {
    padding: 1rem;
}

.modal-details h2 {
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.modal-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.modal-specs {
    margin-top: 1.5rem;
}

.modal-specs h3 {
    color: #f8fafc;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #334155;
}

.specs-table th {
    color: #94a3b8;
    font-weight: 500;
    width: 40%;
    font-size: 0.9rem;
}

.specs-table td {
    color: #f8fafc;
    font-size: 0.95rem;
}

/* Light mode modal */
body.light-mode .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .modal-main-image {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

body.light-mode .modal-thumb {
    background: #f1f5f9;
}

body.light-mode .modal-details h2 {
    color: #1e293b;
}

body.light-mode .modal-description {
    color: #64748b;
}

body.light-mode .modal-specs h3 {
    color: #1e293b;
}

body.light-mode .specs-table th {
    color: #64748b;
}

body.light-mode .specs-table td {
    color: #1e293b;
}

body.light-mode .specs-table th,
body.light-mode .specs-table td {
    border-bottom: 1px solid #e2e8f0;
}

body.light-mode .modal-close {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

body.light-mode .modal-close:hover {
    background: #ef4444;
    color: #fff;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-main-image {
        height: 250px;
    }
}
    border-bottom: 1px solid var(--border);
}

.modal-specs th {
    font-weight: 600;
    color: var(--dark);
    width: 40%;
}

.modal-specs td {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    body.night-mode .nav-links {
        background: #1e293b;
    }

    body.night-mode .nav-links a {
        color: #f8fafc;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

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

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

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

    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .section-nav-dots {
        display: none !important;
    }
}

/* ===== SERVICES GRID - Responsive Layout ===== */
.services-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

/* 1 service: full width (1 column) */
.services-grid.service-count-1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 2 services: 50% each */
.services-grid.service-count-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3+ services: max 3 columns */
.services-grid.service-count-3,
.services-grid.service-count-n {
    grid-template-columns: repeat(3, 1fr);
}

/* Mobile: always 1 column */
@media (max-width: 768px) {
    .services-grid.service-count-2,
    .services-grid.service-count-3,
    .services-grid.service-count-n {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICE CARD - 3D Interactive Styling ===== */
.service-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
}

/* Night mode support */
body.night-mode .service-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: 24px;
}

.service-card:hover::before {
    opacity: 1;
}

/* Tilt glow effect */
.service-card .tilt-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover .tilt-glow {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-16px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.3);
}

body.night-mode .service-card:hover {
    box-shadow: 0 30px 60px -12px rgba(59, 130, 246, 0.4);
}

/* ===== SERVICE IMAGE - Centered ===== */
.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 1.5rem;
}

body.night-mode .service-image {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.service-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.service-card:hover .service-image img {
    transform: scale(1.1) translateZ(20px);
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.3));
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.08), transparent);
    pointer-events: none;
}

/* ===== SERVICE INFO - Centered Text ===== */
.service-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-info h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-info h3 {
    color: var(--primary);
}

.service-info p {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Light/Dark mode text */
body.night-mode .service-info h3 {
    color: #f8fafc;
}

body.night-mode .service-info p {
    color: #94a3b8;
}

/* ===== SERVICE MODAL ===== */
.service-modal .modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .service-modal .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-modal .modal-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

body.light-mode .service-modal .modal-details h2 {
    color: #1e293b;
}

.service-modal .modal-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

body.light-mode .service-modal .modal-description {
    color: #64748b;
}

.service-modal .modal-specs h3 {
    color: #f8fafc;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

body.light-mode .service-modal .modal-specs h3 {
    color: #1e293b;
}

.service-modal .specs-table th {
    color: #94a3b8;
    width: 40%;
    font-size: 0.9rem;
}

.service-modal .specs-table td {
    color: #f8fafc;
}

body.light-mode .service-modal .specs-table th {
    color: #64748b;
}

body.light-mode .service-modal .specs-table td {
    color: #1e293b;
}

.service-modal .specs-table th,
.service-modal .specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #334155;
}

/* ===== RESPONSIVE CONTACT FORM ===== */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Form input focus */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== SECTION GALLERY ===== */
.section-gallery-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.section-gallery-grid.gallery-count-1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

@media (max-width: 768px) {
    .section-gallery-grid.gallery-count-2,
    .section-gallery-grid.gallery-count-3,
    .section-gallery-grid.gallery-count-n {
        grid-template-columns: 1fr !important;
    }
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

body.night-mode .gallery-item {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.gallery-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-handle {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border-radius: 6px;
    cursor: grab;
    z-index: 2;
    color: #64748b;
    font-size: 1.2rem;
}

.gallery-handle:active {
    cursor: grabbing;
}

.gallery-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 2;
    font-size: 1.2rem;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Modal */
.gallery-modal .modal-content {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    overflow: hidden;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal .modal-main-image {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.gallery-modal .modal-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== TESTIMONIALS RESPONSIVE ===== */
.testimonials-grid.testimonial-count-1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .testimonials-grid.testimonial-count-2,
    .testimonials-grid.testimonial-count-3 {
        grid-template-columns: 1fr !important;
    }
}

/* ===== SECTION BACKGROUNDS ===== */
#services {
    position: relative;
}

#services.with-bg-image {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#services.with-bg-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    z-index: 0;
}

#services.with-bg-image .container {
    position: relative;
    z-index: 1;
}

/* Night mode section adjustments */
body.night-mode .section-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .section-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE CONTACT FORM ===== */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Form input focus */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== SECTION GALLERY ===== */
.section-gallery-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.section-gallery-grid.gallery-count-1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

@media (max-width: 768px) {
    .section-gallery-grid.gallery-count-2,
    .section-gallery-grid.gallery-count-3,
    .section-gallery-grid.gallery-count-n {
        grid-template-columns: 1fr !important;
    }
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

body.night-mode .gallery-item {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.gallery-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-handle {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border-radius: 6px;
    cursor: grab;
    z-index: 2;
    color: #64748b;
    font-size: 1.2rem;
}

.gallery-handle:active {
    cursor: grabbing;
}

.gallery-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 2;
    font-size: 1.2rem;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Modal */
.gallery-modal .modal-content {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    overflow: hidden;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal .modal-main-image {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.gallery-modal .modal-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li::after {
    content: '→';
    margin-left: 0.5rem;
    color: var(--gray);
    font-size: 1rem;
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Light/Dark mode breadcrumb */
body.night-mode .breadcrumb a {
    color: #60a5fa;
}

body.night-mode .breadcrumb a:hover {
    color: #93c5fd;
}

body.light-mode .breadcrumb a {
    color: #2563eb;
}

body.light-mode .breadcrumb a:hover {
    color: #1d4ed8;
}
