
/* Fonts */
:root {
--default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--heading-font: "Montserrat",  sans-serif;
--nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
--background-color: #ebe6d9; /* Background color for the entire website, including individual sections */
--default-color: #333333; /* Default color used for the majority of the text content across the entire website */
--heading-color: #456454; /* Color for headings, subheadings and title throughout the website */
--accent-color: #f75c03; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
--surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
--contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
--nav-color: #ffffff;  /* The default color of the main navmenu links */
--nav-hover-color: #456454; /* Applied to main navmenu links when they are hovered over or active */
--nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
--nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
--nav-dropdown-color: #01433c; /* Used for navigation links of the dropdown items in the navigation menu. */
--nav-dropdown-hover-color: #456454; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
--background-color: #f2f9f9;
--surface-color: #ffffff;
}

.dark-background {
--background-color: #060606;
--default-color: #ffffff;
--heading-color: #ffffff;
--surface-color: #252525;
--contrast-color: #ffffff;
}

.accent-background {
--background-color: #456454;
--default-color: #ffffff;
--heading-color: #f9c74f;
--accent-color: #ffffff;
--surface-color: #00b6a1;
--contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
html {
scroll-behavior: smooth;
}

body {
color: var(--default-color);
background-color: var(--background-color);
background: linear-gradient(135deg,#ebe6d9,#f4f4e9,#456454,#d4af37,#f75c03); 
background-size: 300% 300%;
font-family: var(--default-font);
}

a {
color: var(--accent-color);
text-decoration: none;
transition: 0.3s;
}

a:hover {
color: color-mix(in srgb, var(--accent-color), transparent 25%);
text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--heading-color);
font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
display: none;
background: #df1529;
color: #ffffff;
text-align: left;
padding: 15px;
margin-bottom: 24px;
font-weight: 600;
}

.php-email-form .sent-message {
display: none;
color: #ffffff;
background: #059652;
text-align: center;
padding: 15px;
margin-bottom: 24px;
font-weight: 600;
}

.php-email-form .loading {
display: none;
background: var(--surface-color);
text-align: center;
padding: 15px;
margin-bottom: 24px;
}

.php-email-form .loading:before {
content: "";
display: inline-block;
border-radius: 50%;
width: 24px;
height: 24px;
margin: 0 10px -6px 0;
border: 3px solid var(--accent-color);
border-top-color: var(--surface-color);
animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}

/*------------------Main Background-------------------------------*/

/*------------------Main Background-------------------------------*/
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
--background-color: #456454;
--heading-color: #ffffff;
color: var(--default-color);
transition: all 0.5s;
z-index: 997;
background-color: var(--background-color);
}

.header .topbar {
background-color:#f9c74f;
height: 40px;
padding: 0;
font-size: 14px;
transition: all 0.5s;
}

.header .topbar .contact-info i {
font-style: normal;
color: #fff !important;
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
padding-left: 5px;
color: #000000 !important;
font-family:Playfair Display,Lora;
font-weight:550;
font-size:16px;
}

@media (max-width: 575px) {

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
font-size: 13px;
}
}

.header .topbar .contact-info i a {
line-height: 0;
transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
color: var(--contrast-color);
text-decoration: underline;
}

.header .topbar .social-links a {
color: color-mix(in srgb, var(--contrast-color), transparent 10%);
line-height: 0;
transition: 0.3s;
margin-left: 20px;
}

.header .topbar .social-links a:hover {
color: var(--contrast-color);
}

.header .branding {
max-height: 100%; 
background-color: #254D37;
padding-top:5px;
}

.header .logo {
line-height: 1;
}

.header .logo img {
max-height: 50px;
 /* filter: contrast(50%) brightness(200%);  */
transition: all 0.3s ease; /* Smooth transition for hover effects */
transform: scale(1.1); /* Slight zoom */
/* background: #ebe6d9; */
background: #fefefe;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6); /* Dark shadow around the image */
border-radius: 5px; /* Optional rounding */
}

.scrolled .header {
box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Media Queries */

/* For small screens (e.g., mobile devices, width below 600px) */
@media only screen and (max-width: 600px) {
    .header .branding {
        padding-right: 20px; /* Reduce padding to fit smaller screens */
    }
    
    .header .logo img {
        max-height: 45px; /* Smaller logo */
        transform: scale(1.1); /* Slightly less zoom */
    }
}

/* For medium screens (e.g., tablets, width 600px to 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .header .branding {
        padding-right: 100px; /* Adjust padding for tablets */
    }

    .header .logo img {
        max-height: 55px; /* Medium-sized logo */
        transform: scale(1.2);
    }
}

/* For large screens (e.g., desktops, width above 1024px) */
@media only screen and (min-width: 1025px) {
    .header .branding {
        padding-right: 160px; /* Full padding for larger screens */
    }

    .header .logo img {
        max-height: 65px; /* Default logo size */
        transform: scale(1.3);
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */

@media (min-width: 1200px) {
.navmenu {
max-height :100%;
}

.navmenu ul {
list-style: none;
display: flex;
justify-content: space-around;
padding:0px 60px;
/* Main Green */
}

.navmenu li {
position: relative;
}

.navmenu>ul>li {
white-space: nowrap;
padding: 18px 7px;
position: relative;
margin: 0 15px;
}

.navmenu>ul>li:last-child {
padding-right: 0;
}

.navmenu a,
.navmenu a:focus {
color: var(--nav-color);
font-size: 17px;
font-family: var(--nav-font);
font-weight: 600;
display: flex;
align-items: center;
justify-content: space-between;
white-space: nowrap;
transition: 0.3s;
position: relative;
}

.navmenu a i,
.navmenu a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
transition: 0.3s;
}

.navmenu>ul>li>a:before {
content: "";
position: absolute;
height: 2px;
bottom: -6px;
left: 0;
background-color: var(--nav-hover-color);
visibility: hidden;
width: 0px;
transition: all 0.3s ease-in-out 0s;
}

.navmenu a:hover:before,
.navmenu li:hover>a:before,
.navmenu .active:before {
visibility: visible;
width: 100%;
}

.navmenu li:hover>a,
.navmenu .active,
.navmenu .active:focus {
/* color: var(--nav-color); */
color: #f9c74f;
/* Golden Yellow on hover */
/* Box shadow effect */
border-radius: 8px;	

}

.navmenu ul li img {
width: 24px;
/* Chess icon size */
margin-bottom: 45px;
transition: transform 0.3s ease-in-out;
/* Animation effect */
}
.navmenu ul li a:hover img {
transform: scale(1.5);
/* Grow icon when hovered */
}

.navmenu .dropdown ul {
margin: 0;
padding: 10px 0;
background: var(--nav-dropdown-background-color);
display: block;
position: absolute;
visibility: hidden;
left: 14px;
top: 130%;
opacity: 0;
transition: 0.3s;
z-index: 99;
/* background-color: #063719; */
/* Main Green background for dropdown */
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navmenu .dropdown ul li {
min-width: 200px;
}

.navmenu .dropdown ul a {
padding: 10px 20px;
font-size: 15px;
text-transform: none;
color: var(--nav-dropdown-color);
}

.navmenu .dropdown ul a i {
font-size: 12px;

}

.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover>a {
background-color: #f9c74f;
/* Golden Yellow hover */
color: #333333;
/* Dark Gray */
}

.navmenu .dropdown:hover>ul {
opacity: 1;
top: 100%;
visibility: visible;
}

.navmenu .dropdown .dropdown ul {
top: 0;
left: -90%;
visibility: hidden;
}

.navmenu .dropdown .dropdown:hover>ul {
opacity: 1;
top: 0;
left: -100%;
visibility: visible;
}
}


/* Mobile Navigation */
@media (max-width: 1199px) {
.mobile-nav-toggle {
color: var(--nav-color);
font-size: 28px;
margin-right: 10px;
cursor: pointer;
transition: color 0.3s;
}

.navmenu {
z-index: 9997;
}

.navmenu ul {
display: none;
list-style: none;
position: absolute;
inset: 60px 20px 20px 20px;
padding: 10px 0;
margin: 0;
border-radius: 6px;
background-color: var(--nav-mobile-background-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
box-shadow: none;
overflow-y: auto;
transition: 0.3s;
z-index: 9998;
}

.navmenu a,
.navmenu a:focus {
color: var(--nav-dropdown-color);
padding: 10px 20px;
font-family: var(--nav-font);
font-size: 17px;
font-weight: 500;
display: flex;
align-items: center;
justify-content: space-between;
white-space: nowrap;
transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: 0.3s;
background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a i:hover,
.navmenu a:focus i:hover {
background-color: var(--accent-color);
color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
color: var(--nav-dropdown-hover-color);
}

.navmenu .active i,
.navmenu .active:focus i {
background-color: var(--accent-color);
color: var(--contrast-color);
transform: rotate(180deg);
}

.navmenu .dropdown ul {
position: static;
display: none;
z-index: 99;
padding: 10px 0;
margin: 10px 20px;
background-color: var(--nav-dropdown-background-color);
transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown>.dropdown-active {
display: block;
background-color: rgba(33, 37, 41, 0.03);
}

.mobile-nav-active {
overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
color: #fff;
position: absolute;
font-size: 32px;
top: 15px;
right: 15px;
margin-right: 0;
z-index: 9999;
}

.mobile-nav-active .navmenu {
position: fixed;
overflow: hidden;
inset: 0;
background: rgba(33, 37, 41, 0.8);
transition: 0.3s;
}

.mobile-nav-active .navmenu>ul {
display: block;
}
.mobile-nav-active .navmenu ul li {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
color: var(--default-color);
background-color: #063719 !important;
font-size: 14px;
position: relative;
}

.footer .footer-top {
padding-top: 50px;
}

.footer .footer-about .logo img {
max-height: 40px;
margin-right: 6px;
}

.footer .footer-about .logo {
line-height: 1;
margin-bottom: 25px;
}

.footer .footer-about .logo img {
max-height: 40px;
margin-right: 6px;
}

.footer .footer-about .logo span {
color: var(--heading-color);
font-size: 16px;
font-weight: 600;
letter-spacing: 1px;
font-family: var(--heading-font);
line-height:2;
}

.footer .footer-about p {
font-size: 14px;
font-family: var(--heading-font);
}

.footer .social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
font-size: 16px;
color: #fff;
margin-right: 10px;
transition: 0.3s;
}

.footer .social-links a:hover {
color: color-mix(in srgb, var(--default-color), transparent 30%);
border-color: var(--default-color);
}

.footer h4 {
font-size: 16px;
font-weight: bold;
position: relative;
padding-bottom: 12px;
}

.footer .footer-links {
margin-bottom: 30px;
}

.footer .footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer .footer-links ul i {
padding-right: 2px;
font-size: 12px;
line-height: 0;
}

.footer .footer-links ul li {
padding: 10px 0;
display: flex;
align-items: center;
}

.footer .footer-links ul li:first-child {
padding-top: 0;
}

.footer .footer-links ul a {
color: #fff;
display: inline-block;
line-height: 1;
}

.footer .footer-links ul a:hover {
color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .footer-contact p {
margin-bottom: 5px;
}

.footer .copyright {
padding-top: 30px;
padding-bottom: 30px;
border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
margin-bottom: 0;
}

.footer .credits {
margin-top: 4px;
font-size: 13px;
}

.footer-about img {
    max-width: 50%; /* Ensures the image doesn't overflow */
    max-height: 200px; /* Adjust as needed */
    display: block;
	transition: all 0.3s ease; /* Smooth transition for hover effects */
	background: #fefefe;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6); /* Dark shadow around the image */
	border-radius: 5px; /* Optional rounding */
}

@media (max-width: 768px) { /* For mobile screens */
    .footer-about img {
        max-height: 60px; /* Reduce size for smaller screens */
    }
	.footer .footer-about .logo span {
		font-size: 12px;
}
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
position: fixed;
inset: 0;
z-index: 999999;
overflow: hidden;
background: var(--background-color);
transition: all 0.6s ease-out;
}

#preloader:before {
content: "";
position: fixed;
top: calc(50% - 30px);
left: calc(50% - 30px);
border: 6px solid #ffffff;
border-color: var(--accent-color) transparent var(--accent-color) transparent;
border-radius: 50%;
width: 60px;
height: 60px;
animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
position: fixed;
visibility: hidden;
opacity: 0;
right: 15px;
bottom: -15px;
z-index: 99999;
background-color: var(--accent-color);
width: 44px;
height: 44px;
border-radius: 50px;
transition: all 0.4s;
}

.scroll-top i {
font-size: 24px;
color: var(--contrast-color);
line-height: 0;
}

.scroll-top:hover {
background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
color: var(--contrast-color);
}

.scroll-top.active {
visibility: visible;
opacity: 1;
bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
[data-aos-delay] {
transition-delay: 0 !important;
}
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/

.page-title {
  background: linear-gradient(
    135deg,
    rgba(69, 100, 84, 0.8), /* Semi-transparent #456454 */
    rgba(255, 255, 255, 0.3) /* Semi-transparent white */
  );
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  backdrop-filter: blur(10px); /* Glossy effect */
  color: #fff;
}

/* Adjust heading padding */
.page-title .heading {
  padding: 30px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading .container {
  position: relative;
  min-height: 300px; /* Ensures a base height */
}

.banner-container {
  width: 100%;
  height:500px; /* Adjust based on requirement */
  background: url('../img/banner/banner-bg1.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.banner-container img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the entire image fits within the container */
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .banner-container {
    min-height: 250px; /* Reduce height for smaller screens */
  }
}

@media (max-width: 480px) {
  .banner-container {
    min-height: 200px; /* Further reduce for mobile */
  }
}
 
/* Breadcrumbs styling */
.page-title nav {
background-color: #456454;
padding: 20px 0;
}

.page-title nav ol {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
font-size: 16px;
font-weight: 600;
}

.page-title nav ol a {
color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title nav ol a:hover {
color: var(--default-color);
}

.page-title nav ol li+li {
padding-left: 10px;
}

.page-title nav ol li+li::before {
content: "/";
display: inline-block;
padding-right: 10px;
color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/* Media Queries for Responsive Design */

@media (max-width: 768px) {
.page-title .heading {
padding: 80px 0 0 0; /* Adjust padding for smaller screens */
}

 .rotating-image {
    width: 250px; /* Smaller width for tablets */
    min-height: 250px;
	 margin-top: 40px; /* Move the image down */
  }

.page-title nav ol {
font-size: 14px; /* Reduce font size in breadcrumbs */
}
}

@media (max-width: 576px) {
.page-title .heading {
    padding: 50px 0 0 0; /* Adjusted padding for mobile */
  }

  .rotating-image {
    width: 200px; /* Smaller width for mobile */
    min-height: 200px;
	 margin-top: 40px; /* Move the image down */
  }
.page-title nav ol {
font-size: 12px; /* Reduce font size in breadcrumbs */
}
}


/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
/* color: var(--default-color); */
background-color: var(--background-color);
padding: 20px 0;
scroll-margin-top: 112px;
overflow: clip;
}

@media (max-width: 1199px) {

section,
.section {
scroll-margin-top: 100px;
}
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
text-align: center;
padding-bottom: 60px;
position: relative;
}

.section-title h2 {
font-size: 32px;
font-weight: 700;
margin-bottom: 20px;
padding-bottom: 20px;
position: relative;
}

.section-title h2:after {
content: "";
position: absolute;
display: block;
width: 50px;
height: 3px;
background: var(--accent-color);
left: 0;
right: 0;
bottom: 0;
margin: auto;
}

.section-title p {
margin-bottom: 0;
}
.section h5 span{
font-size: 22px;
font-weight: bold;
color: rgb(247, 92, 3); /* Coral/Orange */
background: linear-gradient(90deg, rgba(247, 92, 3, 1) 0%, rgba(249, 199, 79, 1) 50%, rgba(247, 92, 3, 1) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: shimmer 2s infinite;
}

.section p span{
font-size: 18px;
color: rgb(69, 100, 84); /* Main Green */
font-weight:bold;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
width: 100%;
position: relative;
padding: 170px 0 0 0;
background-color:#063719;
}

.hero .container {
position: relative;
z-index: 3;
}

.hero h2 {
font-size: 36px;
font-weight: bold;
color: rgb(249, 199, 79); /* Golden Yellow */
text-shadow:0 0 1px rgba(249, 199, 79, 0.2),
			0 0 2px rgba(249, 199, 79, 0.3),
			0 0 4px rgba(249, 199, 79, 0.2),
			0 0 5px rgba(255, 255, 255, 0.3); /* Outer Glow Effect */
}

.hero h1 .accent {
font-size: 36px;
font-weight: bold;
color: rgb(247, 92, 3); /* Coral/Orange */
background: linear-gradient(90deg, rgba(247, 92, 3, 1) 0%, rgba(249, 199, 79, 1) 50%, rgba(247, 92, 3, 1) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: shimmer 2s infinite;
}
@keyframes shimmer {
0% { background-position: -200px; }
100% { background-position: 200px; }
}

.hero h2 .accent {
  font-size: 40px; /* Slightly larger for prominence */
  font-weight: bold;
  color: #BAD4BF; /* Use white for better contrast against the background */
  text-shadow: 
    0 0 5px rgba(255, 255, 255, 0.1),  /* Soft white glow */
    0 0 5px rgba(255, 255, 255, 0.2), /* Stronger outer glow */
    0 0 5px rgba(255, 255, 255, 0.2); /* More diffuse, elegant effect */
  letter-spacing: 1px; /* Adds space between letters for clarity */
  text-transform: uppercase; /* Makes the text more bold and formal */
}

.hero p {
/* color: color-mix(in srgb, var(--default-color), transparent 40%); */
color: #f9844a;
font-weight: 400;
font-size: 20px;
margin-bottom: 30px;
}
.hero .d-flex{
position: relative;
display: flex;
gap: 20px; 
}
.hero .d-flex .btn-get-started {
background-color: #f9c74f;/* color-mix(in srgb, var(--default-color), transparent 20%) */;
display: inline-block;
padding: 8px 40px 10px 40px;
border-radius: 50px;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
transition: none;
font-size: 16px;
font-weight: 550;
transition: 0.3s;
color: #000000 !important;
font-family:Playfair Display,Lora;
}

.hero .d-flex .btn-get-started:hover {
border-color: color-mix(in srgb, var(--default-color), transparent 60%);
background-color: #063719;
color: #fff !important;
}

@media (max-width: 640px) {
.hero h2 {
font-size: 36px;
}

.hero .btn-get-started,
.hero .btn-watch-video {
font-size: 14px;
}
}

/* Video Styling for */
  .video-container {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
  }

  .chess-video {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures video fits within the section */
    border-radius: 10px;
  }

  @media (max-width: 768px) {
    .video-container {
      width: 100%;
    }
  }

/* General styling for the icon-boxes */

.icon-boxes {
padding-bottom: 60px;
z-index: 4;
}

/* Flip effect with responsiveness */
.icon-box {
perspective: 1000px; /* Ensures the 3D effect has depth */
width: 100%;
height: auto; /* Height is now flexible */
position: relative;
text-align: center; /* Center the text inside the box */
}

.icon {
position: relative;
width: 100%;
height: 300px; /* Set a default height for the images */
transition: transform 0.6s;
transform-style: preserve-3d;
display: flex;
justify-content: center;
align-items: center;
transition: all 0.3s ease-in-out;
background-color: transparent; /* No background color */
z-index: 1;
}

.icon-box:hover .icon {
transform: rotateY(180deg); /* Flip effect on hover */
}

.front, .back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
display: flex;
justify-content: center;
align-items: center;
}

.front {
z-index: 2;
}

.back {
transform: rotateY(180deg);
}

/* Ensure the image is centered and responsive */
.icon img {
max-width: 100%;  /* Image doesn't exceed container width */
max-height: 100%; /* Image doesn't exceed container height */
object-fit: contain;  /* Ensures the image maintains its aspect ratio */
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6); /* Dark shadow around the image */
border-radius: 10px; /* Optional rounding */
}

/* Image Title Styling */
.image-title {
margin-top: 20px; /* Adds space between the image and the title */
font-size: 18px;
font-weight: 600;
color: var(--text-color); /* Use your theme's text color */
transition: color 0.3s ease-in-out; /* Smooth transition on hover */
}

/* Change title color on hover */
.icon-box:hover .image-title {
color: var(--contrast-color); /* Change to a different color when hovered */
}

/* Media Queries for responsiveness */
@media (min-width: 1200px) {
.icon-box .icon {
height: 350px; /* Adjust height for larger screens */
margin-bottom: 20px;
}
.icon {
    height: 200px; /* Reduce height for mobile to prevent overflow */
  }
  .icon-box:active .icon {
    transform: rotateY(180deg); /* Activate flip on tap/click */
  }
}

@media (max-width: 768px) {
.icon-box .icon {
height: 250px; /* Adjust height for tablet */
margin-bottom: 20px;
}
.icon {
    height: 200px; /* Reduce height for mobile to prevent overflow */
  }
  .icon-box:active .icon {
    transform: rotateY(180deg); /* Activate flip on tap/click */
  }
}

@media (max-width: 576px) {
.icon-box .icon {
height: 200px; /* Adjust height for mobile devices */
margin-bottom: 20px;
}
.icon {
    height: 200px; /* Reduce height for mobile to prevent overflow */
  }
  .icon-box:active .icon {
    transform: rotateY(180deg); /* Activate flip on tap/click */
  }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
font-weight: 700;
font-size: 24px;
margin-bottom: 20px;
}

.about .fst-italic {
color: #063719;
font-size: 18px;
line-height: 1.6;
}

.about .content ul {
list-style: none;
padding: 0;
}

.about .content ul li {
padding: 0 0 10px 30px;
position: relative;
}

.about .content ul i {
position: absolute;
font-size: 20px;
left: 0;
top: -3px;
color: var(--accent-color);
}

.about .content p:last-child {
margin-bottom: 0;
}

.about .pulsating-play-btn {
position: absolute;
left: calc(50% - 47px);
top: calc(50% - 47px);
}

/* About us Section */
.description {
color: #555555;  /* Medium Gray for paragraphs */
font-size: 18px;
line-height: 1.6;
}
/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* Video Styling */
.about .position-relative {
border-radius: 10px;  /* Rounded corners */
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0);  /* Subtle shadow */
min-width: 300px;
min-height: 250px;
/* transform:scale(0.8); */
}

/* Responsive Styling */
@media (max-width: 1024px) {

.about .description {
font-size: 18px;  /* Adjust paragraph font size */
}
.about .position-relative {
width: 100%;   /* Let the video take full width of the container */
height: auto;  /* Maintain aspect ratio */
}
}


@media (max-width: 768px) {

.about .description {
font-size: 16px;  /* Adjust paragraph font size */
}

.about .position-relative {
width: 100%;   /* Full width of the container */
height: auto;  /* Adjust height accordingly */
}

}

@media (max-width: 480px) {

.about .description {
font-size: 14px;
}

.about .position-relative {
width: 100%;   /* Full width of the container */
height: auto;  /* Adjust height accordingly */
}

}
/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  background-color: transparent;
}

.call-to-action .container {
  padding-top: 80px;
  padding-bottom: 80px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  clip-path: inset(0 round 15px);
}

.call-to-action .container img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 15px;
  overflow: hidden;
}

.call-to-action .container:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container .content {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.call-to-action p {
  color: #ebe6d9;
  margin-bottom: 20px;
  line-height: 50px;
  font-size: 26px; /* Slightly larger for better readability */
  font-style: italic;
  font-weight: 500; /* Bolder for better contrast */
  color: #ffffff; /* White text for better visibility */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* Adds better contrast */
  padding: 10px 20px; /* Adds spacing around text */
  border-radius: 8px;
  display: relative; /* Prevents full-width background */
}

.call-to-action .play-btn {
  width: 94px;
  height: 94px;
  margin-bottom: 20px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 60%) 52%);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.call-to-action .play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 20%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.call-to-action .play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--default-color);
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.call-to-action .play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--default-color);
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.call-to-action .play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

.call-to-action .cta-btn {
  display: inline-block;
    background-color: #f39c12;
    color: white;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.call-to-action .cta-btn:hover {
  background: #063719;
 transform: scale(1.05);
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services .container {
  width: 100%; /* Ensure content spans full width */
  max-width: 100%; /* Override any container restrictions */
}

.services .service-item {
background-color: var(--surface-color);
padding: 20px;
box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
height: 100%;
width: 100%;
border-radius:8px;
}

.services .service-item .icon {
width: 90px;
height: 90px;
position: relative;
margin-bottom: 50px;
}

.services .service-item .icon i {
color: color-mix(in srgb, var(--heading-color), transparent 30%);
font-size: 56px;
transition: ease-in-out 0.3s;
z-index: 2;
position: relative;
}

/* .services .service-item .icon:before {
position: absolute;
content: "";
height: 100%;
width: 100%;
background: color-mix(in srgb, var(--heading-color), transparent 95%);
border-radius: 50px;
z-index: 1;
top: 10px;
right: -20px;
transition: 0.3s;
} */

.services .service-item h3 {
color: #063719;
font-weight: 600;
margin: 0 0 20px 0;
padding-bottom: 8px;
font-size: 20px;
position: relative;
display: inline-block;
border-bottom: 4px solid color-mix(in srgb, var(--heading-color), transparent 90%);
transition: 0.3s;
}

.services .service-item p {
font-family:Playfair Display,Lora;
font-weight:600;
font-size:16px;
color:#063719;
}

.services .service-item .readmore {
margin-top: 15px;
display: inline-block;
color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.services .service-item:hover .icon i {
color: var(--heading-color);
}

.services .service-item:hover .icon:before {
background: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.services .service-item:hover h3 {
border-color: color-mix(in srgb, var(--accent-color), transparent 10%);
color: var(--heading-color);
}

.services .service-item:hover .readmore {
color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .container {
  width: 100%; /* Ensure content spans full width */
  max-width: 100%; /* Override any container restrictions */
}

/* Default styles (desktop) */
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  padding: 30px;
  margin: 30px 15px;
  position: relative;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure content stays aligned */
  border-radius:8px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height:150px
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .testimonial-item p {
font-family:Playfair Display,Lora;
font-weight:600;
font-size:16px;
color:#063719;
}

.testimonials .testimonial-item .readmore {
  margin-top: 15px;
  align-self: flex-start;
  color: var(--accent-color);
  font-weight: bold;
  text-decoration: none;
}

.testimonials .swiper-wrapper {
  max-height: 600px;
  display: flex;
}
.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/* Responsive Styles */

/* Tablets (max-width: 768px) */
@media screen and (max-width: 768px) {
  .testimonials .testimonial-item {
    height: auto; /* Allow height to adjust dynamically */
    padding: 20px;
  }

  .testimonials .testimonial-item .testimonial-img {
    width: 70px;
    margin-bottom: 15px;
  }

  .testimonials .testimonial-item h3 {
    font-size: 16px;
  }

  .testimonials .testimonial-item h4 {
    font-size: 12px;
  }

  .testimonials .testimonial-item p {
    font-size: 14px;
  }
}

/* Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
  .testimonials .testimonial-item {
    padding: 15px;
    margin: 20px 10px;
  }

  .testimonials .testimonial-item .testimonial-img {
    width: 60px;
  }

  .testimonials .testimonial-item h3 {
    font-size: 14px;
  }

  .testimonials .testimonial-item h4 {
    font-size: 11px;
  }

  .testimonials .testimonial-item p {
    font-size: 12px;
  }

  .testimonials .testimonial-item .readmore {
    font-size: 12px;
    margin-top: 10px;
  }
}


@media (max-width: 767px) {
.testimonials .testimonial-wrap {
padding-left: 0;
}

.testimonials .testimonial-item {
padding: 30px;
margin: 15px;
}

.testimonials .testimonial-item .testimonial-img {
position: static;
left: auto;
}
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.review-summary {
    margin-bottom: 40px;
}

.summary-rating {
    text-align: center;
    margin-bottom: 20px;
}

.rating-number {
    font-size: 48px;
    font-weight: bold;
    color: #4CAF50;
}

.stars {
    color: #FFD700;
    font-size: 24px;
}

.rating-bar-container {
    margin: 20px 0;
}

.rating-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bar {
    width: 60%;
    background-color: #ddd;
    height: 10px;
    border-radius: 5px;
    margin: 0 10px;
    position: relative;
}

.bar .filled {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 5px;
}

.reviews {
    margin-top: 20px;
}

.review-card {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bar {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .rating-number {
        font-size: 36px;
    }

    .stars {
        font-size: 20px;
    }
}


/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
padding: 0 0 20px 0;
margin: 0 auto;
list-style: none;
text-align: center;
}

.portfolio .portfolio-filters li {
cursor: pointer;
display: inline-block;
padding: 0;
font-size: 20px;
font-weight: 600;
margin: 0 10px;
line-height: 1;
transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
margin-right: 0;
}

@media (max-width: 1200px) {
.portfolio .portfolio-filters li {
font-size: 16px;
margin: 0 15px;
}
}
@media (max-width: 768px) {
.portfolio .portfolio-filters li {
font-size: 14px;
margin: 0 10px;
}
}

@media (max-width: 575px) {
.portfolio .portfolio-filters li {
font-size: 12px;
margin: 0 5px;
}
}

.portfolio .portfolio-content {
background-color: var(--surface-color);
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
height: 100%;
overflow: hidden;
}

.portfolio .portfolio-content img {
transition: 0.3s;
position: relative;
z-index: 1;
width:100%;
transition: all 0.3s ease; /* Smooth transition for hover effects */
transform: scale(0.9); /* Slight zoom */
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.9); /* Dark shadow around the image */
border-radius: 10px; /* Optional rounding */
}

.portfolio .portfolio-content .portfolio-info {
background-color: var(--background-color);
border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
padding: 25px 20px;
position: relative;
z-index: 2;
}

.portfolio .portfolio-content .portfolio-info h4 {
font-size: 18px;
font-weight: 600;
padding-right: 50px;
}

.portfolio .portfolio-content .portfolio-info h4 a {
color: var(--heading-color);
transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info h4 a:hover {
color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
color: color-mix(in srgb, var(--default-color), transparent 30%);
font-size: 16px;
font-weight:300;
margin-bottom: 0;
padding-right: 50px;
}

.portfolio .portfolio-content:hover img {
transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
background-color: var(--surface-color);
box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
text-align: center;
border-radius: 15px;
padding: 15px;
overflow: hidden;
}

.team .member img {
border-radius: 15px;
overflow: hidden;
}

.team .member .member-content {
padding: 0 20px 30px 20px;
}

.team .member h4 {
font-weight: 700;
margin-top: 16px;
margin-bottom: 2px;
font-size: 20px;
}

.team .member span {
font-style: italic;
display: block;
font-size: 16px;
color: #063719;
}

.team .member .social {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: space-around;
}

.team .member .social a {
color: color-mix(in srgb, var(--default-color), transparent 60%);
transition: 0.3s;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
}

.team .member .social a:hover {
color: var(--accent-color);
border-color: var(--accent-color);
}

.team .member .social i {
font-size: 18px;
margin: 0 2px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing {
padding: 60px 0 120px 0;
}

.pricing .section-title {
margin-bottom: 40px;
}

.pricing .pricing-item {
background-color: var(--surface-color);
box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
padding: 40px 40px;
height: 100%;
position: relative;
border-radius: 15px;
}

.pricing .pricing-item img {
border-radius: 15px;
overflow: hidden;
}

.pricing .pricing-item .pulsating-play-btn{
position: absolute;
left: calc(50% - 47px);
top: calc(50% - 47px);
}

.pricing .image-container .pulsating-play-btn{
position: absolute;
left: calc(50% - 47px);
top: calc(50% - 47px);
}

.pricing h3 {
font-weight: 600;
margin-bottom: 15px;
font-size: 20px;
text-align: center;
}

.pricing h4 {
font-size: 18px;
color: var(--accent-color);
font-weight: 500;
font-family: var(--heading-font);
margin-bottom: 25px;
text-align: center;
}

.pricing h4 sup {
font-size: 28px;
}

.pricing h4 span {
color: color-mix(in srgb, var(--default-color), transparent 50%);
font-size: 18px;
font-weight: 400;
}

.pricing ul {
padding: 20px 0;
list-style: none;
color: #254D37;
text-align: left;
line-height: 10px;
font-size: 18px;
 font-weight: 300;
 font-family: Playfair Display, Lora;
}

.pricing ul li {
padding: 10px 0;
display: flex;
align-items: center;
}

.pricing ul i {
color: #059652;
font-size: 24px;
padding-right: 3px;
}

.pricing ul .na {
color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.pricing ul .na i {
color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.pricing ul .na span {
text-decoration: line-through;
}

.pricing .buy-btn {
background-color: #f9c74f;
display: inline-block;
padding: 8px 40px 10px 40px;
border-radius: 50px;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
transition: none;
font-size: 16px;
font-weight: 600;
color: #000000 !important;
font-family:Playfair Display,Lora;
transition: 0.3s;
}

.pricing .buy-btn:hover {
background-color:#063719;
color: #fff !important;
}

.pricing .featured {
z-index: 10;
border: 3px solid var(--accent-color);
}

.pricing a:hover {
    color: #ffd700; /* Gold color on hover */
    text-decoration: underline; /* Optional underline on hover */
}

@media (min-width: 992px) {
.pricing .featured {
transform: scale(1.15);
}
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
font-weight: 400;
font-size: 34px;
}

.faq .content p {
font-size: 15px;
color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
background-color: var(--surface-color);
position: relative;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
font-weight: 600;
font-size: 18px;
line-height: 24px;
margin: 0 30px 0 0;
transition: 0.3s;
cursor: pointer;
display: flex;
align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
color: var(--accent-color);
padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
display: grid;
grid-template-rows: 0fr;
transition: 0.3s ease-in-out;
visibility: hidden;
opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
margin-bottom: 0;
overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
position: absolute;
top: 20px;
right: 20px;
font-size: 16px;
line-height: 0;
transition: 0.3s;
cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
grid-template-rows: 1fr;
visibility: visible;
opacity: 1;
padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
transform: rotate(90deg);
color: var(--accent-color);
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts article {
background: var(--surface-color);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
padding: 30px;
height: 100%;
border-radius: 10px;
overflow: hidden;
}

.recent-posts .post-img {
max-height: 240px;
margin: -30px -30px 15px -30px;
overflow: hidden;
}

.recent-posts .post-category {
font-size: 16px;
color: color-mix(in srgb, var(--default-color), transparent 50%);
margin-bottom: 10px;
}

.recent-posts .title {
font-size: 20px;
font-weight: 700;
padding: 0;
margin: 0 0 20px 0;
}

.recent-posts .title a {
color: var(--heading-color);
transition: 0.3s;
}

.recent-posts .title a:hover {
color: var(--accent-color);
}

.recent-posts .post-author-img {
width: 50px;
border-radius: 50%;
margin-right: 15px;
}

.recent-posts .post-author {
font-weight: 600;
margin-bottom: 5px;
}

.recent-posts .post-date {
font-size: 14px;
color: color-mix(in srgb, var(--default-color), transparent 50%);
margin-bottom: 0;
}

.recent-posts .readmore-btn{

background-color: #456454;/* color-mix(in srgb, var(--default-color), transparent 20%) */;
padding: 8px 40px 10px 40px;
border-radius: 50px;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
transition: none;
font-size: 16px;
font-weight: 600;
font-family: var(--heading-font);
transition: 0.3s;
display: grid;
}

.recent-posts .readmore-btn:hover {
background-color: var(--accent-color);
color: var(--contrast-color);
}
/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-container {
  background-color: #063719 !important;
  padding: 20px;
}

.contact .info-item {
  display: flex;
  align-items: center;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 90%);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--contrast-color);
}

.contact .info-item:last-child {
  margin-bottom: 0;
}

.contact .info-item i {
  font-size: 24px;
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 20px;
  transition: all 0.3s ease-in-out;
}

.contact .info-item div {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: var(--contrast-color);
}

.contact .info-item p {
  font-size: 14px;
  margin: 5px 0 0;
  color: var(--contrast-color);
  text-align:center;
}

.contact .info-item:hover i {
  background-color: var(--contrast-color);
  color: var(--accent-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 100px;
  border-radius: 10px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
font-size: 14px;
padding: 10px 15px;
box-shadow: none;
border-radius: 0;
color: var(--default-color);
background-color: var(--surface-color);
border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
color: var(--contrast-color);
background: #f9c74f !important;
border: 0;
padding: 10px 30px;
transition: 0.4s;
border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
background: #063719 !important;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
background-color: var(--surface-color);
padding: 10px 30px;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
margin-bottom: 20px;
}

.service-details .services-list a {
display: block;
line-height: 1;
padding: 8px 0 8px 15px;
border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
margin: 20px 0;
color: color-mix(in srgb, var(--default-color), transparent 20%);
transition: 0.3s;
}

.service-details .services-list a.active {
color: var(--heading-color);
font-weight: 700;
border-color: var(--accent-color);
}

.service-details .services-list a:hover {
border-color: var(--accent-color);
}

.service-details .services-img {
margin-bottom: 20px;
}

.service-details h3 {
font-size: 26px;
font-weight: 700;
}

.service-details h4 {
font-size: 20px;
font-weight: 700;
}

.service-details p {
font-size: 15px;
}

.service-details ul {
list-style: none;
padding: 0;
font-size: 15px;
}

.service-details ul li {
padding: 5px 0;
display: flex;
align-items: center;
}

.service-details ul i {
font-size: 20px;
margin-right: 8px;
color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
width: 100%;
}

.portfolio-details .swiper-wrapper {
height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
width: 48px;
height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
color: rgba(255, 255, 255, 0.8);
background-color: rgba(0, 0, 0, 0.15);
font-size: 24px;
border-radius: 50%;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
display: none;
}
}

.portfolio-details .swiper-pagination {
margin-top: 20px;
position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
width: 10px;
height: 10px;
background-color: color-mix(in srgb, var(--default-color), transparent 85%);
opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
font-size: 22px;
font-weight: 700;
margin-bottom: 20px;
padding-bottom: 20px;
position: relative;
}

.portfolio-details .portfolio-info h3:after {
content: "";
position: absolute;
display: block;
width: 50px;
height: 3px;
background: var(--accent-color);
left: 0;
bottom: 0;
}

.portfolio-details .portfolio-info ul {
list-style: none;
padding: 0;
font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
display: flex;
flex-direction: column;
padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
text-transform: uppercase;
font-weight: 400;
color: color-mix(in srgb, var(--default-color), transparent 50%);
font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
padding: 8px 40px;
background: var(--accent-color);
color: var(--contrast-color);
border-radius: 50px;
transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
font-size: 26px;
font-weight: 700;
margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
padding: 30px 30px 0 30px;
position: relative;
background: color-mix(in srgb, var(--default-color), transparent 97%);
margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
width: 90px;
border-radius: 50px;
border: 6px solid var(--background-color);
float: left;
margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
font-size: 18px;
font-weight: bold;
margin: 15px 0 5px 0;
padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
font-size: 14px;
color: #6c757d;
margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
color: color-mix(in srgb, var(--accent-color), transparent 50%);
font-size: 26px;
line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
display: inline-block;
left: -5px;
position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
display: inline-block;
right: -5px;
position: relative;
top: 10px;
transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
font-style: italic;
margin: 0 0 15px 0 0 0;
padding: 0;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
/* Add your styles here */
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
background-color: var(--surface-color);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
padding: 30px;
height: 100%;
border-radius: 10px;
overflow: hidden;
}

.blog-posts .post-img {
max-height: 240px;
margin: -30px -30px 15px -30px;
overflow: hidden;
}

.blog-posts .post-category {
font-size: 16px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
margin-bottom: 10px;
}

.blog-posts .title {
font-size: 20px;
font-weight: 700;
padding: 0;
margin: 0 0 20px 0;
}

.blog-posts .title a {
color: var(--heading-color);
transition: 0.3s;
}

.blog-posts .title a:hover {
color: var(--accent-color);
}

.blog-posts .post-author-img {
width: 50px;
border-radius: 50%;
margin-right: 15px;
}

.blog-posts .post-author {
font-weight: 600;
margin-bottom: 5px;
}

.blog-posts .post-date {
font-size: 14px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
padding-top: 0;
color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
display: flex;
padding: 0;
margin: 0;
list-style: none;
}

.blog-pagination li {
margin: 0 5px;
transition: 0.3s;
}

.blog-pagination li a {
color: color-mix(in srgb, var(--default-color), transparent 40%);
padding: 7px 16px;
display: flex;
align-items: center;
justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
background: var(--accent-color);
color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
padding-bottom: 30px;
}

.blog-details .article {
background-color: var(--surface-color);
padding: 30px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
margin: -30px -30px 20px -30px;
overflow: hidden;
}

.blog-details .title {
color: var(--heading-color);
font-size: 28px;
font-weight: 700;
padding: 0;
margin: 30px 0;
}

.blog-details .content {
margin-top: 20px;
}

.blog-details .content h3 {
font-size: 22px;
margin-top: 30px;
font-weight: bold;
}

.blog-details .content blockquote {
overflow: hidden;
background-color: color-mix(in srgb, var(--default-color), transparent 95%);
padding: 60px;
position: relative;
text-align: center;
margin: 20px 0;
}

.blog-details .content blockquote p {
color: var(--default-color);
line-height: 1.6;
margin-bottom: 0;
font-style: italic;
font-weight: 500;
font-size: 22px;
}

.blog-details .content blockquote:after {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background-color: var(--accent-color);
margin-top: 20px;
margin-bottom: 20px;
}

.blog-details .meta-top {
margin-top: 20px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
display: flex;
flex-wrap: wrap;
list-style: none;
align-items: center;
padding: 0;
margin: 0;
}

.blog-details .meta-top ul li+li {
padding-left: 20px;
}

.blog-details .meta-top i {
font-size: 16px;
margin-right: 8px;
line-height: 0;
color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
color: color-mix(in srgb, var(--default-color), transparent 40%);
font-size: 14px;
display: inline-block;
line-height: 1;
}

.blog-details .meta-bottom {
padding-top: 10px;
border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
color: color-mix(in srgb, var(--default-color), transparent 40%);
display: inline;
}

.blog-details .meta-bottom a {
color: color-mix(in srgb, var(--default-color), transparent 40%);
transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
list-style: none;
display: inline;
padding: 0 20px 0 0;
font-size: 14px;
}

.blog-details .meta-bottom .cats li {
display: inline-block;
}

.blog-details .meta-bottom .tags {
list-style: none;
display: inline;
padding: 0;
font-size: 14px;
}

.blog-details .meta-bottom .tags li {
display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
padding-right: 6px;
color: var(--default-color);
content: ",";
}

.blog-details .meta-bottom .share {
font-size: 16px;
}

.blog-details .meta-bottom .share i {
padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
padding: 10px 0 40px 0;
}

.blog-author .author-container {
background-color: var(--surface-color);
padding: 20px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
max-width: 120px;
margin-right: 20px;
}

.blog-author h4 {
font-weight: 600;
font-size: 20px;
margin-bottom: 0px;
padding: 0;
color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
margin: 0 10px 10px 0;
}

.blog-author .social-links a {
color: color-mix(in srgb, var(--default-color), transparent 60%);
margin-right: 5px;
}

.blog-author p {
font-style: italic;
color: color-mix(in srgb, var(--default-color), transparent 30%);
margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
padding: 10px 0;
}

.blog-comments .comments-count {
font-weight: bold;
}

.blog-comments .comment {
margin-top: 30px;
position: relative;
}

.blog-comments .comment .comment-img {
margin-right: 14px;
}

.blog-comments .comment .comment-img img {
width: 60px;
}

.blog-comments .comment h5 {
font-size: 16px;
margin-bottom: 2px;
}

.blog-comments .comment h5 a {
font-weight: bold;
color: var(--default-color);
transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
padding-left: 10px;
color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
font-size: 20px;
}

.blog-comments .comment time {
display: block;
font-size: 14px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
padding-top: 10px;
}

.comment-form form {
background-color: var(--surface-color);
margin-top: 30px;
padding: 30px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
font-weight: bold;
font-size: 22px;
}

.comment-form form p {
font-size: 14px;
}

.comment-form form input {
background-color: var(--surface-color);
color: var(--default-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
font-size: 14px;
border-radius: 4px;
padding: 10px 10px;
}

.comment-form form input:focus {
color: var(--default-color);
background-color: var(--surface-color);
box-shadow: none;
border-color: var(--accent-color);
}

.comment-form form input::placeholder {
color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
background-color: var(--surface-color);
color: var(--default-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
border-radius: 4px;
padding: 10px 10px;
font-size: 14px;
height: 120px;
}

.comment-form form textarea:focus {
color: var(--default-color);
box-shadow: none;
border-color: var(--accent-color);
background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
margin-bottom: 25px;
}

.comment-form form .btn-primary {
border-radius: 4px;
padding: 10px 20px;
border: 0;
background-color: var(--accent-color);
color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
color: var(--contrast-color);
background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
background-color: var(--surface-color);
padding: 30px;
margin: 60px 0 30px 0;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
color: var(--heading-color);
font-size: 20px;
font-weight: 700;
padding: 0;
margin: 0 0 20px 0;
}

.widget-item {
margin-bottom: 40px;
}

.widget-item:last-child {
margin-bottom: 0;
}

.search-widget form {
background: var(--background-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
padding: 3px 10px;
position: relative;
transition: 0.3s;
}

.search-widget form input[type=text] {
border: 0;
padding: 4px;
border-radius: 4px;
width: calc(100% - 40px);
background-color: var(--background-color);
color: var(--default-color);
}

.search-widget form input[type=text]:focus {
outline: none;
}

.search-widget form button {
background: var(--accent-color);
color: var(--contrast-color);
position: absolute;
top: 0;
right: 0;
bottom: 0;
border: 0;
font-size: 16px;
padding: 0 15px;
margin: -1px;
transition: 0.3s;
border-radius: 0 4px 4px 0;
line-height: 0;
}

.search-widget form button i {
line-height: 0;
}

.search-widget form button:hover {
background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
border-color: var(--accent-color);
}

.categories-widget ul {
list-style: none;
padding: 0;
margin: 0;
}

.categories-widget ul li {
padding-bottom: 10px;
}

.categories-widget ul li:last-child {
padding-bottom: 0;
}

.categories-widget ul a {
color: color-mix(in srgb, var(--default-color), transparent 20%);
transition: 0.3s;
}

.categories-widget ul a:hover {
color: var(--accent-color);
}

.categories-widget ul a span {
padding-left: 5px;
color: color-mix(in srgb, var(--default-color), transparent 50%);
font-size: 14px;
}

.recent-posts-widget .post-item {
display: flex;
margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
margin-bottom: 0;
}

.recent-posts-widget .post-item img {
width: 80px;
margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
font-size: 15px;
font-weight: bold;
margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
color: var(--default-color);
transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
color: var(--accent-color);
}

.recent-posts-widget .post-item time {
display: block;
font-style: italic;
font-size: 14px;
color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
margin-bottom: -10px;
}

.tags-widget ul {
list-style: none;
padding: 0;
margin: 0;
}

.tags-widget ul li {
display: inline-block;
}

.tags-widget ul a {
color: color-mix(in srgb, var(--default-color), transparent 30%);
font-size: 14px;
padding: 6px 14px;
margin: 0 6px 8px 0;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
display: inline-block;
transition: 0.3s;
}

.tags-widget ul a:hover {
background: var(--accent-color);
color: var(--contrast-color);
border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
padding-left: 5px;
color: color-mix(in srgb, var(--default-color), transparent 60%);
font-size: 14px;
}

/* Upcoming , Ongoing , Completed  Tournment */


.tournament {
font-family: Arial, sans-serif;
/* background-color: #ebe6d9; */
color: #333;
margin: 0;
padding: 0;
}

.chess-tournament-container {
width: 90%;
margin: 0 auto;
max-width: 1200px;

}

.tournament-section h1 {
text-align: center;
color: #456454;
font-size: 2.5em;
margin-top: 20px;
text-transform: uppercase;
}

.chess-tournament-cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: space-between;
margin-top: 30px;
}

/* Tournament Card Styling */
.tournament-card {
background-color: #456454;
color: #fff;
border-radius: 10px;
overflow: hidden;
width: 30%;
display: flex;
flex-direction: column;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.2s;
}

.tournament-card img {
width: 100%;
height: 100%;
object-fit: cover;
cursor: pointer; /* This ensures the hand symbol appears */
}

.tournament-details {
padding: 15px;
}

.tournament-name {
font-size: 1.5em;
color: #ebe6d9;
margin-bottom: 10px;
}

.tournament-details p {
margin: 5px 0;
}

.card-buttons {
padding: 15px;
display: flex;
justify-content: space-between;
}

.card-buttons a {
text-align: center;
padding: 10px;
width: 30%;
border-radius: 5px;
font-weight: bold;
color: #fff;
transition: background-color 0.3s ease;
}

.register-btn {
background-color: #ff9800;
}

.register-btn:hover {
background-color: #e68a00;
}

.download-btn {
background-color: #3f51b5;
}

.download-btn:hover {
background-color: #36489b;
}

.readmore-btn {
background-color: #4caf50;
}

.readmore-btn:hover {
background-color: #43a047;
}

/* Pagination */
.pagination {
text-align: center;
margin-top: 30px;
}

.pagination .page {
text-decoration: none;
background-color: #456454;
color: #fff;
padding: 10px 20px;
margin: 0 5px;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.pagination .page:hover {
background-color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
.tournament-card {
	width: 48%;
}
}

@media (max-width: 576px) {
.tournament-card {
	width: 100%;
}

.card-buttons a {
	width: 32%;
}
}

/* Fullscreen Image Popup */
.image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.image-popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}


/* Upcoming , Ongoing , Completed  Tournment End */

/* Tournament Registration Page Start*/

.registration-form-container {
background-color: #456454;
color: #fff;
padding: 20px;
width: 100%;
max-width: 500px;
margin: 0 auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.registration-form-container h1, h2, h3{
text-align: center;
}

.registration-form-section {
margin-bottom: 20px;
}

.registration-form-section label {
display: block;
margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
select {
width: 90%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}

.dob-container {
display: flex;
gap: 10px;
}

.dob {
width: 30%;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
outline: none;
transform: scale(1.04);
transition: transform 0.2s ease-in-out;
border: 2px solid #ebe6d9;
}

.fee-section {
border: 2px solid #ebe6d9;
padding: 10px;
border-radius: 5px;
}

button.submit-btn, button.register-btn {
background-color: #ff9800;
color: white;
padding: 10px 15px;
border: none;
cursor: pointer;
border-radius: 5px;
width: 30%;
font-size: 18px;
text-align: center;	
}

.registration-form-section button.submit-btn:hover, button.register-btn:hover {
background-color: #e68a00;
}

.important-note {
background-color: #3f51b5;
padding: 10px;
border-radius: 5px;
}

.confirmation-message {
color: white;
font-weight: bold;
text-align: center;
margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
.registration-form-section-form-container {
	width: 90%;
}

.dob-container .dob {
	width: 30%;
}
}
/* Tournament Registration Page End*/

/* Login Page */
.admin{
background: linear-gradient(135deg, #456454, #ebe6d9, #063719, #ffffff, #f9c74f);
background-size: 300% 300%;
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
box-sizing: border-box;
}

.login-container {
display: flex;
  height: calc(100% - 300px); /* Adjust height for better positioning */
  width: 100%; /* Full width of the parent */
  justify-content: center; /* Move the container to the right */
  align-items: center; /* Vertically center the content */

}

.login-box {
background-color: #ffffff;
padding: 40px;
width: 350px;
border-radius: 8px;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
text-align: center;
margin-top: -50px; /* Moves the login box higher */
}

.login-box h2 {
margin-bottom: 20px;
color: #456454;
}

.login-box .input-group {
position: relative;
margin-bottom: 30px;
}

.login-box input {
width: 100%;
padding: 10px;
background-color: #ebe6d9;
border: 2px solid transparent;
border-radius: 4px;
font-size: 16px;
outline: none;
transition: 0.3s;
}

.login-box input:focus, input:hover {
background-color: #ffffff;
border-color: #063719;
}

.login-box label {
position: absolute;
left: 10px;
top: -18px;
font-size: 16px;
color: #456454;
background: #ffffff;
padding: 0 5px;
}

.login-box .btn {
background-color: #063719;
color: #ffffff;
border: none;
padding: 10px 15px;
font-size: 18px;
border-radius: 4px;
cursor: pointer;
width: 100%;
transition: background 0.3s ease;
}

.login-box .btn:hover {
background-color: #f9c74f;
}

/* Forgot Password styling */
.login-box  .forgot-password {
text-align: right;
margin-bottom: 20px;
}

.login-box  .forgot-password a {
font-weight: bold;
color: #456454;
text-decoration: none;
transition: color 0.3s ease;
}

.login-box  .forgot-password a:hover {
color: #063719;
}

.error-message {
color: #063719;
margin-top: 10px;
display: none;
}

/* Responsive styles */
@media (max-width: 576px) {
.login-box {
	width: 300px;
	padding: 20px;
}

input, .btn {
	font-size: 14px;
}
}

/* Course Details in Index Page */
.course-container {
    width: 90%;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.course-title {
    text-align: center;
    color: #333;
}

.course-filter {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    background: #ddd;
    border-radius: 5px;
}

.course-filter li {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.course-filter li.active {
    background: #f9c74f;
    color: white;
}

.course-section {
    display: none;
}

.course-section.active {
    display: block;
}

.course-month {
    margin-top: 10px;
}

.course-month-title {
    background: #063719;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}
.course-month-content {
    display: none;
    background: #eee;
    padding: 10px;
    border-left: 4px solid #254D37;
}
 .course-month-content ul {
        padding-left: 20px;
        list-style: none; /* Remove black dots */
        counter-reset: section; /* Add numbering */
    }

    .course-month-content ul li {
        counter-increment: section;
        font-size: 16px;
        margin: 5px 0;
    }

    .course-month-content ul li::before {
        content: counter(section) ""; /* Add numbering */
        font-weight: bold;
        color: #4CAF50;
    }

/* Style for Month */
.course-month-title .month-text {
    color: white;; /* Yellow */
    font-weight: bold;
}

/* Style for Background about the Game */
.course-month-title .topic-text {
    color: #BAD4BF; /* Dark Green */
    font-weight: bold;
}

/* Scrollable Content */
.course-content {
    max-height: 500px;  /* Set the height */
    overflow-y: auto;   /* Enable vertical scrolling */
    padding-right: 10px;
}

/* Custom Scrollbar for Webkit Browsers (Chrome, Edge, Safari) */
.course-content::-webkit-scrollbar {
    width: 6px;
}

.course-content::-webkit-scrollbar-thumb {
    background: #f9c74f;
    border-radius: 10px;
}

.course-content::-webkit-scrollbar-track {
    background: #f4f4f4;
}

/* === FULLY RESPONSIVE === */
@media (max-width: 768px) {
    .course-content {
        max-height: 400px; /* Adjust for smaller screens */
    }

    .course-filters button {
        padding: 8px 12px; /* Smaller padding */
        font-size: 14px;
    }
}

/* === FULLY RESPONSIVE FIX === */
@media (max-width: 768px) {
    .course-container {
        width: 95%;
    }

    .course-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .course-filter li {
        min-width: 100px; /* Adjust button size for small screens */
        font-size: 14px;
        padding: 8px;
    }

    .course-month-title {
        font-size: 14px;
        padding: 8px;
    }
}


/* Tournament login and Student Login */

.nav-buttons {
  display: flex;
  gap: 15px;
  padding-left:20px;
}
.dropbtn {
  background-color: #f9c74f; 
  color: #000000 !important;
  font-family:Playfair Display,Lora;
  width: 150px; /* Fixed width */
  height: 45px; /* Fixed height */
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 550;
  line-height:20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Responsive adjustments */
@media (max-width: 768px) { /* Tablets and smaller screens */
  .nav-buttons {
    padding-right:10px;
  }

  .dropbtn {
    width: 90%; /* Full width for small screens */
    max-width: 150px; /* Limit max width */
    height: 50px; /* Slightly taller for touch-friendly UI */
    font-size: 16px;
	padding-right:20px;
  }
}

@media (max-width: 480px) { /* Small mobile devices */
  .dropbtn {
    width: 100%; /* Full width */
    max-width: 100px;
    height: 50px;
    font-size: 14px;
  }
}
.dropbtn:hover {
  /* background-color: #063719;  */
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 99;
  border-radius: 5px;
}

.dropdown-content a {
  color: black;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #063719;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}
/* Show dropdown on button click */
.dropdown.active .dropdown-content {
  display: block;
}

/* Copyright Airtal Innovation */
.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

.copyright-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.sitename {
    color: #f9c74f; /* Gold color for 64 Squares Chess Academy */
    font-weight: bold;
}

.powered-by a {
    text-decoration: none;
    font-weight: bold;
    color: #f9c74f; /* Gold color */
}

.powered-by a:hover {
    color: #6A0DAD; /* Dark green on hover */
}

/* Responsive Design for Mobile Screens */
@media screen and (max-width: 768px) {
    .copyright {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;
    }

    .copyright-content {
        flex-direction: column;
        align-items: center;
    }

    .sitename, .powered-by {
        flex: unset;
        width: 100%;
        padding: 5px 0;
    }

    .sitename {
        font-size: 14px; /* Reduce font size on smaller screens */
    }

    .powered-by {
        font-size: 12px;
    }
}


/* Carousel Container */
.carousel-container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

/* Swiper Slide */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Image & Overlay */
.slide-content {
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.slide-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* Show overlay on hover */
.slide-content:hover .overlay {
    opacity: 1;
}

/* Overlay Text */
.overlay h2 {
    font-size: 2vw; /* Responsive font size */
    margin-bottom: 10px;
    color: #d4af37;
    font-weight: 600;
}

.overlay p {
    font-size: 1.5vw;
    max-width: 80%;
    line-height: 1.4;
    font-weight: 500;
    background-color: #063719;
    display: inline-block;
    padding: 8px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    color: #fff !important;
    font-family: "Playfair Display", "Lora", serif;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FF7F50;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Play Button Icon */
.play-button::before {
    content: '▶';
    font-size: 24px;
    color: white;
    text-align: center;
}

/* .swiper-button-next, .swiper-button-prev {
    color: #f9c74f !important;
    font-weight: bold !important;
}
 */

/* Responsive Design */
@media (max-width: 1024px) {
    .overlay h2 {
        font-size: 22px;
    }
    .overlay p {
        font-size: 16px;
        padding: 6px 30px;
    }
    .play-button {
        width: 50px;
        height: 50px;
    }
    .play-button::before {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .overlay h2 {
        font-size: 20px;
    }
    .overlay p {
        font-size: 14px;
        max-width: 90%;
        padding: 5px 20px;
    }
    .play-button {
        width: 40px;
        height: 40px;
    }
    .play-button::before {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .overlay h2 {
        font-size: 18px;
    }
    .overlay p {
        font-size: 12px;
        max-width: 95%;
        padding: 4px 15px;
    }
    .play-button {
        width: 35px;
        height: 35px;
    }
    .play-button::before {
        font-size: 16px;
    }
}


/* Carousel for Testing End Pages */

.bg-service {
  background: #063719; /* Dark Green Color */
  width: 100vw;  /* Full Viewport Width */
  min-height: 80vh; /* Full Viewport Height */
  display: flex;
  align-items: center; /* Centers content vertically */
  justify-content: center; /* Centers content horizontally */
  box-sizing: border-box; /* Ensures padding doesn't affect width */
}
 