/*
Theme Name: TMT Foundation
Theme URI: https://tmtfoundation2011.org
Author: TMT Foundation of Education & Technology
Author URI: https://tmtfoundation2011.org
Description: Official WordPress theme for TMT Foundation of Education & Technology. NSDA accredited vocational training institute with full course management, admission forms, and UIBT integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tmt-foundation
Tags: education, training, vocational, blue, responsive
*/

/* ===== TMT FOUNDATION THEME ===== */
:root {
  --blue-dark: #0d3b8e;
  --blue-main: #1565C0;
  --blue-mid: #1976D2;
  --blue-light: #E3F2FD;
  --teal: #00897B;
  --yellow: #FFC107;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray-mid: #e0e7ef;
  --gray-text: #546e7a;
  --text-dark: #1a2636;
  --text-body: #374151;
  --shadow: 0 4px 24px rgba(21,101,192,0.10);
  --shadow-strong: 0 8px 32px rgba(21,101,192,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--text-body); background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* TOPBAR */
.tmt-topbar { background: var(--blue-dark); color: #fff; font-size: 12px; padding: 7px 0; }
.tmt-topbar-inner { max-width: 1200px; margin: auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.tmt-topbar-left { display: flex; gap: 20px; flex-wrap: wrap; opacity: 0.92; }
.tmt-topbar-right { display: flex; gap: 12px; align-items: center; }
.tmt-topbar-right a { color: #fff; opacity: 0.85; font-size: 12px; }
.tmt-topbar-apply { background: var(--yellow); color: var(--text-dark) !important; padding: 4px 14px; border-radius: 20px; font-weight: 700; opacity: 1 !important; }

/* HEADER */
.tmt-header { background: #fff; padding: 14px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.tmt-header-inner { max-width: 1200px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.tmt-logo { display: flex; align-items: center; gap: 14px; }
.tmt-logo-badge { background: var(--blue-main); color: #fff; border-radius: 10px; padding: 8px 10px; text-align: center; line-height: 1.2; min-width: 64px; }
.tmt-logo-badge.small { min-width: 44px; padding: 6px 8px; border-radius: 8px; }
.tmt-logo-since { font-size: 9px; display: block; opacity: 0.8; letter-spacing: 0.5px; }
.tmt-logo-abbr { font-size: 20px; font-weight: 800; display: block; }
.tmt-logo-sub { font-size: 9px; display: block; opacity: 0.8; }
.tmt-logo-text h1 { font-size: 20px; font-weight: 800; color: var(--blue-dark); line-height: 1.1; }
.tmt-logo-text p { font-size: 12px; color: var(--gray-text); }
.tmt-nav-toggle { background: none; border: 2px solid var(--blue-main); color: var(--blue-main); border-radius: 6px; padding: 6px 10px; font-size: 18px; cursor: pointer; display: none; }

/* NAVBAR */
.tmt-navbar { background: var(--blue-main); }
.tmt-nav-inner { max-width: 1200px; margin: auto; padding: 0 24px; display: flex; align-items: stretch; flex-wrap: wrap; }
.tmt-nav-inner > a, .tmt-nav-dropdown > a { color: #fff; font-size: 13.5px; font-weight: 600; padding: 13px 16px; display: block; transition: var(--transition); }
.tmt-nav-inner > a:hover, .tmt-nav-inner > a.current-menu-item { background: rgba(255,255,255,0.18); }
.tmt-nav-dropdown { position: relative; }
.tmt-nav-dropdown:hover .tmt-dropdown-menu { display: block; }
.tmt-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 180px; box-shadow: var(--shadow-strong); border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 999; }
.tmt-dropdown-menu a { color: var(--blue-main) !important; font-size: 13px; padding: 11px 18px !important; border-bottom: 1px solid var(--gray-mid); font-weight: 600; display: block; }
.tmt-dropdown-menu a:hover { background: var(--blue-light); }

/* HERO */
.tmt-hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 60%, #1e88e5 100%); min-height: 560px; display: flex; align-items: center; position: relative; overflow: hidden; }
.tmt-hero-bg { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.tmt-hero-content { max-width: 1200px; margin: auto; padding: 60px 24px; display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; position: relative; z-index: 1; width: 100%; }
.tmt-hero-badge { display: inline-block; background: rgba(255,193,7,0.2); border: 1px solid var(--yellow); color: var(--yellow); padding: 5px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 20px; }
.tmt-hero-title { font-family: 'Playfair Display', serif; font-size: 56px; color: #fff; line-height: 1.05; margin-bottom: 18px; }
.tmt-hero-title span { color: var(--yellow); }
.tmt-hero-desc { color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.7; margin-bottom: 30px; }
.tmt-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* BUTTONS */
.tmt-btn-primary { background: var(--yellow); color: var(--text-dark); padding: 13px 28px; border-radius: 30px; font-weight: 700; font-size: 14px; transition: var(--transition); display: inline-block; }
.tmt-btn-primary:hover { background: #FFD54F; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.tmt-btn-outline { background: transparent; color: #fff; padding: 12px 28px; border-radius: 30px; font-weight: 700; font-size: 14px; border: 2px solid rgba(255,255,255,0.6); transition: var(--transition); display: inline-block; }
.tmt-btn-outline:hover { background: rgba(255,255,255,0.1); }

/* HERO FORM */
.tmt-form-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 16px 48px rgba(0,0,0,0.2); }
.tmt-form-card h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.tmt-form-card p { font-size: 13px; color: var(--gray-text); margin-bottom: 20px; }
.tmt-select, .tmt-input { width: 100%; border: 1.5px solid var(--gray-mid); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 14px; font-family: 'Nunito', sans-serif; margin-bottom: 12px; outline: none; transition: var(--transition); color: var(--text-body); }
.tmt-select:focus, .tmt-input:focus { border-color: var(--blue-main); box-shadow: 0 0 0 3px rgba(21,101,192,0.1); }
.tmt-btn-apply { width: 100%; background: var(--blue-main); color: #fff; border: none; border-radius: var(--radius-sm); padding: 13px; font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: 'Nunito', sans-serif; }
.tmt-btn-apply:hover { background: var(--blue-dark); }

/* STATS */
.tmt-stats { background: var(--blue-dark); padding: 40px 0; }
.tmt-stats-inner { max-width: 1200px; margin: auto; padding: 0 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tmt-stat-item { text-align: center; padding: 20px 10px; border-right: 1px solid rgba(255,255,255,0.15); }
.tmt-stat-item:last-child { border-right: none; }
.tmt-stat-num { font-size: 40px; font-weight: 800; color: var(--yellow); line-height: 1; display: inline; }
.tmt-stat-plus { font-size: 28px; font-weight: 800; color: var(--yellow); display: inline; }
.tmt-stat-label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 8px; font-weight: 600; }

/* SECTION HEADER */
.tmt-section-header { text-align: center; margin-bottom: 36px; }
.tmt-section-tag { display: inline-block; background: var(--blue-light); color: var(--blue-main); padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 10px; }
.tmt-section-tag.light { background: rgba(255,255,255,0.2); color: #fff; }
.tmt-section-header h2 { font-size: 34px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.tmt-section-header p { color: var(--gray-text); font-size: 15px; }

/* COURSES */
.tmt-courses-section { padding: 70px 24px; max-width: 1200px; margin: auto; }
.tmt-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.tmt-ftab { background: var(--gray-light); border: 1.5px solid var(--gray-mid); border-radius: 25px; padding: 8px 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); color: var(--gray-text); font-family: 'Nunito', sans-serif; }
.tmt-ftab:hover, .tmt-ftab.active { background: var(--blue-main); color: #fff; border-color: var(--blue-main); }
.tmt-courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.tmt-course-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-mid); transition: var(--transition); background: #fff; }
.tmt-course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.tmt-cc-img { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.tmt-cc-img.con { background: linear-gradient(135deg, #0d3b8e, #1565C0); }
.tmt-cc-img.ict { background: linear-gradient(135deg, #004D40, #00897B); }
.tmt-cc-img.inf { background: linear-gradient(135deg, #4A148C, #7B1FA2); }
.tmt-cc-img.eng { background: linear-gradient(135deg, #B71C1C, #D32F2F); }
.tmt-cc-img.agr { background: linear-gradient(135deg, #1B5E20, #388E3C); }
.tmt-cc-body { padding: 14px 16px; }
.tmt-cc-name { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; }
.tmt-cc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tmt-tag { font-size: 11px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.tmt-tag-level { background: var(--blue-light); color: var(--blue-main); }
.tmt-tag-dur { background: #E8F5E9; color: #2E7D32; }
.tmt-tag-sector { background: #FFF3E0; color: #E65100; font-size: 10px; }
.tmt-tag-free { background: #FFF9C4; color: #F57F17; font-weight: 700; }
.tmt-cc-btn { width: 100%; background: var(--blue-main); color: #fff; border: none; border-radius: var(--radius-sm); padding: 9px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: 'Nunito', sans-serif; transition: var(--transition); }
.tmt-cc-btn:hover { background: var(--blue-dark); }
.tmt-courses-cta { text-align: center; margin-top: 36px; }

/* ABOUT STRIP */
.tmt-about-strip { background: linear-gradient(135deg, var(--blue-dark), var(--blue-main)); padding: 80px 24px; }
.tmt-about-strip-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.tmt-about-text h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.tmt-about-text p { color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.tmt-about-list { margin-bottom: 28px; }
.tmt-about-list li { color: rgba(255,255,255,0.9); font-size: 14px; padding: 5px 0; font-weight: 600; }
.tmt-about-img { background: rgba(255,255,255,0.1); border-radius: var(--radius); height: 320px; display: flex; align-items: center; justify-content: center; border: 2px dashed rgba(255,255,255,0.3); }
.tmt-img-year { font-size: 80px; font-weight: 800; color: var(--yellow); line-height: 1; text-align: center; }
.tmt-img-label { font-size: 16px; color: rgba(255,255,255,0.8); font-weight: 600; text-align: center; }

/* NOTICE */
.tmt-notice-section { padding: 70px 24px; background: var(--gray-light); }
.tmt-notice-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.tmt-notice-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--blue-main); transition: var(--transition); }
.tmt-notice-card.new { border-top-color: var(--yellow); }
.tmt-notice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.tmt-notice-date { font-size: 12px; color: var(--gray-text); margin-bottom: 8px; }
.tmt-notice-badge { display: inline-block; background: var(--blue-light); color: var(--blue-main); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.tmt-notice-card h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; }
.tmt-notice-card p { font-size: 13px; color: var(--gray-text); line-height: 1.6; margin-bottom: 14px; }
.tmt-notice-card a { font-size: 13px; font-weight: 700; color: var(--blue-main); }

/* PARTNERS */
.tmt-partners-section { padding: 50px 24px; }
.tmt-partners-row { max-width: 1000px; margin: auto; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.tmt-partner-logo { background: var(--gray-light); border: 1.5px solid var(--gray-mid); border-radius: var(--radius-sm); padding: 16px 32px; font-size: 18px; font-weight: 800; color: var(--blue-main); min-width: 100px; text-align: center; transition: var(--transition); }
.tmt-partner-logo:hover { background: var(--blue-main); color: #fff; border-color: var(--blue-main); transform: translateY(-3px); }

/* FOOTER */
.tmt-footer { background: var(--blue-dark); color: #fff; padding: 60px 24px 0; }
.tmt-footer-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.tmt-footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tmt-footer-logo strong { display: block; font-size: 15px; font-weight: 700; }
.tmt-footer-logo span { font-size: 12px; opacity: 0.7; }
.tmt-footer-col p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 20px; }
.tmt-footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--yellow); letter-spacing: 0.5px; }
.tmt-footer-col ul li { margin-bottom: 8px; }
.tmt-footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.7); transition: var(--transition); }
.tmt-footer-col ul li a:hover { color: var(--yellow); }
.tmt-contact-list li { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 8px; line-height: 1.5; }
.tmt-social-links { display: flex; gap: 10px; }
.tmt-social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; transition: var(--transition); }
.tmt-social-links a:hover { background: var(--yellow); color: var(--text-dark); }
.tmt-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; text-align: center; }
.tmt-footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); max-width: 1200px; margin: auto; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .tmt-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .tmt-hero-title { font-size: 44px; }
  .tmt-stats-inner { grid-template-columns: repeat(3, 1fr); }
  .tmt-about-strip-inner { grid-template-columns: 1fr; }
  .tmt-footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .tmt-nav-toggle { display: block; }
  .tmt-nav-inner { display: none; flex-direction: column; }
  .tmt-nav-inner.open { display: flex; }
  .tmt-hero-title { font-size: 36px; }
  .tmt-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .tmt-footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
