@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,400;0,600;0,700;1,100&family=Roboto:wght@100;300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');
:root{
    --headerclr: #2c3e50;
    --mainclr: #e74c3c;
    --primary: #ff6b6b;
    --accent: #ff4d4d;
    --text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    --btn-shadow: 0 4px 15px rgba(255,77,77,0.3);
}
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: capitalize;
    box-sizing: border-box;
    transition: .3s;
    font-family: 'Poppins', sans-serif;
}
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Construction Animations */
.construction-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: none;
}

/* Crane Animation */
.crane-container {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 200px;
    height: 300px;
}

.crane {
    position: relative;
    width: 100%;
    height: 100%;
}

.crane-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 150px;
    background: linear-gradient(45deg, #34495e, #2c3e50);
    border-radius: 5px;
    animation: craneSway 4s ease-in-out infinite;
}

.crane-arm {
    position: absolute;
    top: 20px;
    right: 0;
    width: 120px;
    height: 15px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 3px;
    animation: armRotate 6s ease-in-out infinite;
}

.crane-hook {
    position: absolute;
    top: 35px;
    right: 10px;
    width: 8px;
    height: 20px;
    background: #f39c12;
    border-radius: 2px;
    animation: hookSwing 3s ease-in-out infinite;
}

.crane-cable {
    position: absolute;
    top: 35px;
    right: 13px;
    width: 2px;
    height: 30px;
    background: #95a5a6;
    animation: cableStretch 2s ease-in-out infinite;
}

@keyframes craneSway {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(2deg); }
}

@keyframes armRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

@keyframes hookSwing {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

@keyframes cableStretch {
    0%, 100% { height: 30px; }
    50% { height: 40px; }
}

/* Building Construction */
.building-construction {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 150px;
    height: 200px;
}

.building-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.floor {
    position: absolute;
    width: 100%;
    height: 40px;
    background: linear-gradient(45deg, #ecf0f1, #bdc3c7);
    border: 2px solid #34495e;
    animation: buildUp 8s ease-in-out infinite;
}

.floor-1 { bottom: 0; animation-delay: 0s; }
.floor-2 { bottom: 40px; animation-delay: 1s; }
.floor-3 { bottom: 80px; animation-delay: 2s; }
.floor-4 { bottom: 120px; animation-delay: 3s; }

@keyframes buildUp {
    0% { opacity: 0; transform: translateY(20px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

.construction-workers {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.worker {
    position: absolute;
    width: 15px;
    height: 25px;
    background: #f39c12;
    border-radius: 50% 50% 0 0;
    animation: workerMove 5s ease-in-out infinite;
}

.worker-1 {
    bottom: 20px;
    left: 20px;
    animation-delay: 0s;
}

.worker-2 {
    bottom: 60px;
    right: 30px;
    animation-delay: 1.5s;
}

.worker-3 {
    bottom: 100px;
    left: 40px;
    animation-delay: 3s;
}

@keyframes workerMove {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}

/* Construction Tools */
.tools-container {
    position: absolute;
    top: 30%;
    left: 5%;
    width: 100px;
    height: 100px;
}

.tool {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #e67e22;
    border-radius: 50%;
    animation: toolFloat 4s ease-in-out infinite;
}

.hammer {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.wrench {
    top: 30px;
    right: 0;
    animation-delay: 1s;
}

.drill {
    bottom: 0;
    left: 20px;
    animation-delay: 2s;
}

.saw {
    bottom: 30px;
    right: 20px;
    animation-delay: 3s;
}

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

/* Blueprint Grid */
.blueprint-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(231, 76, 60, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(231, 76, 60, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(231, 76, 60, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(52, 73, 94, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(155, 89, 182, 0.03) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 100px 100px, 150px 150px, 200px 200px;
    animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Construction Blueprint Elements */
.blueprint-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.blueprint-circle {
    position: absolute;
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 50%;
    animation: blueprintPulse 4s ease-in-out infinite;
}

.blueprint-circle:nth-child(1) {
    top: 15%;
    left: 10%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.blueprint-circle:nth-child(2) {
    top: 70%;
    right: 15%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
}

.blueprint-circle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 80px;
    height: 80px;
    animation-delay: 4s;
}

.blueprint-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.2), transparent);
    height: 1px;
    animation: lineFlow 6s linear infinite;
}

.blueprint-line:nth-child(4) {
    top: 30%;
    left: 0;
    width: 200px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.blueprint-line:nth-child(5) {
    top: 60%;
    right: 0;
    width: 150px;
    transform: rotate(-30deg);
    animation-delay: 3s;
}

.blueprint-line:nth-child(6) {
    bottom: 40%;
    left: 50%;
    width: 180px;
    transform: rotate(15deg);
    animation-delay: 6s;
}

@keyframes blueprintPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.6;
    }
}

@keyframes lineFlow {
    0% { 
        transform: translateX(-100%) rotate(var(--rotation));
        opacity: 0;
    }
    50% { opacity: 0.5; }
    100% { 
        transform: translateX(100%) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Construction Particles */
.construction-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f39c12;
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
    box-shadow: 0 0 6px rgba(243, 156, 18, 0.6);
}

.particle:nth-child(odd) {
    background: #e74c3c;
    box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
}

.particle:nth-child(3n) {
    background: #3498db;
    box-shadow: 0 0 6px rgba(52, 152, 219, 0.6);
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 10%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 60%; animation-delay: 4s; }
.particle:nth-child(6) { top: 70%; left: 30%; animation-delay: 5s; }
.particle:nth-child(7) { top: 50%; left: 90%; animation-delay: 6s; }
.particle:nth-child(8) { top: 90%; left: 50%; animation-delay: 7s; }

@keyframes particleFloat {
    0% { 
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Safety Equipment */
.safety-equipment {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 80px;
    height: 80px;
}

.helmet, .vest, .gloves {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: safetyBounce 3s ease-in-out infinite;
}

.helmet {
    top: 0;
    left: 0;
    background: #e74c3c;
    animation-delay: 0s;
}

.vest {
    top: 30px;
    right: 0;
    background: #f39c12;
    animation-delay: 1s;
}

.gloves {
    bottom: 0;
    left: 30px;
    background: #3498db;
    animation-delay: 2s;
}

@keyframes safetyBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

/* Bulldozer Animation */
.bulldozer-container {
    position: absolute;
    bottom: 15%;
    right: 25%;
    width: 120px;
    height: 80px;
}

.bulldozer {
    position: relative;
    width: 100%;
    height: 100%;
    animation: bulldozerMove 8s ease-in-out infinite;
}

.bulldozer-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 40px;
    background: linear-gradient(45deg, #e67e22, #d35400);
    border-radius: 5px;
}

.bulldozer-blade {
    position: absolute;
    bottom: 10px;
    left: -15px;
    width: 20px;
    height: 30px;
    background: #95a5a6;
    border-radius: 3px;
    animation: bladeMove 2s ease-in-out infinite;
}

.bulldozer-track {
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 15px;
    background: #34495e;
    border-radius: 3px;
}

.bulldozer-track.left {
    left: 10px;
}

.bulldozer-track.right {
    right: 10px;
}

.bulldozer-cabin {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 25px;
    background: #3498db;
    border-radius: 3px;
}

@keyframes bulldozerMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(50px); }
}

@keyframes bladeMove {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

/* Scaffolding */
.scaffolding-container {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 100px;
    height: 150px;
}

.scaffolding {
    position: relative;
    width: 100%;
    height: 100%;
}

.scaffold-pole {
    position: absolute;
    width: 8px;
    height: 100px;
    background: #95a5a6;
    border-radius: 2px;
}

.pole-1 { left: 0; top: 0; }
.pole-2 { right: 0; top: 0; }
.pole-3 { left: 0; bottom: 0; }
.pole-4 { right: 0; bottom: 0; }

.scaffold-platform {
    position: absolute;
    width: 80px;
    height: 10px;
    background: #7f8c8d;
    border-radius: 2px;
    animation: platformSway 4s ease-in-out infinite;
}

.platform-1 { top: 30px; left: 10px; animation-delay: 0s; }
.platform-2 { top: 80px; left: 10px; animation-delay: 2s; }

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

/* Construction Materials */
.materials-container {
    position: absolute;
    top: 60%;
    right: 10%;
    width: 120px;
    height: 80px;
}

.material {
    position: absolute;
    border-radius: 3px;
    animation: materialFloat 5s ease-in-out infinite;
}

.brick {
    width: 15px;
    height: 8px;
    background: #e74c3c;
}

.brick-1 { top: 0; left: 0; animation-delay: 0s; }
.brick-2 { top: 20px; left: 20px; animation-delay: 1s; }
.brick-3 { top: 40px; left: 10px; animation-delay: 2s; }

.steel {
    width: 12px;
    height: 12px;
    background: #34495e;
}

.steel-1 { top: 10px; right: 0; animation-delay: 0.5s; }
.steel-2 { top: 30px; right: 20px; animation-delay: 1.5s; }

.concrete {
    width: 20px;
    height: 10px;
    background: #bdc3c7;
}

.concrete-1 { bottom: 0; left: 50px; animation-delay: 2.5s; }

@keyframes materialFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* Construction Lights */
.construction-lights {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 200px;
    height: 50px;
}

.light {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #f1c40f;
    border-radius: 50%;
    animation: lightBlink 2s ease-in-out infinite;
    box-shadow: 0 0 10px #f1c40f;
}

.light-1 { top: 0; left: 0; animation-delay: 0s; }
.light-2 { top: 20px; left: 50px; animation-delay: 0.7s; }
.light-3 { top: 10px; right: 0; animation-delay: 1.4s; }

@keyframes lightBlink {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Construction Geometric Shapes */
.construction-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: shapeFloat 8s ease-in-out infinite;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #e74c3c;
}

.shape.square {
    width: 20px;
    height: 20px;
    background: #3498db;
    transform: rotate(45deg);
}

.shape.circle {
    width: 25px;
    height: 25px;
    background: #f39c12;
    border-radius: 50%;
}

.shape.rectangle {
    width: 30px;
    height: 15px;
    background: #2ecc71;
}

.shape:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    bottom: 15%;
    right: 20%;
    animation-delay: 6s;
}

.shape:nth-child(5) {
    top: 50%;
    left: 8%;
    animation-delay: 1s;
}

.shape:nth-child(6) {
    top: 40%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes shapeFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Metal Fabrication Animations */
.metal-fabrication {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Welding Sparks */
.welding-sparks {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 60px;
    height: 60px;
}

.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ff6b35;
    border-radius: 50%;
    animation: sparkFly 1.5s ease-out infinite;
}

.spark-1 { top: 0; left: 0; animation-delay: 0s; }
.spark-2 { top: 10px; left: 20px; animation-delay: 0.2s; }
.spark-3 { top: 20px; left: 10px; animation-delay: 0.4s; }
.spark-4 { top: 30px; left: 30px; animation-delay: 0.6s; }
.spark-5 { top: 40px; left: 5px; animation-delay: 0.8s; }
.spark-6 { top: 50px; left: 25px; animation-delay: 1s; }

@keyframes sparkFly {
    0% { 
        transform: translate(0, 0) scale(1);
        opacity: 1;
        box-shadow: 0 0 5px #ff6b35;
    }
    50% { 
        transform: translate(20px, -30px) scale(1.5);
        opacity: 0.8;
        box-shadow: 0 0 10px #ff6b35;
    }
    100% { 
        transform: translate(40px, -60px) scale(0.5);
        opacity: 0;
        box-shadow: 0 0 2px #ff6b35;
    }
}

/* Metal Sheets */
.metal-sheets {
    position: absolute;
    top: 60%;
    right: 20%;
    width: 80px;
    height: 60px;
}

.metal-sheet {
    position: absolute;
    width: 40px;
    height: 30px;
    background: linear-gradient(45deg, #bdc3c7, #95a5a6);
    border: 2px solid #7f8c8d;
    animation: sheetSlide 4s ease-in-out infinite;
}

.sheet-1 { 
    top: 0; 
    left: 0; 
    animation-delay: 0s;
    transform: rotate(15deg);
}
.sheet-2 { 
    top: 15px; 
    left: 20px; 
    animation-delay: 1s;
    transform: rotate(-10deg);
}
.sheet-3 { 
    top: 30px; 
    left: 5px; 
    animation-delay: 2s;
    transform: rotate(5deg);
}

@keyframes sheetSlide {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(10px) rotate(5deg); }
    50% { transform: translateX(20px) rotate(0deg); }
    75% { transform: translateX(10px) rotate(-5deg); }
}

/* Steel Beams */
.steel-beams {
    position: absolute;
    bottom: 30%;
    left: 10%;
    width: 100px;
    height: 80px;
}

.steel-beam {
    position: absolute;
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, #34495e, #2c3e50);
    border-radius: 2px;
    animation: beamRotate 6s ease-in-out infinite;
}

.beam-1 { 
    top: 0; 
    left: 0; 
    animation-delay: 0s;
    transform: rotate(0deg);
}
.beam-2 { 
    top: 30px; 
    left: 20px; 
    animation-delay: 2s;
    transform: rotate(45deg);
}
.beam-3 { 
    top: 60px; 
    left: 10px; 
    animation-delay: 4s;
    transform: rotate(-30deg);
}

@keyframes beamRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-15deg); }
}

/* Metal Cutting */
.metal-cutting {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 60px;
    height: 40px;
}

.cutting-torch {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 30px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 3px;
    animation: torchMove 3s ease-in-out infinite;
}

.cutting-line {
    position: absolute;
    top: 15px;
    left: 25px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    animation: cuttingGlow 1s ease-in-out infinite;
}

.metal-chips {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 20px;
    height: 20px;
}

.chip {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #95a5a6;
    border-radius: 50%;
    animation: chipFly 2s ease-out infinite;
}

.chip-1 { top: 0; left: 0; animation-delay: 0s; }
.chip-2 { top: 5px; left: 10px; animation-delay: 0.5s; }
.chip-3 { top: 10px; left: 5px; animation-delay: 1s; }

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

@keyframes cuttingGlow {
    0%, 100% { 
        box-shadow: 0 0 5px #ff6b35;
        opacity: 0.8;
    }
    50% { 
        box-shadow: 0 0 15px #ff6b35;
        opacity: 1;
    }
}

@keyframes chipFly {
    0% { 
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% { 
        transform: translate(20px, -15px) scale(0.5);
        opacity: 0;
    }
}

/* Metal Grinding */
.metal-grinding {
    position: absolute;
    bottom: 20%;
    left: 30%;
    width: 50px;
    height: 50px;
}

.grinder {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #34495e, #2c3e50);
    border-radius: 50%;
    animation: grinderSpin 2s linear infinite;
}

.grinding-sparks {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
}

.grinding-spark {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #f39c12;
    border-radius: 50%;
    animation: grindingSpark 1s ease-out infinite;
}

.gspark-1 { top: 0; left: 0; animation-delay: 0s; }
.gspark-2 { top: 10px; left: 10px; animation-delay: 0.3s; }
.gspark-3 { top: 5px; left: 15px; animation-delay: 0.6s; }

@keyframes grinderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes grindingSpark {
    0% { 
        transform: translate(0, 0) scale(1);
        opacity: 1;
        box-shadow: 0 0 3px #f39c12;
    }
    100% { 
        transform: translate(15px, -10px) scale(0.5);
        opacity: 0;
        box-shadow: 0 0 1px #f39c12;
    }
}

/* Metal Bending */
.metal-bending {
    position: absolute;
    top: 70%;
    right: 30%;
    width: 60px;
    height: 40px;
}

.bending-machine {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 20px;
    background: linear-gradient(45deg, #34495e, #2c3e50);
    border-radius: 3px;
    animation: machinePress 4s ease-in-out infinite;
}

.metal-piece {
    position: absolute;
    top: 25px;
    left: 10px;
    width: 30px;
    height: 8px;
    background: linear-gradient(90deg, #95a5a6, #7f8c8d);
    border-radius: 2px;
    animation: pieceBend 4s ease-in-out infinite;
}

.bend-effect {
    position: absolute;
    top: 20px;
    left: 15px;
    width: 20px;
    height: 10px;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    opacity: 0;
    animation: bendGlow 4s ease-in-out infinite;
}

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

@keyframes pieceBend {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

@keyframes bendGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.8; }
}

/* Metal Polishing */
.metal-polishing {
    position: absolute;
    top: 30%;
    left: 60%;
    width: 50px;
    height: 50px;
}

.polisher {
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 50%;
    animation: polisherSpin 3s linear infinite;
}

.polish-effect {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: polishShine 2s ease-in-out infinite;
}

.shine-effect {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.9) 50%, transparent 70%);
    border-radius: 50%;
    animation: shineMove 2s ease-in-out infinite;
}

@keyframes polisherSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes polishShine {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes shineMove {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(5px) rotate(180deg); }
}

/* Metal Assembly */
.metal-assembly {
    position: absolute;
    bottom: 40%;
    right: 15%;
    width: 80px;
    height: 60px;
}

.assembly-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 40px;
    border: 2px dashed #95a5a6;
    border-radius: 5px;
}

.assembly-piece {
    position: absolute;
    width: 15px;
    height: 10px;
    background: linear-gradient(45deg, #34495e, #2c3e50);
    border-radius: 2px;
    animation: pieceAssemble 5s ease-in-out infinite;
}

.piece-1 { top: 5px; left: 5px; animation-delay: 0s; }
.piece-2 { top: 20px; left: 25px; animation-delay: 1s; }
.piece-3 { top: 25px; left: 45px; animation-delay: 2s; }

.assembly-robot {
    position: absolute;
    top: 45px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 50%;
    animation: robotMove 3s ease-in-out infinite;
}

@keyframes pieceAssemble {
    0%, 100% { transform: translateX(0) scale(1); }
    25% { transform: translateX(10px) scale(1.1); }
    50% { transform: translateX(20px) scale(1); }
    75% { transform: translateX(10px) scale(1.1); }
}

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

/* Quality Control */
.quality-control {
    position: absolute;
    top: 80%;
    left: 20%;
    width: 50px;
    height: 40px;
}

.quality-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 20px;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    border-radius: 3px;
    animation: scannerScan 4s ease-in-out infinite;
}

.quality-light {
    position: absolute;
    top: 25px;
    left: 10px;
    width: 10px;
    height: 10px;
    background: #27ae60;
    border-radius: 50%;
    animation: qualityBlink 2s ease-in-out infinite;
}

.quality-check {
    position: absolute;
    top: 15px;
    left: 35px;
    width: 15px;
    height: 15px;
    border: 2px solid #27ae60;
    border-radius: 50%;
    animation: checkPulse 3s ease-in-out infinite;
}

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

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

@keyframes checkPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Metal Transport */
.metal-transport {
    position: absolute;
    bottom: 10%;
    left: 50%;
    width: 70px;
    height: 50px;
}

.forklift {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 25px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 3px;
    animation: forkliftMove 6s ease-in-out infinite;
}

.metal-pallet {
    position: absolute;
    bottom: 30px;
    left: 20px;
    width: 30px;
    height: 15px;
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    border-radius: 2px;
    animation: palletLift 6s ease-in-out infinite;
}

.transport-path {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #bdc3c7, #95a5a6);
    border-radius: 2px;
    animation: pathGlow 3s ease-in-out infinite;
}

@keyframes forkliftMove {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(10px); }
    50% { transform: translateX(20px); }
    75% { transform: translateX(10px); }
}

@keyframes palletLift {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    50% { transform: translateY(-10px); }
    75% { transform: translateY(-5px); }
}

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

/* Header Styles */
.header{
    padding: 2rem 7%;
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--headerclr);
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#logo{
    color: var(--mainclr);
    font-size: 30px;
}
.nav a{
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
    margin-right: 50px;
    transition: color 0.3s;
}
.nav a:hover{
    color: var(--mainclr);
}
.icon-header div{
    color: white;
    margin-left: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}
.icon-header div:hover{
    color: var(--mainclr);
}
#menu-bar{
    display: none;
}
.nav.active{
    top: 100%;
}
.search-form{
    width: 50%;
    position: absolute;
    top: -110%;
    right: 2rem;
    transition: .2s;
}
.search-form input{
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--headerclr);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.search-form.active{
    top: 110%;
}

/* Enhanced background image with overlay */
.background-image{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-image: url('../images/gp.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
    animation: panBackground 60s linear infinite alternate;
}

/* Hide old sliding wrapper to avoid visible seam */
.sliding-background{ display: none !important; }

@keyframes panBackground{
    0%{ background-position: left center; }
    100%{ background-position: right center; }
}

.background-image::before { content: none; }

/* Clarity boost overlay (does not affect text) */
.background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: rgba(255,255,255,0.01);
    backdrop-filter: contrast(1.22) saturate(1.12) brightness(1.02);
    -webkit-backdrop-filter: contrast(1.22) saturate(1.12) brightness(1.02);
}

.inner-back-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

.inner-back-text h1{
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    text-align: center;
    line-height: 5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.inner-back-text h1 span{
    color: var(--mainclr);
    text-transform: uppercase;
}
.inner-back-text p{
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.inner-back-btn{
    display: flex;
    justify-content: center;
}
.inner-back-btn a{
    margin-right: 1rem;
}
.first-btn, .second-btn{
    padding: 1.5rem 4rem;
    background: var(--mainclr);
    border-radius: 15px;
    color: white;
    font-size: 1.5rem;
    transition: background 0.3s, color 0.3s;
}
.first-btn:hover, .second-btn:hover{
    background: var(--headerclr);
    color: white;
    letter-spacing: 3px;
}
.welcome{
    padding: 3rem 7%;
}
.main-welcome{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.inner-welcome{
    flex: 1 1 45rem;
}
.welcome-text h1{
    font-size: clamp(1.8rem, 3.8vw, 2.5rem);
    color: var(--mainclr);
    margin-bottom: 1rem;
}
.welcome-text p{
    font-size: 1.5rem;
    padding: 1rem 0;
    margin-bottom: 25px;
    line-height: 1.6;
}
.welcome-text a{
    padding: 1.5rem 4rem;
    background: var(--mainclr);
    color: var(--headerclr);
    font-size: 1.5rem;
    border-radius: 15px;
}
.welcome-text a:hover{
    background: var(--headerclr);
    color: white;
}
.inner-welcome img{
width: 80%;
}
.chose-us{
    padding: 5rem 7%;
    background-color: #f9f9f9;
}
.chose-us h1{
    color: var(--headerclr);
    font-size: 40px;
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
}
.chose-us h1 span{
    color: var(--mainclr);
}
.chose-text{
    color: var(--headerclr);
    font-size: 1.5rem;
    padding: 1rem 10rem;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}
.main-chose{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}
.inner-chose{
    flex: 1 1 200px;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.inner-chose:hover{
    transform: translateY(-5px);
}
.chose-icon{
    width: 72px;
    height: 72px;
    text-align: center;
    line-height: 72px;
    border: 6px solid var(--mainclr);
    border-radius: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: var(--mainclr);
}

.chose-icon i {
    font-size: 26px;
    color: #fff;
}

/* Clock Animation for Delivery Time */
.clock-animation {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.clock-face {
    position: relative;
    width: 50px;
    height: 50px;
    border: 3px solid white;
    border-radius: 50%;
    background: transparent;
}

.clock-hand {
    position: absolute;
    background: white;
    border-radius: 2px;
    transform-origin: bottom center;
}

.hour-hand {
    width: 3px;
    height: 15px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: hourRotate 8s linear infinite;
}

.minute-hand {
    width: 2px;
    height: 20px;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: minuteRotate 4s linear infinite;
}

.clock-center {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.time-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.time-particles .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ff6b35;
    border-radius: 50%;
    animation: timeParticle 3s ease-out infinite;
}

.time-particles .particle:nth-child(1) {
    top: 0;
    left: 50%;
    animation-delay: 0s;
}

.time-particles .particle:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: 1s;
}

.time-particles .particle:nth-child(3) {
    bottom: 0;
    left: 50%;
    animation-delay: 2s;
}

@keyframes hourRotate {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes minuteRotate {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes timeParticle {
    0% { 
        transform: scale(0);
        opacity: 1;
    }
    100% { 
        transform: scale(1) translateY(-20px);
        opacity: 0;
    }
}

/* Team Animation for Experienced Personnel */
.team-animation {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.team-member {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: teamPulse 2s ease-in-out infinite;
}

.member-1 {
    top: 10px;
    left: 20px;
    animation-delay: 0s;
}

.member-2 {
    top: 30px;
    left: 10px;
    animation-delay: 0.5s;
}

.member-3 {
    top: 30px;
    right: 10px;
    animation-delay: 1s;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: white;
    animation: lineGlow 3s ease-in-out infinite;
}

.line-1 {
    width: 20px;
    top: 16px;
    left: 20px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.line-2 {
    width: 20px;
    top: 36px;
    left: 20px;
    transform: rotate(-45deg);
    animation-delay: 0.5s;
}

.expertise-badge {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: badgeGlow 2s ease-in-out infinite;
}

.expertise-badge span {
    display: block;
    font-size: 0.8rem;
}

.expertise-badge small {
    font-size: 0.6rem;
    opacity: 0.8;
}

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

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

@keyframes badgeGlow {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

/* Commitment Animation */
.commitment-animation {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.handshake {
    position: relative;
    width: 40px;
    height: 30px;
    margin: 15px auto;
}

.hand {
    position: absolute;
    width: 15px;
    height: 8px;
    background: white;
    border-radius: 10px;
    animation: handshakeMove 3s ease-in-out infinite;
}

.left-hand {
    left: 0;
    transform: rotate(-20deg);
    animation-delay: 0s;
}

.right-hand {
    right: 0;
    transform: rotate(20deg);
    animation-delay: 0.5s;
}

.trust-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
}

.shield {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #27ae60;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: shieldGlow 2s ease-in-out infinite;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation: checkmarkPulse 2s ease-in-out infinite;
}

.commitment-rays {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ray {
    position: absolute;
    width: 2px;
    height: 15px;
    background: linear-gradient(to top, transparent, white, transparent);
    animation: rayRotate 4s linear infinite;
}

.ray-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.ray-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(90deg);
    animation-delay: 1s;
}

.ray-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    animation-delay: 2s;
}

@keyframes handshakeMove {
    0%, 100% { transform: rotate(-20deg); }
    50% { transform: rotate(-10deg); }
}

@keyframes shieldGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes checkmarkPulse {
    0%, 100% { transform: translate(-50%, -50%) rotate(-45deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(-45deg) scale(1.2); }
}

@keyframes rayRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Quality and Craftsmanship Animation */
.quality-animation {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.diamond {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 15px auto;
    animation: diamondRotate 6s linear infinite;
}

.diamond-facet {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid white;
}

.facet-1 {
    top: 0;
    left: 0;
    transform: rotate(0deg);
}

.facet-2 {
    top: 0;
    left: 0;
    transform: rotate(90deg);
}

.facet-3 {
    top: 0;
    left: 0;
    transform: rotate(180deg);
}

.facet-4 {
    top: 0;
    left: 0;
    transform: rotate(270deg);
}

.quality-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkleFloat 2s ease-in-out infinite;
}

.sparkle-1 { top: 5px; left: 10px; animation-delay: 0s; }
.sparkle-2 { top: 15px; right: 10px; animation-delay: 0.5s; }
.sparkle-3 { bottom: 10px; left: 15px; animation-delay: 1s; }
.sparkle-4 { bottom: 5px; right: 15px; animation-delay: 1.5s; }

.craftsmanship-tools {
    position: absolute;
    bottom: 5px;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.tool {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: toolBounce 1.5s ease-in-out infinite;
}

.tool.hammer {
    animation-delay: 0s;
}

.tool.ruler {
    animation-delay: 0.5s;
}

.tool.brush {
    animation-delay: 1s;
}

@keyframes diamondRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sparkleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-5px) scale(1.5);
        opacity: 1;
    }
}

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

.chose-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}
.inner-chose h2{
    font-size: 2rem;
    padding: 1rem 0;
}
.inner-chose p{
    font-size: 1.5rem;
    padding: 0 1rem;
}
/* Enhanced Services Section */
.our-services {
    padding: 8rem 7%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    animation: fadeInUp 1s ease-out;
}

.services-header {
    text-align: center;
    margin-bottom: 5rem;
}

.services-header h1 {
    color: var(--headerclr);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-header h1 span {
    color: var(--mainclr);
}

.services-subtitle {
    font-size: 1.8rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.main-service {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.service-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--mainclr);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-icon i {
    color: white;
    font-size: 2rem;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--headerclr);
}

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

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-overlay i {
    color: white;
    font-size: 3rem;
    transform: translateX(-20px);
    transition: transform 0.3s ease;
}

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

.service-card:hover .service-overlay i {
    transform: translateX(0);
}

.service-content {
    padding: 2.5rem;
}

.service-content h2 {
    font-size: 2.4rem;
    color: var(--headerclr);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-content p {
    font-size: 1.6rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: linear-gradient(45deg, var(--mainclr), #c0392b);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.service-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--mainclr), #c0392b);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--headerclr), #34495e);
    transition: left 0.3s ease;
    z-index: -1;
}

.service-btn:hover::before {
    left: 0;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

/* Special styling for Fabrication service */
.service-card.fabrication .service-icon {
    background: linear-gradient(45deg, #e67e22, #d35400);
    animation: fabricationGlow 2s ease-in-out infinite;
}

.service-card.fabrication:hover .service-icon {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    transform: scale(1.2) rotate(5deg);
}

.service-card.fabrication .service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(230, 126, 34, 0.1), rgba(211, 84, 0, 0.1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card.fabrication .feature-tag {
    background: linear-gradient(45deg, #e67e22, #d35400);
}

.service-card.fabrication .feature-tag:hover {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

@keyframes fabricationGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(230, 126, 34, 0.5);
    }
    50% { 
        box-shadow: 0 0 20px rgba(230, 126, 34, 0.8), 0 0 30px rgba(230, 126, 34, 0.4);
    }
}

/* Services Details Section */
.services-details {
    background: white;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
}

.details-header {
    text-align: center;
    margin-bottom: 4rem;
}

.details-header h2 {
    font-size: 3.5rem;
    color: var(--headerclr);
    margin-bottom: 1rem;
}

.details-header p {
    font-size: 1.8rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.detail-category {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.detail-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.detail-category h3 {
    font-size: 2.2rem;
    color: var(--headerclr);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-category h3 i {
    color: var(--mainclr);
    font-size: 2.4rem;
}

.detail-category ul {
    list-style: none;
    padding: 0;
}

.detail-category ul li {
    font-size: 1.5rem;
    color: #6c757d;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 2rem;
}

.detail-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mainclr);
    font-weight: bold;
    font-size: 1.6rem;
}

.detail-category ul li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-service {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .services-header h1 {
        font-size: 3.5rem;
    }
    
    .service-content h2 {
        font-size: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-details {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .our-services {
        padding: 4rem 5%;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .service-features {
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
}

/* Gallery Section */
.our-gallery {
    padding: 8rem 7%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    animation: fadeInUp 1s ease-out;
}

.gallery-header {
    text-align: center;
    margin-bottom: 5rem;
}

.gallery-header h1 {
    color: var(--headerclr);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.gallery-header h1 span {
    color: var(--mainclr);
}

.gallery-subtitle {
    font-size: 1.8rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.main-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.15s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.25s; }
.gallery-item:nth-child(5) { animation-delay: 0.3s; }
.gallery-item:nth-child(6) { animation-delay: 0.35s; }
.gallery-item:nth-child(7) { animation-delay: 0.4s; }
.gallery-item:nth-child(8) { animation-delay: 0.45s; }

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* Customer Review Section */
.customer-review {
    padding: 8rem 7%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.review-header {
    text-align: center;
    margin-bottom: 5rem;
}

.review-header h1 {
    color: var(--headerclr);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.review-header h1 span {
    color: var(--mainclr);
}

.review-subtitle {
    font-size: 1.8rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.main-review {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--mainclr);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.review-icon i {
    color: white;
    font-size: 2rem;
}

.review-content {
    margin-top: 2rem;
}

.review-content p {
    font-size: 1.6rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.review-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--mainclr);
}

.author-info h4 {
    font-size: 1.8rem;
    color: var(--headerclr);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.author-info span {
    font-size: 1.4rem;
    color: var(--mainclr);
    font-weight: 500;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--mainclr), #c0392b);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/* Footer Sections */
.footer-section h4 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--mainclr);
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.footer-logo h3 {
    font-size: 2.4rem;
    color: white;
    font-weight: 700;
}

.company-description {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 2rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--mainclr), #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.8rem;
}

.footer-social .social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

/* Make footer contact links clickable and styled */
.contact-info a{
    color: #bdc3c7;
    text-decoration: none;
}
.contact-info a:hover{
    color: var(--mainclr);
}

.footer-links a i {
    width: 20px;
    color: var(--mainclr);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-item i {
    color: var(--mainclr);
    font-size: 1.8rem;
    margin-top: 0.3rem;
    width: 20px;
}

.contact-item div p {
    font-size: 1.4rem;
    color: #bdc3c7;
    margin-bottom: 0.3rem;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.newsletter-text h4 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.newsletter-text h4 i {
    color: var(--mainclr);
}

.newsletter-text p {
    font-size: 1.6rem;
    color: #bdc3c7;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, var(--mainclr), #c0392b);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright p {
    font-size: 1.4rem;
    color: #bdc3c7;
}

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

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--mainclr), #c0392b);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.4);
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .background-image{ height: 80vh; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    html{ font-size: 56%; }
    .footer-section h4 {
        font-size: 1.8rem;
    }
    
    .company-description {
        font-size: 1.4rem;
    }
    
    .footer-links a {
        font-size: 1.4rem;
    }
    
    .contact-item div p {
        font-size: 1.3rem;
    }
    
    .newsletter-text h4 {
        font-size: 1.8rem;
    }
    
    .newsletter-text p {
        font-size: 1.4rem;
    }
}

/* Dynamic Sliding Background */
.sliding-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%; /* 2 images side by side */
    height: 100%;
    display: flex;
    animation: slideBackground 45s linear infinite;
}

.slide {
    width: 50%; /* Each slide takes 1/2 of the container */
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.1) contrast(1.2) saturate(1.1) sharpness(1.1);
    transition: filter 0.3s ease;
}

@keyframes slideBackground {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move left by half to show next image */
    }
}

/* Enhanced clarity for arch1.jpeg specifically */
.slide:nth-child(2) img {
    filter: brightness(1.1) contrast(1.2) saturate(1.1) sharpness(1.1);
}

/* Enhanced Hero Section with Animations */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    text-shadow: var(--text-shadow);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    animation: slideInLeft 1.2s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-accent {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--primary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-top: 0.5rem;
    animation: slideInRight 1.2s ease-out 0.4s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.animated-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
    justify-content: center;
}

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

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #ff6b6b);
    color: white;
    box-shadow: var(--btn-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,77,77,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.animated-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Animated Construction Elements */
.hero-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-crane {
    position: absolute;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.floating-crane .crane-arm {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff6b6b);
    position: relative;
    transform: rotate(-45deg);
    animation: swing 4s ease-in-out infinite;
}

.floating-crane .crane-hook {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    right: -10px;
    animation: bounce 2s ease-in-out infinite;
}

.floating-tools {
    position: absolute;
    top: 30%;
    left: 15%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: float 8s ease-in-out infinite reverse;
}

.floating-tools i {
    font-size: 1.5rem;
    color: var(--accent);
    animation: rotate 3s linear infinite;
}

.floating-tools i:nth-child(2) {
    animation-delay: 1s;
}

.floating-tools i:nth-child(3) {
    animation-delay: 2s;
}

.particle-system {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 60%;
    animation-delay: 8s;
}

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

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

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

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

@keyframes swing {
    0%, 100% {
        transform: rotate(-45deg);
    }
    50% {
        transform: rotate(-35deg);
    }
}

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

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

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0vh) scale(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .animated-btn {
        min-width: 200px;
    }
    
    .floating-crane {
        right: 5%;
        top: 15%;
    }
    
    .floating-tools {
        left: 5%;
        top: 20%;
    }
}

/* Enhanced Modern Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.header.scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Brand/Logo Section */
.nav-brand {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease;
}

.logo-link:hover .logo-img {
    border-color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Navigation Menu */
.nav-menu {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link span {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* CTA Button */
.nav-actions {
    flex-shrink: 0;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--primary), #ff6b6b);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 77, 0.4);
    background: linear-gradient(45deg, #ff6b6b, var(--primary));
}

.cta-button i {
    font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: var(--primary);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        justify-content: center;
    }
    
    .cta-button span {
        display: none;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(20px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        border-radius: 10px;
        margin-bottom: 0.5rem;
        justify-content: flex-start;
    }
    
    .nav-link span {
        display: inline;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}










