/* Root Theme */
:root {
 --accent-color: #008080; /* Deeper Teal */
 --primary-color: #1A324E; /* Dark Blue-Gray, for bold text */
 --text-color: #4A4A4A; /* Medium Gray for body text */
 --light-bg-color: #FFFFFF; /* Pure White for primary backgrounds */
 --secondary-bg-color: #F8FBFD; /* Very subtle light blue-gray for alternating sections */
 --card-radius: 12px;
 --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
 --header-height: 70px; /* Define header height for fixed positioning */
}

/* Local Font Imports (YOU MUST HAVE THESE FILES IN YOUR /fonts FOLDER) */
@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Regular.woff2') format('woff2'); /* Adjust filename if different */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Medium.woff2') format('woff2'); /* Adjust filename if different */
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-SemiBold.woff2') format('woff2'); /* Adjust filename if different */
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Bold.woff2') format('woff2'); /* Adjust filename if different */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-ExtraBold.woff2') format('woff2'); /* Adjust filename if different */
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('./fonts/PlayfairDisplay-Bold.woff2') format('woff2'); /* Adjust filename if different */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('./fonts/PlayfairDisplay-Black.woff2') format('woff2'); /* Adjust filename if different */
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}
.section {

 padding: 100px 0; /* More vertical padding */

 text-align: center;

 position: relative;

 overflow: hidden; /* Ensures content doesn't bleed during animations */

}



.section.alt-background {

 background-color: var(--secondary-bg-color);

}



/* Section Titles */

.section-title {

 font-size: 3.2rem; /* Even larger heading */

 margin-bottom: 20px;

 font-weight: 700; /* Even bolder for Playfair Display */

 color: var(--primary-color);

 position: relative;

 display: inline-block; /* Allows underline effect */

}



.section-title::after {

 content: '';

 position: absolute;

 width: 80px; /* Short underline */

 height: 4px;

 background-color: var(--accent-color);

 bottom: -10px;

 left: 50%;

 transform: translateX(-50%);

 border-radius: 2px;

}
.publication-section-title::after {

 content: '';

 position: absolute;

 width: 80px; /* Short underline */

 height: 4px;

 background-color: var(--accent-color);

 bottom: -10px;

 left: 50%;

 transform: translateX(-50%);

 border-radius: 2px;

}
.section-header::after {

 content: '';

 position: absolute;

 width: 80px; /* Short underline */

 height: 4px;

 background-color: var(--accent-color);

 bottom: -10px;

 left: 50%;

 transform: translateX(-50%);

 border-radius: 2px;

}



.section-description {

 max-width: 800px;

 margin: 0 auto 50px auto;

 font-size: 1.15em;

 line-height: 1.8;

 color: var(--text-color);

 font-weight: 400;

}



/* Header Navigation */

.header {

background-color: white;

position: fixed; /* Changed to fixed for full-screen hero */

top: 0;

width: 100%;

z-index: 1000;

box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);

 height: var(--header-height);

 display: flex;

 align-items: center;

}





.nav {

display: flex;

justify-content: space-between;

align-items: center;

padding: 0 2rem; /* Adjusted padding as header has height */

 width: 100%; /* Make nav take full width of container */

}



.logo {

font-size: 1.8rem;

font-weight: 900;

color: var(--primary-color);

 letter-spacing: -0.5px;

}



.nav-links {

display: flex;

gap: 2rem; /* More space */

list-style: none;

}



.nav-links a {

text-decoration: none;

color: var(--primary-color);

font-weight: 600;

position: relative;

transition: color 0.3s ease-in-out;

 padding: 5px 0; /* Add padding for a clickable area */

}



.nav-links a::after {

 content: '';

 position: absolute;

 width: 0;

 height: 2.5px; /* Slightly thicker underline */

 bottom: -7px; /* Lower underline */

 left: 50%;

 transform: translateX(-50%);

 background-color: var(--accent-color);

 transition: width 0.3s ease-in-out;

}



.nav-links a:hover::after,

.nav-links a.active::after {

 width: 100%;

}



.nav-links a:hover {

color: var(--accent-color);

}



.burger {

display: none;

font-size: 1.8rem;

color: var(--primary-color);

cursor: pointer;

}
/* Scrolled header styles */
.header.scrolled {
  background-color: #e3e3e9b9; /* Darker background */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  height: 80px;
  /* opacity:0.7; */
  
  transition: background-color 0.3s ease, color 0.3s ease, height 0.3s ease;
}

.header.scrolled .logo,
.header.scrolled .nav-links a {
  /* color: white; */
  opacity:1;
}
.social-icons {
    display: flex;
    list-style: none; /* Removes bullet points */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
    gap: 1.3rem; /* Adjust space between icons */
    align-items: center; /* Vertically align icons */
}

.social-icons li a {
    color: var(--primary-color); /* Inherit color from your theme */
    font-size: 1.8rem; /* Adjust icon size as needed */
    transition: color 0.3s ease-in-out;
}

.social-icons li a:hover {
    color: var(--accent-color); /* Change color on hover */
}
