/* ==============================
   OMNIT - Main Stylesheet
   Always On! Security Solutions
============================== */

/* ==============================
   ROOT & VARIABLES
============================== */

:root {
    --primary-color: #0056b3;
    --primary-dark: #003d82;
    --secondary-color: #17a2b8;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ==============================
   RESET & BASE STYLES
============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==============================
   CONTAINER & GRID
============================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: flex;
    gap: 20px;
}

/* ==============================
   TYPOGRAPHY
============================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin: 30px 0 20px 0;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

/* ==============================
   BUTTONS
============================== */

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #138496;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    gap: 12px;
}

/* ==============================
   HEADER & NAVIGATION
============================== */

.header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
}

.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
}

.nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-toggle {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background-color: var(--primary-color);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 0;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav ul li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }
}

/* ==============================
   HERO SECTION
============================== */

.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* ==============================
   PAGE HEADER
============================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==============================
   SERVICES GRID
============================== */

.services-preview {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ==============================
   SOLUTIONS SECTION
============================== */

.solutions-overview {
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solutions-grid {
    display: grid;
    gap: 50px;
}

.solution-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.solution-card.large:nth-child(2) {
    grid-template-columns: 1fr 1fr;
}

.solution-card.large:nth-child(2) .solution-image {
    order: -1;
}

.solution-content h3 {
    color: var(--primary-color);
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.solution-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.solution-image img {
    width: 100%;
    height: auto;
}

.solution-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.solutions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .solution-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-card.large:nth-child(2) .solution-image {
        order: 0;
    }
    
    .solutions-row {
        grid-template-columns: 1fr;
    }
    
    .solution-actions {
        flex-direction: column;
    }
}

/* ==============================
   ABOUT & CONTACT
============================== */

.about-preview,
.mission-section {
    padding: 80px 0;
}

.about-preview {
    background-color: var(--light-color);
}

.about-preview .container,
.mission-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image,
.mission-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.features-list i {
    color: var(--success-color);
    margin-right: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .about-preview .container,
    .mission-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==============================
   CONTACT SECTION
============================== */

.contact-section {
    padding: 80px 0;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
}

.method-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.method-content h3 {
    margin-bottom: 8px;
}

.method-content p {
    margin-bottom: 5px;
    color: var(--text-light);
}

/* ==============================
   FORMS
============================== */

.contact-form-container {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
}

.contact-form-container h2 {
    margin-top: 0;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group label span {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-section .container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

/* ==============================
   TESTIMONIALS
============================== */

.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.rating {
    color: var(--warning-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.client {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.client strong {
    color: var(--text-color);
}

.client span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==============================
   CTA SECTION
============================== */

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cta {
        padding: 50px 0;
    }
}

/* ==============================
   FOOTER
============================== */

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.contact-info {
    list-style: none;
    margin-left: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    margin-top: 3px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-content {
        gap: 30px;
    }
}

/* ==============================
   MODAL
============================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-color);
}

.modal-content h3 {
    margin-top: 0;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

/* ==============================
   ANIMATIONS
============================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==============================
   UTILITY CLASSES
============================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==============================
   ACCESSIBILITY
============================== */

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==============================
   PRINT STYLES
============================== */

@media print {
    .header,
    .footer,
    .cta,
    .menu-toggle,
    .btn {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}

/* ==============================
   SERVICE DETAIL PAGE
============================== */

.service-detail {
    padding: 80px 0;
}

.service-detail h2 {
    color: var(--primary-color);
}

.service-detail h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin: 20px 0;
}

.service-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.access-options,
.network-options,
.audio-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.access-type,
.network-type,
.audio-type {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.access-type h4,
.network-type h4,
.audio-type h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-cta {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

.service-cta h3 {
    color: var(--primary-color);
}

/* ==============================
   TEAM SECTION
============================== */

.team-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
}

.member-photo {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.member-photo img {
    width: 100%;
    height: auto;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
}

/* ==============================
   VISION & VALUES
============================== */

.vision-values {
    padding: 80px 0;
}

.vision-values .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.vision h2,
.values h2 {
    color: var(--primary-color);
}

.values ul {
    list-style: none;
    margin-left: 0;
}

.values li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.values li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .vision-values .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==============================
   SERVICE AREA
============================== */

.service-area-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.service-area-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.service-area-section > .container > p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.city-group {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.city-group h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.city-group ul {
    list-style: none;
    margin-left: 0;
}

.city-group li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ==============================
   FAQ SECTION
============================== */

.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==============================
   INDUSTRIES SECTION
============================== */

.industries-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.industries-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.industries-section > .container > p {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.industry-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

/* ==============================
   PROCESS SECTION
============================== */

.process-section {
    padding: 80px 0;
}

.process-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
}