
/* Import all navigation and footer styles from services.php */
:root {
    --primary: #1a3c34;
    --primary-dark: #132a24;
    --secondary: #ffd700;
    --secondary-dark: #e6c200;
    --accent: #ff6b6b;
    --dark: #212529;
    --light: #f8fafc;
    --gray: #64748b;
    --green-white: #28a745;
    --light-gray: #e2e8f0;
    --gradient: linear-gradient(135deg, #1a3c34, #2a5c50);
    --gradient-light: linear-gradient(135deg, rgba(26, 60, 52, 0.1), rgba(42, 92, 80, 0.1));
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation (copied from services.php) */
header {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: var(--primary-dark);
}

header.scrolled {
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-dark);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--light);
    margin-top: 2px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 0rem;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.nav-links>li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    display: block;
    font-size: 0.95rem;
}

.nav-links>li>a {
    padding: 0rem 1rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links>li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--light-gray);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links>li>a:hover::after {
    width: calc(100% - 2rem);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 0.8rem 0rem;
    z-index: 999;
}

.nav-links>li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    padding: 0rem 1.5rem;
    font-size: 0.95rem;
    color: var(--dark);
}

.dropdown a:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: 2rem;
}

.has-dropdown>a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-links>li:hover>.has-dropdown>a::after {
    transform: rotate(180deg);
}

.mobile-dropdown-toggle {
    display: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 60, 52, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--light);
    cursor: pointer;
    z-index: 1001;
    min-height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-nav-buttons {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
}

/* RESPONSIVE: Below 850px */
@media (max-width: 850px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 100px;
        transition: left 0.4s ease;
        z-index: 999;
        gap: 0;
        overflow-y: auto;
        color: var(--dark);
        background-color: var(--primary);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links>li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-links>li>a {
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-dropdown-toggle {
        display: flex;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(248, 249, 250, 0.8);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        border-radius: 0;
    }

    .dropdown.open {
        max-height: 600px;
        padding: 0.5rem 0;
    }

    .dropdown a {
        padding: 0.8rem 3rem;
        font-size: 1rem;
    }

    .has-dropdown>a::after {
        display: none;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-nav-buttons {
        display: flex;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-sub {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .logo-main {
        font-size: 1.4rem;
    }

    .logo-sub {
        font-size: 0.75rem;
    }

    .mobile-menu-btn {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .nav-links>li>a {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .dropdown a {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        min-height: 40px;
        font-size: 0.9rem;
    }

    .mobile-nav-buttons {
        padding: 0 1.2rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.company-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition);
    background: var(--gradient-light);
}

.contact-item:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: rotateY(360deg);
    background: var(--secondary);
    color: var(--primary);
}

.contact-content h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 5px;
}

.contact-content a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.contact-content a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label span {
    color: #ff6b6b;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 60, 52, 0.1);
}

.form-control.error {
    border-color: #ff6b6b;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231a3c34' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.captcha-box {
    padding: 20px;
    background: var(--gradient-light);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.captcha-box:hover {
    border-color: var(--primary);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    color: var(--primary);
    font-weight: 500;
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 60, 52, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-left: 5px solid #28a745;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.success-message.show {
    display: block;
}

.success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 15px;
}

/* Map Section */
.map-section {
    margin-top: 80px;
    text-align: center;
}

.map-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    height: 500px;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer (copied from services.php) */
footer {
    background: var(--primary-dark);
    color: #ccc;
    padding: 1rem 2rem 1rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-share {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-share span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.social-icons a {
    color: var(--secondary);
    font-size: 0.8rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    color: #fff;
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.copyright-text {
    font-size: 0.8rem;
    color: #aaa;
}

.copyright-text strong {
    color: var(--secondary);
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Scroll to Top */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: var(--transition);
    border: none;
}

#scrollToTop.show {
    opacity: 1;
}

#scrollToTop:hover {
    background: var(--secondary-dark);
    transform: translateY(-5px);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Contact */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 100px 15px 40px;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-description {
        font-size: 1.1rem;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }

    .company-name {
        font-size: 1.8rem;
    }

    .map-title {
        font-size: 2rem;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 80px 10px 30px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .contact-description {
        font-size: 1rem;
        margin-top: 30px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .submit-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .map-title {
        font-size: 1.8rem;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 400px) {
    .contact-title {
        font-size: 1.8rem;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .contact-item {
        padding: 12px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .form-control,
    .form-select {
        padding: 12px 15px;
    }
}