/* Global Mobile Fixes */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    transform: translateY(-2px);
    border-radius: 25px;
    padding: 8px 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Contact Page Styles */
.contact-hero {
    margin-top: 10vh;
    padding: 100px 0;
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    color: white;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.company-contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 800px;
    width: 100%;
}

.company-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.company-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.company-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.company-icon i {
    font-size: 2rem;
    color: white;
}

.company-header h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.company-header p {
    color: #666;
    font-size: 1rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.contact-item:hover {
    background: #e9ecef;
}

.contact-item i {
    color: #A6CE39;
    font-size: 1.2rem;
    margin-top: 5px;
    min-width: 20px;
}

.contact-item h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.social-media {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.social-media h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.map-container {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 10px;
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #A6CE39;
    box-shadow: 0 0 0 3px rgba(166, 206, 57, 0.1);
}

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

.submit-btn {
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(166, 206, 57, 0.3);
}

.submit-btn i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .company-contact-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .company-contact-card {
        padding: 35px 30px;
    }
    
    .contact-form-section {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-hero {
        padding: 60px 0;
        margin-top: 70px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        text-align: center;
    }
    
    .contact-hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-grid {
        margin-bottom: 60px;
    }
    
    .company-contact-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .company-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .company-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .company-icon i {
        font-size: 1.8rem;
    }
    
    .company-header h2 {
        font-size: 1.5rem;
    }
    
    .company-header p {
        font-size: 0.9rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px;
        align-items: center;
        justify-content: center;
    }
    
    .contact-item i {
        font-size: 1.3rem;
        margin-top: 0;
        margin-bottom: 8px;
        align-self: center;
    }
    
    .contact-item h4 {
        font-size: 0.95rem;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .contact-item p {
        font-size: 0.9rem;
        text-align: center;
        line-height: 1.5;
    }
    
    .map-container iframe {
        height: 200px;
    }
    
    .contact-form-section {
        padding: 25px 20px;
        margin: 0 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
        width: 90%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInMenu 0.3s ease-out forwards;
    }
    
    .nav-menu.active li {
        animation-delay: calc(var(--i) * 0.1s);
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 25px;
        color: #333;
        border-radius: 30px;
        display: block;
        width: 100%;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: linear-gradient(135deg, #A6CE39, #8FB32D);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(166, 206, 57, 0.3);
    }
    
    @keyframes slideInMenu {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo img {
        height: 45px;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-hero {
        padding: 50px 0;
        margin-top: 65px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        text-align: center;
    }
    
    .contact-hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .contact-hero-content p {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-grid {
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        padding: 0 10px;
    }
    
    .company-contact-card {
        padding: 20px 15px;
        margin: 0;
        max-width: 100%;
        text-align: center;
    }
    
    .company-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .company-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .company-icon i {
        font-size: 1.5rem;
    }
    
    .company-header h2 {
        font-size: 1.3rem;
    }
    
    .company-header p {
        font-size: 0.85rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 15px;
        align-items: center;
        justify-content: center;
    }
    
    .contact-item i {
        align-self: center;
        font-size: 1.2rem;
        margin-top: 0;
        margin-bottom: 8px;
    }
    
    .contact-item h4 {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .contact-item p {
        font-size: 0.85rem;
        text-align: center;
        line-height: 1.4;
    }
    
    .social-media h4 {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .map-container iframe {
        height: 180px;
    }
    
    .contact-form-section {
        padding: 20px 15px;
        margin: 0 10px;
        text-align: center;
    }
    
    .section-header {
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .company-contact-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .contact-item:hover {
        background: #f8f9fa;
    }
    
    .submit-btn:hover {
        transform: none;
        box-shadow: none;
    }
}