/* Base Styles */
:root {
--primary: #ff6b6b;
--secondary: #4ecdc4;
--background: #f7fff7;
--foreground: #1a535c;
--white: #ffffff;
--black: #333333;
--gray-100: #f8f9fa;
--gray-200: #e9ecef;
--gray-300: #dee2e6;
--gray-400: #ced4da;
--gray-500: #adb5bd;
--gray-600: #6c757d;
--gray-700: #495057;
--gray-800: #343a40;
--gray-900: #212529;
}

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

body {
font-family: 'Inter', sans-serif;
color: var(--black);
line-height: 1.5;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container1 {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
    
}
.video-section {
    flex: 0 0 75%; /* Takes up 3/4 of the card height */
}

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

a {
text-decoration: none;
color: inherit;
transition: color 0.3s;
}

ul {
list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
color: var(--foreground);
}

h1 {
font-size: 10rem;
}

h2 {
font-size: 2.25rem;
margin-bottom: 1.5rem;
}

h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
}

p {
margin-bottom: 1rem;
}

/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 2rem;
border-radius: 4px;
font-weight: 500;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s;
border: none;
}

.btn-primary {
background-color: var(--primary);
color: var(--white);
}

.btn-primary:hover {
background-color: #ff5252;
}

.btn-secondary {
background-color: var(--secondary);
color: var(--white);
}

.btn-secondary:hover {
background-color: #44b8b0;
}

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

.btn-outline:hover {
background-color: var(--primary);
color: var(--white);
}

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

.btn-outline-dark:hover {
background-color: var(--foreground);
color: var(--white);
}

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

.btn-outline-light:hover {
background-color: var(--white);
color: var(--foreground);
}

/* Header */
.header {
background-color: var(--white);
height: 100px;
position: relative;
z-index: 50;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
display: flex;
align-items: center;
}

.logo img {
width: 100px;
object-fit: contain;
}

.desktop-nav {
display: none;
}

.nav-link {
font-size: 1rem;
font-weight: 500;
margin-left: 1.5rem;
}

.nav-link:hover, .nav-link.active {
color: var(--primary);
}

.header-actions {
display: flex;
align-items: center;
gap: 1rem;
}

.header-actions .btn {
display: none;
height: 40px;
padding: 0 1rem;
font-size: 0.875rem;
}

.mobile-menu-toggle {
background: none;
border: none;
cursor: pointer;
color: var(--black);
}

.mobile-menu {
position: absolute;
top: 80px;
left: 0;
width: 100%;
background-color: var(--white);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transform: translateY(-100%);
transition: transform 0.3s ease-out;
z-index: 40;
padding: 1.5rem 0;
display: none;
}

.mobile-menu.active {
transform: translateY(0);
display: block;
}

/* Search Container Styles */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative; /* Position relative for icon placement */
}

.search-container input {
    width: 100%; /* Full width for mobile */
    max-width: 400px; /* Limit width on larger screens */
    padding: 12px 40px 12px 20px; /* Padding for input */
    border: 1px solid #ccc;
    border-radius: 25px; /* Rounded corners for a modern look */
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 16px; /* Increased font size for better readability */
}

.search-container input:focus {
    border-color: #007bff; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Add shadow on focus */
}

/* Search Icon Styles */
.search-container .search-icon {
    position: absolute;
    left: 15px; /* Position the icon inside the input */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
    cursor: pointer;
    fill: #007bff; /* Change icon color */
    transition: fill 0.3s; /* Transition for hover effect */
}

.search-container .search-icon:hover {
    fill: #0056b3; /* Darker color on hover */
}

.mobile-nav {
display: flex;
flex-direction: column;
}

.mobile-nav-link {
padding: 0.75rem 0;
font-weight: 500;
border-bottom: 1px solid var(--gray-200);
}

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

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  background-color: #f5f5f5;
  overflow: hidden;
  padding: 2rem 0;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.slide {
  position: absolute;
  height: 80%;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  transform-origin: center;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 5;

  height: 100%;
}

.slide.prev-1 {
  transform: translateX(-40%) scale(0.9);
  opacity: 0.7;
  z-index: 4;
}

.slide.prev-2 {
  transform: translateX(-80%) scale(0.8);
  opacity: 0.5;
  z-index: 3;
}

.slide.next-1 {
  transform: translateX(40%) scale(0.9);
  opacity: 0.7;
  z-index: 4;
}

.slide.next-2 {
  transform: translateX(80%) scale(0.8);
  opacity: 0.5;
  z-index: 3;
}

.slide.hidden {
  transform: scale(0.7);
  opacity: 0;
  z-index: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: white;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.slide-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.slide-description {
  font-size: 1.1rem;
  line-height: 1.5;
}

.slide.prev-1 .slide-title,
.slide.next-1 .slide-title {
  font-size: 1.5rem;
}

.slide.prev-2 .slide-title,
.slide.next-2 .slide-title {
  font-size: 1.2rem;
}

.slide.prev-1 .slide-description,
.slide.next-1 .slide-description {
  font-size: 0.9rem;
}

.slide.prev-2 .slide-description,
.slide.next-2 .slide-description {
  font-size: 0.8rem;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
  left: 2rem;
}

.next-arrow {
  right: 2rem;
}

.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 4;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 400px;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-description {
    font-size: 1rem;
  }
}

/* Section Styles */
section {
padding: 2rem 0;
}

.section-header {
text-align: center;
margin-bottom: 3rem;
}

.section-header p {
color: var(--gray-600);
max-width: 36rem;
margin: 0 auto;
}

.section-footer {
text-align: center;
margin-top: 3rem;
}

/* News Section */
.news-section {
background-color: var(--white);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 2rem 0;
}

.tabs-container {
display: flex;
justify-content: center;
margin-bottom: 2.5rem;
}

.tabs {
display: inline-flex;
background-color: var(--gray-100);
border-radius: 0.5rem;
padding: 0.25rem;
}

.tab-btn {
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-size: 0.875rem;
font-weight: 500;
background: none;
border: none;
cursor: pointer;
transition: all 0.2s;
color: var(--gray-600);
}

.tab-btn:hover {
color: var(--foreground);
}

.tab-btn.active {
background-color: var(--white);
color: var(--foreground);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.news-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
margin: 0 auto;
}

.news-card {
background-color: var(--background);
border-radius: 0.5rem;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: all 0.3s;
}

.news-card:hover {
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
position: relative;
overflow: hidden;
width: 100%;
height: 200px;
}

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

.news-category {
position: absolute;
bottom: 0;
left: 0;
background: rgba(255, 56, 56, 0.863);
color: white;
padding: 5px;
}

.news-content {
padding: 1rem;
background: #f9f9f9;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-date {
display: flex;
align-items: center;
color: var(--gray-500);
font-size: 0.875rem;
margin-bottom: 0.75rem;
}

.news-date svg {
width: 1rem;
height: 1rem;
margin-right: 0.5rem;
}

.news-title {
font-size: 1.25rem;
color: var(--foreground);
margin: 0.5rem 0;
}

.news-excerpt {
color: var(--gray-600);
margin-bottom: 1rem;
}

.news-link {
display: inline-flex;
align-items: center;
color: var(--secondary);
font-weight: 500;
transition: color 0.2s;
}

.news-link:hover {
color: #44b8b0;
}

.news-link svg {
width: 1rem;
height: 1rem;
margin-left: 0.25rem;
}

/* About Section */
.about-section {
background-color: var(--white);
padding: 4rem 1.5rem; /* Default padding for larger screens */
}

.about-grid {
background-color: var(--background);
border-radius: 16px;
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
padding: 70px;
align-items: center;
}
.vid-grid {
backdrop-filter: blur(10px);
background-color: blur;
border-radius: 16px;
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
padding: 5px;
align-items: center;
}

.about-image {
    position: relative;
    height: auto;
    overflow: hidden;/* Mobile phone width */
    margin: 0 auto; /* Center the image */
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px; /* Mobile phone height */
}

.about-content {
justify-content: center;
}

.about-content h2 {
margin-bottom: 1.5rem;
justify-content: center;
}

.about-content p {
color: var(--gray-700);
margin-bottom: 1.5rem;
line-height: 1.6;
}

.about-features {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 2rem;
}

.feature h3 {
font-size: 1.25rem;
color: var(--secondary);
margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
background-color: var(--background);
}

.testimonials-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}

.testimonial-card {
background-color: var(--white);
padding: 1.5rem;
border-radius: 0.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s;
}

.testimonial-card:hover {
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
width: 2.5rem;
height: 2.5rem;
color: var(--secondary);
opacity: 0.5;
margin-bottom: 1rem;
}

.testimonial-text {
color: var(--gray-700);
margin-bottom: 1.5rem;
font-style: italic;
}

.testimonial-author {
display: flex;
align-items: center;
}

.testimonial-avatar {
position: relative;
width: 3rem;
height: 3rem;
border-radius: 50%;
overflow: hidden;
margin-right: 1rem;
}

.testimonial-info h4 {
font-weight: 600;
color: var(--foreground);
margin-bottom: 0.25rem;
}

.testimonial-info p {
font-size: 0.875rem;
color: var(--gray-600);
margin-bottom: 0;
}

/* Features Section */
.features-section {
background-color: var(--white);
}

.features-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
margin-bottom: 3rem;
}

.feature-card {
background-color: var(--background);
padding: 1.5rem;
border-radius: 0.5rem;
text-align: center;
transition: box-shadow 0.3s;
}

.feature-card:hover {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-icon {
width: 4rem;
height: 4rem;
background-color: var(--secondary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
}

.feature-icon svg {
width: 2rem;
height: 2rem;
color: var(--white);
}

.feature-card h3 {
font-size: 1.25rem;
margin-bottom: 0.75rem;
color: var(--foreground);
}

.feature-card p {
color: var(--gray-700);
}

.cta-box {
background-color: var(--foreground);
border-radius: 0.5rem;
padding: 2rem;
text-align: center;
color: var(--white);
}

.cta-box h3 {
color: var(--white);
font-size: 1.5rem;
margin-bottom: 1rem;
}

.cta-box p {
max-width: 36rem;
margin: 0 auto 1.5rem;
}

.cta-buttons {
display: flex;
flex-direction: column;
gap: 1rem;
justify-content: center;
}

/* Exhibitions Section */
.exhibitions-section {
background-color: var(--white);
}

.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 2rem;
    padding: 1rem;
}

/* Tablet devices */
@media screen and (max-width: 992px) {
    .exhibitions-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 1.5rem;
    }
}

/* Mobile phones */
@media screen and (max-width: 768px) {
    .exhibitions-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1rem;
        padding: 0.5rem;
    }

    /* Adjust individual exhibition cards for mobile */
    .exhibition-card {
        margin-bottom: 1.5rem;
    }

    .exhibition-card img {
        height: 200px; /* Smaller image height on mobile */
        object-fit: cover;
    }

    .exhibition-content {
        padding: 1rem;
    }

    .exhibition-title {
        font-size: 1.25rem; /* Smaller title on mobile */
        margin-bottom: 0.5rem;
    }

    .exhibition-date {
        font-size: 0.875rem; /* Smaller date text on mobile */
    }
}

/* Very small devices */
@media screen and (max-width: 480px) {
    .exhibitions-grid {
        padding: 0.25rem;
    }

    .exhibition-card img {
        height: 180px; /* Even smaller image height for very small devices */
    }
}

.exhibition-card {
position: relative;
width: 100%;
max-width: 280px;
height: 420px;
margin: 0 auto;
transition: all 0.3s;
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.exhibition-card:hover {
transform: scale(1.05);
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.exhibition-image {
position: relative;
width: 100%;
height: 280px;
overflow: hidden;
}

.exhibition-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.exhibition-overlay {
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(2px);
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
opacity: 0;
transition: opacity 0.2s;
}

.exhibition-card:hover .exhibition-overlay {
opacity: 0;
}

.exhibition-action {
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
background-color: var(--white);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
}

.exhibition-action:hover {
background-color: var(--primary);
color: var(--white);
}

.exhibition-content {
padding: 1rem;
}

.exhibition-title {
font-size: 1.125rem;
font-weight: 500;
margin-bottom: 0.5rem;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}

.exhibition-date {
font-size: 1rem;
color: var(--gray-600);
}

.exhibition-button {
display: block;
width: 100%;
padding: 0.5rem;
margin-top: 1rem;
background-color: var(--secondary);
color: var(--white);
border: none;
border-radius: 0.25rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.3s;
}

.exhibition-button:hover {
background-color: #44b8b0;
animation: bounce 0.3s ease;
}

/* Info Section */
.info-section {
background-color: var(--background);
padding: 3.75rem 0;
}

.info-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}

.info-item {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}

.info-icon {
width: 3rem;
height: 3rem;
margin-bottom: 1rem;
color: var(--secondary);
transition: transform 0.3s;
}

.info-item:hover .info-icon {
transform: rotate(5deg);
}

.info-item h3 {
font-size: 1.125rem;
margin-bottom: 0.5rem;
}

.info-item p {
color: var(--gray-600);
}

/* Newsletter Section */
.newsletter-section {
background-color: var(--gray-100);
padding: 2.5rem 0;
}

.newsletter-content {
max-width: 48rem;
margin: 0 auto;
text-align: center;
}

.newsletter-content h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
}

.newsletter-content p {
color: var(--gray-600);
margin-bottom: 1.5rem;
}

.newsletter-form {
max-width: 26rem;
margin: 0 auto;
}

.form-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.form-group input {
width: 100%;
height: 3rem;
padding: 0 1rem;
border: 1px solid var(--gray-300);
border-radius: 0.25rem 0 0 0.25rem;
transition: all 0.2s;
}

.form-group input:focus {
outline: none;
border-color: var(--secondary);
box-shadow: 0 0 0 1px var(--secondary);
}

.form-group button {
height: 3rem;
border-radius: 0 0.25rem 0.25rem 0;
margin-top: 0.5rem;
}

/* Footer */
.footer {
background-color: var(--foreground);
color: var(--white);
padding-top: 3rem;
}

.footer-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2.5rem;
}

.footer-info {
margin-bottom: 1.5rem;
}

.footer-logo {
margin-bottom: 1.5rem;
}

.footer-info p {
color: var(--gray-300);
font-size: 0.875rem;
line-height: 1.5;
margin-bottom: 1.5rem;
}

.social-links {
display: flex;
gap: 1rem;
}

.social-links a {
width: 1.5rem;
height: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
transition: color 0.3s;
}

.social-links a:hover {
color: var(--secondary);
}

.footer h3 {
color: var(--white);
font-size: 1.125rem;
margin-bottom: 1.5rem;
}

.footer-links ul {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.footer-links a {
font-size: 0.875rem;
color: var(--gray-300);
transition: color 0.3s;
}

.footer-links a:hover {
color: var(--white);
}

.footer-contact ul {
display: flex;
flex-direction: column;
gap: 1rem;
}

.footer-contact li {
font-size: 0.875rem;
color: var(--gray-300);
}

.footer-contact strong {
color: var(--white);
}

.copyright {
border-top: 1px solid var(--gray-700);
margin-top: 3rem;
}

.copyright .container {
height: 2.5rem;
display: flex;
align-items: center;
justify-content: center;
}

.copyright p {
font-size: 0.875rem;
color: var(--gray-400);
margin-bottom: 0;
}

.legal-links {
display: none;
gap: 1rem;
}

.legal-links a {
font-size: 0.875rem;
color: var(--gray-400);
transition: color 0.3s;
}

.legal-links a:hover {
color: var(--white);
}

/* Animations */
@keyframes bounce {
0%, 100% {
    transform: translateY(0);
}
50% {
    transform: translateY(-5px);
}
}

.animate-up {
opacity: 0;
transform: translateY(20px);
transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-up.visible {
opacity: 1;
transform: translateY(0);
}

.animate-left {
opacity: 0;
transform: translateX(-20px);
transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-left.visible {
opacity: 1;
transform: translateX(0);
}

.animate-right {
opacity: 0;
transform: translateX(20px);
transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-right.visible {
opacity: 1;
transform: translateX(0);
}

/* Media Queries */
@media (min-width: 640px) {
.form-group {
    flex-direction: row;
}

.form-group input {
    width: 400px;
    border-radius: 0.25rem 0 0 0.25rem;
}

.form-group button {
    width: 120px;
    margin-top: 0;
}

.cta-buttons {
    flex-direction: row;
}
}

@media (min-width: 768px) {
.desktop-nav {
    display: flex;
}

.header-actions .btn {
    display: inline-flex;
}

.mobile-menu-toggle {
    display: none;
}

.news-grid,
.testimonials-grid, .exhibitions-grid {
    grid-template-columns: repeat(2, 1fr);
}

.about-grid {
    grid-template-columns: repeat(2, 1fr);
    

}
.vid-grid {
    grid-template-columns: repeat(2, 1fr);
    

}
.about-image {
    height: 100%;
}


.features-grid,
.info-grid {
    grid-template-columns: repeat(2, 1fr);
}

.copyright .container {
    justify-content: space-between;
}

.legal-links {
    display: flex;
}
}

@media (min-width: 1024px) {
.news-grid,
.exhibitions-grid {
    grid-template-columns: repeat(3, 1fr);
}

.features-grid,
.info-grid {
    grid-template-columns: repeat(4, 1fr);
}

.footer-grid {
    grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 768px) {
    .container1{
        width: 100%;
    }
    .header {
        height: 60px !important;
    }

    .mobile-menu {
        height: calc(100vh - 60px);
    }

    .slide-text {
        margin-left: 0;
        margin-top: 0;
    }

    .slide-title {
        font-size: 2rem;
    }

    .logo img {
        width: 60px;
        height: 30px;
    }
    .exhibitions-grid, .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        margin: 0 1rem;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-excerpt {
        font-size: 0.9rem;
    }

    .about-features {
        display: none; /* Hide the entire features section on mobile */
    }

    .about-content .p1 {
        display: none; /* Hide all paragraphs in the about content on mobile */
    }

    .about-section {
        padding: 2rem 1rem; /* Reduced padding for mobile */
    }

    .about-content {
        padding: 10px; /* Remove padding from about content for mobile */
    }

    .about-grid {
        padding: 10px; /* Remove padding from about grid for mobile */
    }
    .vid-grid {
        padding: 10px; /* Remove padding from about grid for mobile */
    }

    .about-image {
        max-width: 250px; /* Slightly smaller on mobile */
    }
    
    .about-image img {
        max-height: 500px; /* Slightly smaller on mobile */
    }
}

/* For very small devices */
@media screen and (max-width: 480px) {
    .logo img {
        width: 60px; /* Even smaller for very small devices */
        height: 30px;
    }
}

.messageDiv{
    background-color: hsl(327, 90%, 285);
    color: white;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    font-size: 1rem;
    opacity: 0;
    animation: fadeOut 7s forwards;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it is on top of other content */
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Individual event card */
.event-card {
    background-color: #fff; /* White background for the card */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow for depth */
    overflow: hidden; /* Prevent overflow of child elements */
    margin: 10px; /* Margin around each card */ /* Responsive width for three cards per row */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
}

/* Hover effect for the card */
.event-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Darker shadow on hover */
}

/* Image styling */
.event-image {
    position: relative;
    overflow: hidden;
    height: 200px; /* Fixed height for the image */
}

.event-card-image {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Cover the area without distortion */
}

/* Category label */
.event-category {
    position: absolute;
    top: 10px; /* Positioning from the top */
    left: 10px; /* Positioning from the left */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: #fff; /* White text */
    padding: 5px 10px; /* Padding around the text */
    border-radius: 5px; /* Rounded corners */
    font-size: 14px; /* Font size */
}

/* Content styling */
.event-content {
    padding: 15px; /* Padding inside the card */
}

.event-date {
    font-size: 12px; /* Smaller font for the date */
    color: #888; /* Gray color for the date */
    margin-bottom: 10px; /* Space below the date */
}

.event-title {
    font-size: 18px; /* Larger font for the title */
    margin: 0; /* Remove default margin */
    color: #333; /* Dark color for the title */
}

.event-excerpt {
    font-size: 14px; /* Font size for the excerpt */
    color: #555; /* Medium gray color for the excerpt */
    margin: 10px 0; /* Space above and below the excerpt */
}

/* Link styling */
.event-link {
    display: inline-block; /* Make the link a block element */
    margin-top: 10px; /* Space above the link */
    padding: 10px 15px; /* Padding inside the link */
    background-color: #007bff; /* Primary color for the button */
    color: #fff; /* White text */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth transition for hover */
}

/* Hover effect for the link */
.event-link:hover {
    background-color: #0056b3; /* Darker shade on hover */
}
/* styles.css */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

.card-inner {
    display: flex;
    flex-direction: column;
}

/* Video section */
.card-video {
    width: 100%;
}

.video-player-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-player-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
}

/* Full screen button */
.fullscreen-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, transform 0.2s;
    -webkit-tap-highlight-color: transparent; 
}

.fullscreen-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.fullscreen-btn:active {
    transform: scale(0.95);
}

.btn-full {
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, transform 0.2s;
    -webkit-tap-highlight-color: transparent; 
}
.btn-full:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.btn-full:active {
    transform: scale(0.95);
}


/* Text content section */
.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-top: 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

.justify {
    text-align: justify;
}

/* Responsive layout for desktop/laptop */
@media (min-width: 768px) {
    
    .card-inner {
        flex-direction: row;
    }
    
    .card-video {
        width: 70%;
    }
    
    .card-content {
        width: 30%;
        display: flex;
        align-items: center;
    }
    .fullscreen-btn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    .btn-full{
        width: 40px;
        height: 40px;
    }
}
video::-webkit-media-controls {
    display: none !important;
}

/* Make sure fullscreen mode works properly across browsers */
video:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
}

video:-moz-full-screen {
    width: 100% !important;
    height: 100% !important;
}

video:fullscreen {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Show full video without cropping in fullscreen */
}
.image-fullscreen-btn {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
    font-size: 14px;
}

.image-fullscreen-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.image-fullscreen-btn:active {
    transform: scale(0.95);
}
.image-btn-full{
    
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
    font-size: 14px;
}

.image-btn-full:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.image-btn-full:active {
    transform: scale(0.95);
}

/* Fullscreen container styles */
.fullscreen-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px;
    box-sizing: border-box;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.3s;
}

.fullscreen-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 10000;
}

/* Pinch zoom controls */
.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.zoom-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .image-fullscreen-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .image-btn-full {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .fullscreen-close-btn {
        top: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
.card-container {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    width: 100%;
    height: auto;
    position: relative;
}


.video-player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-player-container video {
    width: 100%;
    height: 0;
    border: none;
    object-fit: cover;
}

.controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    padding: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
}

.controls button {
    background-color: transparent;
    color: inherit;
    border: none;
    cursor: pointer;
}

.controls button:hover {
    opacity: 0.8;
}

.video-player-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0 40px 40px rgba(0,0,0,0.1);
}

#video-preview {
    display: block;
    width: 100%;
    height: auto;
}

/* Remove all video controls and styling */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
}

/* Video Section Styles */
.video-section {
  position: relative;
  background: linear-gradient(135deg, #1A535C, #164249);
  overflow: hidden;
}

.video-section::before,
.video-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.video-section::before {
  top: 0;
}

.video-section::after {
  bottom: 0;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.video-header {
  text-align: center;
  margin-bottom: 4rem;
}

.video-divider {
  width: 12px;
  height: 2px;
  background-color: #4ECDC4;
  margin: 0 auto 1.5rem;
}

.video-title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.video-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-player-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: rgba(0, 0, 0, 0.1);
}

.video-player-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-caption {
  text-align: center;
  color: rgba(78, 205, 196, 0.8);
  font-size: 0.875rem;
  margin-top: 2rem;
  font-weight: 500;
}

/* Fullscreen button styles */
.fullscreen-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.fullscreen-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.fullscreen-btn i {
  font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .video-title {
    font-size: 2rem;
  }

  .video-subtitle {
    font-size: 1rem;
  }

  .video-wrapper {
    max-width: 100%;
  }
}

/* Fullscreen styles */
.video-player-container:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  padding-bottom: 0 !important;
}

.video-player-container:-moz-full-screen {
  width: 100% !important;
  height: 100% !important;
  padding-bottom: 0 !important;
}

.video-player-container:fullscreen {
  width: 100% !important;
  height: 100% !important;
  padding-bottom: 0 !important;
}

/* Hide video controls */
video::-webkit-media-controls {
  display: none !important;
}

/* Modern Video Section Styles */
.testimonials-section1 {
    background: linear-gradient(135deg, #1A535C, #164249);
    position: relative;
    overflow: hidden;
}

.testimonials-section1::before,
.testimonials-section1::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.testimonials-section1::before {
    top: 0;
}

.testimonials-section1::after {
    bottom: 0;
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
}

.video-section {
    text-align: center;
}

.video-section .divider {
    width: 12px;
    height: 2px;
    background-color: #4ECDC4;
    margin: 0 auto 1.5rem;
}

.video-section h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 58.333333%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-caption {
    color: rgba(78, 205, 196, 0.8);
    font-size: 0.875rem;
    margin-top: 2rem;
}

.fullscreen-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
    }
    
    .video-section h2 {
        font-size: 2rem;
    }
    
    .video-section p {
        font-size: 1rem;
    }
}