/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-dark: #0B1F2C;
    --navy-primary: #0E2A32;
    --navy-light: #132F3E;
    --cyan: #00C8D4;
    --cyan-bright: #00E5FF;
    --silver: #A8B0B4;
    --white: #FFFFFF;
    --grey-muted: #8899A6;
    --grey-dark: #2A3F4E;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(14, 42, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 200, 212, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-button {
    background: var(--cyan);
    color: var(--navy-dark) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--cyan-bright);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 200, 212, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cyan);
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 50%, var(--navy-light) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 200, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 212, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--cyan);
    display: inline-block;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
    box-shadow: 0 0 20px rgba(0, 200, 212, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-supporting {
    font-size: 1rem;
    color: var(--grey-muted);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--cyan);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background: var(--cyan-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 200, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--cyan);
}

.btn-secondary:hover {
    background: rgba(0, 200, 212, 0.1);
    border-color: var(--cyan-bright);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--cyan);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

/* Section Styles */
section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--grey-muted);
}

/* Services Section */
.services {
    background: var(--navy-primary);
}

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

.service-card {
    background: rgba(19, 47, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 200, 212, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: 0 10px 40px rgba(0, 200, 212, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 200, 212, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    stroke: var(--cyan);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--grey-muted);
    line-height: 1.7;
}

/* Why Apex Section */
.why-apex {
    background: var(--navy-dark);
}

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

.feature {
    text-align: center;
}

.feature-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 200, 212, 0.5);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--grey-muted);
}

/* Service Area Section */
.service-area {
    background: var(--navy-primary);
}

.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.area-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--grey-muted);
    margin-bottom: 2rem;
}

.area-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.area-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.area-list li::before {
    content: '✓';
    color: var(--cyan);
    font-weight: 900;
    font-size: 1.2rem;
}

.area-note {
    color: var(--cyan);
    font-weight: 600;
}

.area-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.location-badge {
    background: rgba(0, 200, 212, 0.1);
    border: 2px solid var(--cyan);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.location-badge svg {
    stroke: var(--cyan);
}

.location-badge span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
}

/* Contact Section */
.contact {
    background: var(--navy-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 200, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    stroke: var(--cyan);
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--grey-muted);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

.contact-item p {
    color: var(--white);
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    background: rgba(19, 47, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 200, 212, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(11, 31, 44, 0.8);
    border: 1px solid rgba(0, 200, 212, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 200, 212, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--navy-primary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(0, 200, 212, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--grey-muted);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--cyan);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--grey-muted);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.5rem;
}

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

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--grey-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 200, 212, 0.1);
    text-align: center;
    color: var(--grey-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .area-content {
        grid-template-columns: 1fr;
    }
    
    .area-visual {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ======================================
   Services Page Styles
   ====================================== */

/* Services Hero */
.services-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.services-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    z-index: -1;
}

.services-hero .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 200, 212, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.services-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 400;
}

.services-hero-supporting {
    font-size: 1.1rem;
    color: var(--silver);
    font-weight: 300;
}

/* Detailed Services Section */
.services-detailed {
    padding: 6rem 0;
    background: var(--navy-dark);
}

.service-detail-card {
    background: var(--navy-light);
    border: 1px solid var(--grey-dark);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 200, 212, 0.15);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon.refurb {
    background: linear-gradient(135deg, var(--cyan) 0%, #00a8b5 100%);
}

.service-detail-icon.maintenance {
    background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--cyan) 100%);
}

.service-detail-icon.coating {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.service-detail-icon.fabrication {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.service-detail-icon.installation {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.service-detail-icon.onsite {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.service-detail-icon.welding {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.service-detail-icon svg {
    color: white;
}

.service-detail-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.service-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 200, 212, 0.1);
    border: 1px solid var(--cyan);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--cyan-bright);
    font-weight: 500;
}

.service-detail-content {
    color: var(--silver);
    line-height: 1.8;
}

.service-intro {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 400;
}

.service-detail-content h3 {
    color: var(--cyan);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.service-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--silver);
    font-size: 1.05rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-highlight {
    background: rgba(0, 200, 212, 0.05);
    border-left: 4px solid var(--cyan);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
}

.service-highlight strong {
    color: var(--cyan-bright);
    font-weight: 600;
}

/* Services CTA Section */
.services-cta {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid var(--grey-dark);
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--silver);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Active nav link */
.nav-links a.active {
    color: var(--cyan-bright);
    position: relative;
}

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

/* Responsive Services Page */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-hero-supporting {
        font-size: 1rem;
    }
    
    .service-detail-card {
        padding: 2rem 1.5rem;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .service-detail-header h2 {
        font-size: 1.6rem;
    }
    
    .service-detail-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-intro {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* Honest Approach Section */
.honest-approach {
    background: var(--navy-primary);
    padding: 5rem 0;
    border-top: 1px solid var(--grey-dark);
    border-bottom: 1px solid var(--grey-dark);
}

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

.honest-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.honest-intro {
    font-size: 1.3rem;
    color: var(--silver);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.honest-points {
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.honest-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 200, 212, 0.05);
    border-left: 3px solid var(--cyan);
    border-radius: 8px;
}

.honest-icon {
    color: var(--cyan);
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.honest-point p {
    color: var(--silver);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .honest-content h2 {
        font-size: 2rem;
    }
    
    .honest-intro {
        font-size: 1.1rem;
    }
    
    .honest-point {
        padding: 1rem;
    }
}
