芝麻web文件管理V1.00
编辑当前文件:/home/paymbalq/kalibotics.com/styles.css__456b06e
/* Base Styles and Variables */ :root { --primary-color: #0062cc; /* High-tech blue */ --secondary-color: #001f3f; /* Dark blue */ --accent-color: #00d2ff; /* Bright cyan accent */ --accent-secondary: #7928ca; /* Purple accent */ --text-color: #333333; --light-text: #ffffff; --background-color: #f8f9fa; --dark-background: #0a192f; --card-background: #ffffff; --border-radius: 8px; --transition: all 0.3s ease; --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); --glow-shadow: 0 0 15px rgba(0, 98, 204, 0.5); } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--background-color); overflow-x: hidden; } .container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } a { text-decoration: none; color: inherit; transition: var(--transition); } ul { list-style: none; } img { max-width: 100%; height: auto; } .section-title { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: var(--secondary-color); position: relative; padding-bottom: 15px; } .section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); border-radius: 2px; } /* Header and Navigation */ header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--dark-background); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); transition: var(--transition); } header.scrolled { background-color: rgba(10, 25, 47, 0.95); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); } nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; } .logo-img { height: 50px; width: auto; display: block; } .logo { display: flex; align-items: center; } .nav-links { display: flex; gap: 2rem; } .nav-links li a { font-weight: 500; color: var(--light-text); position: relative; padding: 5px 0; } .nav-links li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: var(--transition); } .nav-links li a:hover { color: var(--primary-color); } .nav-links li a:hover::after { width: 100%; } .menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); } /* Hero Section */ .hero { height: 100vh; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; background: linear-gradient(135deg, var(--dark-background) 0%, var(--secondary-color) 100%), url('images/hero-bg.svg'); background-size: cover; background-repeat: no-repeat; background-position: center; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,
'); opacity: 0.3; } .hero-content { flex: 1; max-width: 600px; z-index: 1; } .hero-content h1 { font-family: 'Orbitron', sans-serif; font-size: 3.5rem; font-weight: 700; color: var(--light-text); margin-bottom: 1.5rem; line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); } .hero-content p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; max-width: 500px; } .cta-button { display: inline-block; padding: 12px 30px; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); color: white; font-weight: 600; border-radius: 30px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(0, 98, 204, 0.4); transition: var(--transition); position: relative; overflow: hidden; z-index: 1; } .cta-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary)); transition: var(--transition); z-index: -1; } .cta-button:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 98, 204, 0.5); } .cta-button:hover::before { left: 0; } .hero-image { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; } .robot-animation { position: relative; width: 400px; height: 400px; display: flex; justify-content: center; align-items: center; z-index: 1; } .robot-svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5)); } /* Robot styling */ .robot-animation { /* Removed background-image since we're using the SVG element directly */ background-repeat: no-repeat; background-position: center; filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.5)); animation: float 6s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } /* About Section */ .about { padding: 100px 0; background-color: var(--background-color); } .about-content { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; } .about-text { flex: 1; min-width: 300px; } .about-text p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-color); } .about-stats { flex: 1; min-width: 300px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-around; } .stat-item { text-align: center; padding: 30px; background-color: var(--card-background); border-radius: var(--border-radius); box-shadow: var(--box-shadow); transition: var(--transition); width: 180px; border-bottom: 4px solid var(--primary-color); } .stat-item:hover { transform: translateY(-10px); box-shadow: var(--glow-shadow); } .stat-number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; font-family: 'Orbitron', sans-serif; } .stat-label { font-size: 1rem; color: var(--text-color); font-weight: 500; } /* Services Section */ .services { padding: 100px 0; background-color: #f0f4f8; position: relative; overflow: hidden; } /* Section Styles */ .about, .services, .solutions, .next-gen, .recognition, .blog, .contact { padding: 100px 0; position: relative; overflow: hidden; } .services::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,
'); opacity: 0.5; } .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; } .next-gen-projects .service-card { background: rgba(255,255,255,0.15); box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 20px; border: 1px solid rgba(255,255,255,0.18); color: #222; margin: 20px 0; padding: 32px 24px; transition: box-shadow 0.3s, transform 0.3s, background 0.3s; display: flex; flex-direction: column; align-items: flex-start; min-width: 280px; max-width: 100%; } .next-gen-projects .service-card.large { font-size: 1.2em; padding: 40px 32px; grid-column: 1 / -1; } .next-gen-projects .service-card:hover { box-shadow: 0 16px 48px 0 rgba(31,38,135,0.45); transform: translateY(-4px) scale(1.03); background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(200,230,255,0.25) 100%); color: #111; } .next-gen-projects .service-card h3 { transition: color 0.2s linear, opacity 0.2s linear; color: #222; opacity: 1; } .next-gen-projects .service-card:hover h3, .next-gen-projects .service-card:focus h3 { color: #fff !important; opacity: 1 !important; text-shadow: 0 2px 8px rgba(0,0,0,0.12); } .next-gen-projects .service-card h3 { font-size: 1.5em; font-weight: 700; margin-bottom: 12px; color: #0a2540; opacity: 1; } .next-gen-projects .service-card p { font-size: 1em; color: #222; margin-bottom: 0; } .next-gen-projects.redesigned { padding: 60px 0; background: linear-gradient(135deg, #f8fafc 0%, #e3e9f7 100%); } .next-gen-projects.redesigned .section-title { text-align: center; font-size: 2.5rem; font-family: 'Orbitron', sans-serif; margin-bottom: 40px; color: #1a237e; letter-spacing: 1px; } .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; max-width: 1200px; margin: 0 auto; } .project-card { background: rgba(255,255,255,0.85); border-radius: 20px; box-shadow: 0 8px 32px rgba(44,62,80,0.12); padding: 32px 24px 28px 24px; display: flex; flex-direction: column; align-items: flex-start; transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1); position: relative; border: 1.5px solid #e3e9f7; grid-column: span 1; } .project-card.large { grid-column: span 1; } .project-card:hover, .project-card:focus-within { transform: translateY(-6px) scale(1.025); box-shadow: 0 16px 48px rgba(44,62,80,0.18); z-index: 2; } .project-icon { font-size: 2.5rem; color: #1976d2; margin-bottom: 18px; align-self: center; } .project-content h3 { font-size: 1.45rem; font-family: 'Orbitron', sans-serif; color: #1a237e; margin-bottom: 10px; font-weight: 700; transition: color 0.2s linear, opacity 0.2s linear; } .project-content p { color: #374151; font-size: 1.05rem; line-height: 1.6; margin-bottom: 0; } .project-card:hover .project-content h3, .project-card:focus-within .project-content h3 { color: #1976d2; opacity: 1; } @media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr; } .project-card.large { grid-column: span 1; } } .next-gen-projects .service-card::before { content: ''; position: absolute; top: -40%; left: -40%; width: 180%; height: 180%; background: linear-gradient(120deg, var(--primary-color) 0%, var(--accent-color) 100%); opacity: 0.08; z-index: 0; pointer-events: none; } .next-gen-projects .service-card:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 16px 48px rgba(0,98,204,0.18); border-color: var(--primary-color); } .next-gen-projects .service-icon { background: linear-gradient(135deg, var(--primary-color) 30%, var(--accent-color) 100%); color: #fff; box-shadow: 0 2px 16px rgba(0,98,204,0.18); border: 2px solid #fff; } .next-gen-projects .service-card h3 { font-size: 1.7rem; color: var(--primary-color); margin-bottom: 10px; letter-spacing: 1px; } .next-gen-projects .service-card p { font-size: 1.08rem; color: var(--text-color); opacity: 0.92; margin-bottom: 0; } .next-gen-projects .service-card.large { font-size: 1.35rem; padding: 60px 40px; border-width: 2.5px; } @media (max-width: 768px) { .next-gen-projects .service-card.large { padding: 30px 10px; font-size: 1.1rem; } } .service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); z-index: -1; } .service-card:hover { transform: translateY(-10px); box-shadow: var(--glow-shadow); } .service-icon { width: 80px; height: 80px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 98, 204, 0.1); border-radius: 50%; color: var(--primary-color); font-size: 2rem; transition: var(--transition); } .service-card:hover .service-icon { background-color: var(--primary-color); color: white; transform: rotateY(180deg); } .service-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; margin-bottom: 15px; color: var(--secondary-color); } .service-card p { color: var(--text-color); font-size: 1rem; } /* Solutions Section */ .solutions { padding: 100px 0; background-color: var(--background-color); position: relative; overflow: hidden; } /* Impact Section Styling */ /* Impact section styles removed */ /* Impact icon styles removed */ .hover-card-description ul { list-style-type: disc; padding-left: 20px; margin-top: 10px; } .hover-card-description li { margin-bottom: 8px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.9); } /* Animate the stat circle on scroll */ .stat-circle-progress { stroke-dashoffset: 283; /* Initial state - fully hidden */ animation: circleProgress 2s ease forwards; } @keyframes circleProgress { to { stroke-dashoffset: 42; /* 85% of 283 = ~240, so 283 - 240 = 43 */ } } /* Add gradient background to solutions section */ .solutions { background: linear-gradient(135deg, var(--background-color) 0%, rgba(0, 31, 63, 0.05) 100%); } .solutions::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('images/circuit.svg'); opacity: 0.05; z-index: 0; } .solutions .container { position: relative; z-index: 1; } /* Responsive styles removed for impact section */ /* Impact card animations removed */ @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } } .slider-controls { display: flex; justify-content: center; gap: 20px; margin-top: 30px; } .slider-controls button { width: 50px; height: 50px; border-radius: 50%; background-color: var(--card-background); border: none; box-shadow: var(--box-shadow); color: var(--primary-color); font-size: 1.2rem; cursor: pointer; transition: var(--transition); } .slider-controls button:hover { background-color: var(--primary-color); color: white; transform: scale(1.1); } /* CTA Section */ .cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-secondary) 100%); color: white; text-align: center; } .cta-content h2 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; margin-bottom: 20px; } .cta-content p { font-size: 1.2rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; opacity: 0.9; } .cta-section .cta-button { background: white; color: var(--primary-color); box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3); } .cta-section .cta-button::before { background: var(--secondary-color); } .cta-section .cta-button:hover { color: white; } /* Contact Section */ .contact { padding: 100px 0; background-color: var(--background-color); } .contact-container { display: flex; flex-wrap: wrap; gap: 40px; } .contact-info { flex: 1; min-width: 300px; padding: 30px; background-color: var(--card-background); border-radius: var(--border-radius); box-shadow: var(--box-shadow); } .info-item { display: flex; align-items: center; margin-bottom: 20px; } .info-item i { font-size: 1.5rem; color: var(--primary-color); margin-right: 15px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 98, 204, 0.1); border-radius: 50%; } .social-links { display: flex; gap: 15px; margin-top: 30px; } .social-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background-color: var(--primary-color); color: white; border-radius: 50%; font-size: 1.2rem; transition: var(--transition); } .social-icon:hover { transform: translateY(-5px); background-color: var(--accent-color); } .contact-form { flex: 1; min-width: 300px; } .form-group { margin-bottom: 20px; } .form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: var(--border-radius); font-family: 'Roboto', sans-serif; font-size: 1rem; transition: var(--transition); } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(0, 98, 204, 0.2); } .form-group textarea { min-height: 150px; resize: vertical; } .submit-btn { padding: 12px 30px; background-color: var(--primary-color); color: white; border: none; border-radius: 30px; font-weight: 600; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; } .submit-btn:hover { background-color: var(--accent-color); transform: translateY(-3px); box-shadow: var(--glow-shadow); } /* Footer */ footer { background-color: var(--dark-background); color: white; padding: 70px 0 20px; } .footer-content { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 50px; } .footer-logo { flex: 1; min-width: 250px; } .footer-logo-img { height: 60px; width: auto; margin-bottom: 15px; display: block; } .footer-logo p { opacity: 0.8; } .footer-links { flex: 1; min-width: 200px; } .footer-links h3, .footer-newsletter h3 { font-size: 1.3rem; margin-bottom: 20px; color: white; position: relative; padding-bottom: 10px; } .footer-links h3::after, .footer-newsletter h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background-color: var(--primary-color); } .footer-links ul li { margin-bottom: 10px; } .footer-links ul li a { color: rgba(255, 255, 255, 0.7); transition: var(--transition); } .footer-links ul li a:hover { color: var(--accent-color); padding-left: 5px; } .footer-newsletter { flex: 1; min-width: 250px; } .footer-newsletter p { margin-bottom: 20px; opacity: 0.8; } .newsletter-form { display: flex; } .newsletter-form input { flex: 1; padding: 12px 15px; border: none; border-radius: 4px 0 0 4px; font-family: 'Roboto', sans-serif; } .newsletter-form button { padding: 0 20px; background-color: var(--primary-color); color: white; border: none; border-radius: 0 4px 4px 0; cursor: pointer; transition: var(--transition); } .newsletter-form button:hover { background-color: var(--accent-color); } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; opacity: 0.7; } /* Recognition Section */ .recognition-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 20px; } .recognition-category { background-color: var(--card-background); border-radius: var(--border-radius); padding: 25px; box-shadow: var(--box-shadow); transition: var(--transition); } .recognition-category:hover { transform: translateY(-5px); box-shadow: var(--glow-shadow); } .recognition-category h3 { font-family: 'Orbitron', sans-serif; color: var(--primary-color); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid rgba(0, 98, 204, 0.2); } .recognition-category ul { list-style: none; } .recognition-category ul li { margin-bottom: 10px; position: relative; padding-left: 20px; } .recognition-category ul li:before { content: '▹'; position: absolute; left: 0; color: var(--primary-color); } .recognition-category ul li.attendees { font-weight: 600; margin-top: 15px; color: var(--secondary-color); } /* Blog Section */ .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .blog-card { background-color: var(--card-background); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: var(--transition); } .blog-card:hover { transform: translateY(-10px); box-shadow: var(--glow-shadow); } .blog-image { height: 200px; background-size: cover; background-position: center; } .blog-content { padding: 25px; } .blog-content h3 { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; margin-bottom: 15px; color: var(--secondary-color); } .blog-content p { margin-bottom: 20px; color: var(--text-color); } .read-more { display: inline-block; color: var(--primary-color); font-weight: 600; position: relative; } .read-more:after { content: '→'; margin-left: 5px; transition: var(--transition); } .read-more:hover:after { margin-left: 10px; } /* Product Category Styles */ .product-category { margin-bottom: 50px; } .category-title { font-family: 'Orbitron', sans-serif; font-size: 1.8rem; color: var(--secondary-color); margin-bottom: 30px; text-align: center; } /* Section Intro Text */ .section-intro { text-align: center; font-size: 1.2rem; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; } /* Solution Content List Styling */ .solution-content ul { list-style: none; } .solution-content ul li { margin-bottom: 8px; position: relative; padding-left: 20px; } .solution-content ul li:before { content: '▹'; position: absolute; left: 0; color: var(--accent-color); } /* About Section List Styling */ .about-text ul { list-style: none; margin-bottom: 20px; } .about-text ul li { margin-bottom: 8px; position: relative; padding-left: 20px; } .about-text ul li:before { content: '▹'; position: absolute; left: 0; color: var(--primary-color); } .about-text h3 { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; color: var(--secondary-color); margin-top: 25px; margin-bottom: 15px; } /* Responsive Styles */ @media (max-width: 1024px) { .hero-content h1 { font-size: 3rem; } .robot-animation { width: 350px; height: 350px; } .section-title { font-size: 2.2rem; } } @media (max-width: 768px) { .menu-toggle { display: block; } .nav-links { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background-color: var(--dark-background); flex-direction: column; align-items: center; justify-content: center; transition: var(--transition); z-index: 999; } .nav-links.active { left: 0; } .nav-links li a { color: white; font-size: 1.2rem; } .hero { flex-direction: column; justify-content: center; text-align: center; padding-top: 80px; } .hero-content { margin-bottom: 40px; } .hero-content h1 { font-size: 2.5rem; } .hero-content p { margin-left: auto; margin-right: auto; } .robot-animation { width: 300px; height: 300px; } .about-content, .contact-container { flex-direction: column; } .about-stats { justify-content: center; } .stat-item { width: 150px; } .solutions-slider { height: 500px; } .solution-image { height: 50%; } .solution-content { height: 50%; } } @media (max-width: 480px) { .hero-content h1 { font-size: 2rem; } .section-title { font-size: 1.8rem; } .robot-animation { width: 250px; height: 250px; } .services-grid { grid-template-columns: 1fr; } .stat-item { width: 130px; padding: 20px; } .stat-number { font-size: 2rem; } .solutions-slider { height: 550px; } .solution-content h3 { font-size: 1.5rem; } .cta-content h2 { font-size: 2rem; } .footer-content { flex-direction: column; gap: 30px; } .newsletter-form { flex-direction: column; } .newsletter-form input { border-radius: 4px; margin-bottom: 10px; } .newsletter-form button { border-radius: 4px; padding: 10px; } } .next-gen-projects .service-card.large h3:active, .next-gen-projects .service-card.large h3:focus, .next-gen-projects .service-card.large h3::selection { color: #fff !important; opacity: 1 !important; background: #0077ff33; }