/* NEXITENCE TECHNOLOGY LLP - Common Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nexitence-primary: #0066CC;
    --nexitence-secondary: #2C3E50;
    --nexitence-accent: #FF6B35;
    --nexitence-light: #F8F9FA;
    --nexitence-dark: #1A1A1A;
    --nexitence-white: #FFFFFF;
    --nexitence-gradient: linear-gradient(135deg, #0066CC 0%, #8B5CF6 100%);
    --nexitence-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --nexitence-border-radius: 12px;
    --nexitence-transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--nexitence-dark);
    background-color: var(--nexitence-white);
}

/* Layout Components */
.nexitence-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.nexitence-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.nexitence-section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nexitence-dark);
    margin-bottom: 1rem;
}

.nexitence-section-subtitle {
    font-size: 1.125rem;
    color: var(--nexitence-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.nexitence-btn-primary,
.nexitence-btn-secondary {
    padding: 1rem 2rem;
    border-radius: var(--nexitence-border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--nexitence-transition);
    display: inline-block;
}

.nexitence-btn-primary {
    background: var(--nexitence-accent);
    color: var(--nexitence-white);
    border: 2px solid var(--nexitence-accent);
}

.nexitence-btn-primary:hover {
    background: transparent;
    color: var(--nexitence-accent);
    transform: translateY(-2px);
}

.nexitence-btn-secondary {
    background: transparent;
    color: var(--nexitence-white);
    border: 2px solid var(--nexitence-white);
}

.nexitence-btn-secondary:hover {
    background: var(--nexitence-white);
    color: var(--nexitence-primary);
    transform: translateY(-2px);
}

/* Cards */
.nexitence-card {
    background: var(--nexitence-white);
    padding: 2.5rem;
    border-radius: var(--nexitence-border-radius);
    box-shadow: var(--nexitence-shadow);
    transition: var(--nexitence-transition);
}

.nexitence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Grid Layouts */
.nexitence-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.nexitence-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.nexitence-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Header and Navigation */
.nexitence-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: var(--nexitence-transition);
}

.nexitence-nav {
    padding: 1rem 0;
}

.nexitence-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nexitence-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 180px;
    height: 60px;
    background-image: url('img/company-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;
}

.nexitence-company-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nexitence-company-name-main {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nexitence-primary);
    letter-spacing: 0.5px;
}

.nexitence-company-name-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--nexitence-secondary);
    letter-spacing: 0.3px;
}

.nexitence-nav-menu {
    display: flex;
    gap: 2rem;
}

.nexitence-nav-link {
    text-decoration: none;
    color: var(--nexitence-dark);
    font-weight: 500;
    transition: var(--nexitence-transition);
    position: relative;
}

.nexitence-nav-link:hover,
.nexitence-nav-link.active {
    color: var(--nexitence-primary);
}

.nexitence-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--nexitence-primary);
}

.nexitence-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nexitence-mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--nexitence-dark);
    transition: var(--nexitence-transition);
}

/* Footer */
.nexitence-footer {
    background: var(--nexitence-dark);
    color: var(--nexitence-white);
    padding: 4rem 0 2rem;
}

.nexitence-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.nexitence-footer-logo {
    width: 150px;
    height: 50px;
    background-image: url('img/company-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 1rem;
}

.nexitence-footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.nexitence-footer-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.nexitence-footer-links {
    list-style: none;
}

.nexitence-footer-links li {
    margin-bottom: 0.5rem;
}

.nexitence-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--nexitence-transition);
}

.nexitence-footer-links a:hover {
    color: var(--nexitence-primary);
}

.nexitence-footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.nexitence-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.nexitence-footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
}

.nexitence-footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--nexitence-transition);
}

.nexitence-footer-legal a:hover {
    color: var(--nexitence-primary);
}

/* Cookies Banner */
.nexitence-cookies-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nexitence-cookies-banner.show {
    opacity: 1;
    visibility: visible;
}

.nexitence-cookies-content {
    background: var(--nexitence-white);
    border-radius: var(--nexitence-border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.nexitence-cookies-banner.show .nexitence-cookies-content {
    transform: scale(1) translateY(0);
}

.nexitence-cookies-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--nexitence-gradient);
}

.nexitence-cookies-content p {
    color: var(--nexitence-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.nexitence-cookies-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nexitence-btn-accept,
.nexitence-btn-decline {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.nexitence-btn-accept {
    background: var(--nexitence-primary);
    color: var(--nexitence-white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.nexitence-btn-accept:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.nexitence-btn-decline {
    background: transparent;
    color: var(--nexitence-secondary);
    border: 2px solid var(--nexitence-secondary);
}

.nexitence-btn-decline:hover {
    background: var(--nexitence-secondary);
    color: var(--nexitence-white);
    transform: translateY(-2px);
}

.nexitence-cookies-icon {
    font-size: 2rem;
    color: var(--nexitence-primary);
    margin-bottom: 1rem;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nexitence-nav-menu {
        display: none;
    }
    
    .nexitence-mobile-menu-toggle {
        display: flex;
    }
    
    .nexitence-section-title {
        font-size: 2rem;
    }
    
    .nexitence-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .nexitence-cookies-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-width: 90%;
    }
    
    .nexitence-cookies-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .nexitence-btn-accept,
    .nexitence-btn-decline {
        width: 100%;
        min-width: auto;
    }
    
    .nexitence-logo-container {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .nexitence-company-name-main {
        font-size: 1.25rem;
    }
    
    .nexitence-company-name-sub {
        font-size: 0.8rem;
    }
}
