@charset "ISO-8859-1";

/* Hide content by default if it doesn't match the mode */
.phys2ai-content {
	display: block;
}

/* Show Phys2AI content when in phys2ai-mode */
.phys2ai-mode .phys2ai-content {
	display: block;
}

/* Navigation visibility */
.phys2ai-mode .phys2ai-nav {
	display: flex;
}

.phys2ai-nav {
	display: none;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto', sans-serif; /* Updated to Roboto with fallback */
	margin: 0;
	padding: 0;
	background-color: #f9f9f9;
}

/* Background mesh image styling */
body {
    background-image:
        url('https://www.phys2ai.com/assets/images/core/background-phys2ai-desktop.png');
	background-size: cover; /* Scales the image to cover the entire page */
	background-repeat: no-repeat; /* Prevents tiling */
	background-attachment: fixed;
	/* Keeps the background fixed while scrolling */
	background-position: center; /* Centers the image */
	margin: 0;
	padding: 0;
	min-height: 100vh;
	/* Ensures the body takes up at least the full viewport height */
}

/* Optional: Add a semi-transparent overlay to improve text readability */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.01);
	/* Adjust opacity (0.3 = 30%) as needed */
	z-index: -1; /* Keeps it behind the content */
}

/* Team section styling */
.team-section {
	width: 75%;
	margin: 20px auto;
	padding: 20px;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.team-container {
	display: flex;
	align-items: flex-start;
}

.team-headshot-frame {
	margin-right: 20px; /* Space between image and text */
}

.team-headshot {
	width: 100px; /* Fixed width for the headshot */
	height: auto; /* Maintain aspect ratio */
	border-radius: 5px; /* Optional: rounded corners */
}

.team-text-frame {
	flex: 1; /* Takes remaining space */
	text-align: left;
}

/* Ensure header layout accommodates the widget */
.header {
	position: relative;
	padding: 20px 0;
	text-align: center;
	background-color: #f0f0f0;
	font-size: 1.2em;
}

.logo-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	padding: 20px 0;
	margin-bottom: 10px;
}

/* Ensure header layout accommodates the widget */
.header {
	position: relative; /* Allows absolute positioning of the widget */
	padding: 20px 0;
	text-align: center;
	background-color: #f0f0f0;
	font-size: 1.2em;
}

.logo-container {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 10px 0;
	margin-bottom: 10px; /* Space below logos */
}

.logo {
	cursor: pointer;
	transition: filter 0.3s ease;
}

.logo img {
	width: 256px; /* Adjust based on your logos */
	height: auto;
}

.header, .footer {
	background-color: #f0f0f0;
	text-align: center;
	padding: 20px 0;
	font-size: 1.2em;
}

nav {
	display: flex;
	justify-content: center;
	background-color: rgb(85, 85, 85);
	padding: 10px 0;
}

nav a {
	color: white;
	text-decoration: none;
	margin: 0 15px;
	font-size: 1.1em;
}

.main-banner {
	width: 75%;
	margin: 20px auto;
	text-align: left;
	padding: 20px;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.main-banner-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Keep text color unchanged */
    display: block; /* Ensures the whole box is clickable */
    position: relative;
    transition: all 0.3s ease;
}

.main-banner-link h1 {
    color: #0066cc; /* Standard hyperlink blue */
    transition: color 0.3s ease;
}

.main-banner-link:hover h1 {
    color: #004499; /* Darker blue on hover */
}

.main-banner-link:hover {
    cursor: pointer; /* Show pointer cursor on hover */
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}


.applications-banner {
	width: 75%;
	margin: 20px auto;
	padding: 20px;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact, .expertise {
	width: 75%;
	margin: 20px auto;
	padding: 20px;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	text-align: left;
}

.about {
	width: 75%;
	margin: 20px auto;
	padding: 20px;
	text-align: center;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.table-expertise {
	width: 100%;
	border-collapse: collapse;
	margin: 25px 0;
	font-size: 1.1em;
	border-radius: 5px 5px 0 0;
	overflow: hidden;
}

.table-expertise thead tr {
	background-color: #009879;
	color: #ffffff;
	text-align: left;
	font-weight: bold;
}

.table-expertise th, .table-expertise td {
	padding: 12px 15px;
}

.table-expertise tbody tr {
	border-bottom: 1px solid #dddddd;
}

.table-expertise tbody tr:nth-of-type(even) {
	background-color: #f3f3f3;
}

.table-expertise tbody tr:last-of-type {
	border-bottom: 2px solid #009879;
}

#logo {
	height: 200px;
	margin: 20px;
}

.photo-pair {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	margin-bottom: 20px;
}

.photo {
	flex-basis: 48%;
	text-align: center;
}

.photo img {
	width: 100%;
	height: auto;
}

/* Updated navigation links */
nav {
	display: flex;
	justify-content: center;
	background-color: rgb(85, 85, 85);
	padding: 10px 0;
}

nav a {
	color: white;
	text-decoration: none;
	margin: 0 15px;
	font-size: 1.1em;
}

nav a[href="demo.html"]::after, nav a[href="services.html"]::after, nav a[href="expertise.html"]::after,
	nav a[href="tools.html"]::after {
	content: "";
}

/* Default styles (mobile-first approach) */
video, .animation {
    width: 100%;          /* Fills the browser width */
    height: auto;         /* Maintains aspect ratio */
    max-width: 100%;      /* Prevents overflow */
    display: block;       /* Removes inline spacing */
    margin: 0 auto;       /* Centers horizontally */
}

.caption {
    text-align: center;
    font-size: 0.9em;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #333; /* Adjust color to match your sites theme */
}
.caption strong {
    font-weight: bold;
}
.caption em {
    font-style: italic;
}
