/* ===================================
   ANVIS - Custom CSS Styles
   Converted from React + Tailwind CSS
   =================================== */

/* CSS Variables (Root Colors) */
:root {
    /* ANVIS Brand Colors */
    --background: hsl(210, 20%, 98%);
    --foreground: hsl(220, 30%, 15%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 30%, 15%);
    
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(220, 30%, 15%);
    
    /* Orange - Primary CTA color */
    --primary: hsl(25, 95%, 53%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-glow: hsl(25, 95%, 60%);
    
    /* Deep Navy Blue - Secondary */
    --secondary: hsl(220, 55%, 20%);
    --secondary-foreground: hsl(0, 0%, 100%);
    
    /* Muted grays */
    --muted: hsl(210, 15%, 93%);
    --muted-foreground: hsl(220, 15%, 45%);
    
    /* Accent - Lighter blue */
    --accent: hsl(215, 50%, 35%);
    --accent-foreground: hsl(0, 0%, 100%);
    
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);
    
    --border: hsl(215, 25%, 88%);
    --input: hsl(215, 25%, 88%);
    --ring: hsl(25, 95%, 53%);
    
    --radius: 0.5rem;
    
    /* Custom ANVIS tokens */
    --steel: hsl(215, 15%, 75%);
    --steel-dark: hsl(220, 20%, 30%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(220, 55%, 15%) 0%, hsl(220, 45%, 25%) 100%);
    --gradient-cta: linear-gradient(135deg, hsl(25, 95%, 53%) 0%, hsl(30, 90%, 48%) 100%);
    
    /* Shadows */
    --shadow-card: 0 4px 20px -2px hsl(220, 30%, 15%, 0.08);
    --shadow-hover: 0 12px 40px -8px hsl(220, 30%, 15%, 0.15);
    --shadow-glow: 0 0 40px hsl(25, 95%, 53%, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

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

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

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

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px hsl(25, 95%, 53%, 0.3);
    }
    50% {
        box-shadow: 0 0 40px hsl(25, 95%, 53%, 0.5);
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn-lg {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
    border-radius: 0.375rem;
}

.btn-xl {
    height: 3.5rem;
    padding: 0 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

.btn-cta {
    background: var(--gradient-cta);
    color: var(--primary-foreground);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.btn-hero {
    background: var(--gradient-cta);
    color: var(--primary-foreground);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.btn-hero-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-foreground);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-full-width {
    width: 100%;
}

/* Icon Sizes */
.icon-xs {
    width: 1rem;
    height: 1rem;
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-md {
    width: 1.5rem;
    height: 1.5rem;
}

/* Scroll to top button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #FC7421 0%, #FF9A44 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(252, 116, 33, 0.5);
    transition: all 0.3s ease;
    z-index: 40;
}

.scroll-to-top-btn svg {
    color: white;
    stroke: white;
}

.scroll-to-top-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(252, 116, 33, 0.6);
}

.scroll-to-top-btn:active {
    transform: scale(1.05);
}

/* Mobile Menu Button - Unified for all devices */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 60;
    width: 2.75rem;
    height: 2.75rem;
}

/* Icon positioning - both icons in same place - MUST BE ABSOLUTE POSITIONED */
button.mobile-menu-btn .menu-icon,
button.mobile-menu-btn .close-icon,
#mobileMenuBtn .menu-icon,
#mobileMenuBtn .close-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 24px !important;
    height: 24px !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.mobile-menu-btn .menu-icon svg,
.mobile-menu-btn .close-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2 !important;
    display: block !important;
    color: inherit !important;
    stroke: currentColor !important;
}

/* Default state - only hamburger visible - HIGH SPECIFICITY */
button.mobile-menu-btn:not(.menu-open) .menu-icon,
#mobileMenuBtn:not(.menu-open) .menu-icon {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

button.mobile-menu-btn:not(.menu-open) .close-icon,
#mobileMenuBtn:not(.menu-open) .close-icon {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* Menu open state - only close icon visible - HIGH SPECIFICITY */
button.mobile-menu-btn.menu-open .menu-icon,
#mobileMenuBtn.menu-open .menu-icon {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    pointer-events: none !important;
}

button.mobile-menu-btn.menu-open .close-icon,
#mobileMenuBtn.menu-open .close-icon {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    pointer-events: auto !important;
    z-index: 10 !important;
}

/* Button colors and backgrounds */
body.home-page .mobile-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

body.home-page .mobile-menu-btn svg {
    color: white;
    stroke: white;
}

body.home-page .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.home-page .mobile-menu-btn.menu-open {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

body.home-page .mobile-menu-btn.menu-open .close-icon svg {
    color: #ffffff;
    stroke: #ffffff;
}

body:not(.home-page) .mobile-menu-btn {
    background: transparent;
    color: var(--foreground);
}

body:not(.home-page) .mobile-menu-btn svg {
    color: var(--foreground);
    stroke: var(--foreground);
}

body:not(.home-page) .mobile-menu-btn:hover {
    background: var(--muted);
}

body:not(.home-page) .mobile-menu-btn.menu-open {
    background: var(--muted);
    border: 2px solid var(--border);
}

body:not(.home-page) .mobile-menu-btn.menu-open .close-icon svg {
    color: var(--foreground);
    stroke: var(--foreground);
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--foreground);
    background: transparent;
}

.navbar.scrolled .mobile-menu-btn svg {
    color: var(--foreground);
    stroke: var(--foreground);
}

.navbar.scrolled .mobile-menu-btn:hover {
    background: var(--muted);
}

.navbar.scrolled .mobile-menu-btn.menu-open {
    background: var(--muted);
    border: 2px solid var(--border);
}

.navbar.scrolled .mobile-menu-btn.menu-open .close-icon svg {
    color: var(--foreground);
    stroke: var(--foreground);
}

/* Responsive - only size adjustments */
@media (max-width: 640px) {
    .mobile-menu-btn {
        width: 2.75rem;
        height: 2.75rem;
        padding: 0.625rem;
    }
    
    .mobile-menu-btn .menu-icon,
    .mobile-menu-btn .close-icon {
        width: 20px;
        height: 20px;
    }
    
    .mobile-menu-btn .menu-icon svg,
    .mobile-menu-btn .close-icon svg {
        width: 20px;
        height: 20px;
        stroke-width: 2.5;
    }
    
    /* Force icon visibility on mobile - override everything */
    .mobile-menu-btn:not(.menu-open) .menu-icon {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .mobile-menu-btn:not(.menu-open) .close-icon {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .mobile-menu-btn.menu-open .menu-icon {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    .mobile-menu-btn.menu-open .close-icon {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 10 !important;
    }
    
    .mobile-menu-btn.menu-open .close-icon svg {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        color: inherit !important;
        stroke: currentColor !important;
    }
    
    body.home-page .mobile-menu-btn.menu-open .close-icon svg {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }
    
    body:not(.home-page) .mobile-menu-btn.menu-open .close-icon svg {
        color: var(--foreground) !important;
        stroke: var(--foreground) !important;
    }
    
    .scroll-to-top-btn {
        width: 4rem;
        height: 4rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .scroll-to-top-btn svg {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s ease;
}

/* Na stronie głównej - transparentne tło */
body.home-page .navbar {
    background: transparent;
}

/* Na podstronach - białe tło od razu */
body:not(.home-page) .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
}

@media (max-width: 1279px) {
    body.home-page .navbar {
        background: rgba(31, 58, 84, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    body:not(.home-page) .navbar {
        background: rgba(255, 255, 255, 0.95);
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.navbar-container {
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .navbar-container {
        padding: 0 2rem;
    }
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.logo {
    height: 2rem;
    width: auto;
}

@media (min-width: 640px) {
    .logo {
        height: 2.5rem;
    }
}

@media (min-width: 768px) {
    .logo {
        height: 3rem;
    }
}

@media (min-width: 1024px) {
    .logo {
        height: 3.5rem;
    }
}

.nav-links-desktop {
    display: none;
    align-items: center;
    gap: 0.125rem;
}

@media (min-width: 1280px) {
    .nav-links-desktop {
        display: flex;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

/* Dla strony głównej - białe linki na transparentnym tle */
body.home-page .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

/* Dla podstron - ciemne linki od razu */
body:not(.home-page) .nav-link {
    color: var(--foreground);
}

.navbar.scrolled .nav-link {
    color: var(--foreground);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

body:not(.home-page) .nav-link:hover {
    background: var(--muted);
}

.navbar.scrolled .nav-link:hover {
    background: var(--muted);
}

.nav-link.active {
    color: var(--primary-foreground);
    background: rgba(255, 255, 255, 0.1);
}

body:not(.home-page) .nav-link.active {
    color: var(--primary);
    background: var(--muted);
}

.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--muted);
}

.nav-dropdown {
    position: relative;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    width: 14rem;
    background: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

.nav-submenu-link:last-child {
    border-bottom: none;
}

.nav-submenu-link:hover {
    background: var(--muted);
    color: var(--primary);
}

.nav-cta-desktop {
    display: none;
}

@media (min-width: 1280px) {
    .nav-cta-desktop {
        display: flex;
        align-items: center;
    }
}

/* Duplicate removed - styles defined above */

@media (min-width: 1280px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: var(--card);
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@media (min-width: 1280px) {
    .mobile-menu {
        display: none !important;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.mobile-menu-content {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
    transition: all 0.3s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: var(--primary);
    color: var(--primary-foreground);
}

.mobile-submenu {
    margin-left: 1rem;
    margin-top: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-submenu-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.mobile-submenu-link:hover {
    color: var(--primary);
}

.mobile-menu-cta {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(36, 51, 78, 0.9), 
        rgba(36, 51, 78, 0.7), 
        rgba(36, 51, 78, 0.5));
    z-index: 10;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.decoration-1 {
    top: 25%;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(252, 116, 33, 0.1);
}

.decoration-2 {
    bottom: 25%;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(52, 93, 131, 0.1);
}

.hero-content {
    position: relative;
    z-index: 20;
    padding-top: 5rem;
}

.hero-text-wrapper {
    max-width: 64rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(252, 116, 33, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    border: 1px solid rgba(252, 116, 33, 0.3);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    animation-delay: 0.2s;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-foreground);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation-delay: 0.3s;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin-bottom: 2.5rem;
    line-height: 1.75;
    animation-delay: 0.4s;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    animation-delay: 0.5s;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    animation-delay: 0.6s;
}

@media (min-width: 768px) {
    .hero-stats {
        gap: 4rem;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(252, 116, 33, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-foreground);
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 1.875rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.phone-tile {
    display: none;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

@media (min-width: 1024px) {
    .phone-tile {
        display: flex;
    }
}

.phone-tile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.phone-tile-link:hover {
    background: rgba(255, 255, 255, 0.9);
}

.phone-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(252, 116, 33, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseGlow 2s ease-in-out infinite;
}

.phone-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.phone-content {
    text-align: center;
}

.phone-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.phone-number {
    color: var(--foreground);
    font-weight: 700;
    font-size: 1.125rem;
    white-space: nowrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: float 1.5s ease-in-out infinite;
}

.scroll-indicator-circle {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-indicator-dot {
    width: 0.375rem;
    height: 0.75rem;
    background: var(--primary);
    border-radius: 9999px;
}

/* Section Styles */
.services-section {
    padding: 4rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.section-decoration-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    background: linear-gradient(to bottom, rgba(36, 51, 78, 0.1), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(252, 116, 33, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.animated-section {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.5s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.service-link {
    display: block;
}

.service-image-wrapper {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(36, 51, 78, 0.9), 
        rgba(36, 51, 78, 0.2), 
        transparent);
}

.service-keywords {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--foreground);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.service-content {
    padding: 1.25rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--card-foreground);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

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

.service-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-link-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
}

.service-card:hover .service-link-text svg {
    transform: translateX(0.5rem);
    transition: transform 0.3s ease;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--muted);
    position: relative;
    overflow: hidden;
}

.about-decorations {
    position: absolute;
    inset: 0;
}

.decoration-3 {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(252, 116, 33, 0.05);
}

.decoration-4 {
    bottom: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(52, 93, 131, 0.05);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-text {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--card);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
    transform: scale(1.02) translateY(-4px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-cta);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: var(--primary-foreground);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* Portfolio Section */
.portfolio-section {
    padding: 4rem 0;
    background: var(--background);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: var(--muted);
    color: var(--muted-foreground);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-cta);
    color: var(--primary-foreground);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.portfolio-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(36, 51, 78, 1), 
        rgba(36, 51, 78, 0.2), 
        transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateY(1rem);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-foreground);
}

/* Service Area Map Section */
.service-area-section {
    padding: 4rem 0;
    background: var(--background);
}

.service-area-map-wrapper {
    position: relative;
    margin-left: -50px;
    margin-right: 50px;
}

.service-area-map-container {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.service-area-map {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* Animations for map elements */
.service-area-map .region-outline {
    animation: drawPath 1.5s ease-in-out forwards;
    opacity: 0;
}

.service-area-map .border-line {
    animation: drawPath 1s ease-in-out 0.5s forwards;
    opacity: 0;
}

/* Radius circle animation handled by SVG animate element */

/* Radius border animation handled by SVG animate element */

.service-area-map .distance-markers {
    animation: fadeIn 0.5s ease-out 0.8s forwards;
    opacity: 0;
}

.service-area-map .city {
    animation: scaleInCity 0.3s ease-out forwards;
    opacity: 0;
}

.service-area-map .city:nth-child(1) { animation-delay: 1s; }
.service-area-map .city:nth-child(2) { animation-delay: 1.1s; }
.service-area-map .city:nth-child(3) { animation-delay: 1.2s; }
.service-area-map .city:nth-child(4) { animation-delay: 1.3s; }
.service-area-map .city:nth-child(5) { animation-delay: 1.4s; }
.service-area-map .city:nth-child(6) { animation-delay: 1.5s; }
.service-area-map .city:nth-child(7) { animation-delay: 1.6s; }
.service-area-map .city:nth-child(8) { animation-delay: 1.7s; }

.service-area-map .ustron-marker {
    animation: scaleInMarker 0.5s ease-out 0.2s forwards;
    opacity: 0;
}

/* Pulse ring animation handled by SVG animate element */

.service-area-map .ustron-label {
    animation: fadeInUp 0.5s ease-out 0.8s forwards;
    opacity: 0;
}

.service-area-legend {
    animation: fadeInUp 0.5s ease-out 1.5s forwards;
    opacity: 0;
}

/* Keyframe animations */
@keyframes drawPath {
    from {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes drawCircle {
    from {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}


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

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

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

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


/* Responsive adjustments - removed to keep same appearance on mobile */

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: var(--muted);
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--card);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.testimonial-quote-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(252, 116, 33, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.testimonial-quote-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    flex-shrink: 0;
}

.star-filled {
    fill: var(--primary);
    color: var(--primary);
    stroke: var(--primary);
}

.testimonial-text {
    color: var(--card-foreground);
    font-size: 1.125rem;
    line-height: 1.75;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--card-foreground);
    font-family: 'Montserrat', sans-serif;
}

.author-location {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: var(--background);
}

.blog-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.blog-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-accent-bar {
    height: 0.75rem;
    background: var(--gradient-cta);
}

.blog-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.blog-category {
    padding: 0.25rem 0.75rem;
    background: rgba(252, 116, 33, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--muted-foreground);
    line-height: 1.75;
    flex-grow: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: auto;
}

.blog-card:hover .blog-read-more svg {
    transform: translateX(0.5rem);
    transition: transform 0.3s ease;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-decorations {
    position: absolute;
    inset: 0;
}

.decoration-5 {
    top: 0;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background: rgba(252, 116, 33, 0.1);
}

.decoration-6 {
    bottom: 0;
    left: 25%;
    width: 16rem;
    height: 16rem;
    background: rgba(52, 93, 131, 0.1);
}

.decoration-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.decoration-shape-1 {
    top: 2.5rem;
    left: 2.5rem;
    width: 5rem;
    height: 5rem;
    transform: rotate(45deg);
}

.decoration-shape-2 {
    bottom: 2.5rem;
    right: 2.5rem;
    width: 8rem;
    height: 8rem;
    transform: rotate(12deg);
}

.cta-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(252, 116, 33, 0.2);
    color: var(--primary-foreground);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .cta-description {
        font-size: 1.25rem;
    }
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-foreground);
}

.cta-phone-label {
    color: rgba(255, 255, 255, 0.6);
}

.cta-phone-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cta-phone-number:hover {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.footer-content {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 2.5rem;
    width: auto;
}

@media (min-width: 640px) {
    .footer-logo {
        height: 3rem;
    }
}

@media (min-width: 768px) {
    .footer-logo {
        height: 3.5rem;
    }
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact a {
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    transition: color 0.3s ease;
}

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

/* ===================================
   Hide Tables on Mobile
   =================================== */

/* Hide all tables on mobile devices to prevent layout issues */
@media (max-width: 768px) {
    table,
    .comparison-table,
    .table,
    table.comparison-table,
    table.table {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

