/* ===== PROFESSIONAL B2B BUSINESS WEBSITE ===== */
/* Noventra Web Solutions - Modern, Clean, Professional */

:root {
    /* Brand Colors - Noventra Professional Theme */
    --primary: #2e6289;           /* Azure Blue - Main brand color */
    --primary-dark: #1f3f52;      /* Darker azure for hover states */
    --primary-light: #e8f1f7;     /* Light azure for backgrounds */
    --secondary: #f47f16;         /* Orange - Accent and CTAs */
    --secondary-dark: #d66f0a;    /* Darker orange for hover */
    --secondary-light: #fef3eb;   /* Light orange for backgrounds */
    --accent: #2e6289;            /* Using primary as accent */
    --white: #ffffff;
    --bg-light: #f6f6f6;          /* Light grey - Secondary background */
    --bg-lighter: #f6f6f6;        /* Light grey background */
    --text-dark: #2b3e50;         /* Dark blue-grey for text */
    --text-muted: #5a6f7d;        /* Muted blue-grey */
    --border: #d9e0e8;            /* Subtle border color */
    --shadow-sm: 0 2px 8px rgba(46, 98, 137, 0.06);
    --shadow-md: 0 4px 16px rgba(46, 98, 137, 0.08);
    --shadow-lg: 0 10px 32px rgba(46, 98, 137, 0.1);
    --gradient-primary: linear-gradient(135deg, #2e6289 0%, #f47f16 100%);
    --gradient-light: linear-gradient(135deg, #e8f1f7 0%, #fef3eb 100%);
    --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: var(--white);
}

.loader-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.loader-bar {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 20px auto;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--white);
    border-radius: 3px;
    width: 60%;
}

.loader p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    font-size: 0.95rem;
}

/* ===== NAVBAR / HEADER ===== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    margin-left: 3rem;
}

.nav-item a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--primary);
}

.nav-cta {
    margin-left: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(46, 98, 137, 0.03) 0%, rgba(244, 127, 22, 0.03) 100%);
    padding: 80px 0;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* CTA Logo above hero/CTA heading */
/* CTA logo styles removed per user request */

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

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

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-3d-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.card-1 { top: 20px; left: 0; }
.card-2 { top: 150px; right: 20px; }
.card-3 { bottom: 20px; left: 40px; }
.card-4 { bottom: 100px; right: 0; }

.hero-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-sphere {
    width: 120px;
    height: 120px;
    position: relative;
}

.sphere-ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 { width: 100px; height: 100px; }
.ring-2 { width: 70px; height: 70px; }
.ring-3 { width: 40px; height: 40px; }

.sphere-core {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.scroll-indicator {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    font-family: var(--font-body);
}

.btn.primary {
    background: var(--primary);
    color: var(--white);
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn.outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn.secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn.secondary:hover {
    background: var(--secondary-dark);
}

.btn-glow {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(46, 98, 137, 0.3);
}

.btn-glow:hover {
    background: var(--primary-dark);
}

/* ===== FEATURES / SERVICES SECTION ===== */
.features,
.services-section {
    padding: 5rem 0;
    background: var(--bg-lighter);
}

.features h2,
.services-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.lead {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid.cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid.cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid.cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.cols-5 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.gap {
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card h3,
.card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

.card ul li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.card ul li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== TIMELINE ===== */
.timeline {
    padding: 5rem 0;
    background: var(--white);
}

.timeline h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-list li {
    padding: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
    border-left: 3px solid var(--primary-light);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
    border-radius: 8px;
}

.timeline-list li:last-child {
    border-left-color: var(--secondary);
}

.timeline-list li:before {
    content: "";
    position: absolute;
    left: -9px;
    top: 1.5rem;
    width: 15px;
    height: 15px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
}

.timeline-list li:last-child:before {
    border-color: var(--secondary);
    background: var(--secondary);
}

.timeline-list strong {
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== PORTFOLIO / PROJECTS ===== */
.portfolio {
    padding: 5rem 0;
    background: var(--bg-lighter);
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.portfolio-hero-content h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.portfolio-hero-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.portfolio-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    border-radius: 12px;
    padding: 2rem;
    min-height: 300px;
}

.portfolio-hero-image img {
    max-width: 100%;
    height: auto;
}

.portfolio h3 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.project-card {
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.project-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial {
    padding: 2rem;
    border-left: 4px solid var(--primary);
}

.testimonial p:first-child {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.attribution {
    font-weight: 600;
    color: var(--primary);
    font-style: normal;
}

/* ===== TEAM ===== */
.team {
    padding: 5rem 0;
    background: var(--bg-lighter);
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
}

.team-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
    padding: 5rem 0;
    background: var(--white);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.newsletter .lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.form-inline {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-inline input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.form-inline input::placeholder {
    color: #bbb;
}

.form-inline button {
    padding: 0.9rem 2rem;
}

/* ===== CLIENT LOGOS ===== */
.clients {
    padding: 4rem 0;
    background: var(--bg-lighter);
}

.clients h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.client-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.client-logos img {
    height: 60px;
    width: auto;
    opacity: 0.7;
}

.client-logos img:hover {
    opacity: 1;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    padding: 5rem 0;
    background: var(--white);
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer,
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--white);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

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

    .hero-visual {
        display: none;
    }

    .grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-hero {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .grid.cols-2,
    .grid.cols-3,
    .grid.cols-4,
    .grid.cols-5 {
        grid-template-columns: 1fr;
    }

    .form-inline {
        flex-direction: column;
    }

    .form-inline input,
    .form-inline button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }

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

    .nav-logo {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}
