/* ===== ROOT VARIABLES ===== */
:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --yellow: #fbbf24;
  --blue-dark: #0f172a;
  --blue-mid: #1e3a5f;
  --blue-light: #1d4ed8;
  --white: #ffffff;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--gray-800); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.bg-dark-section { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); }
.bg-orange-section { background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; margin: 10px 0; color: var(--gray-800); }
.section-header.light h2 { color: var(--white); }
.section-header p { color: var(--gray-600); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-header.light p { color: rgba(255,255,255,0.8); }
.section-tag { display: inline-block; background: linear-gradient(90deg, var(--orange), var(--yellow)); color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 16px; border-radius: 50px; margin-bottom: 12px; }
.highlight { color: var(--orange); }
.highlight-white { color: var(--yellow); }
.gradient-text { background: linear-gradient(90deg, var(--orange), var(--yellow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); color: var(--white); box-shadow: 0 4px 20px rgba(249,115,22,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(249,115,22,0.5); }
.btn-secondary { background: var(--white); color: var(--blue-dark); box-shadow: var(--shadow); }
.btn-secondary:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-white { background: var(--white); color: var(--orange-dark); font-weight: 800; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #20b858; transform: translateY(-2px); }
.btn-course { background: linear-gradient(90deg, var(--orange), var(--yellow)); color: var(--white); padding: 10px 22px; font-size: 0.88rem; margin-top: 14px; }
.btn-outline-footer { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); padding: 10px 22px; font-size: 0.88rem; margin-top: 14px; }
.btn-outline-footer:hover { background: rgba(255,255,255,0.1); }
.btn-outline-nav { color: var(--orange); border: 2px solid var(--orange); padding: 8px 18px; font-size: 0.88rem; }
.btn-primary-nav { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); color: var(--white); padding: 9px 20px; font-size: 0.88rem; }
.btn-primary-nav:hover { transform: translateY(-1px); }
.full-width { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 0; transition: var(--transition); background: rgba(15,23,42,0.0); }
.navbar.scrolled { background: rgba(15,23,42,0.97); backdrop-filter: blur(12px); padding: 10px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.nav-logo { flex-shrink: 0; }
.logo-img { height: 50px; width: auto; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.nav-links a { color: var(--white); font-weight: 500; font-size: 0.93rem; padding: 7px 14px; border-radius: 8px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--yellow); background: rgba(255,255,255,0.08); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%); display: flex; flex-direction: column; justify-content: center; position: relative; padding: 120px 40px 100px; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(249,115,22,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(249,115,22,0.05) 1px, transparent 1px); background-size: 60px 60px; }
.hero-inner { display: flex; align-items: center; gap: 60px; max-width: 1180px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero-container { flex: 1; min-width: 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.4); color: var(--yellow); font-size: 0.85rem; font-weight: 600; padding: 8px 18px; border-radius: 50px; margin-bottom: 22px; }
.hero-title { font-family: 'Poppins', sans-serif; font-size: clamp(2rem,4vw,3.4rem); font-weight: 900; line-height: 1.15; color: var(--white); margin-bottom: 18px; }
.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.82); line-height: 1.7; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 0; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 18px; margin-bottom: 30px; }
.stat-item { flex: 1; text-align: center; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 900; color: var(--yellow); font-family: 'Poppins', sans-serif; }
.stat-label { display: block; font-size: 0.73rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.15); margin: 0 8px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-highlights span { color: rgba(255,255,255,0.75); font-size: 0.85rem; display: flex; align-items: center; gap: 4px; }
.hero-image { flex: 0 0 46%; max-width: 540px; position: relative; z-index: 2; }
.hero-img-card { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.12); }
.hero-img-card img { width: 100%; height: 420px; object-fit: cover; display: block; }
.hero-img-badge { position: absolute; bottom: 16px; left: 16px; background: linear-gradient(90deg, var(--orange), var(--orange-dark)); color: var(--white); font-size: 0.82rem; font-weight: 700; padding: 8px 16px; border-radius: 50px; box-shadow: 0 4px 16px rgba(249,115,22,0.5); }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; z-index: 3; }
.hero-wave svg { width: 100%; height: 60px; }

/* ===== TICKER ===== */
.ticker-wrap { background: linear-gradient(90deg, var(--orange-dark), var(--orange)); padding: 12px 0; overflow: hidden; }
.ticker { display: flex; white-space: nowrap; animation: ticker 30s linear infinite; color: var(--white); font-weight: 600; font-size: 0.9rem; }
.ticker span { padding: 0 10px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== WHY US ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 30px 24px; transition: var(--transition); transform: translateY(20px); opacity: 0; }
.feature-card.visible { transform: translateY(0); opacity: 1; transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.3s ease; }
.feature-card:hover { box-shadow: 0 10px 40px rgba(249,115,22,0.15); border-color: var(--orange); transform: translateY(-4px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-800); }
.feature-card p { color: var(--gray-600); font-size: 0.93rem; line-height: 1.65; }

/* ===== COURSES ===== */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-bottom: 36px; }
.course-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 26px 20px; position: relative; transition: var(--transition); transform: translateY(20px); opacity: 0; }
.course-card.visible { transform: translateY(0); opacity: 1; transition: transform 0.5s ease, opacity 0.5s ease; }
.course-card:hover { background: rgba(255,255,255,0.09); border-color: var(--orange); transform: translateY(-4px); }
.course-badge { position: absolute; top: 14px; right: 14px; background: var(--orange); color: var(--white); font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.course-icon-wrap { font-size: 2.2rem; margin-bottom: 14px; width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.civil { background: rgba(59,130,246,0.15); }
.mech { background: rgba(249,115,22,0.15); }
.elec { background: rgba(234,179,8,0.15); }
.struct { background: rgba(16,185,129,0.15); }
.interior { background: rgba(168,85,247,0.15); }
.course-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.course-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.55; margin-bottom: 12px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.course-tags li { background: rgba(249,115,22,0.18); color: var(--orange); font-size: 0.73rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; border: 1px solid rgba(249,115,22,0.3); }
.course-meta { display: flex; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.courses-cta { text-align: center; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== TOOLS ===== */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px; }
.tool-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px 14px; text-align: center; transition: var(--transition); transform: translateY(20px); opacity: 0; }
.tool-item.visible { transform: translateY(0); opacity: 1; transition: transform 0.5s ease, opacity 0.5s ease; }
.tool-item:hover { border-color: var(--orange); box-shadow: 0 6px 24px rgba(249,115,22,0.12); transform: translateY(-3px); }
.tool-icon { font-size: 2rem; margin-bottom: 8px; }
.tool-item span { font-weight: 700; font-size: 0.9rem; color: var(--gray-800); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testimonial-card { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 28px 24px; transition: var(--transition); transform: translateY(20px); opacity: 0; }
.testimonial-card.visible { transform: translateY(0); opacity: 1; transition: transform 0.5s ease, opacity 0.5s ease; }
.testimonial-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.testi-stars { font-size: 1rem; margin-bottom: 12px; }
.testimonial-card p { color: rgba(255,255,255,0.9); font-size: 0.93rem; line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--white); font-size: 0.85rem; flex-shrink: 0; }
.testi-author strong { display: block; color: var(--white); font-size: 0.92rem; }
.testi-author span { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

/* ===== LEAD FORM ===== */
.form-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.form-content .section-tag { margin-bottom: 12px; }
.form-content h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; margin-bottom: 14px; color: var(--gray-800); }
.form-content p { color: var(--gray-600); line-height: 1.65; margin-bottom: 20px; }
.form-benefits { display: flex; flex-direction: column; gap: 8px; }
.form-benefits li { color: var(--gray-600); font-size: 0.93rem; display: flex; align-items: center; gap: 6px; }
.inquiry-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: 20px; padding: 36px 32px; box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
.inquiry-form h3 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800; text-align: center; margin-bottom: 24px; color: var(--gray-800); }
.form-group { margin-bottom: 14px; }
.form-group input, .form-group select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-size: 0.95rem; font-family: inherit; color: var(--gray-800); transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.form-note { text-align: center; font-size: 0.78rem; color: var(--gray-600); margin-top: 10px; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); padding: 60px 20px; }
.cta-content { text-align: center; }
.cta-content h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-content p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 1.05rem; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: #060d1a; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.65; margin: 14px 0 18px; }
.footer-logo { height: 55px; width: auto; border-radius: 8px; margin-bottom: 2px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); }
.footer-social a:hover { background: var(--orange); transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-weight: 700; margin-bottom: 16px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact li { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.6; margin-bottom: 10px; }
.footer-contact li a { color: rgba(255,255,255,0.55); }
.footer-contact li a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; }

/* ===== FLOATING BUTTONS ===== */
.float-call, .float-whatsapp { position: fixed; bottom: 20px; z-index: 999; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: var(--transition); }
.float-call { right: 86px; background: var(--orange); }
.float-whatsapp { right: 20px; background: #25d366; }
.float-call:hover, .float-whatsapp:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

/* ===== ANIMATIONS ===== */
.animate-fadeup { opacity: 0; transform: translateY(30px); animation: fadeup 0.7s ease forwards; }
.animate-fadein { opacity: 0; animation: fadein 1s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }
@keyframes fadeup { to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { to { opacity: 1; } }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); padding: 130px 20px 60px; text-align: center; }
.page-hero h1 { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { margin-bottom: 14px; display: flex; justify-content: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--yellow); }

/* ===== BLOG SECTION ===== */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1e3a5f;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: #1e3a5f;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    transition: color 0.3s;
}

.read-more:hover {
    color: #f15a24;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .hero-inner { gap: 36px; }
  .hero-image { flex: 0 0 42%; }
  .hero-img-card img { height: 360px; }
}
@media (max-width: 900px) {
  .form-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-image { flex: none; width: 100%; max-width: 560px; margin: 0 auto; }
  .hero-img-card img { height: 300px; }
  .hero { padding: 120px 24px 100px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(15,23,42,0.98); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .hero-stats { flex-wrap: wrap; gap: 14px; }
  .stat-divider { display: none; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .courses-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 50px 0; }
  .features-grid { grid-template-columns: 1fr; }
}
