/* 
 * Nexicore - Corporate Business Website
 * Theme: Professional Light
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --primary-color: #003366; /* Navy Blue */
    --accent-color: #D32F2F; /* Red from logo */
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-light: #ffffff;
    --bg-off-white: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    /* Global High-Contrast Tech Background */
    background-color: #ffffff;
    background-image: 
        /* Deep Navy Structural Curve (Top Right) */
        radial-gradient(circle at 100% 0%, rgba(0, 51, 102, 0.15) 0%, transparent 45%),
        /* Vibrant Red Accent Flow (Bottom Left) */
        radial-gradient(circle at 0% 100%, rgba(211, 47, 47, 0.12) 0%, transparent 50%),
        /* Sharp Diagonal Beam (Central Structure) */
        linear-gradient(135deg, transparent 40%, rgba(0, 51, 102, 0.08) 40%, rgba(0, 51, 102, 0.08) 60%, transparent 60%),
        /* Subtle Texture Overlay */
        linear-gradient(rgba(0, 51, 102, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px;
    background-attachment: fixed;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.bg-off-white {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

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

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

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

.section-title {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: #a78bfa;
    border: 2px solid #a78bfa;
}

.btn-secondary:hover {
    background: #a78bfa;
    color: #1e1b4b;
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 80px; /* Offset fixed header */
    padding: 100px 0;
    background-color: var(--bg-off-white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Dark overlay for readability */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
    pointer-events: none;
}

/* Keep hero content above overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

/* =========================
   VISION, MISSION, OBJECTIVES
========================= */
.vmo-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.vmo-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.vmo-block:last-child {
    margin-bottom: 0;
}

.vmo-reverse {
    flex-direction: row-reverse;
}

.vmo-content {
    flex: 1;
}

.vmo-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 350px; /* Fixed height for consistency */
}

.vmo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vmo-block:hover .vmo-image img {
    transform: scale(1.05);
}

.vmo-subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

.vmo-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.vmo-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.vmo-list {
    list-style: none;
    margin-top: 20px;
}

.vmo-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.vmo-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

@media (max-width: 992px) {
    .vmo-block {
        gap: 40px;
    }
    .vmo-tagline {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .vmo-block, .vmo-reverse {
        flex-direction: column;
        margin-bottom: 60px;
        gap: 30px;
    }
    
    .vmo-image {
        width: 100%;
        height: 250px;
    }
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #d1d5db; /* FORCE WHITE FOR READABILITY */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero p {
   
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #eaeaea;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Snapshot */
.about-snapshot {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Team Member Images */
.team-photo-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
    background-color: var(--bg-off-white);
}

.team-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.card:hover .team-photo-wrapper img {
    transform: scale(1.05);
}

/* Cards (Services, etc) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    flex-grow: 1;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    color: var(--accent-color);
}

.card-link i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.card-link:hover i {
    margin-left: 10px;
}

/* Why Choose Us */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.cta-section .btn:hover {
    background-color: var(--bg-off-white);
}

/* Page Headers */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    margin-top: 80px;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Dark overlay for readability */
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* 50% opacity */
    z-index: 1;
    pointer-events: none;
}

/* Ensure content is above overlay */
.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* =========================
   ABOUT SNAPSHOT (WHO WE ARE)
========================= */

.animated-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
}

.title-underline {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.animated-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 750px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out 0.3s forwards;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.highlight-text::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(211, 47, 47, 0.1);
    z-index: -1;
    border-radius: 2px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 0.7s; }
.delay-3 { animation-delay: 0.9s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .animated-title {
        font-size: 2rem;
    }
    
    .animated-text {
        font-size: 1.1rem;
    }
}

/* Service Detail Pages */
.service-detail-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.sidebar-nav {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.sidebar-nav h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-nav ul li {
    margin-bottom: 10px;
}

.sidebar-nav ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    color: var(--text-light);
}

.sidebar-nav ul li a:hover, .sidebar-nav ul li a.active {
    background-color: var(--bg-off-white);
    color: var(--accent-color);
    font-weight: 500;
}

.service-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
    font-size: 1.8rem;
}

.service-content h2:first-child {
    margin-top: 0;
}

.service-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-content ul li {
    margin-bottom: 8px;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-nav {
        display: none; /* Hide sidebar on smaller screens or move to top */
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu implementation needed */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Floating Action Buttons */
.floating-btn {
    position: fixed;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background-color: white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.floating-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-whatsapp {
    bottom: 20px;
}

.btn-phone {
    bottom: 85px;
}

/* Footer Social Icons */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: white;
    text-decoration: none;
}

.footer-social-icons a:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-social-icons svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
