/* ===================================
   ALYTIXHUB - MAIN STYLESHEET
   =================================== */

/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-cyan: #4dd0e1;
    --secondary-cyan: #00bcd4;
    --dark-bg: #0a0a0a;
    --dark-section: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #90a4ae;
    --text-light: #b0bec5;
    --border-color: rgba(77, 208, 225, 0.3);
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(77, 208, 225, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-cyan);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(77, 208, 225, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-cyan);
    font-weight: 600;
    border: 2px solid var(--primary-cyan);
    border-radius: 50px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: #000;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-cyan);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-cyan);
    bottom: -150px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   SECTION STYLES
   =================================== */

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-cyan);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

/* Alternating Backgrounds */
.section:nth-child(even) {
    background: var(--dark-section);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    background: var(--dark-section);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(77, 208, 225, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(77, 208, 225, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(77, 208, 225, 0.2);
}

.service-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    color: var(--primary-cyan);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   ADVANTAGES SECTION
   =================================== */

.advantages-section {
    background: var(--dark-section);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: rgba(77, 208, 225, 0.05);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 10px;
    transition: var(--transition);
}

.advantage-item:hover {
    background: rgba(77, 208, 225, 0.1);
    transform: translateX(10px);
}

.advantage-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.advantage-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===================================
   PROCESS SECTION
   =================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 40px 20px;
    background: rgba(77, 208, 225, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(77, 208, 225, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--primary-cyan);
    color: #000;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 22px;
    color: var(--primary-cyan);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-secondary);
}

/* ===================================
   INDUSTRIES SECTION
   =================================== */

.industries-section {
    background: var(--dark-section);
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.industry-tag {
    padding: 15px 30px;
    background: rgba(77, 208, 225, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--primary-cyan);
    font-weight: 600;
    transition: var(--transition);
}

.industry-tag:hover {
    background: var(--primary-cyan);
    color: #000;
    transform: scale(1.05);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: var(--dark-bg);
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(77, 208, 225, 0.15), rgba(0, 188, 212, 0.15));
    border: 3px solid var(--primary-cyan);
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ===================================
   PAGE HEADER
   =================================== */

.page-header {
    position: relative;
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--primary-cyan);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

/* ===================================
   CONTENT SECTION (About Page)
   =================================== */

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.content-section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.approach-section {
    background: var(--dark-section);
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.approach-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   TEAM SECTION
   =================================== */

.team-section {
    background: var(--dark-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: rgba(77, 208, 225, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition);
}

.team-member:hover {
    background: rgba(77, 208, 225, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
}

/* ===================================
   TEAM SECTION
   =================================== */

.team-section {
    background: var(--dark-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: rgba(77, 208, 225, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition);
}

.team-member:hover {
    background: rgba(77, 208, 225, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
}

.member-photo-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-cyan);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 208, 225, 0.1);
}

.member-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-member h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.member-role {
    font-size: 14px;
    color: var(--primary-cyan);
    font-weight: 600;
}

@media (max-width: 968px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* ===================================
   SOLUTIONS DETAIL
   =================================== */

.solutions-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-detail-card {
    padding: 40px 30px;
    background: rgba(77, 208, 225, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
}

.solution-detail-card:hover {
    background: rgba(77, 208, 225, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.solution-detail-card h2 {
    font-size: 26px;
    color: var(--primary-cyan);
    margin-bottom: 15px;
}

.solution-detail-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    padding: 0;
}

.solution-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 15px;
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-container h2 {
    font-size: 32px;
    color: var(--primary-cyan);
    margin-bottom: 10px;
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(77, 208, 225, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-bg);
    color: var(--text-primary);
}

/* Contact Info */
.contact-info-container {
    background: rgba(77, 208, 225, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    height: fit-content;
}

.contact-info-container h3 {
    font-size: 24px;
    color: var(--primary-cyan);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content a,
.info-content p {
    color: var(--text-primary);
    font-size: 16px;
}

.info-content a:hover {
    color: var(--primary-cyan);
}

.business-hours {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.business-hours h4 {
    font-size: 16px;
    color: var(--primary-cyan);
    margin-bottom: 10px;
}

.business-hours p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: #000000;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

/* Remove the separate tagline since it's in the logo */
.footer-tagline {
    display: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--primary-cyan);
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .advantages-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll animations (optional - requires JavaScript) */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}