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

html {
    scroll-behavior: smooth;
}

/* Enhanced Mobile-First Base Styles */
body {
    font-size: 16px;
}

.container {
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 11, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

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

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

.nav-logo h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
}

.company-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    padding: 0.3rem 0.7rem;
    border-radius: 0.7rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.company-badge:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

.badge-logo {
    flex-shrink: 0;
    animation: badgeRotate 8s linear infinite;
}

@keyframes badgeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    width: 100%;
    justify-content: space-around;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #0a0b0d 0%, #1a1b23 50%, #0a0b0d 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3rem;
    transition: background 0.5s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.03) 50%, transparent 70%),
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    max-width: 700px;
}

.hero-visual {
    max-width: 400px;
    margin: 2rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-top: -0.2rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-svg {
    animation: logoFloat 8s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.logo-svg:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 15px 35px rgba(102, 126, 234, 0.4));
}

/* Main logo floating animation */
@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}

/* Animate the main structure */
.logo-main-structure {
    animation: structurePulse 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes structurePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.02);
        opacity: 1;
    }
}

/* Connection nodes animation */
.connection-nodes circle {
    animation: nodeSequence 6s ease-in-out infinite;
}

.connection-nodes circle:nth-child(1) { animation-delay: 0s; }
.connection-nodes circle:nth-child(2) { animation-delay: 0.3s; }
.connection-nodes circle:nth-child(3) { animation-delay: 0.6s; }
.connection-nodes circle:nth-child(4) { animation-delay: 0.9s; }
.connection-nodes circle:nth-child(5) { animation-delay: 1.2s; }
.connection-nodes circle:nth-child(6) { animation-delay: 1.5s; }
.connection-nodes circle:nth-child(7) { animation-delay: 1.8s; }
.connection-nodes circle:nth-child(8) { animation-delay: 2.1s; }

@keyframes nodeSequence {
    0%, 90%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    5%, 15% { 
        opacity: 1; 
        transform: scale(1.4);
    }
}

/* Connection lines animation */
.connection-lines line {
    animation: lineFlow 3s ease-in-out infinite;
    stroke-dasharray: 10, 5;
    stroke-dashoffset: 0;
}

.connection-lines line:nth-child(odd) {
    animation-delay: 0s;
}

.connection-lines line:nth-child(even) {
    animation-delay: 1.5s;
}

@keyframes lineFlow {
    0% { 
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
    50% { 
        stroke-dashoffset: -15;
        opacity: 0.8;
    }
    100% { 
        stroke-dashoffset: -30;
        opacity: 0.4;
    }
}

/* Orbital elements animation */
.orbital-elements circle {
    animation: orbitFloat 12s ease-in-out infinite;
}

.orbital-elements circle:nth-child(1) { 
    animation-delay: 0s;
    animation-duration: 8s;
}
.orbital-elements circle:nth-child(2) { 
    animation-delay: 2s;
    animation-duration: 10s;
}
.orbital-elements circle:nth-child(3) { 
    animation-delay: 4s;
    animation-duration: 12s;
}
.orbital-elements circle:nth-child(4) { 
    animation-delay: 6s;
    animation-duration: 9s;
}
.orbital-elements circle:nth-child(5) { 
    animation-delay: 1s;
    animation-duration: 11s;
}
.orbital-elements circle:nth-child(6) { 
    animation-delay: 3s;
    animation-duration: 7s;
}

@keyframes orbitFloat {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(0.8) translateY(0px);
    }
    25% { 
        opacity: 0.9;
        transform: scale(1.2) translateY(-8px);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1) translateY(-4px);
    }
    75% { 
        opacity: 0.8;
        transform: scale(1.1) translateY(-6px);
    }
}

/* Enhanced hover effects */
.logo-svg:hover .connection-nodes circle {
    animation-duration: 2s;
}

.logo-svg:hover .connection-lines line {
    animation-duration: 1.5s;
    stroke-width: 2;
}

.logo-svg:hover .orbital-elements circle {
    animation-duration: 4s;
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(15, 16, 21, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close {
    color: #a0a0a0;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #667eea;
}

.modal-body {
    padding: 2rem;
}

.company-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.company-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.company-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.detail-item, .contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child, .contact-item:last-child {
    border-bottom: none;
}

.label {
    color: #a0a0a0;
    font-weight: 500;
}

.value {
    color: #ffffff;
    font-weight: 600;
}

.address {
    margin-bottom: 1.5rem;
}

.address p {
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

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

/* Footer */
.footer {
    background: #0a0b0d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer-left p {
    color: #a0a0a0;
    margin-top: 1rem;
}

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

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 6rem;
        padding: 0 4rem;
    }
    
    .hero-content {
        text-align: left;
        max-width: 55%;
    }
    
    .hero-visual {
        max-width: 45%;
    }

    .hero-title {
        align-items: flex-start;
    }

    .nav-container {
        flex-direction: row;
        gap: 0;
        align-items: center;
    }
    
    .nav-menu {
        width: auto;
    }

    .hero {
        padding: 8rem 0;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .title-main {
        font-size: 4rem;
    }
    
    .title-sub {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 3rem;
    }
    
    .hero-visual {
        margin: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .footer-links {
        justify-content: flex-end;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .title-sub {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo-svg {
        width: 160px;
        height: 160px;
    }
    
    .company-details {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-visual {
        max-width: 250px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
    
    .logo-svg {
        width: 140px;
        height: 140px;
    }
} 