/* ==========================================
   1. GLOBAL VARIABLES & RESET
========================================== */
:root {
    --primary-teal: #00B4D8;
    --nav-text: #333333;
    --white: #FFFFFF;
    --pdcor-blue: #03002F; 
    --light-grey: #F8F9FA;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--white); overflow-x: hidden; padding-top: 80px; }
/* ==========================================
   UNIVERSAL TEXT JUSTIFICATION
========================================== */

p,
li{
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
}
/* ==========================================
   2. NAVIGATION BAR (Desktop)
========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; 
}

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-teal);
}

/* --- Dropdown Menu (Futuristic & Clean) --- */
.nav-links li { 
    position: relative; 
}

.dropdown-menu {
    position: absolute;
    top: 100%; 
    left: -15px; /* Slight offset to perfectly align with the nav link */
    background: rgba(3, 0, 47, 0.85); /* Deep, translucent PDCOR blue */
    backdrop-filter: blur(16px); /* The futuristic glass blur effect */
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 180, 216, 0.25); /* Very subtle teal border */
    min-width: 320px; /* Slightly wider so text breathes */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); 
    border-radius: 12px; /* Smooth, modern rounded corners */
    padding: 12px 10px; /* Padding around the whole menu */
    list-style: none;
    z-index: 200; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Make it appear smoothly */
.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px); /* Drops down gently */
}

.dropdown-menu li {
    width: 100%; 
    padding: 0; 
    margin-bottom: 2px; /* Tiny gap between links */
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    position: relative;
    display: block; 
    padding: 12px 20px; 
    color: rgba(255, 255, 255, 0.8); /* Muted white for a cleaner look */
    font-weight: 500; /* Lighter weight looks more modern */
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 8px; /* Rounded hover background */
    transition: all 0.3s ease;
    overflow: hidden;
}

/* The hover effect: Soft teal background, brighter text, and a slight slide */
.dropdown-menu a:hover {
    background-color: rgba(0, 180, 216, 0.15); /* Glowing teal tint */
    color: var(--white); /* Brightens the text */
    padding-left: 28px; /* Slides right gently */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3); /* Subtle text glow */
}

/* Futuristic Left Accent Line on Hover */
.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0%; /* Starts invisible */
    background-color: var(--primary-teal);
    border-radius: 0 4px 4px 0;
    transition: height 0.3s ease;
}

.dropdown-menu a:hover::before {
    height: 50%; /* Grows vertically when hovered */
}

/* --- Nav Actions / Employee Icon --- */
.nav-action {
    display: flex;
    align-items: center;
    margin-left: 20px; 
}

.employee-icon {
    font-size: 1.8rem; 
    color: var(--nav-text); 
    text-decoration: none;
    transition: all 0.3s ease;
}

.employee-icon:hover {
    color: var(--primary-teal); 
    transform: scale(1.1); 
}

/* ==========================================
   MOBILE NAVIGATION
========================================== */

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:var(--nav-text);
}

@media (max-width:1400px){

    .navbar{
        padding:15px 20px;
    }

    .menu-toggle{
        display:block !important;
    }

   .nav-links{
    position:fixed;
    top:80px;
    left:-100%;
    width:100%;
    height:calc(100vh - 80px);   /* Fill remaining screen */
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:20px 0;

    overflow-y:auto;             /* Enable vertical scrolling */
    overflow-x:hidden;

    -webkit-overflow-scrolling:touch; /* Smooth scrolling on mobile */

    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:left .3s ease;
    z-index:9999;
}

    .nav-links.active{
        left:0;
    }

  .nav-links li{
    width:100%;
    border-bottom:1px solid #ececec;
}

   .nav-links li a{
    display:block;
    width:100%;
    padding:15px 25px;
    color:#333 !important;
    font-weight:600;
    text-align:left;
}

    .nav-action{
        display:none;
    }

 .dropdown-menu{
    position:static;
    display:none;
    opacity:1;
    visibility:visible;
    transform:none;
    background:#f8f8f8 !important;
    box-shadow:none;
    border:none;
    width:100%;
    min-width:100%;
    padding:0;
}

.dropdown-menu li{
    background:#f8f8f8;
}

.dropdown-menu li a{
    display:block;
    width:100%;
    padding:14px 40px;
    color:#333 !important;
    background:#f8f8f8 !important;
    text-align:left;
    font-size:14px;
    font-weight:500;
    transition:.3s;
}

.dropdown-menu li a:hover{
    background:#EAF7FB !important;
    color:#00B4D8 !important;
}

.nav-links li a:hover,
.nav-links li a.active{
    background:#F5F8FC;
    color:#00B4D8 !important;
}

    .dropdown.active .dropdown-menu{
    display:block;
}

}

/* ==========================================
   4. MODERN TRANSPARENT HERO SECTION
========================================== */
.hero-section {
    position: relative;
    height:80vh; 
    min-height: 400px;
    display: flex;
    align-items: flex-end; /* Pushes the content to the bottom */
    padding-bottom: 100px; /* Gives it breathing room from the bottom edge */
    overflow: hidden;
    background-color: var(--pdcor-blue);
    margin-top: -80px; 
    padding-top: 80px;
}

/* Background Slider */
.slider-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0; z-index: 0; transition: opacity 1.5s ease-in-out; transform: scale(1.05);
}
.slide.active { opacity: 1; z-index: 1; transform: scale(1); transition: opacity 1.5s ease-in-out, transform 8s linear; }

/* Subtle Gradient Overlay (Darker on the left to make transparent text pop) */
.hero-overlay-modern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(3, 0, 47, 0.85) 0%, rgba(3, 0, 47, 0.4) 40%, transparent 100%);
    z-index: 2; 
}

.hero-container {
    position: relative; z-index: 4; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 50px;
    display: flex; justify-content: flex-start;
}

/* --- THE TRANSPARENT HERO TEXT AREA --- */
.hero-glass-card {
    background: transparent; /* Removed the glass box */
    backdrop-filter: none; /* Removed the blur */
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0; /* Removed the heavy padding */
    max-width: 600px; /* Made the text container smaller and tighter */
    transition: opacity 0.5s ease;
}

.eyebrow-text {
    display: inline-block; color: var(--primary-teal); font-family: 'Poppins', sans-serif;
    font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px;
}

.hero-glass-card h1 {
    font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 600; line-height: 1.15;
    color: var(--white); margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Adds shadow for readability */
}

.hero-glass-card p {
    font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* --- THE GLOWING BUTTON --- */
.btn-glow {
    background: transparent; border: 2px solid var(--primary-teal); color: var(--white);
    padding: 12px 30px; border-radius: 50px; font-size: 1rem; font-weight: 500; font-family: 'Poppins', sans-serif;
    cursor: pointer; display: inline-flex; align-items: center; gap: 15px; position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background-color: var(--primary-teal); z-index: -1; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow:hover { box-shadow: 0 0 20px rgba(0, 180, 216, 0.4); transform: translateY(-3px); }
.btn-glow:hover::before { width: 100%; }
.btn-arrow { transition: transform 0.4s ease; }
.btn-glow:hover .btn-arrow { transform: translateX(8px); }

/* --- STAGGERED ANIMATIONS --- */
.stagger-1, .stagger-2, .stagger-3, .stagger-4 {
    opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-glass-card.animate-in .stagger-1 { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.hero-glass-card.animate-in .stagger-2 { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.hero-glass-card.animate-in .stagger-3 { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.hero-glass-card.animate-in .stagger-4 { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-glass-card h1 { font-size: 2.6rem; }
}
@media (max-width: 600px) {
    .hero-glass-card h1 { font-size: 2.2rem; }
    .hero-container { padding: 0 20px; }
    .hero-section { padding-bottom: 60px; }
}

/* ==========================================
   5. BUTTONS & CONTACT ELEMENTS
========================================== */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 40px; 
    flex-wrap: wrap; 
}

.btn-pill {
    background-color: var(--primary-teal);
    color: var(--white);
    border: none;
    padding: 8px 8px 8px 30px; 
    border-radius: 50px; 
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pill:hover {
    background-color: #0096B8;
    transform: translateY(-2px); 
}

.btn-pill .btn-icon {
    background-color: var(--white);
    color: var(--primary-teal);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.1rem;
}


.contact-icon-box {
    background-color: rgba(0, 0, 0, 0.4);
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem;
}

.contact-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}



/* ==========================================
   8. STATISTICS / COUNTER SECTION
========================================== */
.stats-section {
    position: relative;
    background-color: var(--pdcor-blue);
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    padding: 70px 40px;
    color: var(--white);
}

.stats-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 0, 47, 0.88); 
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    width: 90px;
    height: 90px;
    background-color: var(--white);
    border: 4px solid var(--primary-teal);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
    box-shadow: 0 0 25px rgba(0, 180, 216, 0.3); 
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #E8E8E8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 960px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 60px 30px;
    }
}

@media (max-width: 600px) {
    .stats-container {
        grid-template-columns: 1fr; 
    }
    .stats-section { padding: 60px 20px; }
}



/* ==========================================
   9. CONTACT SECTION ("Let's Talk")
========================================== */
.contact-section {
    background-color: #F4F7F9; 
    padding: 100px 50px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(10px); 
}

.icon-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-teal);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-teal);
    margin-right: 20px;
}

.info-text h4 {
    font-size: 1.1rem;
    color: var(--pdcor-blue);
    margin-bottom: 5px;
}

.info-text p {
    font-size: 0.95rem;
    color: #666;
}

.contact-form-wrapper {
    flex: 1.5; 
}

.contact-form-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--nav-text);
    margin-bottom: 30px;
}

.contact-form-wrapper h2 .teal-text {
    color: var(--primary-teal);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.contact-form .full-width {
    width: 100%;
}

.contact-form .btn-primary {
    align-self: flex-start; 
    margin-top: 10px;
}

@media (max-width: 960px) {
    .contact-container { flex-direction: column; }
    .contact-form-wrapper { width: 100%; margin-top: 40px; }
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; } 
    .contact-section { padding: 60px 20px; }
}


/* ==========================================
   ABOUT PAGE: PAGE HERO BANNER
========================================== */
.page-hero {
    position: relative;
    height: 40vh; 
    min-height: 200px;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-hero .hero-overlay { 
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(3,0,47,0.3), rgba(3,0,47,0.8));
    z-index: 1;
}

.page-hero-content { position: relative; z-index: 3; }

.page-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--white);
    letter-spacing: 2px;
}

/* ==========================================
   CONSOLIDATED ABOUT PAGE STYLES
========================================== */
.white-bg { background-color: #FFFFFF !important;  }
.grey-bg { background-color: #F4F7F9 !important; }

.about-section { padding: 40px 20px 100px 20px; min-height: 600px; }
.about-container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--pdcor-blue);
    margin-bottom: 35px; 
    text-align: center;
}

.section-title .teal-text { color: var(--primary-teal); }

/* --- 1. Governing Structure (Accordion) --- */
#governing-structure {
    padding-top: 40px;
    padding-bottom: 20px;
}

#governing-structure .section-title {
    margin-bottom: 30px; 
}

.accordion-container {
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

/* Red Text Headers for Sub-Sections */
.red-header {
    color: #D32F2F; 
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    margin: 30px 0 15px 0;
    text-transform: uppercase;
}

/* Updated to create disconnected boxes with full borders */
.accordion-item {
    border: 1px solid #EAEAEA;
    background-color: var(--white);
    margin-bottom: 10px; 
    border-radius: 4px;
}

/* The Clickable Header Row */
.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase; 
}

.accordion-header:hover {
    background-color: #F8F9FA;
}

/* When the accordion is clicked/open */
.accordion-header.active {
    background-color: var(--primary-teal); 
    color: var(--white);
}

/* The Hidden Content Section */
.accordion-content {
   max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out; /* Slightly slower for a smoother glide */
    background-color: var(--white);
}
.accordion-header.active + .accordion-content {
    max-height: 4000px; 
}
/* Inside the revealed content */
.accordion-body {
    display: flex;
    gap: 30px;
    padding: 30px 25px;
    border-top: 1px solid #EAEAEA;
}

/* Styles for the nested area to house inner accordions beautifully */
.nested-body {
    flex-direction: column;
    gap: 0;
    padding: 15px;
    background-color: #FAFAFA;
}

.accordion-body img {
    width: 130px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 3px solid #EAEAEA;
}

.accordion-body p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.promoters-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.promoter-card {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    border-top: 4px solid var(--pdcor-blue);
    transition: transform 0.3s ease;
}

.promoter-card:hover { transform: translateY(-5px); }
.promoter-card h3 { color: var(--pdcor-blue); margin-bottom: 10px; font-size: 1.4rem; }

.text-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}
.text-link:hover { text-decoration: underline; }
.promoter-card p { color: #555; line-height: 1.6; font-size: 0.95rem; }

/* --- 3. Framework --- */
.framework-intro { text-align: center; font-size: 1.05rem; color: #555; margin-bottom: 40px; }

.framework-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* Perfectly balances the 3 cards in one row */
    gap: 30px; 
}

/* Tablet view drops it to 2 columns */
@media (max-width: 1024px) {
    .framework-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile view stacks them completely */
@media (max-width: 768px) {
    .framework-grid {
        grid-template-columns: 1fr;
    }
}

.framework-card {
    background-color: #FFFFFF; 
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-teal);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.framework-icon { font-size: 1.8rem; color: var(--primary-teal); margin-bottom: 15px; }
.framework-card h4 { color: var(--pdcor-blue); font-size: 1.15rem; margin-bottom: 10px; }
.framework-card p { color: #666; line-height: 1.6; font-size: 0.95rem; }

@media (max-width: 900px) {
    .accordion-header {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .about-section { padding: 50px 20px; }
    .promoters-info, .framework-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2.2rem; }
    .page-hero-content h1 { font-size: 3rem; }
}

/* ==========================================
   NODAL OFFICER BANNER
========================================== */
.nodal-officer-banner {
    background-color: #17436E; /* The medium-blue from your image */
    color: var(--white);
    text-align: center;
    padding: 25px 20px;
    font-family: 'Poppins', sans-serif;
}

.nodal-officer-banner p {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Responsive adjustment for small phone screens */
@media (max-width: 768px) {
    .nodal-officer-banner p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Nodal Officer LinkedIn Icon */
.nodal-linkedin {
    color: var(--white);
    margin-left: 15px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.nodal-linkedin:hover {
    color: var(--primary-teal);
    transform: scale(1.1);
}
/* ==========================================
   MINIMAL FOOTER (WITH BOTTOM BAR)
========================================== */
.site-footer-mini {
    background-color: var(--pdcor-blue);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-teal); 
}

.mini-footer-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 50px; 
}

.mini-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #D3D3D3;
}

.mini-contact i {
    color: var(--primary-teal);
    font-size: 1.5rem;
}

.mini-contact p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.mini-contact strong {
    color: var(--white);
    font-size: 0.95rem;
}

.site-footer-mini .social-links {
    margin-top: 0; 
}

.site-footer-mini .social-links a {
    background-color: #0077b5; 
    color: var(--white);
    width: 45px; 
    height: 45px;
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4); 
    border: 2px solid #0077b5;
}

.site-footer-mini .social-links a:hover {
    background-color: #005885; 
    border-color: #005885;
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.6); 
    transform: translateY(-3px); 
}

.footer-bottom {
    background-color: #02001F; 
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #D3D3D3;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
}

.back-to-top {
    background-color: var(--primary-teal);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #0096B8;
}

@media (max-width: 900px) {
    .mini-footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
    .mini-contact {
        flex-direction: column;
        gap: 8px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
}




/* Styling for lists inside accordions */
.accordion-bullets {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-left: 25px;
    margin-top: 5px;
}

.accordion-bullets li {
    margin-bottom: 10px;
}




/* ==========================================
   TABLE STYLES (Shareholding & Websites)
========================================== */

/* Wrapper to make the tables swipeable on mobile phones */
.table-responsive {
    width: 100%;
    overflow-x: auto; 
    margin-bottom: 40px;
}

/* The Table Layout */
.custom-table {
    width: 100%;
    max-width: 800px; /* Keeps it from stretching too wide on big screens */
    margin: 0 auto; /* Perfectly centers the table! */
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06); /* Soft, modern shadow */
    border-radius: 8px;
    overflow: hidden; /* Keeps the rounded corners crisp */
}

/* Cell Spacing */
.custom-table th, 
.custom-table td {
    padding: 16px 25px;
    text-align: left;
    border-bottom: 1px solid #EAEAEA;
    color: #444;
}

/* Header Row Styling */
.custom-table th {
    background-color: var(--pdcor-blue); 
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* Bold 'Total' Row for the Shareholding Table */
.custom-table .table-total td {
    background-color: #F4F7F9;
    font-weight: 700;
    color: var(--pdcor-blue);
    border-bottom: none;
}

/* Subtle highlight when you hover over a row */
.custom-table tbody tr:hover {
    background-color: #F9FAFB;
}



/* --- 3. Framework --- */
/* PIC 1 FIX: Smaller Header Font */
#framework .section-title { 
    font-size: 2.0rem; /* Reduced from 2.5rem */
    margin-bottom: 15px; 
}

.framework-intro { text-align: center; font-size: 1.05rem; color: #555; margin-bottom: 40px; }
.framework-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* PIC 2 FIX: Smaller Boxes & Text */
.framework-card {
    background-color: #FFFFFF; 
    padding: 20px; /* Reduced padding from 30px */
    border-radius: 8px;
    border-left: 4px solid var(--primary-teal);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.framework-icon { font-size: 1.5rem; color: var(--primary-teal); margin-bottom: 10px; }
.framework-card h4 { color: var(--pdcor-blue); font-size: 1.05rem; margin-bottom: 8px; }
.framework-card p { color: #666; line-height: 1.5; font-size: 0.85rem; } /* Smaller text */


/* PIC 3 FIX: Horizontal Layout & Smaller Cards */
.funding-initiatives {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Places the two cards side-by-side */
    gap: 30px;
    margin-top: 50px;
}

.funding-card {
    background-color: #FAFAFA;
    border: 1px solid #EAEAEA;
    border-left: 5px solid var(--pdcor-blue);
    padding: 25px; /* Tighter padding */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funding-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-left-color: var(--primary-teal);
}

.funding-card h4 {
    color: var(--pdcor-blue);
    font-size: 1.15rem; /* Smaller heading */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.funding-card p {
    color: #555;
    font-size: 0.85rem; /* Smaller text */
    line-height: 1.6;
    margin-bottom: 12px;
}

.funding-card p:last-of-type {
    margin-bottom: 0;
}

/* Make sure the side-by-side cards stack neatly on mobile phones */
@media (max-width: 900px) {
    .funding-initiatives {
        grid-template-columns: 1fr;
    }
}



/* ==========================================
   SEPARATOR: Framework & Funding
========================================== */
.section-divider {
    margin: 60px auto 40px auto; /* Adds plenty of breathing room above and below */
    text-align: center;
}

.teal-line {
    border: none;
    height: 4px;
    background-color: var(--primary-teal);
    width: 60px; /* Short, thick, modern line */
    margin: 0 auto 20px auto;
    border-radius: 5px;
}

.sub-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--pdcor-blue);
}

.sub-section-title .teal-text {
    color: var(--primary-teal);
}


/* ==========================================
   8. MINIMALIST SERVICES PAGE
========================================== */
.minimal-services-section {
    padding: 100px 20px;
    background-color: #F8FAFC; /* Very soft, clean grey */
}

.minimal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.minimal-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-teal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.minimal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.minimal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    color: var(--primary-teal);
    font-size: 2.5rem;
}

.minimal-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: #F1F5F9; /* Barely visible, elegant grey */
    line-height: 1;
}

.minimal-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--pdcor-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.minimal-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.minimal-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.minimal-bullets li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.minimal-bullets li::before {
    content: '\f00c'; /* FontAwesome checkmark */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-teal);
    font-size: 0.9rem;
}
/* ==========================================
   PORTFOLIO PAGE STYLES (Sectors)
========================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.portfolio-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 35px;
    border-top: 5px solid var(--pdcor-blue);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top-color: var(--primary-teal);
}

.portfolio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EAEAEA;
}
/* Project Image Styling */
.project-img {
    width: 100%;
    height: 240px; /* Forces all images to be the exact same height */
    object-fit: cover; /* Crops the image perfectly without stretching it */
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #EAEAEA;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.project-number {
    background-color: var(--primary-teal);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0; /* Prevents the circle from squishing */
}

.portfolio-header h3 {
    color: var(--pdcor-blue);
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
}

.portfolio-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.contact-prompt {
    text-align: center;
    background-color: #EAF4F4; /* Light teal tint */
    padding: 25px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px dashed var(--primary-teal);
}

.contact-prompt p {
    color: var(--pdcor-blue);
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Grid for Tablets and Phones */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Drops to 1 column */
    }
}

@media (max-width: 768px) {
    .portfolio-card {
        padding: 25px;
    }
}

/* ==========================================
   10. HOME PAGE: MODERN SECTORS (Image Hover Reveal)
========================================== */
.sectors-section { background-color: var(--light-grey); padding: 100px 50px 40px 50px; }

.sectors-header h2 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--pdcor-blue); margin-bottom: 15px; }
.sectors-header p { font-size: 1.1rem; color: var(--text-light); }

.modern-sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }

/* The Main Card */
.modern-sector-card {
    position: relative;
    background-color: var(--pdcor-blue);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Reduced from 280px */
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    padding: 20px 15px; /* Reduced from 30px */
    text-align: center;
    z-index: 1;
}

/* The Hidden Background Image */
.card-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: -2;
    transition: opacity 0.5s ease, transform 0.6s ease;
    transform: scale(1.1);
}

/* A Dark Tint Overlay (Appears on Hover) */
.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* CHANGED: Lowered opacity from 0.75 to 0.45 for much better image clarity */
    background: rgba(3, 0, 47, 0.45); 
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

/* Text Container */
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Main Title */
.modern-sector-card h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; /* Reduced from 1.6rem */
    margin: 0;
    transition: transform 0.4s ease, margin 0.4s ease;
}
/* Hidden Content (Paragraph & Link) */
.card-hidden-content {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #E8E8E8;
}

.card-hidden-content p {
    font-size: 0.9rem; /* Reduced slightly */
    line-height: 1.4;
    margin-top: 8px; /* Reduced from 15px */
    margin-bottom: 10px; /* Reduced from 15px */
}

.card-hidden-content .view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    font-size: 0.95rem;
}

/* ================== HOVER EFFECTS ================== */
.modern-sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.modern-sector-card:hover .card-bg {
    opacity: 1;
    transform: scale(1);
}

.modern-sector-card:hover .card-overlay {
    opacity: 1;
}

.modern-sector-card:hover h3 {
    transform: translateY(-10px);
}

.modern-sector-card:hover .card-hidden-content {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
    transform: translateY(0);
}
/* The Sector Icon Styling */
.modern-card-icon {
    color: var(--primary-teal);
    font-size: 2.2rem;
    margin-bottom: 15px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s ease;
}
/* Animates the icon on hover */
.modern-sector-card:hover .modern-card-icon {
    transform: translateY(-10px);
    color: var(--white);
}
/* ================== RESPONSIVE ================== */
/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) { .modern-sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .modern-sectors-grid { grid-template-columns: 1fr; }
    .modern-sector-card { padding: 20px 15px; min-height: 180px; } /* Reduced for mobile */
    .sectors-section { padding: 60px 20px; }
    .sectors-header h2 { font-size: 2.5rem; }
}




/* ==========================================
   14. VENDOR PORTAL (Login & Registration)
========================================== */

.portal-section {
    padding: 80px 20px;
    background-color: var(--bg-grey);
    min-height: calc(100vh - 400px);
}

.portal-container {
    max-width: 1100px; /* Wide to fit the table perfectly */
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Tab Navigation */
.portal-tabs {
    display: flex;
    background-color: #F8F9FA;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover { background-color: #F0F4F8; color: var(--pdcor-blue); }
.tab-btn.active {
    color: var(--primary-teal);
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-teal);
}

/* Form Wrappers */
.portal-form-wrapper {
    display: none; /* Hidden by default */
    padding: 50px;
    animation: fadeIn 0.5s ease;
}

.portal-form-wrapper.active-form {
    display: block; /* Shows active tab */
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.form-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--pdcor-blue); margin-bottom: 5px; text-align: center; }
.mandatory-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 40px; }
.required { color: #D32F2F; font-weight: bold; margin-left: 3px; }

/* Form Fields & Grid */
.portal-form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 15px; }
.full-width { grid-column: 1 / -1; }

.form-section-header {
    grid-column: 1 / -1;
    color: var(--pdcor-blue);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); }
.form-group small { font-size: 0.75rem; color: #888; margin-top: 2px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.file-input {
    padding: 8px;
    border: 1px dashed #A0AEC0;
    border-radius: 6px;
    background-color: #F8FAFC;
    font-size: 0.85rem;
    width: 100%;
}

/* ==========================================
   CUSTOM CATEGORY CHECKBOX GRID
========================================== */
.custom-category-select { width: 100%; border: 1px solid #D1D5DB; background: #EFEFEF; }
.category-header { padding: 10px 15px; cursor: pointer; font-size: 0.9rem; text-align: center; color: #333; }
.category-header:hover { background: #E0E0E0; }

.category-grid {
    display: flex;
    flex-wrap: wrap;
    background: #F8F9FA;
    border-top: 1px solid #D1D5DB;
}

.category-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    border-right: 1px solid #D1D5DB;
    border-bottom: 1px solid #D1D5DB;
    cursor: pointer;
    background: #fff;
    flex-grow: 1; /* Makes them stretch nicely to fill rows */
    white-space: nowrap;
}

.category-grid label:hover { background: #f0f8ff; }
.category-grid input[type="checkbox"] { width: 14px; height: 14px; cursor: pointer; }

/* Primary Form Button */
.btn-primary {
    background-color: var(--primary-teal); color: var(--white);
    padding: 15px; border: none; border-radius: 6px;
    font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; margin-top: 20px;
}
/* Primary Form Button Hover Fix */
.btn-primary:hover { 
    background-color: #0096B8; /* Hardcoded darker teal to prevent disappearing */
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3); 
}

/* ==========================================
   PIXEL-PERFECT GOOGLE RECAPTCHA CLONE
========================================== */
.g-recaptcha-mock {
    width: 304px !important;
    height: 78px !important;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    padding: 0 12px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-top: 5px;
}

.g-rc-checkbox {
    width: 28px;
    height: 28px;
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
}

/* The Empty Box */
.g-rc-box {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    transition: border-color 0.3s;
}
.g-recaptcha-mock:hover .g-rc-box { border-color: #b2b2b2; }

/* The Text */
.g-rc-label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    color: #222;
    font-weight: 400;
    flex-grow: 1;
}

/* The Right Side Logo Area */
.g-rc-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.g-rc-footer img {
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
}

.g-rc-footer span {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 10px;
    color: #555;
    line-height: 1;
}

.g-rc-footer small {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 8px;
    color: #999;
    margin-top: 3px;
}

/* Loading Spinner */
.g-rc-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4A90E2; /* Google Blue */
    border-radius: 50%;
    animation: rc-spin 1s linear infinite;
    box-sizing: border-box;
    position: absolute;
    top: 0; left: 0;
}
@keyframes rc-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Green Checkmark */
.g-rc-check {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0; left: 0;
    color: #009E5F; /* Google Green */
    font-size: 20px;
}

/* Disable Submit Buttons until verified */
.btn-primary:disabled { 
    background-color: #cccccc !important; 
    cursor: not-allowed; 
    box-shadow: none !important; 
    transform: none !important; 
    color: #666;
}

/* Footer Links */
.form-footer-links { text-align: center; margin-top: 25px; display: flex; flex-direction: column; gap: 10px; }
.form-footer-links p { font-size: 0.9rem; color: #666; margin: 0; }

/* --- Table Layout for Registration --- */
.registration-header {
    display: flex; align-items: baseline; gap: 15px; margin-bottom: 20px;
}
.table-title { font-family: 'Poppins', sans-serif; font-size: 1.8rem; color: #D32F2F; font-weight: 500; margin: 0; }
.table-subtitle { font-size: 0.85rem; color: var(--text-dark); }

.table-form {
    border: 1px solid #D1D5DB;
    background: var(--white);
    display: flex; flex-direction: column;
}

.tf-row { display: flex; align-items: stretch; border-bottom: 1px solid #D1D5DB; }
.tf-row:last-child { border-bottom: none; }

.tf-label {
    font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600; color: #333;
    padding: 12px 15px; display: flex; align-items: center; background-color: var(--white);
}
.tf-input { padding: 10px 15px; display: flex; flex-direction: column; justify-content: center; }

/* Width & Border Helpers */
.w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; }
.w-35 { width: 35%; } .w-50 { width: 50%; } .w-65 { width: 65%; } .w-75 { width: 75%; }
.br-ccc { border-right: 1px solid #D1D5DB; }
.center-text { justify-content: center; text-align: center; }
.p-0 { padding: 0; } .p-15 { padding: 12px 15px; }

/* Flex Helpers */
.flex-row-center { display: flex; align-items: center; gap: 10px; flex-direction: row; }
.flex-row-stretch { display: flex; align-items: stretch; flex-direction: row; }
.inner-label { font-size: 0.85rem; font-weight: 600; color: #333; white-space: nowrap; }

/* Input Overrides for Table */
.tf-input input[type="text"], .tf-input input[type="email"], .tf-input input[type="url"], .tf-input select {
    width: 100%; padding: 6px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 0.9rem;
}
.tf-input input[type="file"] { font-size: 0.85rem; }

.disabled-box { background: #f0f0f0; border: 1px solid #ccc; padding: 6px; text-align: center; font-size: 0.85rem; color: #555; width: 100%; }
.tf-note { font-size: 0.75rem; color: #666; margin-top: 4px; line-height: 1.4; }

/* Registration Footer Area */
.tf-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fafafa;
}

.footer-left{
    display:flex;
    align-items:center;
    gap:5px;
    border:none !important;
    background:transparent !important;
    width:auto !important;
}

.footer-left .text-link{
    display:inline-flex;
    align-items:center;
    margin-left:0;
    line-height:1;
}
.footer-right{
    width:auto !important;
    padding-right:20px;
}


.btn-success {
    background-color: #5CB85C; color: white; border: none; padding: 10px 40px;
    font-size: 1rem; border-radius: 4px; cursor: pointer; transition: 0.3s; font-family: 'Poppins', sans-serif;
}
.btn-success:hover { background-color: #4cae4c; }

/* ==========================================
   Responsive Adjustments (Mobile & Tablet)
========================================== */
@media (max-width: 768px) {
    .portal-section { padding: 40px 15px; }
    .portal-form-wrapper { padding: 30px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .tab-btn { padding: 15px 10px; font-size: 1rem; }
    
    /* Forces the complex table to stack gracefully on mobile phones */
    .tf-row, .flex-row-stretch { flex-direction: column; }
    .w-20, .w-25, .w-30, .w-35, .w-50, .w-65, .w-75 { width: 100% !important; }
    .br-ccc { border-right: none !important; border-bottom: 1px solid #D1D5DB; }
    .tf-label { background-color: #FAFAFA; padding: 10px 15px; }
    .tf-footer { background-color: var(--white); }
}




/* =========================
   LOGIN IMPROVEMENTS
========================= */

.login-card{
    max-width:600px;
    margin:auto;
}

.password-wrapper{
    position:relative;
}

.password-wrapper input{
    padding-right:45px;
}

.password-wrapper i{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#666;
}

.password-wrapper i:hover{
    color:var(--primary-teal);
}

.portal-form-wrapper{
    transition:all .3s ease;
}

/* Better Input Focus */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    transform:translateY(-1px);
}

/* Better Login Button */

#submit-btn-login{

    width:100%;
}

/* Smooth Category Dropdown */

.category-grid{

    transition:all .3s ease;
}

/* Login Card Animation */

#login-tab{

    animation:fadeIn .4s ease;
}
/* ==========================================
   15. RESOURCES & DATA TABLES
========================================== */
.modern-table-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.modern-data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.modern-data-table thead {
    background-color: var(--pdcor-blue);
    color: var(--white);
}

.modern-data-table th {
    padding: 18px 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.modern-data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #EFEFEF;
    color: var(--text-dark);
}

.modern-data-table tbody tr {
    transition: background-color 0.3s ease;
}

.modern-data-table tbody tr:hover {
    background-color: #F8FAFC;
}

.modern-data-table tbody tr:last-child td {
    border-bottom: none;
}

.fw-500 { font-weight: 500; }

/* Clean Red Download Button */
.btn-download {
    display: inline-block;
    color: #D32F2F;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 4px;
    background-color: rgba(211, 47, 47, 0.08);
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #D32F2F;
    color: #FFF;
}

.btn-download i { margin-right: 5px; }

/* ==========================================
   NHM LOGIN & PHOTO GALLERY BLOCKS
========================================== */
.clean-login-box {
    background: var(--white);
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-teal);
}

.gallery-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.gallery-link {
    font-family: 'Poppins', sans-serif;
    color: var(--pdcor-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.gallery-link:hover {
    color: var(--primary-teal);
    transform: translateY(-3px);
}



/* ==========================================
   16. EMPANELMENT & HIGHLIGHTED DOWNLOADS
========================================== */

/* Clean link lists inside tables */
.expert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expert-list li {
    margin-bottom: 8px;
}

.expert-list li a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.expert-list li a:hover {
    color: #D32F2F;
    text-decoration: underline;
}

/* Highly Emphasized Download Card */
.download-highlight-card {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2f7 100%);
    border: 2px dashed var(--primary-teal);
    border-radius: 12px;
    padding: 35px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 180, 216, 0.2);
}

.download-highlight-card .dl-text h3 {
    font-family: 'Poppins', sans-serif;
    color: #D32F2F;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.download-highlight-card .dl-text p {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
}

/* Beautiful Microsoft Word Style Button */
.btn-word-download {
    background-color: #2B579A; /* MS Word Blue */
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(43, 87, 154, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-word-download i {
    font-size: 1.3rem;
}

.btn-word-download:hover {
    background-color: #1a3a6c;
    box-shadow: 0 8px 20px rgba(43, 87, 154, 0.5);
    transform: translateY(-2px);
}

/* Responsive for the Download Card */
@media (max-width: 768px) {
    .download-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .download-highlight-card .dl-text {
        margin-bottom: 25px;
    }
}
/* ==========================================
   17. EMPANELMENT ACCORDION DROPDOWNS
========================================== */
.expert-accordion {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expert-accordion[open] {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-teal);
}

/* Hide default marker for cleaner UI */
.expert-accordion summary::-webkit-details-marker {
    display: none;
}

.expert-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    background-color: #F8FAFC;
    list-style: none; /* For Firefox/Other browsers */
    transition: background-color 0.2s ease;
}

.expert-accordion summary:hover {
    background-color: #F1F5F9;
    color: var(--primary-teal);
}

.expert-accordion summary i {
    color: #94A3B8;
    transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.expert-accordion[open] summary i {
    transform: rotate(180deg);
    color: var(--primary-teal);
}

/* Internal Details Content */
.expert-details {
    padding: 20px;
    border-top: 1px solid #E2E8F0;
    background-color: #ffffff;
}

.detail-block {
    margin-bottom: 15px;
}

.detail-block:last-child {
    margin-bottom: 0;
}

.detail-block strong {
    display: block;
    color: var(--pdcor-blue);
    font-size: 0.95rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-block p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.detail-block ul {
    margin: 0;
    padding-left: 20px;
    color: #475569;
    font-size: 0.95rem;
}

.detail-block ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}



/* ==========================================
   18. CERTIFICATE CARDS (Downloads Page)
========================================== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cert-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-teal);
}

.cert-icon {
    font-size: 3rem;
    color: #D32F2F; /* Deep red to match the ribbon on your ISO cert */
    background: #FFF5F5;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.cert-info h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0 0 8px 0;
}

.cert-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.btn-cert-download {
    display: inline-block;
    background-color: var(--pdcor-blue);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-cert-download:hover {
    background-color: var(--primary-teal);
    color: #ffffff;
}

.btn-cert-download i {
    margin-right: 5px;
}