/* ============================================================
   HWKAL Management Consultancies - Main Stylesheet
   ============================================================ */

/* CSS Variables */
:root {
    --primary: #1a2a4a;
    --secondary: #c9a84c;
    --accent: #2196F3;
    --dark: #111827;
    --light: #f8f9fa;
    --grey: #6b7280;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', Arial, sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; color: var(--dark); line-height: 1.7; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.3; color: var(--primary); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 14px; border: 2px solid transparent; cursor: pointer; transition: var(--transition); letter-spacing: 0.5px; }
.btn-primary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-primary:hover { background: transparent; color: var(--secondary); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-dark:hover { background: transparent; color: var(--primary); }

/* Section Styles */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.section-header h2 { font-size: 38px; color: var(--primary); margin-bottom: 16px; }
.section-header p { color: var(--grey); max-width: 600px; margin: 0 auto; font-size: 17px; }
.section-header .divider { width: 60px; height: 3px; background: var(--secondary); margin: 20px auto; border-radius: 2px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar { background: var(--primary); color: rgba(255,255,255,0.8); padding: 8px 0; font-size: 13px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-left a { color: rgba(255,255,255,0.8); }
.top-bar-left a:hover { color: var(--secondary); }
.top-bar-left i { color: var(--secondary); }
.top-bar-right { display: flex; gap: 12px; }
.top-bar-right a { color: rgba(255,255,255,0.7); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); font-size: 11px; }
.top-bar-right a:hover { background: var(--secondary); border-color: var(--secondary); color: var(--white); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.main-header { background: var(--white); padding: 0; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; transition: var(--transition); }
.main-header.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 75px; gap: 20px; }
.logo img { height: 50px; }
.logo-white { display: none; }

.main-nav ul { display: flex; gap: 2px; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 5px; padding: 10px 15px; font-size: 14px; font-weight: 600; color: var(--primary); border-radius: 6px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--secondary); }
.main-nav > ul > li > a i { font-size: 10px; }

/* Dropdown */
.main-nav .dropdown { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 220px; box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); border-top: 3px solid var(--secondary); z-index: 100; }
.main-nav li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown li a { display: block; padding: 9px 20px; font-size: 13px; color: var(--dark); border-bottom: 1px solid var(--border); }
.main-nav .dropdown li:last-child a { border-bottom: none; }
.main-nav .dropdown li a:hover { background: var(--light); color: var(--secondary); padding-left: 26px; }

.header-actions { display: flex; align-items: center; gap: 15px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   HERO / SLIDER
   ============================================================ */
.hero-slider { position: relative; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; }
.slide.active { opacity: 1; position: relative; }
.slide-bg { min-height: 620px; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; }
.slide-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,20,50,0.85) 40%, rgba(10,20,50,0.5)); }
.slide-content { position: relative; z-index: 1; max-width: 680px; color: var(--white); padding: 80px 0; }
.slide-content .tag { display: inline-block; background: var(--secondary); color: var(--white); font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 20px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.slide-content h1 { font-size: 54px; font-weight: 700; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.slide-content p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.8; }
.slide-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* Slider Controls */
.slider-controls { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; transition: var(--transition); padding: 0; }
.slider-dot.active { background: var(--secondary); transform: scale(1.3); }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); color: var(--white); width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.slider-nav:hover { background: var(--secondary); border-color: var(--secondary); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ============================================================
   ABOUT SECTION (Home)
   ============================================================ */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--secondary); color: var(--white); padding: 20px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.about-badge .num { font-size: 36px; font-weight: 700; font-family: var(--font-heading); line-height: 1; }
.about-badge p { font-size: 12px; margin-top: 4px; opacity: 0.9; }
.about-content .label { color: var(--secondary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; display: block; margin-bottom: 12px; }
.about-content h2 { font-size: 38px; margin-bottom: 20px; }
.about-content p { color: var(--grey); margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon { width: 44px; height: 44px; background: var(--secondary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; flex-shrink: 0; }
.feature-item h5 { font-size: 15px; margin-bottom: 4px; color: var(--primary); }
.feature-item p { font-size: 13px; color: var(--grey); margin: 0; }
.about-sign { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.about-sign img { height: 50px; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-bottom-color: var(--secondary); }
.service-card-icon { background: var(--primary); padding: 36px; text-align: center; position: relative; overflow: hidden; }
.service-card-icon::before { content: ''; position: absolute; top: -20px; right: -20px; width: 80px; height: 80px; background: rgba(201,168,76,0.15); border-radius: 50%; }
.service-card-icon i { font-size: 44px; color: var(--secondary); position: relative; z-index: 1; }
.service-card-body { padding: 28px; }
.service-card-body .tag { font-size: 11px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; }
.service-card-body h3 { font-size: 20px; margin: 8px 0 12px; }
.service-card-body p { color: var(--grey); font-size: 14px; margin-bottom: 20px; }
.service-card-body a.read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--primary); }
.service-card-body a.read-more:hover { color: var(--secondary); gap: 10px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #0d1b3e 100%); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-text h2 { font-size: 36px; color: var(--white); margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,0.75); font-size: 17px; }
.cta-actions { display: flex; gap: 15px; flex-wrap: wrap; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-card { text-align: center; padding: 40px 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--transition); position: relative; overflow: hidden; }
.why-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary), #1a3a6b); opacity: 0; transition: var(--transition); }
.why-card:hover::before { opacity: 1; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-card:hover * { color: var(--white); position: relative; }
.why-icon { width: 70px; height: 70px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; transition: var(--transition); position: relative; }
.why-card:hover .why-icon { background: rgba(255,255,255,0.2); }
.why-icon i { font-size: 28px; color: var(--secondary); }
.why-card h4 { font-size: 19px; margin-bottom: 12px; position: relative; }
.why-card p { color: var(--grey); font-size: 14px; position: relative; }

/* ============================================================
   REQUEST / AUDIT SECTION
   ============================================================ */
.request-section { background: var(--light); }
.request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.request-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.request-form h3 { font-size: 26px; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: var(--font-body); transition: var(--transition); background: var(--light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); background: var(--white); }
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section { background: var(--primary); padding: 80px 0; }
.process-section .section-header .label { color: var(--secondary); }
.process-section .section-header h2 { color: var(--white); }
.process-section .section-header p { color: rgba(255,255,255,0.7); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-step { text-align: center; position: relative; }
.process-step::after { content: ''; position: absolute; top: 40px; left: calc(50% + 60px); right: calc(-50% + 60px); height: 2px; background: rgba(255,255,255,0.2); }
.process-step:last-child::after { display: none; }
.step-num { width: 80px; height: 80px; background: rgba(201,168,76,0.15); border: 2px solid var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.step-num span { font-size: 24px; font-weight: 700; font-family: var(--font-heading); color: var(--secondary); }
.process-step h4 { font-size: 19px; color: var(--white); margin-bottom: 12px; }
.process-step p { color: rgba(255,255,255,0.65); font-size: 14px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info h3 { font-size: 28px; margin-bottom: 24px; }
.contact-info-items { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; }
.ci-icon { width: 50px; height: 50px; background: var(--secondary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; flex-shrink: 0; }
.ci-content h5 { font-size: 15px; margin-bottom: 4px; }
.ci-content p, .ci-content a { color: var(--grey); font-size: 14px; }
.ci-content a:hover { color: var(--secondary); }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; color: var(--secondary); font-size: 14px; }
.map-link:hover { gap: 12px; }

/* ============================================================
   PAGE HERO / BREADCRUMB
   ============================================================ */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, #1a3a6b 100%); padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: 44px; color: var(--white); margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: var(--secondary); }
.breadcrumb i { font-size: 10px; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-photo { height: 250px; background: var(--light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-photo .no-photo { font-size: 60px; color: var(--primary); opacity: 0.3; }
.team-card-body { padding: 24px; text-align: center; }
.team-card-body h4 { font-size: 18px; margin-bottom: 4px; }
.team-card-body .designation { font-size: 13px; color: var(--secondary); font-weight: 600; margin-bottom: 8px; }
.team-card-body .dept { font-size: 12px; color: var(--grey); margin-bottom: 12px; }
.team-card-body p { font-size: 13px; color: var(--grey); }

/* ============================================================
   JOBS PAGE
   ============================================================ */
.jobs-list { display: flex; flex-direction: column; gap: 24px; }
.job-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border-left: 4px solid var(--secondary); transition: var(--transition); }
.job-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.job-card h3 { font-size: 22px; }
.job-badge { background: var(--primary); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.job-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.job-meta span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grey); }
.job-meta i { color: var(--secondary); }

/* ============================================================
   NOTIFICATIONS / ALERTS
   ============================================================ */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer { background: #0d1520; color: rgba(255,255,255,0.7); }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-col .footer-logo img { height: 55px; margin-bottom: 20px; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.footer-col .license { font-size: 12px; color: var(--secondary); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: var(--transition); }
.footer-social a:hover { background: var(--secondary); border-color: var(--secondary); color: var(--white); }
.footer-col h4 { font-size: 17px; color: var(--white); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--secondary); display: inline-block; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 6px; }
.footer-col ul li a::before { content: '›'; color: var(--secondary); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact li::before { display: none; }
.footer-contact i { color: var(--secondary); margin-top: 3px; font-size: 15px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; display: flex; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; }
.footer-bottom a.back-to-top { width: 40px; height: 40px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 14px; }
.footer-bottom a.back-to-top:hover { background: var(--white); color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr; }
    .process-step::after { display: none; }
}
@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; gap: 6px; }
    .mobile-toggle { display: flex; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); padding: 80px 20px 30px; box-shadow: var(--shadow-lg); overflow-y: auto; transition: var(--transition); z-index: 999; }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { border-bottom: 1px solid var(--border); border-radius: 0; }
    .main-nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; padding: 0 0 0 20px; display: none; }
    .main-nav .dropdown li a { font-size: 13px; }
    .about-grid, .request-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-badge { position: static; margin-top: 20px; display: inline-block; }
    .slide-content h1 { font-size: 32px; }
    .section-header h2 { font-size: 28px; }
    .services-grid, .why-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .header-actions .btn { display: none; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .hero .slide-bg { min-height: 400px; }
    .slide-content h1 { font-size: 26px; }
    .slide-btns { flex-direction: column; }
    .slider-nav { display: none; }
}
