/* styles.css */
:root {
    --header-top-height: 45px; /* Height of the top contact info bar */
    --nav-height: 85px;      /* Height of the main navigation bar */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-gif {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.loading-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.loading-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

.loading-bar,
.loading-percentage {
    display: none;
}

/* Loading animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes moveRight {
    0% {
        transform: translateX(-20px);
    }
    50% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes dustFloat {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-15px) translateX(20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) translateX(40px) scale(0);
    }
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes countUp {
    0% { 
        content: "0%"; 
    }
    100% { 
        content: "100%"; 
    }
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

/* Hide main content until loaded */
body:not(.loaded) .header,
body:not(.loaded) .navbar,
body:not(.loaded) .hero,
body:not(.loaded) section,
body:not(.loaded) .footer {
    opacity: 0;
    visibility: hidden;
}

body.loaded .header,
body.loaded .navbar,
body.loaded .hero,
body.loaded section,
body.loaded .footer {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - UPDATED */
.header {
    background: transparent !important;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 8px 0;
    transition: background-color 0.3s ease;
    height: var(--header-top-height);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: rgba(44, 62, 80, 0.9) !important;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top .contact-info i,
.header-top .contact-info span,
.header-top .social-links a {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.contact-info span {
    margin-right: 20px;
    font-size: 14px;
}

.contact-info i {
    margin-right: 5px;
    color: #1565C0;
}

.social-links a {
    color: white;
    margin-left: 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #1565C0;
}

/* Navigation Styles - UPDATED */
.navbar {
    position: fixed;
    top: var(--header-top-height);
    left: 0;
    right: 0;
    z-index: 1099;
    height: var(--nav-height);
    background: transparent;
    transition: background-color 0.3s ease;
}

.header.scrolled + .navbar {
    background-color: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(5px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: nowrap;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 0;
}

.logo-image {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.brand-text h1, .brand-text p {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.brand-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.brand-text p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* FIXED: Navigation Menu */
.nav-menu {
    position: relative;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1565C0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1565C0;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* FIXED: Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1200;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger Animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section - UPDATED FOR RESPONSIVENESS */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-text {
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-text h2,
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-text p,
.hero-text .lead {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-buttons,
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: #1565C0;
    color: white;
    border: 2px solid #1565C0;
}

.btn-primary:hover {
    background: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-controls button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: rgba(255,107,53,0.8);
}

.slider-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%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #1565C0;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: #7f8c8d;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-item h4 {
    font-size: 36px;
    color: #1565C0;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    color: #7f8c8d;
    font-weight: 500;
}

.about-image img {
    width: 80%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1565C0, #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 36px;
    color: white;
}

.service-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Equipment Section */
.equipment {
    background: #f8f9fa;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.equipment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.equipment-card:hover {
    transform: translateY(-5px);
}

.equipment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.equipment-info {
    padding: 25px;
}

.equipment-info h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.equipment-info p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: #1565C0;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.contact-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1565C0;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1565C0;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #1565C0;
}

.footer-section .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.footer-section .social-links a:hover {
    background: #1565C0;
    transform: translateY(-2px);
}

.footer-section .contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-section .contact-info i {
    margin-right: 10px;
    color: #1565C0;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Enhanced Features Section */
.features {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: -2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1565C0, #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

/* Enhanced About Section with Tabs */
.about-tabs {
    width: 100%;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    gap: 5px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    color: #1565C0;
    background: #fff5f2;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1565C0;
    transition: width 0.3s ease;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: #fff5f2;
    border-radius: 10px;
}

.value-item i {
    font-size: 32px;
    color: #1565C0;
    margin-bottom: 15px;
}

.value-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-item p {
    color: #666;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.leader-card {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.leader-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 4px solid #1565C0;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.leader-card p {
    color: #1565C0;
    font-weight: 500;
    margin-bottom: 5px;
}

.leader-card span {
    color: #666;
    font-size: 12px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1565C0, #e55a2b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 20px;
}

.process-step h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.process-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Enhanced Service Cards */
.service-card.featured {
    border: 2px solid #1565C0;
    transform: scale(1.02);
    position: relative;
    overflow: hidden;
}

.service-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: 15px;
    right: -25px;
    background: #1565C0;
    color: white;
    padding: 5px 30px;
    font-size: 10px;
    font-weight: bold;
    transform: rotate(45deg);
}

.service-card ul {
    list-style: none;
    margin: 20px 0;
}

.service-card ul li {
    padding: 5px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Enhanced Equipment Section with Tabs */
.equipment-tabs {
    margin-top: 40px;
}

.equipment-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.equipment-specs span {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.equipment-specs i {
    color: #1565C0;
}

/* Enhanced Project Cards */
.project-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 40px 25px 25px;
    transform: translateY(50%);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-details {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.8;
}

.project-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Enhanced Footer */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-space {
    width: 50px;
    height: 50px;
}

.footer-logo .logo-placeholder {
    width: 50px;
    height: 50px;
    font-size: 10px;
}

.newsletter {
    margin-top: 25px;
}

.newsletter h4 {
    color: #1565C0;
    margin-bottom: 15px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #444;
    color: white;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: #ccc;
}

.newsletter-form button {
    background: #1565C0;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #e55a2b;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1565C0;
}

/* Contact Popup Styles */
/* Contact Popup Styles - MOBILE OPTIMIZED FOR SMALLER SIZE */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    cursor: default;
}

@keyframes popupSlideIn {
    from {
        transform: scale(0.8) translateY(40px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-header {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: white;
    padding: 24px 30px;
    position: relative;
}

.popup-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.popup-header p {
    opacity: 0.9;
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

.popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.popup-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg) scale(1.1);
}

.popup-form {
    padding: 32px 30px;
    overflow-y: auto;
    max-height: calc(85vh - 140px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e1e5e9;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1565C0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.form-actions .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn-primary {
    background: #1565C0;
    color: white;
    border: none;
}

.form-actions .btn-primary:hover {
    background: #0D47A1;
    transform: translateY(-1px);
}

.form-actions .btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e1e5e9;
}

.form-actions .btn-secondary:hover {
    background: #e9ecef;
}

.popup-footer {
    text-align: center;
    padding: 16px 30px 24px;
    color: #666;
    font-size: 12px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.popup-footer i {
    color: #27ae60;
    margin-right: 6px;
}

/* MOBILE - SMALLER POPUP SIZE */
@media (max-width: 768px) {
    .contact-popup {
        padding: 30px 20px; /* More padding around popup */
    }
    
    .popup-content {
        max-width: 400px; /* Smaller max width */
        max-height: 70vh; /* Reduced height - doesn't fill screen */
        border-radius: 12px;
        margin: 0 auto;
    }
    
    .popup-header {
        padding: 20px 24px;
    }
    
    .popup-header h3 {
        font-size: 18px; /* Smaller heading */
    }
    
    .popup-header p {
        font-size: 14px;
    }
    
    .popup-form {
        padding: 20px 20px; /* Reduced padding */
        max-height: calc(70vh - 120px); /* Adjusted for smaller height */
    }
    
    .form-row {
        grid-template-columns: 1fr; /* Single column */
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .form-group {
        margin-bottom: 15px; /* Reduced spacing */
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px; /* Smaller input padding */
        font-size: 14px;
    }
    
    .form-group textarea {
        min-height: 80px; /* Smaller textarea */
    }
    
    .form-actions {
        flex-direction: row; /* Keep buttons side by side */
        justify-content: space-between;
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .form-actions .btn {
        padding: 10px 20px; /* Smaller buttons */
        font-size: 14px;
        flex: 1;
        margin: 0 5px;
    }
    
    .popup-footer {
        padding: 12px 20px 16px;
        font-size: 11px;
    }
}

/* EXTRA SMALL MOBILE - EVEN SMALLER */
@media (max-width: 480px) {
    .contact-popup {
        padding: 40px 25px; /* Even more padding */
    }
    
    .popup-content {
        max-width: 320px; /* Very compact */
        max-height: 65vh; /* Even smaller height */
        border-radius: 10px;
    }
    
    .popup-header {
        padding: 16px 20px;
    }
    
    .popup-header h3 {
        font-size: 16px;
    }
    
    .popup-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .popup-form {
        padding: 16px 18px;
        max-height: calc(65vh - 100px);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-actions .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Enhanced Navigation Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #eee;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-menu a:first-child {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu a:hover {
    background: #1565C0;
    color: white;
    padding-left: 25px;
}

/* Stats Overlay */
.stats-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    backdrop-filter: blur(10px);
}

.stats-overlay .stat-item {
    text-align: center;
    padding: 10px;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

.stats-overlay .stat-item h4 {
    font-size: 24px;
    margin-bottom: 5px;
}

.stats-overlay .stat-item p {
    font-size: 12px;
    color: #666;
}

/* Floating action buttons */
.fab-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.fab-whatsapp {
    background: #25D366;
}

.fab-phone {
    background: #1565C0;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet Devices */
@media (max-width: 992px) {
    .container { max-width: 960px; }
    .nav-menu ul { gap: 20px; }
    .hero-text h2, .hero-text h1 { font-size: 3rem; }
    .hero-text p, .hero-text .lead { font-size: 1.2rem; }
    .about-content { gap: 40px; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* MOBILE RESPONSIVE FIXES */
@media (max-width: 768px) {
    :root {
        --header-top-height: 60px;
        --nav-height: 70px;
    }
    
    .container { padding: 0 15px; }
    section { padding: 60px 0; }
    
    /* FIXED: Mobile Header */
    .header {
        background: rgba(44, 62, 80, 0.95) !important;
        padding: 5px 0;
        height: var(--header-top-height);
    }
    
    .header-top {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-info span {
        margin-right: 15px;
        font-size: 12px;
    }
    
    .social-links { display: none; }
    
    /* FIXED: Mobile Navigation */
    .navbar {
        background: rgba(44, 62, 80, 0.95) !important;
        backdrop-filter: blur(5px);
        height: var(--nav-height);
        top: var(--header-top-height);
    }
    
    .navbar .container {
        position: relative;
        padding: 10px 15px;
    }
    
    .nav-brand {
        flex-direction: row;
        text-align: left;
        margin-bottom: 0;
        justify-content: flex-start;
        flex: 1;
    }
    
    .brand-text h1 { font-size: 20px; margin-bottom: 2px; }
    .brand-text p { font-size: 11px; }
    .logo-image { max-height: 45px; }
    
    /* FIXED: Mobile Menu Toggle */
    .nav-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        z-index: 1200;
    }
    
    /* FIXED: Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: calc(var(--header-top-height) + var(--nav-height));
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-top-height) - var(--nav-height));
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1098;
        overflow-y: auto;
        padding: 20px 0;
    }
    
    .nav-menu.active { transform: translateX(0); }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 20px 30px;
        color: white;
        font-size: 16px;
        font-weight: 500;
        border-bottom: none;
        text-shadow: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 107, 53, 0.1);
        color: #1565C0;
        padding-left: 40px;
    }
    
    .nav-menu a::after { display: none; }
    
    /* FIXED: Hero Section Mobile */
    .hero {
        min-height: 600px;
    }
    
    .hero-content {
        padding-top: calc(var(--header-top-height) + var(--nav-height));
        align-items: center;
        justify-content: center;
    }
    
    .hero-text {
        text-align: center;
        padding: 1rem 15px;
        max-width: 100%;
        background: rgba(0,0,0,0.3);
        border-radius: 10px;
    }
    
    .hero-text h2, .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text .lead, .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta, .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Mobile Section Adjustments */
    .section-header h2 { font-size: 28px; }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image { order: -1; }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid,
    .equipment-grid,
    .projects-grid,
    .leadership-grid,
    .process-steps,
    .company-values {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form { padding: 30px 20px; }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    /* Mobile Form Fixes */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .popup-form { padding: 20px; }
    
    /* Mobile Tab Fixes */
    .tab-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 100px;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    /* Stats overlay mobile */
    .stats-overlay {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    /* Mobile Dropdown Fix */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.1);
        margin-top: 10px;
        border-radius: 8px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu { display: block; }
    
    .dropdown-menu a {
        color: rgba(255,255,255,0.9);
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 107, 53, 0.2);
        color: #1565C0;
    }
}

/* EXTRA SMALL MOBILE DEVICES */
@media (max-width: 480px) {
    .brand-text h1 { font-size: 18px; }
    .brand-text p { font-size: 10px; }
    .hero-text h2, .hero-text h1 { font-size: 1.8rem; }
    .hero-text .lead, .hero-text p { font-size: 1rem; }
    .btn { padding: 12px 20px; font-size: 14px; }
    .service-card, .equipment-card, .project-card { margin: 0 10px; }
    .contact-form { padding: 20px 15px; }
    .loading-text h2 { font-size: 24px; }
    .loading-text p { font-size: 16px; }
    .nav-menu a { padding: 18px 20px; font-size: 15px; }
    .contact-info span { font-size: 11px; margin-right: 10px; }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.fade-in { animation: fadeInUp 0.8s ease-out; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* Enhanced Focus States */
button:focus, input:focus, select:focus, textarea:focus, a:focus {
    outline: 2px solid #1565C0;
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #1565C0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #e55a2b; }

/* Smooth Scrolling */
html { scroll-behavior: smooth; }
