@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800;1,900&display=swap');

:root
{
	
	--blue-color: #323d90;
	---light--blue-color: #69788F;

	
	---heading--font-size: 1.5rem;
	---paragraph--font-size: 1rem;
}

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

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body
{
	font-family: 'Poppins', sans-serif;
	scroll-behavior: smooth;
	padding-top: 0 !important;
	margin: 0;
}

.navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 85px !important;
}

.navbar-brand img {
    width: 85px !important;
    height: 85px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar {
    padding: 0 !important;
    height: 85px !important;
    min-height: 85px !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
}

.heading
{
	color: var(--blue-color);
	font-size: var(---heading--font-size);
	font-weight: 600;
}

.para-line
{
	color: var(---light--blue-color);
	font-size: var(---paragraph--font-size);
}

.white
{
	color: #ffffff;
}

.btn
{
    
	padding: 0.8rem 2.5rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.view-races-btn{
    color: white !important;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2rem;
	font-family: 'Poppins', sans-serif;
}
.btn a
{
	color: var(--blue-color);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2rem;
	font-family: 'Poppins', sans-serif;
}

.border-btn
{
	border: 2px solid var(--blue-color);
	margin: 1.5rem 0;
	transition: .5s;
}

.border-btn:hover
{
	background: var(--blue-color);
    color: white !important;
}

.border-btn:hover a ,.btn a:hover
{
	color: #ffffff;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('../Images/b3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 85px; /* Height of navbar */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 85px);
}

.hero-content {
    max-width: 720px;
    width: 100%;
    text-align: center;
    padding: 1rem;
}

.hero .heading {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    font-weight: 700;
}

.hero .para-line {
    margin: 1rem 0;
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
}

.back_op {
    background-color: rgba(128, 0, 128, 0.12);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Media Queries */
@media screen and (max-width: 991px) {
    .hero .heading {
        font-size: 2.8rem;
    }
    
    .hero .para-line {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        background-image: url('../Images/b3-phone.jpg');
        padding-top: 70px;
    }
    
    .hero .heading {
        font-size: 2.2rem;
    }
    
    .hero .para-line {
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    .back_op {
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero .heading {
        font-size: 1.8rem;
    }
    
    .hero .para-line {
        font-size: 0.9rem;
    }
    
    .hero .container {
        padding: 1rem;
    }
}

.about .container
{
	margin: 3.5rem auto;
	padding: 2rem;
	text-align: center;
	
}
.about .row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}
.about-img {
	width: 100%;
	max-width: 400px;
	border-radius: 10px;
	margin: 0 auto;
}
.about .col {
	width: 100%;
}
/* Media query for larger screens */
@media screen and (min-width: 768px) {
	.about .row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 3rem;
	}
	.about .container {
		text-align: left;
	}
	.about .col {
		flex: 1;
	}
}
.about-img
{
	width: 550px;
	border-radius: 6px;
}


.skills
{
	background-color: #faf8ff;
	margin: 3.5rem 0;
}

.skills .container
{
	padding: 3rem 2rem;
	text-align: center;
}

.skills-row
{
	margin: 2rem 0;
}

.skills-card
{
	background-color: #ffffff;
	margin: 2rem 0;
	padding: 1rem 2rem;
	border: none;
	border-radius: 10px;
	box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

.skills-icon
{
	color: var(--blue-color);
	font-size: 2.6rem;
}

.skills-name
{
	color: var(--blue-color);
	font-size: 1.3rem;
	font-weight: 600;
}



.solution
{
	margin: 4rem 0;
}

.solution .container
{
	padding: 0 1.8rem;
	text-align: center;
}

.solution-row
{
	margin: 3rem 0;
}

.solution-box
{
	margin: 2rem 0;
}

.solution-icon
{
	font-size: 2.2rem;
	color: var(--blue-color);
}

.solution-heading
{
	color: var(--blue-color);
	font-size: 1.2rem;
	font-weight: 600;
}


.master
{
	margin: 4rem 0;
}

.master .container
{
	padding: 0 0rem;
	text-align: center;
}

.masters-row
{
	margin: 1rem 0;
}

.master-card
{
	margin: 1.5rem 0;
	padding: 2rem;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.master-name
{
	font-weight: 700;
}

.master-name, .master-post
{
	color: var(--blue-color);
}






footer
{
	background-color: #0d6efd;
	padding: 3rem 0;
	color: white;
}

footer .container
{
	height: 80vh;
	padding: 0 1.8rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
}






@media screen and (min-width: 789px)
{
	:root
	{
		
		---heading--font-size: 3rem;
		---paragraph--font-size: 1rem;
	}

	.container
	{
		max-width: 1180px;
		margin: 0 auto;

	}

	.container .heading
	{
		line-height: 1;
	}

	.container .para-line
	{
		margin: 1.2rem 0;
	}

	.row
	{
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 6rem;
	}

	.col
	{
		width: 100%;
	}

	
	.hero-content
	{
		max-width: 720px;
	}

	
	.about
	{
		margin: 5rem;
	}

	.about .container
	{
		margin: 0 auto;
		text-align: left;
	}

	.about-img
	{
		border-radius: 2rem;
	}


	
	.skills .container
	{
		padding: 5rem 2rem;
		text-align: center;
		background-position: center center;
		background-size: cover;
	}

	.skills .container .para-line
	{
		max-width: 700px;
		margin: 1.2rem auto;
	}

	.skills-row
	{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-template-rows: auto;
		grid-gap: 2rem;
		padding: 1rem 0;	
	}

	.skills-card
	{
		margin: 0;
	}

	.skills-icon
	{
		font-size: 2rem;
	}

	.skills-course
	{
		margin: 0 !important;
	}


	
	.solution .container
	{
		text-align: left;
	}

	.solution-box
	{
		display: flex;
		justify-content: flex-start;
		gap: 1.1rem;
	}

	.solution-icon
	{
		font-size: 4rem;
	}

	.solution-desc
	{
		margin: 0 !important;
	}


	
	.master .container .para-line
	{
		max-width: 700px;
		margin: 1.2rem auto;
	}

	.masters-row
	{
		margin: 1rem 0;
		display: flex;
	}



	
	footer .container
	{
		height: 300px;
	}

	.cta-heading
	{
		font-size: 2.2rem;
	}

	footer .container .para-line
	{
		max-width: 700px;
		margin: 0.5rem auto;
	}
}




footer {
    width: 100%;
    bottom: 0;
    background: var(--blue-color);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.list-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.list-footer li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.list-footer li a:hover{
	color: #f5af19;
}
.list-footer li a:hover{color: var(--mycolor);}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
#icons {
    padding: 20px;
    font-size: 25px;
    color: #fff;
}


@media(max-width:810px){
    .text ,  footer input[type='email'] ,
    footer input[type='submit'] {
        font-size: 20px;
    }
    .list-footer li a {
        padding: 15px;
        font-size: 15px;
    }
    .social-media i {
        padding: 10px;
    }
}
@media(max-width:610px){
    .text ,  footer input[type='email'] ,
    footer input[type='submit'] {
        font-size: 14px;
    }
    .list-footer li a {
        padding: 10px;
        font-size: 12px;
    }
    .social-media i {
       font-size: 15px;
    }
}
@media(max-width:470px){
    .text {
        font-size: 12px;
    }
    .list-footer li a {
        padding: 5px;
    }
}
@media(max-width:330px){
    .text {
        font-size: 10px;
    }
}


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

nav {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    height: 85px !important;
    padding: 0 !important;
    width: 100% !important;
}

.nav-list
{
    list-style: none;
    display: flex;
}
.nav-list li
{
    margin-right: 3px;
    margin-left: 32px;
}
.nav-list li a
{
	font-size: 18px;
	transition: 0.5s;
}
.nav-list li a:hover
{
	color: #f5af19;
}
.mobile-menu
{
    cursor:pointer;
    display: none;
}

.mobile-menu div
{
    width: 32px;
    height: 2px;
    background: #fff;
    margin: 8px;
    transition: 0.3s;
}

@media (max-width: 768px)
{

    .nav-list
    {
        position: absolute;
        top: 8vh;
		right: 130px;
        width: 100px; 
        height: 25vh;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }
    .nav-list li
    {
        margin-right: 0;
        margin-left: 0;
        opacity: 0;
    }
    .mobile-menu
    {
        display: block;
    }
}

.nav-list.active
{
    transform: translateX(0);
}

@keyframes navLinkFade
{
    from {
        opacity: 0;
        transform: translateX(50px)
    }
    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.mobile-menu.active .line1
{
    transform: rotate(-45deg) translate(-8px, 8px);
}
.mobile-menu.active .line2
{
    opacity: 0;
}
.mobile-menu.active .line3
{
    transform: rotate(45deg) translate(-5px, -7px);
}

.upcoming-races {
	padding: 50px 0;
	color: #33467b;
}
.upcoming-races .heading {
	text-align: center;
	margin-bottom: 20px;
	font-size: 2.5em;
}
.upcoming-races .para-line {
	text-align: center;
	margin-bottom: 40px;
	font-size: 1.2em;
}
.races-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.race-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin: 10px;
	padding: 20px;
	text-align: center;
	width: 300px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: relative;
	cursor: pointer;
}
.race-card a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}
.race-card .book-now-btn {
	position: relative;
	z-index: 2;
}
.race-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.race-title {
	font-size: 1.5em;
	margin: 15px 0 10px;
}
.race-date {
	font-size: 1.2em;
	color: #777;
}
.book-now-btn {
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
margin-top: 15px;
}
.book-now-btn:hover {
background-color: #0056b3;
}

/* Navbar Styles */
.navbar.navbar-expand-lg.navbar-light {
    background-color: rgba(255, 255, 255, 0.7) !important;
    padding: 5px 0 !important;
    min-height: 56px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.navbar-brand, 
.nav-link, 
.navbar-toggler,
.navbar-toggler-icon,
.navbar-nav,
.nav-item,
.btn-primary {
    opacity: 1 !important;
    color: inherit !important;
}


@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 85px !important;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: rgba(255, 255, 255, 0.6) !important;
        padding: 15px 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
}

.navbar-brand img {
    max-height: 75px !important;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #0d6efd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #0d6efd !important;
}

.navbar .btn-primary {
    background-color: var(--blue-color) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 500;
}

.navbar .btn-primary:hover {
    background-color: #2a3373 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(50, 61, 144, 0.3);
}

/* Upcoming Races Section */
.upcoming-races {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.upcoming-races .card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 15px;
}

.upcoming-races .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.upcoming-races .card-img-top {
    transition: all 0.3s ease;
    border-radius: 15px 15px 0 0;
}

.upcoming-races .card:hover .card-img-top {
    transform: scale(1.05);
}

.upcoming-races .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.upcoming-races .badge.bg-primary {
    background-color: #0d6efd !important;
}

.upcoming-races .badge.bg-success {
    background-color: #198754 !important;
}

.upcoming-races .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0;
    color: #333;
}

.upcoming-races .card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.upcoming-races .btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.upcoming-races .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.upcoming-races .btn-outline-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 50px;
    border-width: 2px;
}

.upcoming-races .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 85px !important;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: rgba(255, 255, 255, 0.6) !important;
        padding: 15px 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .navbar-brand {
        position: relative;
        z-index: 1100;
    }
}

@media (min-width: 788px) and (max-width: 991px) {
    .navbar-collapse {
        width: 100vw !important;
        left: 0;
        right: 0;
        border-radius: 0 0 10px 10px;
    }
}

@media (max-width: 767.98px) {
    .upcoming-races {
        padding: 3rem 0;
    }
    
    .upcoming-races .card {
        margin-bottom: 1.5rem;
    }

    .upcoming-races .display-4 {
        font-size: 2.5rem;
    }
}

/* Hero Section Adjustments */
.hero {
    padding-top: 0 !important;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

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

/* Footer Adjustments */
footer {
    background-color: var(--blue-color);
    padding: 4rem 0 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer .container {
    position: relative;
    z-index: 1;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.list-inline-item {
    margin-right: 1.5rem;
}

.list-inline-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.list-inline-item a:hover {
    color: #fff;
}

/* Button styles */
.btn-outline-primary {
    color: #0d6efd !important;
    border: 2px solid #0d6efd !important;
    background-color: transparent !important;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    background-color: #0d6efd !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.btn-outline-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(13, 110, 253, 0.1);
}

/* Card footer button specific styles */
.card-footer .btn-primary {
    width: 100%;
    margin: 0;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    color: #0d6efd !important;
    border: 2px solid #0d6efd !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
}

.card-footer .btn-primary:hover,
.card-footer .btn-primary:active,
.card-footer .btn-primary:focus {
    background-color: #0d6efd !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

/* Navbar button specific styles */
.navbar .btn-primary {
    background-color: #0d6efd !important;
    color: #fff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .btn-primary:hover,
.navbar .btn-primary:active,
.navbar .btn-primary:focus {
    background-color: #0b5ed7 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer [class*="col-"] {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .footer {
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
}
/* About section styling - simplified */
.about {
    background-color: #f0f4ff; /* Light blue background */
    padding: 3rem 0;
}

.about .container {
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.about .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin: 0 auto;
}

.about .col {
    width: 100%;
}

/* Media query for larger screens */
@media screen and (min-width: 768px) {
    .about .row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }
    
    .about .container {
        text-align: left;
    }
    
    .about .col {
        flex: 1;
    }
}

/* Enhanced navbar fixes */
body {
    padding-top: 0 !important;
}

.navbar {
    padding: 0 !important;
    min-height: 85px !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.navbar-brand {
    padding: 0;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 85px !important;
}

.navbar-brand img {
    width: 85px !important;
    height: 85px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-toggler {
    padding: 8px 12px;
    margin-right: 0;
    position: relative;
    top: 0;
}

/* Ensure proper vertical alignment */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 85px !important;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: rgba(255, 255, 255, 0.6) !important;
        padding: 15px 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
}

/* Race card image styling */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.upcoming-races .card {
    border-radius: 10px;
}





.race-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.race-image-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: 15px 15px 0 0;
  max-height: unset !important;
  min-height: unset !important;
}

.race-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.race-item .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.race-item:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.race-item .btn {
    position: relative;
    z-index: 2;
}

.team-section {
    position: relative;
    padding: 6rem 0;
    background-color: #f8f9fa;
    text-align: center;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 61, 144, 0.05) 0%, rgba(50, 61, 144, 0.1) 100%);
    z-index: 1;
}

.team-section .container {
    position: relative;
    z-index: 2;
}

.team-section .ellipsis {
    font-size: 2.5rem;
    color: var(--blue-color);
    margin: 2rem 0;
    letter-spacing: 1rem;
    font-weight: 300;
}

.team-section .welcome-text {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.team-section .welcome-text h2 {
    color: var(--blue-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.team-section .welcome-text p {
    color: var(--light--blue-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-photo {
    max-width: 90%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 2rem auto;
    transition: transform 0.3s ease;
}

.team-photo:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .team-section {
        padding: 4rem 0;
    }
    
    .team-section .welcome-text h2 {
        font-size: 2rem;
    }
    
    .team-section .welcome-text p {
        font-size: 1.1rem;
    }
    
    .team-photo {
        max-width: 95%;
    }
}

		.register-button-container {
			margin-right: 50vw;
		}

		@media (max-width: 768px) {
			.register-button-container {
				margin-right: 0;
				text-align: center;
			}
		}

/* Registration Closed Styles */
.registration-closed {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    color: #6c757d;
}

.registration-closed i {
    font-size: 1.25rem;
    color: #dc3545;
}

.registration-closed span {
    font-weight: 600;
    font-size: 1.1rem;
}

.registration-closed small {
    font-size: 0.875rem;
}

.registration-closed-alert {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin: 1rem 0;
}

.registration-closed-alert i {
    color: #dc3545;
}

.registration-closed-alert .btn-primary {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}