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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Tab Content Container */
.tab-content-container {
    min-height: calc(100vh - 72px);
    margin-top: 72px;
    background: #ffffff;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in;
    min-height: calc(100vh - 72px);
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    z-index: 1000;
    border-bottom: none;
}

.nav {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    min-height: 72px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    position: absolute;
    right: 20px;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #9ca3af;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 1.5rem 2rem;
    display: block;
    position: relative;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #3b82f6;
}

.nav-logo h1 {
    color: #2563eb;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #1d4ed8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
    position: relative;
    letter-spacing: -0.5px;
}

.nav-logo h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-logo:hover h1::after {
    transform: scaleX(1);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: invert(1) brightness(2);
}

.logo-image:hover {
    transform: scale(1.05);
    filter: invert(1) brightness(2.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    z-index: 10;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #e5e7eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007BA7 0%, #000080 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="120" fill="url(%23a)"/><circle cx="800" cy="300" r="100" fill="url(%23a)"/><circle cx="400" cy="700" r="80" fill="url(%23a)"/><circle cx="700" cy="800" r="90" fill="url(%23a)"/><circle cx="100" cy="600" r="70" fill="url(%23a)"/></svg>') no-repeat;
    background-size: cover;
    animation: swirl 20s linear infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M100,200 Q400,100 700,300 T900,500 Q600,700 300,500 T100,200" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/><path d="M200,100 Q500,300 800,200 T900,600 Q500,800 200,600 T200,100" stroke="rgba(255,255,255,0.08)" stroke-width="1.5" fill="none"/></svg>') no-repeat center;
    background-size: 100% 100%;
    animation: float 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes swirl {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.company-name {
    display: inline-block;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #e2e8f0, #ffffff, #cbd5e1);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hero-company-glow 4s ease-in-out infinite;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes hero-company-glow {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% { 
        background-position: 100% 50%;
        transform: scale(1.02);
    }
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.1));
    border-radius: 15px;
    z-index: -1;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-contact {
    margin-top: 3rem;
    padding: 2rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid white;
    display: inline-block;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-contact:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.25);
}

.contact-label {
    color: #334155;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-email {
    color: #007BA7;
    font-size: 2.25rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 123, 167, 0.2);
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007BA7, #000080);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-email:hover {
    color: #000080;
    transform: translateX(4px);
}

.contact-email:hover::after {
    transform: scaleX(1);
}

.hero .btn-primary {
    background: white;
    color: #2563eb;
    border-color: white;
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.hero .btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f9fafb;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Values Section */
.values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon span {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.value-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f9fafb;
}

.products-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #2563eb;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.product-header h3 {
    color: #1f2937;
    font-size: 1.75rem;
    margin: 0;
    background: linear-gradient(135deg, #1f2937, #3b82f6, #2563eb);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: product-glow 3s ease-in-out infinite;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.product-header h3::before {
    content: '⚡';
    margin-right: 0.5rem;
    color: #f59e0b;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes product-glow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

.product-badge {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-description {
    margin-bottom: 2rem;
}

.product-description p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.75rem 0;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-cta {
    text-align: center;
}

.product-cta .btn {
    width: 100%;
    max-width: 300px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f9fafb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-item {
    margin-bottom: 1rem;
    color: #666;
}

.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: footer-glow 5s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: invert(1) brightness(2);
}

@keyframes footer-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-brand p {
    color: #9ca3af;
    margin: 0;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Responsive Design - Switch to mobile menu at 900px to prevent logo overlap */
@media (max-width: 900px) {
    .nav-container {
        justify-content: center;
    }

    .nav-logo {
        position: static;
        transform: none;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: none;
        width: 100%;
        text-align: left;
    }

    .nav-link.active {
        background: rgba(255, 255, 255, 0.15);
        border-left: 4px solid #3b82f6;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        padding: 1.5rem 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Adjust content to account for fixed header */
    .tab-content-container {
        margin-top: 72px;
    }

    .tab-panel {
        min-height: calc(100vh - 72px);
        padding: 1rem 0;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-contact {
        margin: 2rem 1rem;
        padding: 1.5rem 2rem;
    }

    .contact-label {
        font-size: 0.9rem;
    }

    .contact-email {
        font-size: 1.5rem;
        word-break: break-all;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .products,
    .about,
    .services {
        padding: 40px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .company-name {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .hero-contact {
        margin: 1.5rem 0.5rem;
        padding: 1rem 1.5rem;
    }

    .contact-label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .contact-email {
        font-size: 1.25rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .product-header h3 {
        font-size: 1.5rem;
    }

    .product-description p {
        font-size: 1rem;
    }

    .product-features li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }

    .value-card,
    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer {
        padding: 1.5rem 0 0.75rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}