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

:root {
    --primary-blue: #1a237e; /* Dark navy blue from logo */
    --secondary-blue: #283593;
    --accent-red: #ff4d26; /* Bright orange-red from logo */
    --accent-red-light: #ff6e47;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --section-bg: #f8fafc;
    --card-shadow: 0 4px 20px rgba(26, 35, 126, 0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    --neon-shadow-blue: 0 0 20px rgba(26, 35, 126, 0.3);
    --neon-shadow-red: 0 0 20px rgba(255, 77, 38, 0.3);
    --tech-border: 1px solid rgba(26, 35, 126, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
    overflow-x: hidden;
}

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

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

/* Tech Decorations */
.tech-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.05;
    background: 
        linear-gradient(90deg, var(--primary-blue) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(0deg, var(--primary-blue) 1px, transparent 1px) 0 0 / 50px 50px;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    box-shadow: var(--neon-shadow-blue);
    animation: rotate 20s linear infinite;
}

.tech-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.tech-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(26, 35, 126, 0.1);
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

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

.logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

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

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

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

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 6rem;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 77, 38, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button.primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--neon-shadow-red);
    border: none;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    transform: translateX(0);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        linear-gradient(45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(-45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0,
        linear-gradient(-45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0;
    background-size: 100px 100px;
    z-index: -1;
}

.services h2, .industries h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 35, 126, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-shadow-blue);
    border-color: var(--primary-blue);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-red);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

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

.service-features li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

/* Industries Section */
.industries {
    padding: 5rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.industries::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        linear-gradient(45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(-45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0,
        linear-gradient(-45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0;
    background-size: 100px 100px;
    z-index: -1;
}

.industry-card {
    border: 1px solid rgba(26, 35, 126, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-align: left;
    padding: 2.5rem;
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--accent-red);
    box-shadow: var(--neon-shadow-red);
}

.industry-card i {
    color: var(--primary-blue);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    padding: 1rem;
    border-radius: 50%;
    border: var(--tech-border);
    box-shadow: var(--neon-shadow-blue);
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.industry-card p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        linear-gradient(45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(-45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0,
        linear-gradient(-45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0;
    background-size: 100px 100px;
    z-index: -1;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.about-text h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    border: 1px solid rgba(26, 35, 126, 0.1);
    border-radius: 15px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--neon-shadow-blue);
    transform: translateY(-5px);
}

.feature i {
    font-size: 2rem;
    color: var(--accent-red);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        linear-gradient(45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(-45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0,
        linear-gradient(-45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0;
    background-size: 100px 100px;
    z-index: -1;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 35, 126, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.9);
    border: var(--tech-border);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    box-shadow: var(--neon-shadow-blue);
}

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

.submit-btn {
    background: var(--gradient-accent);
    color: white;
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: var(--neon-shadow-red);
    transition: var(--transition);
}

.submit-btn:hover {
    box-shadow: 0 0 30px rgba(255, 77, 38, 0.4);
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 77, 38, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: white;
}

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

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

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

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

.company-info {
    color: #9ca3af;
    margin-top: 1rem;
    font-size: 0.9rem;
}

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

.social-links a {
    font-size: 1.5rem;
    color: #9ca3af;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-red);
}

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

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-red);
}

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--card-shadow);
    }

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

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-top: 1rem;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .tech-circle {
        display: none;
    }

    .logo-img {
        height: 90px;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    .navbar .container {
        padding: 0.25rem 20px;
    }
    
    .hero {
        padding: 160px 0 4rem;
    }
}

/* Add a larger breakpoint for medium-sized screens */
@media (max-width: 1024px) {
    .logo-img {
        height: 100px;
    }
    
    .hero {
        padding: 170px 0 5rem;
    }
}

/* Tech Lines Animation */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.tech-line {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: linear-gradient(to bottom, 
        transparent 0%,
        var(--accent-red) 50%,
        transparent 100%
    );
    animation: techLine 8s linear infinite;
    opacity: 0.2;
}

@keyframes techLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Add elegant animations */
@keyframes glow {
    0% { box-shadow: var(--neon-shadow-blue); }
    50% { box-shadow: var(--neon-shadow-red); }
    100% { box-shadow: var(--neon-shadow-blue); }
}

.service-card:hover,
.industry-card:hover,
.feature:hover {
    animation: glow 2s infinite;
}

/* Add high-tech decorative elements */
.tech-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(26, 35, 126, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.tech-decoration::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 77, 38, 0.1);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

/* Enhanced section backgrounds */
.services::before,
.industries::before,
.about::before,
.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        linear-gradient(45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(-45deg, rgba(26, 35, 126, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0,
        linear-gradient(-45deg, transparent 75%, rgba(26, 35, 126, 0.03) 75%) -50px 0;
    background-size: 100px 100px;
    z-index: -1;
} 