/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #1a2942 0%, #2b4c7d 100%);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, rgba(26, 41, 66, 0.7) 0%, rgba(43, 76, 125, 0.7) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 44px;
    height: 50px;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    background: #fff;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: #2b4c7d;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #2b4c7d;
    color: #fff;
}

.nav-contact {
    background: #fff;
    color: #2b4c7d;
    padding: 0.5rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-contact:hover {
    background: #2b4c7d;
    color: #fff;
    border: 2px solid #2b4c7d;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #1a2942 0%, #2b4c7d 100%);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header span {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-menu {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-links {
    flex: 1;
    padding: 2rem 0;
}

.mobile-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-link.contact-btn {
    margin: 1rem 1.5rem;
    text-align: center;
    background: #4A90E2;
    border-radius: 25px;
    padding: 0.75rem;
}

.mobile-menu-apps {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
}

.mobile-menu-apps img {
    width: 135px;
    height: 40px;
    border-radius: 5px;
}

.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a,
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 120px 2rem 4rem;
    width: 100%;
    background-image: url('assets/images/mybackground.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4A90E2;
    color: #fff;
}

.btn-primary:hover {
    background: #357ABD;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.app-badges {
    display: flex;
    gap: 1rem;
}

.app-badges img {
    height: 40px;
    cursor: pointer;
    border-radius: 5px;
}

.hero-phones {
    max-width: 800px;
    margin: 0 auto;
}

.hero-phones img {
    width: 100%;
    height: auto;
    transform: scale(1.2);
}

/* Problems Section */
.problems-section {
    background: #f5f5f5;
    color: #333;
    padding: 4rem 2rem 2em;
    position: relative;
    overflow: hidden;
    height: auto;
}

.problems-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2942;
}

.problems-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 450px));
    gap: 2rem;
    position: relative;
    justify-content: center;
}

.problem-card {
    padding: 1.25rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dark-card {
    background: #1a2942;
    color: #fff;
    z-index: 3;
}

.blue-card {
    background: #4A90E2;
    color: #fff;
    z-index: 3;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.problem-card ul {
    list-style: none;
    padding-left: 0;
}

.problem-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.problem-card li:before {
    content: "•";
    position: absolute;
    left: 0;
}

.security-guard-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 450px;
    z-index: 1;
}

.security-guard-image img {
    width: 100%;
    height: auto;
}

/* Industry Section */
.industry-section {
    padding: 4rem 2rem;
    background: #fff;
    color: #333;
}

.industry-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.industry-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: start;
}

.industry-struggles,
.industry-solution {
    display: flex;
    flex-direction: column;
}

.industry-struggles h2,
.industry-solution h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a2942;
    min-height: 2.5em;
    display: flex;
    align-items: center;
}

.constellation-diagram,
.solution-diagram {
    margin-bottom: 2rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.constellation-diagram img,
.solution-diagram img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.struggle-points,
.solution-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.number {
    background: linear-gradient(135deg, #1a2942 0%, #2b4c7d 100%);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.point p {
    flex: 1;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a2942 0%, #2b4c7d 100%);
    color: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        "info form"
        "extras form";
    gap: 4rem;
    align-items: start;
}

.contact-info {
    grid-area: info;
}

.contact-form-container {
    grid-area: form;
}

.contact-extras {
    grid-area: extras;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.app-badges-contact {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-top: 0;
}

.app-badges-contact img {
    height: 40px;
    cursor: pointer;
    border-radius: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: #2b4c7d;
    color: #fff;
}

.submit-btn {
    padding: 1rem 3rem;
    background: #1a2942;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #0f1b2b;
    transform: translateY(-2px);
}

.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .nav-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .industry-content {
        display: block !important;
    }
    
    .industry-struggles,
    .industry-solution {
        width: 100%;
        margin-bottom: 3rem;
    }
    
    .industry-struggles {
        padding-bottom: 2rem;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .industry-struggles h2,
    .industry-solution h2 {
        min-height: auto;
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-badges {
        justify-content: center;
    }
    
    .hero-phones {
        margin-top: 2rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .security-guard-image {
        display: none;
    }
    
    .constellation-diagram,
    .solution-diagram {
        min-height: 200px;
    }
    
    .contact-content {
        display: flex !important;
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info {
        width: 100%;
        text-align: center;
    }
    
    .contact-info h2 {
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        margin-bottom: 0;
    }
    
    .contact-form-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .submit-btn {
        align-self: center;
        display: block;
        margin: 1rem auto 0;
    }
    
    .contact-extras {
        width: 100%;
        text-align: center;
    }
    
    .app-badges-contact {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .contact-footer {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        text-align: center;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .app-badges-contact {
        justify-content: center;
    }
}