:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #334155;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
    color: white;
}

.logo-animation {
    margin-bottom: 2rem;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loading-progress {
    height: 100%;
    background: var(--warning-color);
    width: 0;
    animation: loadingProgress 2s ease-in-out infinite;
}

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

@keyframes loadingProgress {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

/* Typography */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--warning-color);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    background: rgba(30, 41, 59, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.navbar-scrolled {
    background: rgba(30, 41, 59, 0.98) !important;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color) !important;
}

.dropdown-menu {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.dropdown-item {
    color: #cbd5e1;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

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

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="90" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.hero-badge {
    animation: badgeFloat 3s ease-in-out infinite;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(45deg, var(--warning-color), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats h3 {
    font-weight: 800;
    font-size: 2rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: cardFloat 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.main-hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.building-silhouette {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(20% 100%, 0% 100%, 0% 20%, 15% 20%, 15% 0%, 25% 0%, 25% 30%, 40% 30%, 40% 10%, 50% 10%, 50% 40%, 65% 40%, 65% 15%, 80% 15%, 80% 35%, 100% 35%, 100% 100%);
    animation: buildingGlow 3s ease-in-out infinite;
}

@keyframes buildingGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.4); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

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

@keyframes scrollWheel {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
}

/* Cards */
.premium-card, .premium-service, .premium-project {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.premium-card:hover, .premium-service:hover, .premium-project:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

/* Stat Cards */
.stat-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

/* Background Gradients */
.bg-light-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Service Cards */
.service-tabs .nav-pills .nav-link {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--secondary-color);
    background: white;
    margin: 0 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-tabs .nav-pills .nav-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.service-card {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-content {
    flex: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    padding: 0.25rem 0;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.service-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-footer {
    margin-top: auto;
    padding-top: 1rem;
}

/* Feature Items */
.feature-list {
    space-y: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Company Values */
.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    font-weight: 500;
}

/* Why Choose Us */
.why-choose-visual {
    text-align: center;
}

.feature-highlight {
    background: rgba(37, 99, 235, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-circle {
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--warning-color);
}

/* Projects */
.project-filter {
    margin-bottom: 3rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin: 0 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 0.875rem;
    color: var(--warning-color);
    font-weight: 600;
    text-transform: uppercase;
}

.project-title {
    font-weight: 700;
    margin: 0.5rem 0;
}

.project-description {
    font-size: 0.875rem;
    opacity: 0.9;
}

.placeholder-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infrastructure-bg { background: var(--gradient-1); }
.building-bg { background: var(--gradient-2); }
.bridge-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.environmental-bg { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.residential-bg { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.hospital-bg { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.project-footer {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CSR Section */
.csr-section {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.csr-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 100,100 100,80" fill="rgba(255,255,255,0.05)"/></svg>');
}

.csr-card {
    padding: 2rem;
    height: 100%;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.csr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.csr-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.csr-stats {
    margin-top: 1.5rem;
    text-align: center;
}

.csr-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.csr-stats .stat-label {
    font-size: 0.875rem;
}

.csr-initiatives {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.initiative-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.impact-circle {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.quote-icon {
    font-size: 3rem;
    opacity: 0.1;
    margin-bottom: 1rem;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.author-info h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-rating {
    margin-top: auto;
}

/* Equipment Cards */
.equipment-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

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

.equipment-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

/* Opportunity Cards */
.opportunity-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.opportunity-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.opportunity-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    flex: 1;
}

.opportunity-features li {
    padding: 0.25rem 0;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.opportunity-features li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 0.5rem 0;
    font-weight: 500;
}

.category-item {
    margin-bottom: 1rem;
}

.category-item h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Contact Section */
.contact-section {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.business-hours {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-form .form-control, 
.premium-form .form-select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.premium-form .form-control:focus, 
.premium-form .form-select:focus {
    background: white;
    border-color: var(--warning-color);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
}

.premium-form .form-floating > label {
    color: #64748b;
    font-weight: 500;
}

.form-check-input:checked {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

/* Footer */
.footer-section {
    background: #0f172a;
}

.footer-content {
    border-bottom: 1px solid #334155;
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

.social-link:hover {
    background: var(--warning-color);
    color: white;
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--warning-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

/* Responsive Design */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-card {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-image {
        height: 400px;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-tabs .nav-pills .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem;
        font-size: 0.875rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        margin: 0.25rem;
        font-size: 0.875rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .premium-card, .premium-service, .premium-project {
        margin-bottom: 1rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .floating-card {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .main-hero-visual {
        width: 200px;
        height: 200px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Animation Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    #preloader,
    .hero-particles,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-padding {
        padding: 20px 0 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .premium-card, .premium-service, .premium-project {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .section-badge {
        border: 1px solid currentColor;
    }
}





/* Enhanced Contact Section Styles */
.company-header {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(10px);
}

.company-name-highlight h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contact Items Enhanced */
.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Phone Numbers Styling */
.phone-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.phone-link {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.phone-link:hover {
    color: var(--warning-color) !important;
}

.phone-tag {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Email Styling */
.email-link {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.email-link:hover {
    color: var(--warning-color) !important;
}

.email-badges .badge {
    font-size: 0.7rem;
}

/* Website Styling */
.website-link {
    font-weight: 600;
}

.website-link:hover {
    color: var(--warning-color) !important;
}

/* Quick Contact Actions */
.quick-contact-actions .btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-contact-actions .btn:hover {
    transform: translateY(-2px);
}

/* Business Hours Enhanced */
.hours-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
}

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

.hours-item:last-child {
    border-bottom: none;
}

.day-label {
    font-weight: 500;
    min-width: 120px;
}

.time-label {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.status-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.limited {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.status-badge.closed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Emergency Contact */
.emergency-contact {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.emergency-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Form Enhancements */
.response-info {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
}

.alternative-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.alternative-contact a:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Badge Animations */
.location-badge .badge,
.email-badges .badge,
.website-badge {
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Hover Effects for Links */
.phone-link,
.email-link,
.website-link {
    position: relative;
    transition: all 0.3s ease;
}

.phone-link:hover,
.email-link:hover,
.website-link:hover {
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .company-header {
        text-align: center;
        padding: 1rem;
    }
    
    .phone-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .day-label {
        min-width: auto;
    }
    
    .quick-contact-actions .col-6 {
        margin-bottom: 0.5rem;
    }
    
    .alternative-contact .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
}

@media (max-width: 576px) {
    .contact-item {
        padding: 1rem;
    }
    
    .company-header {
        padding: 0.75rem;
    }
    
    .hours-container {
        padding: 0.75rem;
    }
    
    .emergency-contact {
        padding: 0.75rem;
    }
}



/* 404 Error Page Styles */
.error-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.error-overlay {
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.error-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.error-icon {
    font-size: 4rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.error-code {
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--warning-color);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.company-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 400px;
}

.error-actions {
    margin: 2rem 0;
}

.error-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.error-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.quick-links {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.quick-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:hover {
    background: rgba(245, 158, 11, 0.4);
    color: white;
    transform: translateY(-2px);
}

.contact-info-404 {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
}

.contact-item-404 {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item-404:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item-404 i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.contact-item-404 a {
    color: var(--warning-color);
    text-decoration: none;
}

.contact-item-404 a:hover {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-code {
        font-size: 4rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-content {
        padding: 2rem 1rem;
    }
    
    .links-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-item-404 {
        flex-direction: column;
        text-align: center;
    }
}
