/* ========================================
   EIC Tech Sys - Main Stylesheet
   Filename: style.css
   ======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Inter", system-ui, -apple-system, sans-serif; background: #f9fcff; color: #0b1f33; line-height: 1.5; }
h1, h2, h3, h4, .logo { font-family: "Space Grotesk", sans-serif; font-weight: 600; letter-spacing: -0.02em; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* UTILITIES & BUTTONS */
.btn-primary { background: #0b1f33; color: white; border: none; padding: 14px 32px; border-radius: 40px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.2s; display: inline-block; text-decoration: none; border: 1px solid #0b1f33; }
.btn-primary:hover { background: #1f3a5f; border-color: #1f3a5f; }
.btn-outline { border: 2px solid #2b6ef0; background: transparent; padding: 10px 26px; border-radius: 40px; font-weight: 600; color: #2b6ef0; cursor: pointer; transition: 0.2s; font-size: 0.95rem; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap;}
.btn-outline:hover { background: #2b6ef0; color: white; }

/* HEADER / NAV */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; flex-wrap: wrap; gap: 20px; }
.logo { font-size: 2.2rem; font-weight: 700; color: #0b1f33; line-height: 1; text-decoration: none; }
.logo a { text-decoration: none; color: inherit; }
.logo span { color: #2b6ef0; }
.nav-links { display: flex; gap: 30px; font-weight: 500; align-items: center; }
.nav-links a { text-decoration: none; color: #1f2a41; transition: color 0.2s; position: relative; padding-bottom: 5px; }
.nav-links a:hover { color: #2b6ef0; }
.nav-links a.active { color: #2b6ef0; font-weight: 600; }
.nav-links a.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: #2b6ef0; border-radius: 3px; }
.nav-buttons { display: flex; gap: 12px; align-items: center; }

/* HERO SECTION */
.hero { padding: 40px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; }
.hero .accent { color: #2b6ef0; background: linear-gradient(135deg, #2563eb, #4090ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.2rem; color: #2d3a5e; margin-bottom: 30px; max-width: 90%; }
.hero-stats { display: flex; gap: 40px; margin-top: 35px; }
.stat-item h3 { font-size: 2.2rem; color: #0b1f33; }
.stat-item p { font-size: 1rem; color: #546e8a; margin: 0; }
.hero-image { background: linear-gradient(145deg, #dceaff, #ecf3fe); border-radius: 50px; padding: 30px; display: flex; justify-content: center; align-items: center; box-shadow: 0 30px 40px -20px rgba(30, 90, 200, 0.3); }
.hero-image i { font-size: 12rem; color: #17345c; opacity: 0.8; }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, #0b1f33 0%, #1f3a5f 100%); color: white; padding: 60px 0; margin-bottom: 60px; text-align: center; border-radius: 0 0 50px 50px; }
.page-header h1 { font-size: 3rem; margin-bottom: 16px; }
.page-header p { font-size: 1.2rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* SECTION TITLES */
.section-title { font-size: 2.6rem; margin-bottom: 16px; text-align: center; }
.section-sub { text-align: center; color: #375a7e; max-width: 700px; margin: 0 auto 50px auto; font-size: 1.2rem; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin: 60px 0; }
.service-card { background: white; padding: 32px 24px; border-radius: 30px; box-shadow: 0 15px 30px -12px rgba(0,30,60,0.1); transition: 0.2s ease-in-out; border: 1px solid #e6edf6; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 35px -14px #2b6ef040; border-color: #b6d0fd; }
.service-icon { background: #e9f2ff; width: 65px; height: 65px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-icon i { font-size: 2.2rem; color: #2b6ef0; }
.service-card h3 { font-size: 1.7rem; margin-bottom: 12px; }
.service-card p { color: #365277; margin-bottom: 24px; font-size: 0.98rem; }
.service-tag { background: #f0f5fd; padding: 5px 18px; border-radius: 30px; font-size: 0.85rem; font-weight: 500; color: #1f3a6b; display: inline-block; }

/* TRAINING DOUBLE CARD */
.training-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 60px 0; }
.training-card { background: #0c1e32; color: white; padding: 44px 40px; border-radius: 48px; }
.training-card.light { background: white; color: #0b1f33; border: 1px solid #deeaff; }
.training-card h2 { font-size: 2.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.training-card h2 i { color: #2b6ef0; }
.training-card p { font-size: 1.1rem; margin-bottom: 28px; opacity: 0.9; }
.training-card.light p { color: #2a4065; }
.feature-list { list-style: none; margin-bottom: 36px; }
.feature-list li { margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.feature-list i { color: #2b6ef0; font-size: 1.25rem; }

/* ABOUT PAGE */
.about-block { background: white; border-radius: 56px; padding: 70px 60px; margin: 40px 0; box-shadow: 0 20px 40px -18px rgba(20,40,80,0.2); }
.about-flex { display: flex; gap: 50px; align-items: center; }
.about-text h2 { font-size: 2.4rem; margin-bottom: 24px; }
.about-text p { color: #2d4265; font-size: 1.15rem; margin-bottom: 24px; }
.quote-box { background: #f1f7ff; padding: 28px 32px; border-radius: 32px; border-left: 8px solid #2b6ef0; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; margin: 60px 0; }
.contact-info, .contact-form { background: white; border-radius: 30px; padding: 40px; box-shadow: 0 15px 30px -12px rgba(0,30,60,0.1); }
.contact-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.contact-icon { background: #e9f2ff; width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.contact-icon i { font-size: 1.5rem; color: #2b6ef0; }
.contact-details h4 { font-size: 1.2rem; margin-bottom: 5px; }
.contact-details p { color: #546e8a; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #0b1f33; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid #e6edf6; border-radius: 12px; font-family: inherit; font-size: 1rem; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #2b6ef0; }
.form-group textarea { height: 150px; resize: vertical; }
.map-container { margin: 60px 0; border-radius: 30px; overflow: hidden; box-shadow: 0 15px 30px -12px rgba(0,30,60,0.1); }
.map-container iframe { width: 100%; height: 400px; border: none; }

/* FOOTER */
.footer { background: #0b1f33; color: #b6c9e5; padding: 60px 0 30px; border-radius: 60px 60px 0 0; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.8fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 2.2rem; font-weight: 700; font-family: "Space Grotesk", sans-serif; color: white; margin-bottom: 16px; }
.footer-logo a { color: white; text-decoration: none; }
.footer-logo span { color: #5f9eff; }
.footer p { color: #a2bbda; margin-bottom: 20px; }
.social-links { display: flex; gap: 24px; }
.social-links a { color: #b6c9e5; font-size: 1.6rem; transition: 0.2s; }
.social-links a:hover { color: white; }
.footer h4 { color: white; margin-bottom: 24px; font-size: 1.3rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: #a2bbda; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-links i { width: 24px; color: #5f9eff; }
.copyright { text-align: center; padding-top: 40px; border-top: 1px solid #1f3f60; color: #839bb9; }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* RESPONSIVE DESIGN */
@media screen and (max-width: 1000px) {
    .services-grid, .team-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 800px) {
    .hero-grid, .training-row, .footer-grid, .about-flex, .contact-grid { grid-template-columns: 1fr; }
    .navbar { flex-direction: column; align-items: flex-start; }
    .nav-links { flex-wrap: wrap; gap: 15px; }
    .nav-buttons { width: 100%; justify-content: flex-start; }
    .hero h1 { font-size: 2.6rem; }
    .services-grid, .team-grid { grid-template-columns: 1fr; }
    .about-block { padding: 40px 25px; }
    .footer-grid { gap: 30px; }
}
@media screen and (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .section-title { font-size: 2rem; }
}