/* ========================================
   MOBILE-ONLY RESPONSIVE CSS
   Only applies to screens 768px and below
   Does NOT interfere with desktop styles
   ======================================== */

/* Only apply styles on mobile devices */
@media screen and (max-width: 768px) {
    
    /* Mobile Navigation Adjustments */
    .navbar-minimal {
        padding: 10px 0;
    }
    
    .nav-container-minimal {
        padding: 0 15px;
    }
    
    /* Mobile hamburger menu - only show on mobile */
    .hamburger-minimal {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
        position: relative;
    }
    
    .hamburger-minimal span {
        width: 25px;
        height: 3px;
        background: #ffffff;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
        display: block;
    }
    
    /* Hamburger animation when active */
    .hamburger-minimal.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger-minimal.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-minimal.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hide desktop menu on mobile */
    .nav-menu-minimal {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(44, 62, 80, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 0;
        transition: left 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu-minimal.active {
        left: 0;
    }
    
    .nav-menu-minimal li {
        margin: 10px 0;
        width: 85%;
        text-align: center;
    }
    
    .nav-link-minimal {
        display: block;
        padding: 18px 20px;
        font-size: 18px;
        font-weight: 500;
        color: white;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .nav-link-minimal:hover {
        background: rgba(52, 152, 219, 0.8);
        transform: translateY(-2px);
    }
    
    /* Mobile complex logo */
    .complex-logo {
        width: 50px;
        height: 50px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-outer-ring {
        width: 50px;
        height: 50px;
        border: 2px solid #d4af37;
        border-radius: 50%;
        position: relative;
        background: radial-gradient(circle, #1a365d 60%, #2c5282 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    
    .logo-text-top, .logo-text-bottom {
        position: absolute;
        font-size: 4px;
        font-weight: 700;
        color: #d4af37;
        font-family: 'Inter', sans-serif;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .logo-text-top {
        top: 3px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-text-bottom {
        bottom: 3px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-inner-circle {
        width: 36px;
        height: 36px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-center-cross {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    .cross-vertical, .cross-horizontal {
        position: absolute;
        background: #d4af37;
    }
    
    .cross-vertical {
        width: 2px;
        height: 24px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .cross-horizontal {
        width: 24px;
        height: 2px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .logo-icons {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    .icon {
        position: absolute;
        font-size: 6px;
        color: white;
    }
    
    .icon-top { top: 2px; left: 50%; transform: translateX(-50%); }
    .icon-right { right: 2px; top: 50%; transform: translateY(-50%); }
    .icon-bottom { bottom: 2px; left: 50%; transform: translateX(-50%); }
    .icon-left { left: 2px; top: 50%; transform: translateY(-50%); }
    
    .logo-diamonds {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    .diamond {
        position: absolute;
        font-size: 5px;
    }
    
    .diamond-top-left { top: 6px; left: 6px; }
    .diamond-top-right { top: 6px; right: 6px; }
    .diamond-bottom-left { bottom: 6px; left: 6px; }
    .diamond-bottom-right { bottom: 6px; right: 6px; }
    
    .logo-center-circle {
        width: 8px;
        height: 8px;
        background: radial-gradient(circle, #d4af37, #b8941f);
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }
    
    .company-main {
        font-size: 13px;
    }
    
    .company-sub {
        font-size: 10px;
    }
    
    /* Mobile hero section adjustments */
    .hero {
        padding: 120px 0 60px;
        background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.65)), 
                    url('images/goldsad.jpg') center/cover no-repeat !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        min-height: 100vh;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        color: #ffffff !important;
        text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.95), 
                     2px 2px 8px rgba(0, 0, 0, 0.9),
                     0 0 25px rgba(0, 0, 0, 0.7) !important;
        font-weight: 800 !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.95), 
                     1px 1px 6px rgba(0, 0, 0, 0.9),
                     0 0 20px rgba(0, 0, 0, 0.7) !important;
        font-weight: 600 !important;
    }
    
    .hero-description {
        font-size: 15px;
        color: #f8f9fa !important;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.95), 
                     1px 1px 5px rgba(0, 0, 0, 0.9),
                     0 0 15px rgba(0, 0, 0, 0.7) !important;
        font-weight: 500 !important;
        line-height: 1.6 !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    /* Mobile section adjustments */
    .section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    /* Mobile grid adjustments */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mobile card adjustments */
    .service-card, .review-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    /* Mobile WhatsApp widget adjustment */
    .whatsapp-widget {
        bottom: 20px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    /* Mobile form adjustments */
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile contact information fixes */
    .contact-person {
        margin-bottom: 15px;
        padding: 12px;
        background: rgba(52, 152, 219, 0.05);
        border-radius: 8px;
        border-left: 4px solid #3498db;
        font-size: 13px;
        line-height: 1.5;
        word-break: break-word;
        overflow-wrap: break-word;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-person strong {
        display: block;
        font-size: 16px;
        margin-bottom: 12px;
        color: #2c3e50;
        font-weight: 600;
    }
    
    /* Mobile contact items */
    .contact-item-mobile {
        margin: 6px 0;
        padding: 6px 0;
        display: block;
        font-size: 12px;
        line-height: 1.4;
    }
    
    .contact-item-mobile.email-mobile {
        word-break: break-all;
        overflow-wrap: anywhere;
        font-size: 11px;
    }
    
    /* Style contact icons */
    .contact-person i {
        color: #3498db;
        margin-right: 6px;
        width: 16px;
        text-align: center;
        flex-shrink: 0;
        font-size: 12px;
    }
    
    /* Hide original line breaks and pipes */
    .contact-person br {
        display: none;
    }
    
    /* Key contacts section mobile optimization */
    .info-content {
        padding: 8px;
    }
    
    .info-content h4 {
        font-size: 16px;
        margin-bottom: 12px;
        text-align: center;
    }
    
    /* Mobile contact formatting */
    .contact-name {
        margin-bottom: 6px;
    }
    
    .contact-name strong {
        font-size: 14px !important;
        color: #2c3e50;
        display: block;
        margin-bottom: 4px;
    }
    
    .contact-title {
        font-size: 12px;
        color: #666;
        margin-bottom: 8px;
        font-style: italic;
    }
    
    .phone-mobile, .email-mobile {
        font-size: 11px !important;
        margin: 4px 0;
        padding: 4px 0;
        line-height: 1.3;
    }
    
    .phone-mobile i, .email-mobile i {
        font-size: 10px;
        width: 14px;
        margin-right: 6px;
    }
    
    /* Leader card mobile adjustments */
    .leader-card {
        text-align: center;
        padding: 20px 15px;
    }
    
    .leader-card .contact {
        font-size: 13px;
        margin: 8px 0;
        word-break: break-all;
        overflow-wrap: anywhere;
        line-height: 1.4;
        padding: 5px 0;
    }
    
    .leader-card h5 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .leader-card .title {
        font-size: 14px;
        color: #666;
        margin-bottom: 15px;
    }
    
    /* Footer contact items mobile */
    .footer-contact .contact-item {
        margin: 10px 0;
        font-size: 13px;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
    }
    
    .footer-contact .contact-item span {
        word-break: break-all;
        overflow-wrap: anywhere;
    }
    
    /* General email and long text breaking */
    .contact, 
    [class*="email"], 
    [href*="mailto"], 
    .contact-info {
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
        hyphens: auto;
        max-width: 100%;
    }
    
    /* Mobile footer adjustments */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    /* Hamburger animation states */
    .hamburger-minimal.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-minimal.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-minimal.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card, .review-card {
        padding: 15px 10px;
    }
}

/* Desktop - ensure hamburger is hidden and logo is visible */
@media screen and (min-width: 769px) {
    .hamburger-minimal {
        display: none !important;
    }
    
    .nav-menu-minimal {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        background: none !important;
        height: auto !important;
        width: auto !important;
        left: auto !important;
        padding: 0 !important;
    }
    
    .logo-image-resized {
        width: 70px;
        height: 70px;
        object-fit: contain;
    }
}

/* Mobile Logo Styles */
@media screen and (max-width: 768px) {
    .logo-image-resized {
        width: 55px;
        height: 55px;
        object-fit: contain;
    }
}

/* Footer Logo Styles */
.footer-logo-style .logo-image-resized {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
