@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500&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');

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

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: rgb(218, 59, 59);
    color: white;
}

::-moz-selection {
    background-color: rgb(218, 59, 59);
    color: white; 
}

/* Custom scrollbar for WebKit browsers */
::-webkit-scrollbar {
    width: 7px; 
    background-color: #F5F7F9;
}

::-webkit-scrollbar-thumb {
    background-color: #ff0000;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e60000; /* Darker red when hovered */
}



body
{
	font-family: 'Poppins', sans-serif;
}

h1
{
	font-size: 2.5rem;
	font-weight: 700;
	color: rgb(35, 35, 85);
}

span
{
	font-size: .9rem;
}

h6
{
	font-size: 1.1rem;
	color: rgb(24, 24, 49);
}


/*------------- Navigation style start ------------*/
nav
{
	position: fixed;
	width: 100%;
	background-color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1vw 8vw;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
	z-index: 1;
}

nav .logo
{
	user-select: none;
	width: 150px;
	cursor: pointer;
}

nav .navigation
{
	display: flex;
}

#menu-btn
{
	width: 30px;
	height: 30px;
	display: none;
}

#menu-close
{
	display: none;
}

nav .navigation ul
{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

nav .navigation ul li
{
	list-style: none;
	margin-left: 30px;
}

nav .navigation ul li a
{
	text-decoration: none;
	color: black;
	font-size: 16px;
	font-weight: 500;
	transition: 0.3s ease;
}

nav .navigation ul li a:hover
{
	color: red;

}
/*------------- Navigation style end ------------*/



/*------------- Hero section styling start --------------*/
#home
{
	background-image: linear-gradient(rgba(50, 0, 0, 0.3), rgba(80, 0, 0, 0.7)), url("img/backkkk.JPG");

	width: 100%;
	height: 100vh;
	background-size: cover;
	background-position: center center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding-top: 40px;
}

/* Title Styling */
#home h2 {
    color: #ffffff;
    font-size: 3rem; /* Increased for more emphasis */
    letter-spacing: 2px; /* Increased for clarity */
    margin-bottom: 10px; /* Added margin for spacing */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Shadow for better readability */
}

#home p {
    width: 40%; /* Slightly wider for better line length */
    color: #ffffff; /* Keep text color white for contrast */
    font-size: 1.2rem; /* Increase font size for better readability */
    line-height: 1.6; /* Increase line height for more spacing */
    margin: 20px auto; /* Center the paragraph and add vertical margin */
    text-align: center; /* Keep it centered for a cleaner look */
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Shadow for better readability */
}


#home .btn
{
	margin-top: 30px;
}

#home a
{
	text-decoration: none;
	font-size: 0.9rem;
	padding: 13px 35px;
	background-color: #fff;
	font-weight: 600;
	border-radius: 5px;
}

/*------------- Hero section styling end --------------*/


/*------------- Beneficii -------------*/
#beneficii
{
	padding: 5vw 8vw 0 8vw;
	text-align: center;
	background-color: #f5f7f9;
}

#beneficii h1{
	color: black;
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

#beneficii p{
	color: #2e2e2e;
	font-size: 1rem;
	max-width: 800px;
	margin: 0 auto 2rem;
	line-height: 1.6;
}

#beneficii .fea-base
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	grid-gap: 1rem;
	margin-top: 50px;
}

#beneficii .fea-box {
    background: white;
    text-align: start;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}


#beneficii .fea-box i
{
	font-size: 2.3rem;
	color: #ff3232;
}

#beneficii .fea-box h3
{
	font-size: 1.2rem;
	font-weight: 600;
	color: #991f1f;
	padding: 13px 0 7px 0;
}

#beneficii .fea-box p
{
	font-size: 1rem;
	font-weight: 400;
	color: rgb(70, 70, 87);
}
/*------------- Beneficii section styling end -------------*/


/*------------- reparatii ------------*/
#reparatii {
	padding: 5vw 8vw;
	text-align: center;
	background-color: #f5f7f9;
}

#reparatii h1 {
	color: black;
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

#reparatii p {
	color: #2e2e2e;
	font-size: 1rem;
	max-width: 800px;
	margin: 0 auto 2rem;
	line-height: 1.6;
}


#reparatii .course-box {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 40px;
}


#reparatii .courses {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
	position: relative;
}

#reparatii .courses:hover {
	transform: scale(1.03);
}


#reparatii .courses img {
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	user-select: none;
	object-fit: cover;
	background-color: white;
}


#reparatii .courses .details {
	padding: 20px;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	flex-grow: 1;
}


#reparatii .courses .details h6 {
	color: #991f1f;
	font-size: 1.2rem;
	margin-bottom: 8px;
	text-align: center;
	word-wrap: break-word;
}


#reparatii .courses .details p {
	color: #464657;
	font-size: 1rem;
	line-height: 1.5;
	margin-top: 8px;
	text-align: center;
	word-wrap: break-word;
	word-break: break-word; /* ensures long words break */
	overflow-wrap: break-word; /* for better compatibility */
}


/* smallers screens */
@media (max-width: 768px) {
	#reparatii {
		padding: 3vw 5vw;
	}
	
	#reparatii h1 {
		font-size: 2rem;
	}
	
	#reparatii p {
		font-size: 1rem;
		margin-bottom: 1.5rem;
	}

	#reparatii .course-box {
		gap: 1rem;
	}
	
	#reparatii .courses {
		padding: 10px;
	}
	
	#reparatii .courses .details {
		padding: 15px;
	}

	#reparatii .courses .details h6 {
		font-size: 1rem;
	}

	#reparatii .courses .details p {
		font-size: 0.9rem;
	}
}
/*------------- reparatii section styling end ------------*/





/* Footer styling starts */
footer {
    background-color: black;
    color: #f1f0f5;
    padding: 40px 20vw;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 220px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 15px;
    color: #D93838;
}

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

.footer-col a {
    text-decoration: none;
}

.footer-col ul li {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-col ul li:hover {
    color: #D93838;
}

/* ANPC images styling */
.anpc-images {
	user-select: none;
    display: flex;
    flex-direction: column; /* Change to column for vertical layout */
    gap: 10px;
    margin-top: 10px;
}

.anpc-images img {
    width: 130px; /* Adjust width as needed */
}

/* Social icons styling */
.social-icons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #5f7185;
    border-radius: 50%;
    color: #f1f0f5;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #D93838;
    color: white;
}

/* Footer bottom section */
.footer-bottom {
    border-top: 1px solid #2e3c52;
    margin-top: 20px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    color: #7b838a;
}

.footer-bottom p, .footer-bottom p a {
    color: white;
    text-decoration: none;
}

.footer-bottom p a:hover {
    color: #fdc93b;
	transition: all 0.3s;
}
/* Footer styling ends */




/*---------------------------------------------------------*/
/*-------------------- Ipad screen styling ----------------*/
/*---------------------------------------------------------*/
@media screen and (max-width: 789px)
{
	nav
	{
		padding: 15px 20px;
	}

	nav img
	{
		width: 130px;
	}

	#menu-btn
	{
		display: initial;
	}

	#menu-close
	{
		display: initial;
		font-size: 1.6rem;
		color: #fff;
		padding: 30px 0 20px 20px;
	}

	nav .navigation ul
	{
		position: absolute;
		top: 0;
		right: -220px;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		width: 220px;
		height: 100vh;
		background: rgba(255, 0, 0, 0.45);
		backdrop-filter: blur(4.5px);
		border: 1px solid rgba(255, 255, 255, 0.18);
		transition: 0.3s ease-in;
	}

	nav .navigation ul.active
	{
		right: 0;
	}

	nav .navigation ul li
	{
		padding: 20px 0 20px 40px;
		margin-left: 0;
	}

	nav .navigation ul li a
	{
		color: #fff;
	}

	nav .navigation ul li a:hover
	{
		color: black;
	}

	#home
	{
		padding: 0px;
	}

	#home p
	{
		width: 90%;
	}

	#beneficii
	{
		padding: 18vw 4vw 8vw 4vw;
	}

	#reparatii
	{
		padding: 18vw 4vw 8vw 4vw;
	}

	#registration
	{
		padding: 6vw 4vw 6vw 4vw;
		gap: 2.2rem;
	}

	#registration .reminder .time
	{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		margin-top: 40px;
	}

	#experts
	{
		padding: 8vw 4vw 6vw 4vw;
	}

	footer .copyright .pro-links
	{
		margin-top: 20px;
	}
}


@media screen and (max-width: 475px)
{
	#registration
	{
		flex-direction: column;
	}

	.reminder p, .reminder h1
	{
		text-align: center;
	}

	.reminder h1
	{
		font-size: 1.8rem;
	}

	#registration .reminder .time
	{
		justify-content: space-evenly;
		margin-top: 20px;
	}
}