/* Updated Color Scheme */
:root {
    --primary: #ef7602;   /* Orange */
    --secondary: #d46902; /* Darker Orange */
    --accent: #073e5c;    /* Blue */
    --dark: #1e293b;      /* Slate-800 */
    --light: #f8fafc;     /* Slate-50 */
    --text: #334155;      /* Slate-700 */
    --text-light: #64748b; /* Slate-600 */
    --section-bg: #ffffff;
    --section-padding: 3rem 1.5rem;
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

h1 { font-size: 2.5rem; color: var(--accent); }
h2 { font-size: 2rem; color: var(--accent); }
h3 { font-size: 1.5rem; color: var(--accent); }
h4 { font-size: 1.25rem; }

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

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

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

ul {
    list-style: none;
}

/* Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    background-color: var(--section-bg);
    z-index: 1;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cyber Background Elements */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.cyber-particle {
    position: absolute;
    background: rgba(239, 118, 2, 0.6);
    border-radius: 50%;
    pointer-events: none;
}

.cyber-line {
    position: absolute;
    background: linear-gradient(to right, rgba(239, 118, 2, 0.4), transparent);
    height: 1px;
    pointer-events: none;
    transform-origin: left center;
}

.cyber-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px 2px var(--accent);
}


/* Navigation */
nav ul li a {
    color: var(--text);
    font-weight: bolder;
    padding: 0.5rem 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 118, 2, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 118, 2, 0.4);
}

.btn-outline {
    background: #fff;
    color: #000;
    border-color: #fff;
}

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

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(7, 62, 92, 0.3);
}

.btn-accent:hover {
    background: #052c43; /* Darker Blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 62, 92, 0.4);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn i {
    margin-right: 0.5rem;
}

/* Glow Effect for Buttons */
.btn-glow {
    position: relative;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.3) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0.3) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 1;
    animation: glow 1.5s infinite;
}

/* Hero Section - Made smaller */
.hero {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(239, 118, 2, 0.8));
    color: white;
    text-align: center;
    padding: 5rem 1.5rem; /* Reduced from 8rem */
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

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

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 2rem; /* Reduced from 2.5rem */
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* Vision & Mission Section */
.vision-section {
    background: var(--section-bg);
}

.vision-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.vision-box, .mission-box {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vision-box:hover, .mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.vision-box {
    border-top: 5px solid var(--primary);
}

.mission-box {
    border-top: 5px solid var(--accent);
}

.vision-box h3, .mission-box h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
}

/* Solutions Section */
.solutions-section {
    background-color: #f8fafc;
}

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

.solution-category {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.solution-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 118, 2, 0.05) 0%, rgba(7, 62, 92, 0.05) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-category:hover::before {
    opacity: 1;
}

.solution-category h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
    position: relative;
    z-index: 1;
}

.solution-list {
    margin-left: 1rem;
    position: relative;
    z-index: 1;
}

.solution-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.solution-list li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
}

/* Products Section */
.products-section {
    background: var(--section-bg);
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 118, 2, 0.05) 0%, rgba(7, 62, 92, 0.05) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.product-features {
    margin: 1.5rem 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.product-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Cards */
.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 118, 2, 0.05) 0%, rgba(7, 62, 92, 0.05) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
    color: var(--primary);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

/* Industry Sections */
.industry-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.industry-icon {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(239, 118, 2, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
}

.contact-section h2 {
    color: white;
    position: relative;
    z-index: 1;
}

.contact-section p {
    position: relative;
    z-index: 1;
}

.contact-section .hero-buttons {
    position: relative;
    z-index: 1;
}

/* Contact Info Section */
.contact-info-section {
    background: var(--light);
    padding: var(--section-padding);
}

.contact-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info-card {
    flex: 1;
    min-width: 250px;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 118, 2, 0.05) 0%, rgba(7, 62, 92, 0.05) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-icon {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(239, 118, 2, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.contact-info-card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.contact-info-card p {
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

@keyframes cyberPulse {
    0% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
    100% { opacity: 0.3; transform: scale(1); }
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    @keyframes slidein {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

    
    nav ul li a {
        color: var(--text);
        font-weight: bolder;
        padding: 0.5rem 0;
        position: relative;
        /* slide in */
        animation: slidein 0.5s ease-out;
        
    }
    
    .hero {
        padding: 3rem 1rem; /* Reduced from 5rem */
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .industry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .industry-icon {
        margin-bottom: 1rem;
    }
    
    .vision-content {
        flex-direction: column;
    }
    
    .vision-box, .mission-box {
        width: 100%;
    }
    
    .contact-info-card {
        min-width: 100%;
    }
    
    .card {
        padding: 1.2rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 15px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .hero {
        padding: 2.5rem 1rem; /* Reduced from 4rem */
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.8rem 1rem;
        white-space: normal;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .contact-info-section {
        padding: 2rem 1rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .industry-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-icon {
        font-size: 1.5rem;
    }
    
    .product-icon {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .product-card, .card {
        padding: 1.5rem;
    }
    
    nav ul {
        padding: 5rem 1rem;
    }
    
    .header-container {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 400px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        font-size: 1.3rem;
    }
    
    .product-card, .card {
        padding: 1.2rem;
    }
}