/* Flight Delay Prediction System - Premium SaaS Dashboard Design */ /* ===== IMPORTS ===== */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap'); /* ===== CSS VARIABLES ===== */ :root { /* Primary Colors */ --deep-navy: #0B2A4A; --primary-blue: #2F80ED; --hover-blue: #1C6ED5; --secondary-blue: #56CCF2; /* Text Colors */ --heading-color: #1A2B3C; --subheading-color: #4A5D73; --secondary-text: #7A8CA5; --white-text: #FFFFFF; /* Background Colors */ --glass-white: rgba(255, 255, 255, 0.92); --glass-light: rgba(245, 247, 250, 0.95); --glass-dark: rgba(11, 42, 74, 0.85); /* Chart Colors */ --chart-green: #27AE60; --chart-orange: #F2994A; --chart-red: #EB5757; /* Shadows */ --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); --hover-shadow: 0 12px 35px rgba(0, 0, 0, 0.12); /* Transitions */ --transition: all 0.3s ease; --transition-fast: all 0.2s ease; } /* ===== RESET & BASE ===== */ * { margin: 0; padding: 0; box-sizing: border-box; } body::before { content: ''; position: fixed; inset: 0; background: rgba(255, 255, 255, 0.6); z-index: 0; } body { background: url('/static/images/background.png') center center / cover no-repeat fixed !important; } /* ===== CONTAINER ===== */ .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; } /* ===== NAVBAR ===== */ .navbar { position: fixed; top: 0; left: 0; right: 0; background: var(--deep-navy); backdrop-filter: blur(10px); z-index: 1000; padding: 12px 0; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .navbar .container { display: flex; justify-content: space-between; align-items: center; } /* Logo Styling */ .navbar-logo { height: 50px; width: auto; margin-right: 12px; object-fit:contain; mix-blend-mode:screen; transition: transform 0.3s ease; } .navbar-logo:hover { transform: scale(1.05); } /* Update navbar-brand to include logo */ .navbar-brand { font-size: 1.5rem; font-weight: 700; color: var(--white-text); text-decoration: none; display: flex; align-items: center; gap: 12px; } .navbar-brand span { vertical-align: middle; font-family: 'Orbitron', sans-serif; font-weight: 600; letter-spacing: 1px; } .nav-menu, .nav-links { display: flex; list-style: none; gap: 22px; align-items: center; margin: 0; } .nav-menu li, .nav-links li { color: var(--white-text); cursor: pointer; font-weight: 500; transition: var(--transition-fast); position: relative; } .nav-menu li:hover, .nav-links li:hover { color: var(--secondary-blue); } .nav-links a { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14.5px; letter-spacing: 0.4px; color: rgba(255, 255, 255, 0.85); /* 🔥 softer white */ text-decoration: none; position: relative; transition: all 0.25s ease; } .nav-links a:hover { color: #60a5fa; /* soft blue */ } .nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0%; height: 2px; background: #60a5fa; transition: width 0.3s ease; } .nav-links a:hover::after { width: 100%; } .nav-button { background: var(--primary-blue); color: var(--white-text); border: none; border-radius: 8px; padding: 10px 20px; font-weight: 600; cursor: pointer; transition: var(--transition); font-size: 0.9rem; } .nav-button:hover { background: var(--hover-blue); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(47, 128, 237, 0.3); } /* ===== HERO SECTION ===== */ .hero { padding-top: 100px; } .hero-section { padding: 6rem 1rem; margin: 0; position: relative; overflow: hidden; width: 100%; } .hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; color: var(--heading-color); margin-bottom: 1.5rem; max-width: 600px; } .hero-subtitle { font-size: 1.25rem; color: var(--subheading-color); margin-bottom: 2.5rem; max-width: 500px; line-height: 1.6; } .hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; } .flight-status-board { background: var(--glass-white); backdrop-filter: blur(6px); border-radius: 12px; padding: 30px; box-shadow: var(--card-shadow); border: 1px solid rgba(255, 255, 255, 0.2); max-width: 400px; margin-left: auto; } .status-indicator { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; } .status-dot { width: 12px; height: 12px; border-radius: 50%; position: relative; } .status-dot.status-on-time { background: var(--chart-green); } .status-dot.status-delayed { background: var(--chart-red); } .status-dot::after { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border-radius: 50%; background: inherit; opacity: 0.3; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.5); opacity: 0; } } /* ===== BUTTONS ===== */ .btn-primary { background: var(--primary-blue); color: var(--white-text); border: none; border-radius: 8px; padding: 12px 24px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block; } .btn-primary:hover { background: var(--hover-blue); transform: translateY(-2px); box-shadow: var(--hover-shadow); } .btn-secondary { background: var(--glass-white); border: 2px solid var(--primary-blue); color: var(--primary-blue); border-radius: 8px; padding: 12px 24px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block; } .btn-secondary:hover { background: var(--primary-blue); color: var(--white-text); transform: translateY(-2px); box-shadow: var(--hover-shadow); } /* ===== SECTION SPACING ===== */ .section-spacing { padding: 80px 0; position: relative; } /* ===== FEATURE CARDS ===== */ .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 60px; } .feature-card { background: var(--glass-white); backdrop-filter: blur(6px); border-radius: 12px; padding: 30px; box-shadow: var(--card-shadow); border: 1px solid rgba(255, 255, 255, 0.2); transition: var(--transition); text-align: center; } .feature-card:hover { transform: translateY(-5px); box-shadow: var(--hover-shadow); } .feature-icon { font-size: 3rem; margin-bottom: 20px; display: block; } .feature-title { font-size: 1.25rem; font-weight: 700; color: var(--heading-color); margin-bottom: 15px; } .feature-description { color: var(--subheading-color); line-height: 1.6; } /* ===== PIPELINE SECTION ===== */ .pipeline-section { background: rgba(245, 247, 250, 0.95); padding: 60px 1rem; margin-bottom: 60px; } .pipeline-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-top: 60px; position: relative; } .pipeline-step { text-align: center; position: relative; } .step-number { width: 60px; height: 60px; background: var(--primary-blue); color: var(--white-text); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.5rem; margin: 0 auto 20px; position: relative; z-index: 2; } .step-title { font-size: 1.1rem; font-weight: 600; color: var(--heading-color); margin-bottom: 10px; } .step-description { color: var(--subheading-color); line-height: 1.5; } /* ===== DASHBOARD GRID ===== */ .dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 30px; } .dashboard-card { background: var(--glass-white); backdrop-filter: blur(6px); border-radius: 12px; padding: 25px; box-shadow: var(--card-shadow); border: 1px solid rgba(255, 255, 255, 0.2); transition: var(--transition); } .dashboard-card:hover { transform: translateY(-3px); box-shadow: var(--hover-shadow); } .chart-container { height: 300px; position: relative; } /* Larger charts for performance data with long names */ .performance-chart { height: 450px !important; min-height: 450px; } .performance-chart canvas { max-height: 400px !important; } /* ===== ABOUT ME SECTION ===== */ .about-me-container { max-width: 800px; margin: 0 auto; } .about-me-card { background: var(--glass-white); backdrop-filter: blur(6px); border-radius: 16px; padding: 3rem; box-shadow: var(--card-shadow); border: 1px solid rgba(255, 255, 255, 0.2); transition: var(--transition); } .about-me-card:hover { transform: translateY(-5px); box-shadow: var(--hover-shadow); } .about-me-header { display: flex; align-items: center; gap: 2rem; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(74, 93, 115, 0.1); } .about-me-avatar { flex-shrink: 0; } .about-me-title { flex: 1; } .about-me-content { margin-bottom: 2.5rem; } .about-me-skills { margin-bottom: 2.5rem; padding: 2rem; background: rgba(102, 126, 234, 0.05); border-radius: 12px; border: 1px solid rgba(102, 126, 234, 0.1); } .skills-grid { display: flex; flex-wrap: wrap; gap: 1rem; } .skill-tag { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: 500; transition: var(--transition); } .skill-tag:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); } .about-me-contact { text-align: center; } .contact-buttons { display: flex; flex-direction: column; gap: 1rem; align-items: center; } .contact-button { display: flex; align-items: center; gap: 1rem; padding: 1rem 2rem; border-radius: 12px; text-decoration: none; font-weight: 500; transition: var(--transition); min-width: 280px; justify-content: center; } .contact-icon { font-size: 1.2rem; } .email-button { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .email-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4); } .linkedin-button { background: linear-gradient(135deg, #0077b5 0%, #005885 100%); color: white; } .linkedin-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4); } /* Responsive Design */ @media (max-width: 768px) { .about-me-header { flex-direction: column; text-align: center; gap: 1.5rem; } .about-me-card { padding: 2rem 1.5rem; } .contact-buttons { align-items: stretch; } .contact-button { min-width: auto; } .skills-grid { justify-content: center; } } .metric-card { text-align: center; padding: 30px; } .metric-value { font-size: 2.5rem; font-weight: 800; color: var(--primary-blue); margin-bottom: 10px; } .metric-label { color: var(--subheading-color); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; } /* ===== PREDICTION FORM ===== */ .prediction-form { background: var(--glass-white); backdrop-filter: blur(6px); border-radius: 12px; padding: 40px; box-shadow: var(--card-shadow); border: 1px solid rgba(255, 255, 255, 0.2); margin-bottom: 40px; } .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-bottom: 30px; } .form-group { display: flex; flex-direction: column; } .form-label { font-weight: 600; color: var(--heading-color); margin-bottom: 8px; font-size: 0.95rem; } .form-input, .form-select { padding: 12px 16px; border: 2px solid rgba(47, 128, 237, 0.2); border-radius: 8px; font-size: 1rem; background: var(--glass-white); color: var(--heading-color); transition: var(--transition); font-family: inherit; } .form-input:focus, .form-select:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.1); } .form-select { cursor: pointer; } /* ===== PREDICTION RESULT ===== */ .prediction-result { background: var(--glass-white); backdrop-filter: blur(6px); border-radius: 12px; padding: 30px; box-shadow: var(--card-shadow); border: 1px solid rgba(255, 255, 255, 0.2); text-align: center; margin-bottom: 30px; display: none; } .result-probability { font-size: 3rem; font-weight: 800; margin-bottom: 15px; } .result-probability.result-ontime { color: var(--chart-green); } .result-probability.result-delayed { color: var(--chart-red); } .result-label { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; } .result-label.result-ontime { color: var(--chart-green); } .result-label.result-delayed { color: var(--chart-red); } .result-description { color: var(--subheading-color); line-height: 1.6; } /* ===== IMPACT SECTION ===== */ .impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; } .impact-card { background: var(--glass-dark); backdrop-filter: blur(6px); border-radius: 12px; padding: 30px; box-shadow: var(--card-shadow); border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; transition: var(--transition); color: var(--white-text); } .impact-card:hover { transform: translateY(-5px); box-shadow: var(--hover-shadow); } .impact-number { font-size: 3rem; font-weight: 800; color: var(--primary-blue); margin-bottom: 15px; } .impact-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; } .impact-description { line-height: 1.6; opacity: 0.9; } /* ===== FOOTER ===== */ .footer { background: var(--deep-navy); color: var(--white-text); padding: 60px 0 30px; text-align: center; } .footer-content { max-width: 800px; margin: 0 auto; } .footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; } .footer-links a { color: var(--white-text); text-decoration: none; font-weight: 500; transition: var(--transition-fast); } .footer-links a:hover { color: var(--secondary-blue); } .footer-copyright { margin-bottom: 15px; opacity: 0.8; } /* ===== RESPONSIVE DESIGN ===== */ @media (max-width: 768px) { .nav-menu { display: none; } .hero-title { font-size: 2.5rem; } .hero-subtitle { font-size: 1.1rem; } .hero-buttons { flex-direction: column; align-items: flex-start; } .flight-status-board { margin-top: 30px; margin-left: 0; max-width: 100%; } .features-grid, .dashboard-grid, .impact-grid { grid-template-columns: 1fr; } .pipeline-steps { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .footer-links { flex-direction: column; gap: 15px; } } @media (max-width: 480px) { .container { padding: 0 15px; } .hero-section { padding: 100px 0 60px; } .section-spacing { padding: 60px 0; } .hero-title { font-size: 2rem; } .prediction-form { padding: 25px; } } /* ===== PARALLAX EFFECT ===== */ .parallax-element { transition: transform 0.1s ease-out; } /* ===== LOADING STATES ===== */ .loading { opacity: 0.6; pointer-events: none; } .loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid var(--primary-blue); border-radius: 50%; border-top-color: transparent; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* ===== SCROLLBAR ===== */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); } ::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--hover-blue); } body { padding-top: 80px; }