/* ========================================
   iCoachTheCoach - Professional Coaching & Training
   Color Scheme: Blue & Silver
   ======================================== */

:root {
    --primary-blue: #1E40AF;
    --primary-blue-dark: #1E3A8A;
    --primary-blue-light: #3B82F6;
    --accent-silver: #94A3B8;
    --accent-silver-dark: #64748B;
    --accent-silver-light: #CBD5E1;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--text-dark); background: var(--bg-white); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%); color: var(--text-white); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-md); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--accent-silver-light) 0%, var(--accent-silver) 100%); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; color: var(--primary-blue-dark); }
.logo-text { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-text h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-text span { font-size: 0.75rem; opacity: 0.9; display: block; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-white); font-weight: 500; padding: 8px 16px; border-radius: var(--radius-sm); transition: var(--transition); }
.nav-links a:hover { background: rgba(255, 255, 255, 0.15); }
.nav-links .btn-demo { background: linear-gradient(135deg, var(--accent-silver-light) 0%, var(--accent-silver) 100%); color: var(--primary-blue-dark); font-weight: 600; padding: 12px 24px; border-radius: var(--radius-full); }
.nav-links .btn-demo:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(148, 163, 184, 0.4); }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, #172554 100%); color: var(--text-white); padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(148, 163, 184, 0.2) 0%, transparent 70%); border-radius: 50%; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text h2 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.hero-text h2 span { color: var(--accent-silver-light); }
.hero-text p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--accent-silver-light); }
.stat-label { font-size: 0.9rem; opacity: 0.9; }
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-image-placeholder { width: 100%; max-width: 450px; height: 350px; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed rgba(255,255,255,0.3); text-align: center; padding: 30px; }
.hero-image-placeholder .icon { font-size: 80px; margin-bottom: 20px; }
.hero-image-placeholder p { font-size: 1.1rem; opacity: 0.8; }

/* BUTTONS */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius-full); font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); border: none; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--accent-silver-light) 0%, var(--accent-silver) 100%); color: var(--primary-blue-dark); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(148, 163, 184, 0.4); }
.btn-secondary { background: transparent; color: var(--text-white); border: 2px solid var(--text-white); }
.btn-secondary:hover { background: var(--text-white); color: var(--primary-blue); }
.btn-outline { background: transparent; color: var(--primary-blue); border: 2px solid var(--primary-blue); }
.btn-outline:hover { background: var(--primary-blue); color: var(--text-white); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* COURSES */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.course-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); border: 1px solid var(--border-color); }
.course-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.course-image { height: 180px; background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%); display: flex; align-items: center; justify-content: center; font-size: 60px; }
.course-content { padding: 25px; }
.course-tag { display: inline-block; background: var(--accent-silver-light); color: var(--primary-blue-dark); padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; }
.course-content h3 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 10px; }
.course-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 15px; }
.course-features { margin-bottom: 20px; }
.course-features li { padding: 6px 0; color: var(--text-light); font-size: 0.9rem; }
.course-features li::before { content: '\2713'; color: var(--accent-silver-dark); font-weight: bold; margin-right: 8px; }

/* WHY CHOOSE US */
.why-us { background: var(--bg-light); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-card { background: var(--bg-white); padding: 30px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 30px; }
.feature-card h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--bg-white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border-left: 4px solid var(--accent-silver); }
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--text-white); font-weight: bold; font-size: 1.2rem; overflow: hidden; flex-shrink: 0; }
.author-info h4 { color: var(--text-dark); font-size: 1rem; }
.author-info span { color: var(--text-light); font-size: 0.85rem; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%); color: var(--text-white); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-section p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* FORMS */
.form-container { max-width: 600px; margin: 0 auto; background: var(--bg-white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--border-color); border-radius: var(--radius-md); font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* SCHEDULE */
.schedule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.time-slot { padding: 12px; border: 2px solid var(--border-color); border-radius: var(--radius-md); text-align: center; cursor: pointer; transition: var(--transition); }
.time-slot:hover { border-color: var(--primary-blue); background: rgba(30, 64, 175, 0.05); }
.time-slot.selected { border-color: var(--primary-blue); background: var(--primary-blue); color: var(--text-white); }
.time-slot input { display: none; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { padding: 20px 0; }
.contact-item { display: flex; gap: 20px; margin-bottom: 30px; }
.contact-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.contact-details h3 { color: var(--text-dark); margin-bottom: 5px; }
.contact-details p { color: var(--text-light); }
.contact-details a { color: var(--primary-blue); font-weight: 500; }
.contact-details a:hover { color: var(--primary-blue-dark); }

/* FOOTER */
.footer { background: linear-gradient(135deg, #0F172A 0%, #020617 100%); color: var(--text-white); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 15px; }
.footer-brand p { opacity: 0.8; line-height: 1.8; }
.footer-links h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--accent-silver-light); }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { opacity: 0.8; transition: var(--transition); }
.footer-links ul li a:hover { opacity: 1; color: var(--accent-silver-light); }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-links a:hover { background: var(--accent-silver); color: var(--primary-blue-dark); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 30px; text-align: center; opacity: 0.7; }

/* CHATBOT */
.chatbot-trigger { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent-silver-light) 0%, var(--accent-silver) 100%); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 20px rgba(148, 163, 184, 0.4); z-index: 999; transition: var(--transition); border: none; font-size: 24px; }
.chatbot-trigger:hover { transform: scale(1.1); }
.chatbot-window { position: fixed; bottom: 100px; right: 30px; width: 380px; height: 500px; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); display: none; flex-direction: column; overflow: hidden; z-index: 998; }
.chatbot-window.active { display: flex; }
.chatbot-header { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%); color: var(--text-white); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.chatbot-header h4 { display: flex; align-items: center; gap: 10px; }
.chatbot-close { background: none; border: none; color: white; font-size: 20px; cursor: pointer; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 20px; background: var(--bg-light); }
.chat-message { margin-bottom: 15px; display: flex; gap: 10px; }
.chat-message.bot { justify-content: flex-start; }
.chat-message.user { justify-content: flex-end; }
.chat-bubble { max-width: 80%; padding: 12px 16px; border-radius: var(--radius-md); font-size: 0.9rem; line-height: 1.5; }
.chat-message.bot .chat-bubble { background: var(--bg-white); border: 1px solid var(--border-color); color: var(--text-dark); }
.chat-message.user .chat-bubble { background: var(--primary-blue); color: var(--text-white); }
.chatbot-input { display: flex; padding: 15px; gap: 10px; border-top: 1px solid var(--border-color); }
.chatbot-input input { flex: 1; padding: 12px; border: 2px solid var(--border-color); border-radius: var(--radius-full); font-size: 0.9rem; }
.chatbot-input input:focus { outline: none; border-color: var(--primary-blue); }
.chatbot-input button { width: 45px; height: 45px; background: var(--primary-blue); color: var(--text-white); border: none; border-radius: var(--radius-full); cursor: pointer; transition: var(--transition); }
.chatbot-input button:hover { background: var(--primary-blue-dark); }
.chat-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat-option-btn { padding: 8px 14px; background: var(--bg-white); border: 1px solid var(--primary-blue); border-radius: var(--radius-full); color: var(--primary-blue); font-size: 0.8rem; cursor: pointer; transition: var(--transition); }
.chat-option-btn:hover { background: var(--primary-blue); color: var(--text-white); }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%); color: var(--text-white); padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; }

/* COURSE DETAIL */
.course-detail-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px; margin-bottom: 30px; box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.course-detail-image { height: 250px; background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.course-detail-content h2 { color: var(--primary-blue); margin-bottom: 15px; }
.course-detail-content p { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.course-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.highlight-item { display: flex; align-items: center; gap: 10px; }
.highlight-icon { width: 30px; height: 30px; background: var(--accent-silver-light); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--primary-blue-dark); font-size: 14px; }

/* IMAGE PLACEHOLDERS */
.img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%); border: 2px dashed rgba(255,255,255,0.35); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--text-white); }
.img-placeholder--light { background: var(--bg-light); border-color: var(--border-color); color: var(--text-light); }
.img-placeholder .icon { font-size: 48px; margin-bottom: 12px; opacity: 0.7; }
.img-placeholder p { font-size: 0.85rem; opacity: 0.7; line-height: 1.4; }
.course-image img { width: 100%; height: 100%; object-fit: cover; }

/* FOUNDER CARD */
.founder-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); text-align: center; max-width: 700px; margin: 0 auto; }
.founder-card__image { width: 200px; height: 200px; margin: 0 auto 25px; border-radius: var(--radius-full); overflow: hidden; }
.founder-card__image .img-placeholder { border-radius: var(--radius-full); }
.founder-card__icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 24px; color: var(--text-white); }
.founder-card__title { font-size: 1.2rem; color: var(--text-light); margin-bottom: 8px; }
.founder-card__name { font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 15px; }
.founder-card__text { color: var(--text-light); line-height: 1.8; }

/* TOOL CARDS */
.tool-card__icon { width: 100%; height: 150px; margin-bottom: 20px; overflow: hidden; border-radius: var(--radius-md); }
.tool-card__icon .img-placeholder { border-radius: var(--radius-md); }

/* PROGRAM CARDS */
.program-card__image { width: 100%; height: 200px; overflow: hidden; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.program-card__image .img-placeholder { border-radius: 0; border-top: none; border-left: none; border-right: none; }

/* SUCCESS MESSAGE */
.success-message { display: none; background: #10B981; color: white; padding: 20px; border-radius: var(--radius-md); text-align: center; margin-top: 20px; }
.success-message.show { display: block; }

/* LOADING SPINNER */
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image { display: none; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .course-detail-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-blue-dark); flex-direction: column; padding: 20px; gap: 15px; }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-text h2 { font-size: 2rem; }
    .courses-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .chatbot-window { width: calc(100% - 20px); right: 10px; bottom: 80px; height: 70vh; }
}