/*
Theme Name: HICD Limited Corporate Theme
Theme URI: https://hicdl.com/
Author: Antigravity AI
Author URI: https://deepmind.google/
Description: A premium, modern corporate and engineering theme for HICD Limited, featuring glassmorphism, smooth animations, responsive grids, and an interactive project showcase.
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: hicdl-theme
*/

/* ----------------------------------------------------
   1. DESIGN SYSTEM & CSS VARIABLES
   ---------------------------------------------------- */
:root {
    /* Government Portal Palette */
    --primary: #002147;           /* Indian Govt Navy Blue */
    --primary-light: #0b3c5d;     /* Deep Portal Blue */
    --secondary: #d97706;         /* Saffron / Gold */
    --secondary-glow: rgba(217, 119, 6, 0.25);
    --accent: #138808;            /* India Flag Green */
    --accent-glow: rgba(19, 136, 8, 0.2);
    
    /* Dark Theme Elements */
    --bg-dark-deep: #001733;
    --bg-dark-card: #002147;
    --border-dark: rgba(255, 255, 255, 0.12);
    
    /* Light Theme Elements */
    --bg-light-deep: #ffffff;
    --bg-light-sec: #f8fafc;
    --border-light: #e2e8f0;
    
    /* Text Colors */
    --text-light-main: #ffffff;
    --text-light-muted: #cbd5e1;
    --text-dark-main: #0f172a;
    --text-dark-muted: #475569;
    
    /* Shadow & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 33, 71, 0.08);
    --shadow-lg: 0 16px 36px rgba(0, 33, 71, 0.12);
    --glow-secondary: 0 0 20px var(--secondary-glow);
    --glow-accent: 0 0 20px var(--accent-glow);
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.35s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------------------------------
   2. BASIC RESET & CORE STYLES
   ---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body {
    background-color: var(--bg-light-deep);
    color: var(--text-dark-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    outline: none;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Common Styling */
.section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background-color: var(--primary);
    color: var(--text-light-main);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
    color: #ffffff;
}

.section-light {
    background-color: var(--bg-light-deep);
    color: var(--text-dark-main);
}

.section-light-alt {
    background-color: var(--bg-light-sec);
    color: var(--text-dark-main);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 10px;
    background: rgba(217, 119, 6, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-desc {
    font-size: 1.02rem;
    color: var(--text-dark-muted);
}

.section-dark .section-desc {
    color: var(--text-light-muted);
}

/* ----------------------------------------------------
   3. INDIAN GOVERNMENT TOP BAR & HEADER STYLES
   ---------------------------------------------------- */

/* Top Govt Strip */
.gov-top-bar {
    background: #001733;
    color: #ffffff;
    font-size: 0.78rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--secondary);
}

.gov-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gov-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gov-flag-strip {
    display: inline-flex;
    width: 24px;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.flag-orange { background: #FF9933; flex: 1; }
.flag-white { background: #FFFFFF; flex: 1; }
.flag-green { background: #138808; flex: 1; }

.gov-title-text {
    font-size: 0.78rem;
    color: #e2e8f0;
    font-weight: 700;
}

.gov-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
}

.gov-top-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.76rem;
}

.gov-top-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.gov-divider {
    color: #475569;
    font-size: 0.75rem;
}

.gov-accessibility {
    display: flex;
    align-items: center;
    gap: 4px;
}

.accessibility-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
}

.accessibility-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.gov-lang {
    font-weight: 700;
    color: var(--secondary);
}

/* Site Main Navbar Header */
.site-header.gov-header {
    position: sticky;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 33, 71, 0.08);
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.gov-main-logo {
    height: 70px;
    width: auto;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.logo-tagline {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 3px;
}

/* Nav Links in Govt Style */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary);
    padding: 8px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Right Navbar Logo: Azadi Ka Amrit Mahotsav */
.azadi-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    padding: 2px 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.azadi-logo-img:hover {
    transform: scale(1.04);
}

/* Official Ticker Bar */
.gov-ticker-bar {
    background: #f1f5f9;
    border-bottom: 1px solid #cbd5e1;
    padding: 8px 0;
    font-size: 0.86rem;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.ticker-label {
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-content {
    flex: 1;
    color: #334155;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), #ff9900);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.btn-dark-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-dark-outline:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Burger Mobile Toggle */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-dark-deep);
    border-left: 1px solid var(--border-dark);
    z-index: 999;
    padding: 110px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

.mobile-nav-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

/* ----------------------------------------------------
   4. HERO SECTION
   ---------------------------------------------------- */
.main-wrapper {
    margin-top: 0;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: linear-gradient(135deg, rgba(6, 12, 24, 0.92) 0%, rgba(10, 25, 49, 0.85) 100%),
                url('assets/images/corporate_hero.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
}

.hero-content {
    max-width: 800px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 122, 0, 0.15);
    border: 1px solid rgba(255, 122, 0, 0.3);
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-tagline i {
    font-size: 0.90rem;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(90deg, #ffffff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-light-muted);
    margin-bottom: 40px;
    max-width: 680px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Background Glow Elements */
.hero-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    z-index: 1;
}

.hero-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
    z-index: 1;
}

/* ----------------------------------------------------
   5. ABOUT US & PILLARS
   ---------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-box img {
    width: 100%;
    transition: var(--transition-smooth);
}

.about-img-box:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 25, 49, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-badge-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.about-content-subtitle {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about-content-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-dark-muted);
    margin-bottom: 30px;
}

/* Pillars grid */
.pillars-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 40px 0 20px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar-card {
    background: var(--bg-light-sec);
    border: 1px solid var(--border-light);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.pillar-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.pillar-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ----------------------------------------------------
   6. SERVICES & CORE FUNCTIONS
   ---------------------------------------------------- */
.functions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.function-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.function-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition-fast);
}

.function-card:hover {
    transform: translateY(-8px);
    background: rgba(13, 27, 51, 0.95);
    border-color: rgba(255, 122, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.function-card:hover::before {
    opacity: 1;
}

.function-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 122, 0, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.function-card:hover .function-icon-box {
    background: var(--secondary);
    color: #ffffff;
    box-shadow: var(--glow-secondary);
}

.function-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
}

.function-desc {
    color: var(--text-light-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ----------------------------------------------------
   7. PROJECTS PORTFOLIO (FILTERABLE)
   ---------------------------------------------------- */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--bg-light-sec);
    color: var(--text-dark-muted);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 49, 0.9) 0%, rgba(10, 25, 49, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.project-overlay-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.project-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.project-card-loc {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-card-loc i {
    color: var(--secondary);
}

.project-card-desc {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-link-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    cursor: pointer;
}

.project-link-btn i {
    transition: var(--transition-fast);
}

.project-link-btn:hover i {
    transform: translateX(4px);
}

/* ----------------------------------------------------
   8. LEADERSHIP TEAM
   ---------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.team-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.team-avatar-box {
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-dark-deep));
    position: relative;
    overflow: hidden;
}

.team-avatar-box i {
    font-size: 4rem;
    color: var(--text-light-muted);
    transition: var(--transition-smooth);
}

.team-card:hover .team-avatar-box {
    border-color: var(--secondary);
}

.team-card:hover .team-avatar-box i {
    color: var(--secondary);
    transform: scale(1.1);
}

.team-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    line-height: 1.5;
}

/* ----------------------------------------------------
   9. CONTACT SECTION
   ---------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.contact-card-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: var(--bg-light-sec);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark-main);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

textarea.form-control {
    resize: none;
    min-height: 140px;
}

/* Contact details */
.info-card-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon-box {
    width: 54px;
    height: 54px;
    background: rgba(10, 25, 49, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.info-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.info-details p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    line-height: 1.5;
}

.map-placeholder {
    height: 220px;
    background: var(--bg-light-sec);
    border-radius: 20px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-muted);
    font-weight: 700;
}

.map-placeholder::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(10,25,49,0.02) 80%);
}

.map-placeholder i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

/* ----------------------------------------------------
   10. FOOTER
   ---------------------------------------------------- */
.site-footer {
    background-color: var(--bg-dark-deep);
    border-top: 1px solid var(--border-dark);
    padding: 80px 0 40px;
    color: var(--text-light-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-widget-logo {
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-logo-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
}

.footer-widget-desc {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    line-height: 1.6;
}

.footer-widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    font-size: 0.95rem;
    color: var(--text-light-muted);
}

.footer-link:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ----------------------------------------------------
   11. ANIMATED DETAILS MODAL (POPUP)
   ---------------------------------------------------- */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 12, 24, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 24px;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.project-modal.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--secondary);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-img-wrapper {
    width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
}

.modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
}

.modal-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    background: var(--bg-light-sec);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.meta-item h5 {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-dark-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.meta-item p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.modal-desc {
    font-size: 1.05rem;
    color: var(--text-dark-muted);
    line-height: 1.7;
}

/* ----------------------------------------------------
   12. ANIMATIONS
   ---------------------------------------------------- */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ----------------------------------------------------
   13. RESPONSIVE MEDIA QUERIES
   ---------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .functions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        background: var(--bg-dark-deep);
    }
    .main-nav, .header-actions {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 80px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-desc {
        font-size: 1.1rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }
    .section-title {
        font-size: 2rem;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .functions-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .modal-img-wrapper {
        height: 220px;
    }
    .modal-body {
        padding: 24px;
    }
    .modal-meta-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ----------------------------------------------------
   14. PREMIUM FX (SPOTLIGHT, REVEAL, FLOAT)
   ---------------------------------------------------- */
/* Mouse Follower Card Spotlight Glow */
.function-card, .project-card, .pillar-card, .team-card {
    position: relative;
}

.function-card::after, .project-card::after, .pillar-card::after, .team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 122, 0, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.function-card:hover::after, .project-card:hover::after, .pillar-card:hover::after, .team-card:hover::after {
    opacity: 1;
}

/* Scroll-triggered reveal layout */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-element {
    animation: float 4s ease-in-out infinite;
}

/* Official Government Portal Page Banner */
.page-hero-banner {
    background: #002147;
    color: #ffffff;
    padding: 45px 0 40px;
    text-align: center;
    border-bottom: 3px solid var(--secondary);
}

.breadcrumbs-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-link {
    color: #cbd5e1;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    color: #94a3b8;
    font-size: 0.7rem;
}

.breadcrumb-current {
    color: var(--secondary);
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid var(--secondary);
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-to-top:hover {
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 0 20px var(--secondary-glow);
    transform: translateY(-5px);
}

@media (min-width: 992px) and (max-width: 1250px) {
    .nav-list {
        gap: 14px;
    }
    .nav-link {
        font-size: 0.82rem;
    }
    .logo-name {
        font-size: 1.25rem;
    }
    .logo-tagline {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }
    .logo-svg {
        width: 36px;
        height: 36px;
    }
    .header-actions {
        display: none;
    }
}

/* ----------------------------------------------------
   15. DROPDOWN STYLING
   ---------------------------------------------------- */
.nav-dropdown-item {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-dropdown-item:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 220px;
    background: #002147;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown-item:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

.nav-dropdown-menu li {
    width: 100%;
    padding: 0;
    margin: 0;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s ease;
}

.nav-dropdown-menu li a:hover {
    background: rgba(217, 119, 6, 0.2);
    color: var(--secondary);
    padding-left: 24px;
}

/* Ensure dropdown menu link underline is disabled */
.nav-dropdown-menu li a::after {
    display: none !important;
}



/* Neomorphic Glowing Buttons */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.45) !important;
}

.btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.btn-primary:hover::after, .btn-secondary:hover::after {
    opacity: 1;
    left: 120%;
}

/* ----------------------------------------------------
   17. SIMPLE & RESPONSIVE GOVERNMENT PORTAL STYLES
   ---------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 65px 0 60px;
    background: #002147;
    color: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid var(--secondary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-text-area {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.35);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: left;
    max-width: 100%;
}

.hero-desc {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 28px;
    max-width: 600px;
    text-align: left;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-visual-area {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-clean-frame {
    position: relative;
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: #001733;
}

.hero-clean-frame img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.hero-clean-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 23, 51, 0.92);
    padding: 10px 16px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* Quick Portal Links Bar */
.portal-quick-bar {
    background: #ffffff;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-light);
}

.portal-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portal-quick-item {
    background: var(--bg-light-sec);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
    text-decoration: none;
    color: var(--primary);
}

.portal-quick-item:hover {
    border-color: var(--secondary);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portal-quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.portal-quick-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 3px;
}

.portal-quick-info p {
    font-size: 0.78rem;
    color: var(--text-dark-muted);
    margin: 0;
}

/* RESPONSIVE MEDIA QUERIES FOR ENTIRE SITE */
@media (max-width: 1024px) {
    .portal-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-title {
        font-size: 2.3rem !important;
    }
}

@media (max-width: 768px) {
    .gov-top-bar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .header-container {
        height: 70px;
    }
    .logo-name {
        font-size: 1.2rem;
    }
    .logo-tagline {
        font-size: 0.6rem;
    }
    .azadi-logo-img {
        height: 40px;
    }
    .main-nav {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
    .portal-quick-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.9rem !important;
    }
    .hero-desc {
        font-size: 0.95rem !important;
    }
    .section {
        padding: 40px 0;
    }
    .about-grid, .projects-grid, .team-grid, .contact-grid {
        grid-template-columns: 1fr !important;
    }
}








