﻿:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --light-green: #1BBD36;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --gradient-start: #1abc9c;
    --gradient-end: #3498db;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #f9f9f9;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Three.js Background */
#threejs-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

/* Header Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 120px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    }

.hero-title {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

    .hero-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: white;
        border-radius: 2px;
    }

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
    border: none;
    height: 100%;
    position: relative;
    z-index: 1;
}

    .contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(52, 152, 219, 0.05));
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .contact-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

        .contact-card:hover::before {
            opacity: 1;
        }

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
}

/* Form Styling */
.form-control, .form-select {
    border-radius: 10px;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    font-size: 15px;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-green);
        box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
    }

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--gradient-end));
    border: none;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s;
    text-transform: uppercase;
    font-size: 15px;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--dark-green), #2980b9);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    }

/* Map Container */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 10px solid white;
    transition: all 0.4s;
}

    .map-container:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

/* Office Cards */
.office-card {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    margin-bottom: 25px;
    background: white;
}

    .office-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .office-card .card-body {
        padding: 30px;
    }

.office-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .office-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-green), var(--gradient-end));
        border-radius: 3px;
    }

.contact-info {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

    .contact-info i {
        color: var(--primary-green);
        font-size: 18px;
        margin-right: 12px;
        margin-top: 3px;
    }

    .contact-info p {
        margin-bottom: 0;
        color: var(--text-light);
    }

/* Section Headings */
.section-heading {
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

    .section-heading::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-green), var(--gradient-end));
        border-radius: 3px;
    }

@media (max-width: 768px) {
    .nav-max-witdh {
        max-width: 100% !important;
    }

    .nav-max-witdh {
        max-width: 95% !important;
    }

    .hero-section {
        height: 80vh !important;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .hero-subtitle-p {
        margin-bottom: 2% !important;
    }

    .card-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .contact-card {
        padding: 10Px !important;
        padding-top: 7% !important;
        padding-bottom: 7% !important;
    }

    .section-heading {
        font-size: 1.3rem !important;
    }

    .office-title {
        width: 104% !important;
        font-size: 1.3rem !important;
    }
}

.subject, .message {
    max-width: 615px !important;
}

.hero-section {
    padding: 100px 0 80px;
}


.contact-card {
    padding: 25px !important;
}

#name {
    max-width: 100% !important;
}

#email {
    max-width: 100% !important;
}

#phone {
    max-width: 100% !important;
}

#company {
    max-width: 100% !important;
}


@media (min-width: 320px) and (max-width: 575px) {
    .nav-max-witdh {
        max-width: 100% !important;
    }

    .hero-section {
        height: 400px !important;
    }

    .hero-title {
        font-size: 1.3rem !important;
    }

    .hero-subtitle {
        font-size: 0.7rem !important;
    }

    .hero-subtitle-p {
        margin-bottom: 2% !important;
    }

    .card-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .contact-card {
        padding: 10Px !important;
        padding-top: 7% !important;
        padding-bottom: 7% !important;
    }

    .section-heading {
        font-size: 1.3rem !important;
    }

    .office-title {
        width: 104% !important;
        font-size: 1.3rem !important;
    }
}

.subject, .message {
    max-width: 615px !important;
}