@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Bricolage+Grotesque:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #3C3266;
    --secondary: #D0603B;
    --tertiary: #524785;
    --text-color: #1a1a1a;
    --text-light: #f5f5f5;
    --bg-light: #F4ECE9;
    --white: #E6F0F2;
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Premium Header --- */
.gt-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: var(--transition);
}

.gt-header.scrolled {
    background: rgb(23 0 35 / 85%);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.gt-notification {
    background: var(--tertiary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.gt-header-main {
    padding: 20px 0;
}

.gt-header-main .gt-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gt-logo img {
    height: 60px;
    transition: var(--transition);
}

.gt-menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.gt-menu a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.gt-menu a:hover {
    color: var(--secondary);
}

.gt-btn-primary {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 10px 20px rgb(235 131 11 / 30%);
}

.gt-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgb(235 131 11 / 40%);
}

/* --- Immersive Hero --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    background: #000;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(23 0 35 / 70%) 0%, rgb(23 0 35 / 30%) 50%, rgb(23 0 35 / 80%) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.hero-tagline {
    color: var(--secondary);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 30px;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-title span {
    color: var(--secondary);
}

.hero-description {
    font-size: 22px;
    max-width: 650px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* --- The Manifesto --- */
.manifesto-section {
    background: var(--primary);
    padding: 150px 0;
    position: relative;
}

.manifesto-text {
    font-size: 4rem;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.manifesto-text span {
    color: var(--secondary);
}

/* --- Pillars of Action --- */
.pillars-section {
    padding: 150px 0;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 80px;
    letter-spacing: -0.03em;
}

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

.pillar-card {
    grid-column: span 1;
    background: var(--white);
    padding: 60px;
    border-radius: 0;
    box-shadow: 0 30px 60px rgb(0 0 0 / 5%);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-card.dark { background: var(--primary); color: var(--white); }
.pillar-card.purple { background: var(--tertiary); color: var(--white); }

.pillar-card:hover {
    transform: translateY(-15px);
}

.pillar-icon {
    font-size: 50px;
    margin-bottom: 40px;
    color: var(--secondary);
}

.pillar-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: inherit;
}

/* --- Photo-First Context --- */
.context-section {
    padding: 150px 0;
    background: var(--bg-light);
}

.context-overlap {
    display: flex;
    align-items: center;
    gap: 100px;
}

.context-images {
    position: relative;
    width: 50%;
    height: 600px;
}

.image-main {
    width: 80%;
    height: 500px;
    object-fit: cover;
    border-radius: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 40px 80px rgb(0 0 0 / 15%);
}

.image-accent {
    width: 60%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
    position: absolute;
    bottom: -50px;
    right: 0;
    z-index: 1;
    border: 10px solid var(--white);
    box-shadow: 0 40px 80px rgb(0 0 0 / 10%);
}

.context-content {
    width: 50%;
}

.context-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.stat-item h4 {
    font-size: 4rem;
    color: var(--secondary);
}

.stat-item p {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- The Latest Intel --- */
.news-section {
    padding: 150px 0;
}

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

.news-card {
    border-radius: 0;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 20px 40px rgb(0 0 0 / 5%);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.news-body {
    padding: 40px;
}

.news-meta {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.news-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* --- Global Footer --- */
.gt-footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 120px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--text-light); opacity: 0.7; font-size: 18px; }
.footer-links a:hover { opacity: 1; color: var(--secondary); }

.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 5%);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.5;
}

/* Sub-page Specifics */
.inner-page-header {
    background: var(--primary);
    padding: 200px 0 100px;
    color: var(--white);
}

.inner-page-header h1 {
    font-size: 5rem;
    color: var(--white);
    letter-spacing: -0.04em;
}

.main-article {
    padding: 100px 0;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive */
@media (width <= 1200px) {
    .hero-title { font-size: 4rem; }
    .manifesto-text { font-size: 3rem; }
    .section-title { font-size: 3rem; }
}

@media (width <= 991px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-card { grid-column: span 1; }
    .context-overlap { flex-direction: column; }
    .context-images, .context-content { width: 100%; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Wonderful Sub-page Components --- */
.split-layout { display: flex; gap: 80px; align-items: flex-start; margin: 80px 0; }
.split-image { width: 45%; border-radius: 0; box-shadow: 0 30px 60px rgb(0 0 0 / 10%); }
.split-content { width: 55%; }

.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 60px 0; }
.mv-card { background: var(--primary); color: var(--white); padding: 50px; border-radius: 0; border-bottom: 8px solid var(--secondary); }
.mv-card.alt { background: var(--tertiary); }

.project-feature { margin-bottom: 120px; }
.project-feature:nth-child(even) .split-layout { flex-direction: row-reverse; }
.project-feature h2 { font-size: 3rem; margin-bottom: 20px; }

.contact-wrapper { display: flex; gap: 100px; padding: 100px 0; }
.contact-info-panel { width: 40%; }
.contact-form-panel { width: 60%; background: var(--white); padding: 60px; border-radius: 0; box-shadow: 0 40px 100px rgb(0 0 0 / 5%); }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 10px; font-family: var(--font-heading); }
.form-control { width: 100%; padding: 15px 20px; border: 2px solid var(--border-color); border-radius: 0; font-family: var(--font-body); font-size: 16px; outline: none; transition: var(--transition); }
.form-control:focus { border-color: var(--secondary); }

.big-title { font-size: 4rem; line-height: 1; letter-spacing: -0.04em; margin-bottom: 30px; }

/* --- Premium Publications Components --- */
.filter-container { margin: 60px 0 40px; display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }

.filter-btn { 
    padding: 12px 25px; border-radius: 0; background: #fff; border: 2px solid var(--primary); 
    color: var(--primary); font-family: var(--font-heading); font-weight: 700; cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; }

.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 40px; }

.pub-card { 
    background: #fff; border-radius: 0; overflow: hidden; box-shadow: 0 20px 50px rgb(0 0 0 / 5%); 
    transition: var(--transition); border: 1px solid rgb(0 0 0 / 5%); display: flex; flex-direction: column;
}
.pub-card:hover { transform: translateY(-15px); box-shadow: 0 40px 80px rgb(0 0 0 / 10%); border-color: var(--secondary); }
.pub-card-top { height: 8px; background: var(--primary); width: 100%; }
.pub-card-content { padding: 40px; flex-grow: 1; display: flex; flex-direction: column; }

.pub-tag { 
    display: inline-block; padding: 5px 15px; border-radius: 0; background: rgb(235 131 11 / 10%); 
    color: var(--secondary); font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 20px;
}
.pub-card h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 20px; color: var(--primary); }
.pub-card p { font-size: 16px; color: #666; margin-bottom: 30px; flex-grow: 1; }
.pub-link { color: var(--primary); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.pub-link:hover { color: var(--secondary); }

.hidden { display: none !important; }

/* --- Premium Article Components --- */
.article-header {
    background: var(--primary);
    padding: 120px 0 60px;
    color: var(--white);
    position: relative;
}

.article-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    max-width: 900px;
    margin-bottom: 20px;
}

.article-meta-header {
    display: flex;
    gap: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    color: var(--secondary);
}

.article-container {
    display: flex;
    gap: 80px;
    padding: 80px 0;
}

.article-main {
    flex-grow: 1;
    max-width: 800px;
}

.article-sidebar {
    width: 300px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgb(0 0 0 / 5%);
    margin-bottom: 30px;
    border-left: 5px solid var(--secondary);
}

.sidebar-widget h4 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--primary);
}

.main-article {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
}

.main-article h2 { margin-top: 50px; font-size: 2.2rem; }
.main-article h3 { margin-top: 40px; font-size: 1.6rem; }

.main-article blockquote {
    border-left: 8px solid var(--secondary);
    padding: 30px 40px;
    background: #fdf6e9;
    margin: 40px 0;
    font-style: italic;
    border-radius: 0;
}

.progress-container {
    position: fixed;
    top: 0;
    z-index: 3000;
    width: 100%;
    height: 6px;
    background: transparent;
}

.progress-bar {
    height: 6px;
    background: var(--secondary);
    width: 0%;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 40px;
    font-family: var(--font-heading);
}

.back-btn:hover { color: var(--secondary); transform: translateX(-5px); }

  /* Final Design Sweeps */
  .hero-content { padding-top: 15vh; } /* Push text down */
  .hero-title, .hero-description { color: #fff !important; }
  
  .mv-card h3, .mv-card p { color: #fff !important; }
  
  .project-feature p { font-size: 22px; line-height: 1.8; color: #444; }
  .project-feature ul { margin-top: 20px; font-size: 18px; }
  .project-feature ul li { margin-bottom: 15px; position: relative; padding-left: 30px; list-style: none; }
  .project-feature ul li::before { content: '→'; position: absolute; left: 0; color: var(--secondary); font-weight: 800; }

  /* Modern Publication Cards */
  .library-card { 
      background: rgb(255 255 255 / 80%) !important; 
      backdrop-filter: blur(10px); 
      border: 1px solid rgb(255 255 255 / 20%) !important;
      padding: 40px !important;
  }
  .pub-icon { font-size: 30px; margin-bottom: 20px; color: var(--secondary); display: block; }
  
  /* Contact Layout Refinement */
  .contact-detail-box { 
      background: #f9f9f9; 
      padding: 30px; 
      border-radius: 0; 
      margin-bottom: 20px; 
      border-left: 6px solid var(--secondary); 
  }
  .contact-detail-box h4 { margin: 0 0 5px; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; color: #888; }
  .contact-detail-box p { margin: 0; font-size: 18px; font-weight: 700; color: var(--primary); }

/* --- Ultra-Modern Library Layout --- */
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.library-card {
    position: relative;
    background: #fff;
    border-radius: 0; /* Modern sharp edges or slight rounding */
    padding: 0 !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.library-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: translate(15px, 15px);
    z-index: -1;
    transition: var(--transition);
    opacity: 0.05;
}

.library-card:hover::before {
    transform: translate(25px, 25px);
    opacity: 0.1;
}

.library-card-inner {
    padding: 50px;
    border: 1px solid var(--border-color);
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.library-card:hover .library-card-inner {
    border-color: var(--secondary);
}

.library-type-icon {
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--secondary);
}

.library-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.library-card p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    flex-grow: 1;
}

.library-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.library-category {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--tertiary);
}

.library-action {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.library-action:hover {
    color: var(--secondary);
}



/* --- Premium Framed Publication Cards --- */
.library-section { background-color: #F4ECE9; padding: 120px 0; }

.pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.library-card {
    background: #E6F0F2;
    border: 2px solid #3C3266;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.library-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 100px rgb(23 0 35 / 15%);
    border-color: #D0603B;
}

/* The 'Frame' inside the card */
.library-card-body {
    padding: 60px; /* Massive internal breathing room */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.library-card h3 {
    font-size: 1.8rem;
    color: #3C3266;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
}

.library-card p {
    font-size: 17px;
    color: #524785;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.library-card-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgb(60 50 102 / 10%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.library-card .action-link {
    font-weight: 800;
    color: #D0603B;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* --- Global Grid Layout Enforcement --- */
.pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Force 3 columns */
    gap: 30px !important;
}

.magazine-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important; /* Force side-by-side */
    gap: 40px !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important; /* Force 4 column footer */
    gap: 60px !important;
}

.stat-item {
    text-align: center;
}

@media (width <= 991px) {
    .pillars-grid, .magazine-grid, .footer-grid {
        grid-template-columns: 1fr !important; /* Safe collapse for mobile only */
    }
}

/* --- Completely Redesigned Home Sections --- */

/* Impact Section */
.new-impact-section {
    background-color: var(--primary);
    padding: 100px 0;
    color: #fff;
    border-top: 10px solid var(--secondary);
    border-bottom: 10px solid var(--secondary);
}

.new-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.new-impact-item h3 {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.new-impact-item p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Featured Research Section */
.new-featured-section {
    padding: 120px 0;
    background: #E6F0F2;
}

.new-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.new-featured-card {
    background: #fff;
    padding: 50px 40px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 15px 35px rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.new-featured-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--secondary);
    box-shadow: 0 25px 50px rgb(0 0 0 / 10%);
}

.new-featured-card h3 {
    font-size: 1.6rem;
    margin: 20px 0;
    color: var(--primary);
    line-height: 1.3;
}

.new-featured-card .cat-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.new-featured-card .read-link {
    margin-top: auto;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 14px;
}

/* Knowledge Showcase Section */
.new-knowledge-section {
    padding: 120px 0;
    background: #F4ECE9;
}

.new-knowledge-split {
    display: flex;
    background: #fff;
    box-shadow: 0 30px 60px rgb(0 0 0 / 8%);
    margin-bottom: 50px;
}

.new-knowledge-img {
    flex: 1;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.new-knowledge-content {
    flex: 1;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.new-knowledge-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.new-knowledge-list-item {
    background: #fff;
    padding: 30px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 10px 20px rgb(0 0 0 / 3%);
}

.new-knowledge-list-item h4 {
    font-size: 1.2rem;
    margin-top: 10px;
    color: var(--primary);
}

@media (width <= 991px) {
    .new-impact-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    .new-featured-grid { grid-template-columns: 1fr; }
    .new-knowledge-split { flex-direction: column; }
    .new-knowledge-list { grid-template-columns: 1fr; }
}

@media (width <= 767px) {
    .new-impact-grid { grid-template-columns: 1fr; }
    .new-knowledge-content { padding: 40px; }
}

/* --- Marquee Auto Scroll --- */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-card {
    width: 350px;
    flex-shrink: 0;
    white-space: normal;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* --- New Library Layout --- */
.library-section {
    background-color: var(--white);
    padding: 80px 0;
}

.filter-container-modern {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    border-bottom: 2px solid #E6F0F2;
    padding-bottom: 20px;
}

.filter-btn-modern {
    background: transparent;
    border: none;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 15px;
    position: relative;
}

.filter-btn-modern.active {
    color: var(--primary);
}

.filter-btn-modern.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
}

.pub-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.pub-card-modern {
    background: #F4ECE9;
    padding: 40px;
    border-left: 8px solid var(--primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.pub-card-modern:hover {
    background: #E6F0F2;
    transform: translateY(-5px);
    border-left-color: var(--secondary);
}

.pub-card-modern h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.pub-card-modern p {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* --- New Projects Layout --- */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.project-card-modern {
    display: flex;
    background: #E6F0F2;
    align-items: center;
    position: relative;
}

.project-card-modern:nth-child(even) {
    flex-direction: row-reverse;
    background: #F4ECE9;
}

.project-image-modern {
    width: 50%;
    height: 600px;
    object-fit: cover;
}

.project-content-modern {
    width: 50%;
    padding: 80px;
    position: relative;
}

.project-number {
    font-size: 12rem;
    font-weight: 800;
    color: var(--secondary);
    opacity: 0.1;
    position: absolute;
    top: 0;
    line-height: 1;
    z-index: 0;
}

.project-content-modern h2, .project-content-modern p, .project-content-modern a {
    position: relative;
    z-index: 1;
}

/* --- New Contact Us Layout --- */
.contact-section-new {
    padding: 100px 0;
    background: #E6F0F2;
}

.contact-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    box-shadow: 0 40px 80px rgb(0 0 0 / 10%);
    background: #fff;
}

.contact-info-new {
    background: var(--primary);
    color: #fff;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-new h2 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.contact-item-new {
    margin-top: 40px;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
}

.contact-item-new h4 {
    color: var(--secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-item-new p {
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-form-new {
    padding: 80px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- New Latest Intel & Updates Layout --- */
.latest-updates-new {
    padding: 120px 0;
    background: #fff;
}

.updates-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.update-card-new {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.update-card-new:first-child {
    grid-column: span 2;
    height: 550px;
}

.update-card-new img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.6s ease;
}

.update-card-new:hover img {
    transform: scale(1.05);
    opacity: 0.4;
}

.update-content-new {
    position: relative;
    z-index: 10;
    color: #fff;
}

.update-meta-new {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.update-card-new h3 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.update-card-new:first-child h3 {
    font-size: 3.5rem;
}

.update-card-new p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
}

@media (width <= 991px) {
    .contact-grid-new { grid-template-columns: 1fr; }
    .updates-grid-new { grid-template-columns: 1fr; }
    .update-card-new:first-child { grid-column: span 1; height: 450px; }
}


/* --- Advanced Mobile Optimizations --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3000;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:nth-child(3) { top: 18px; }

/* Handle scrolled state for toggle icon */
.gt-header.scrolled .mobile-menu-toggle span {
    background-color: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

.gt-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 991px) {
    /* Hamburger Menu Logic */
    .mobile-menu-toggle {
        display: block;
    }
    
    .gt-nav-wrapper {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 2500;
    }
    
    .gt-nav-wrapper.active {
        left: 0;
    }
    
    .gt-menu ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .gt-menu a {
        font-size: 24px;
    }
    
    .gt-actions {
        margin-top: 30px;
    }

    body.no-scroll {
        overflow: hidden;
    }
    
    /* Hero Section Fixes */
    .hero-content {
        padding-top: 15vh;
        text-align: center;
    }
    .hero-title {
        font-size: 3.2rem !important;
        margin-bottom: 20px;
    }
    .hero-description {
        font-size: 18px !important;
        margin: 0 auto 30px auto;
    }
    .hero-actions {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    .hero-description {
        font-size: 16px !important;
    }
}
