/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-color);
}

.logo-img {
    height: 70px;
    max-height: 70px;
    margin-right: 1rem;
}

.logo span {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-us {
    padding: 5rem 5%;
    background-color: var(--white);
}

.why-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-logo {
    height: 80px;
    max-height: 80px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.5s;
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .burger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Animations */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service Pages Styles */
.service-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.service-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.service-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.service-hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.service-details {
    padding: 5rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.service-intro h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-process {
    text-align: center;
    margin-bottom: 4rem;
}

.service-process h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-cta {
    text-align: center;
    padding: 4rem 0;
    background: var(--light-bg);
    border-radius: 10px;
}

.service-cta h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Active Navigation Link */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* Mobile Responsiveness for Service Pages */
@media (max-width: 768px) {
    .service-hero {
        height: 50vh;
    }

    .service-hero-content h1 {
        font-size: 2rem;
    }

    .service-hero-content p {
        font-size: 1.2rem;
    }

    .service-intro h2,
    .service-process h2,
    .service-cta h2 {
        font-size: 2rem;
    }

    .service-features,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .step {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Error Handling Styles */
.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.success-message {
    background-color: #28a745;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Mobile Responsiveness for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

.custom-hero-borehole {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/drilling.png') center center no-repeat;
    background-size: contain;
    background-color: #e0e7ef;
    min-height: 40vh;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroFadeIn 1.2s;
}

@media (max-width: 768px) {
    .custom-hero-borehole {
        min-height: 28vh;
        height: 28vh;
    }
}

.hero-overlay {
    background: rgba(0,0,0,0.45);
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    color: #fff;
    text-align: center;
    max-width: 90vw;
}

.hero-overlay h1,
.hero-overlay p {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact-modern-section {
    background: #f9fafd;
    padding: 3rem 0;
}

.contact-modern-container {
    display: flex;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-modern-form-card, .contact-modern-info-card {
    background: #f7f9fb;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    flex: 1 1 420px;
    min-width: 320px;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.contact-modern-form-card h2,
.contact-modern-info-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #222b45;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222b45;
}

.form-group input,
.form-group textarea,
.form-group select {
    border: 1px solid #e0e7ef;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    background: #f9fafb;
    color: #222b45;
    margin-bottom: 0.2rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.modern-btn {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2.2rem;
    margin-top: 0.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(52,152,219,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.modern-btn:hover {
    background: #217dbb;
    box-shadow: 0 4px 16px rgba(52,152,219,0.15);
}

.contact-modern-info-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    margin-bottom: 1.2rem;
}

.info-icon {
    font-size: 1.6rem;
    margin-top: 0.2rem;
    color: var(--primary-color);
    min-width: 2rem;
}

.info-item strong {
    color: #222b45;
    font-weight: 700;
    font-size: 1.08rem;
}

.info-item p {
    margin: 0.2rem 0 0 0;
    color: #444;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .contact-modern-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .contact-modern-form-card, .contact-modern-info-card {
        max-width: 100%;
        padding: 1.5rem 1rem;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Hamburger menu improvements for mobile */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
    }
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.5s;
        padding: 2rem 0;
        z-index: 1000;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        margin: 1.5rem 0;
    }
    .burger {
        display: block;
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 48px;
        max-height: 48px;
    }
    .footer-logo {
        height: 56px;
        max-height: 56px;
    }
}

.custom-hero-borehole-fixed {
    position: relative;
    min-height: 80vh;
    height: 80vh;
    width: 100vw;
    background: url('images/drilling.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.custom-hero-borehole-fixed::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.45);
    z-index: 1;
}

.no-box-bg {
    position: relative;
    z-index: 2;
    text-align: center;
}

.no-box-bg h1,
.no-box-bg p {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.no-box-bg h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.no-box-bg p {
    font-size: 1.3rem;
    font-weight: 400;
}

@media (max-width: 900px) {
    .custom-hero-borehole-fixed {
        min-height: 55vh;
        height: 55vh;
    }
    .no-box-bg h1 {
        font-size: 2rem;
    }
    .no-box-bg p {
        font-size: 1rem;
    }
}

.custom-hero-construction-fixed {
    position: relative;
    min-height: 80vh;
    height: 80vh;
    width: 100vw;
    background: url('images/building.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.custom-hero-construction-fixed::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.45);
    z-index: 1;
}

@media (max-width: 900px) {
    .custom-hero-construction-fixed {
        min-height: 55vh;
        height: 55vh;
    }
}

.custom-hero-electronics-fixed {
    position: relative;
    min-height: 80vh;
    height: 80vh;
    width: 100vw;
    background: url('images/solarsetup.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.custom-hero-electronics-fixed::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.45);
    z-index: 1;
}

.custom-hero-catering-fixed {
    position: relative;
    min-height: 80vh;
    height: 80vh;
    width: 100vw;
    background: url('images/catering.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.custom-hero-catering-fixed::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.45);
    z-index: 1;
}

.custom-hero-contact-fixed {
    position: relative;
    min-height: 80vh;
    height: 80vh;
    width: 100vw;
    background: url('images/rooftop.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.custom-hero-contact-fixed::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.45);
    z-index: 1;
}

@media (max-width: 900px) {
    .custom-hero-electronics-fixed,
    .custom-hero-catering-fixed,
    .custom-hero-contact-fixed {
        min-height: 55vh;
        height: 55vh;
    }
}

/* Form Feedback Messages */
.loading-message,
.success-message,
.error-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.3s ease-out;
}

.loading-message {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.loading-message i,
.success-message i,
.error-message i {
    font-size: 24px;
}

.success-message i {
    color: #28a745;
}

.error-message i {
    color: #dc3545;
}

.loading-message i {
    color: #007bff;
}

.loading-message h4,
.success-message h4,
.error-message h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.loading-message p,
.success-message p,
.error-message p {
    margin: 0;
    font-size: 14px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Button Loading State */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

button[type="submit"] i {
    margin-right: 8px;
}

/* Form Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group.error .error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
} 