/* === General Styles === */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f1f1f1;
}

h1, h2, h3, p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
}

/* logo header */

.logo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #f5f5f5;
  gap: 10px;
  position: relative;
}

.logo-header .logo {
  height: 70px;
  width: auto;
}

.logo-header .social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex: 1 1 100%;
  font-size: 18px;
  color: #fff;
  /*color: #023e8a;*/
}

.logo-header .social-icons i{
    background: #111;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    padding: 0.3rem;
    align-content: center;
    align-items: center;
    text-align: center;
}

.search-wrapper {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-wrapper input[type="text"] {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 200px;
}

.search-wrapper .fa-search {
  color: #555;
  cursor: pointer;
}

@media (max-width: 768px) {
  .logo-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-header .title {
    position: static;
    margin: 5px 0;
    transform: none;
  }

  .logo-header .social-icons {
    justify-content: center;
  }

  .search-wrapper {
    margin-left: 0;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
  }

  .search-wrapper input[type="text"] {
    width: 100%;
    max-width: 300px;
  }
}


/* === Navbar === */
/* Header Styles */
header {
	width: 100%;
	background: #333;
	position: fixed;
	top: 5.5rem; left: 50%;
	transform: translateX(-50%);
	border-radius: 0.8rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0.5rem;
	z-index: 1000;
	transition: .2s;
}
.header-active{
	top:0;
	width: 100%;
	border-radius: 0;
	box-shadow: 0 .1rem .3rem rgba(0,0,0,.3);
}

header .navbar ul{
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
}

header .navbar ul li{
	margin: 0 0.5rem;
}

header .navbar ul li a{
	font-size: 1.1rem;
	color: #1E90FF;
	text-decoration: none;
	transition: .2s;
}

.active{
	color: #999;
	background: floralwhite;
	padding: 4px 12px;
	border-radius: 5px;
}

header .navbar ul li .active,
header .navbar ul li a:hover{
	color: #B0C4DE;
}

header .logo{
	display: flex;
	margin: auto 1rem;
	text-align: center;
	font-size: 1.2rem;
	color: #1E90FF;
	text-transform: uppercase;
}
header .logo p{
	margin-top: 0.3rem;
	margin-left: 1.5rem;
	font-weight: bold;
}

header .logo img{
	width: 100%;
	height: 4rem;
	/*border-radius: 50%;*/
}


header .fa-bars{
	font-size: 2rem;
	color: #1E90FF;
	margin: 1rem;
	cursor: pointer;
	display: none;
	transition: .2s;
}
header .fa-times{
	transform: rotate(180deg);
	color: #B0C4DE;
}

.navbar ul li a.active {
    color: blue;
    pointer-events: none; /* Optional: disables click for current page */
    cursor: default;
    font-weight: bold;
}


/********small screen resolution*********/
@media only screen and (max-width:768px) {
html{
		font-size: 65%;
		padding: 0;
		margin: 0;
	}
	.flex {
		width: 100%;
	}
    
    .logo-header{
        margin-top: 2rem;
    }
	
header{
	position: fixed;
	width: 100%;
    top: 0;
	margin-left: 0.1rem;
}

header .fa-bars{
		display: block;
}
header .navbar{
	position: fixed;
	top: 1rem; left: 0;
	width: 70%;
	margin-top: -1.1rem;
	margin-left: 2rem;
	background: #FFF;
	border-radius: 1rem;
	opacity: 0; 
	transition: .2s, linear;  
}

header .navbar ul{
	flex-flow: column;
	padding: 2rem 0;
}

header .navbar ul li{
	margin: 0.2rem 0;
	width: 100%;
	text-align: center;
}

header .navbar ul li a{
	font-size: 1.8rem;
	display: block;
	margin: 1px auto;
}

header .nav-toggle{
	top: 5.5rem;
	opacity: 1; 
}
  
}
/*== end nav == */
/*==================== end head ======================*/

/* === Hero Section === */
/*.hero {
    margin-top: 3.2rem;
    padding: 30px 20px;
    text-align: center;
    background-color: #0077b6;
    color: white;
}

.hero h1{
    font-size: 2rem;
    color: #fff;
}

.hero .btn {
    padding: 10px 20px;
    background: #00b4d8;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 10px 5px;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #48cae4;
}*/

/* === Hero Slideshow === */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 400px;
    margin-top: 3.2rem;
    padding: 35px 20px;
    text-align: center;
    background-color: #0077b6;
    color: white;
    border: 2px solid red;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    padding: 30px 20px;
    color: white;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide h1 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.hero-slide p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.our_serv{

    margin-top: 3.2rem;
}

.hero-slide .btn {
    padding: 10px 20px;
    background: #00b4d8;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 10px 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-slide .btn.join {
    background: #90e0ef;
    color: #000;
}

.hero-slide .btn:hover {
    background: #48cae4;
}


/* === offers Section === */
.offer-section {
    padding: 10px 10px;
    background-color: floralwhite;
    text-align: center;
    gap: 5px;
}

.offers h1 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.offer-item {
  flex: 1 1 50px;
  margin: 15px;
  background-color: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.offer-item:hover {
  transform: translateY(-5px);
}

.offer-item img {
  width: 15rem;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
    cursor: pointer;
}

.offer-item p {
  margin-top: 10px;
  font-size: 18px;
  color: #444;
  font-weight: 500;
}

.offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
/* == end offers css == */

/* === About Section === */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 10px 10px;
  background-color: #f4f4f4;
  color: #333;
}

.about p{
    line-height: 1.8rem;
    color: #555;
}

.about h2 {
  width: 100%;
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #222;
}

.about img {
  flex: 1 1 400px;
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about p {
  flex: 1 1 400px;
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

.about b {
  color: #007bff; /* Highlight "SkillConnect" */
}


/* === Features Section === */
.services {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
    flex-wrap: wrap;
}

.item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.item:hover {
    transform: translateY(-5px);
}

.item i {
    font-size: 40px;
    color: #007BFF;
    margin-bottom: 15px;
}

.item h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

.item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.item button {
    padding: 10px 20px;
    background-color: #007BFF;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.item button:hover {
    background-color: #0056b3;
}


/* === CTA Section === */
.cta {
    padding: 40px 20px;
    text-align: center;
    background-color: #caf0f8;
}

.cta .btn {
    padding: 10px 20px;
    background: #0077b6;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 0 0 rgba(0, 180, 216, 0.7);
    animation: pulse 2s infinite;
}

.cta .btn:hover {
    background: #023e8a;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 180, 216, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}



/* === Request Service Form === */
main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

.request .request-form{
    width: 100%; 
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px; 
}

.form-container {
    background-color: #ffffff;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    text-align: center;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;

}

label {
    position: absolute;
    left: 10px;
    font-size: 18px;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 10px 10px 10px 40px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

p {
    text-align: center;
    margin-top: 10px;
}

p a {
    color: #007bff;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}



/* === service request form === */

/*== about.php page ==*/
.about-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-content {
    max-width: 600px;
}

.about-content h2 {
    color: #0077b6;
    margin-bottom: 15px;
    font-size: 32px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content ul li {
    font-size: 16px;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #333;
}

.about-content ul li::before {
    content: "✔";
    color: #00b4d8;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}


.management-section {
    background-color: #ffffff;
    padding: 10px 20px;
    text-align: center;
    margin-top: -10%;
}

.management-section h2 {
    font-size: 30px;
    color: #0077b6;
    margin-bottom: 40px;
}

.management-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.manager-card {
    background: #f1f1f1;
    border-radius: 10px;
    padding: 20px;
    max-width: 250px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.manager-card:hover {
    transform: translateY(-5px);
}

.manager-card img {
    width: 100%;
    border-radius: 50%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #00b4d8;
}

.manager-card h3 {
    margin: 0;
    font-size: 20px;
    color: #023e8a;
}

.manager-card p {
    color: #555;
    font-size: 14px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    text-decoration: none;
    color: #0077b6;
    margin: 0 8px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00b4d8;
}
/********modal*****************/
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.modal-form button {
  background-color: #0077b6;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-form button:hover {
  background-color: #023e8a;
}

.contact-btn {
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #00b4d8;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}
/*end modal*/

/*== end about.php ==*/

/*****back top button********/
#backToTopBtn {
  position: fixed;
    width: 5%;
  bottom: 20px;      /* closer to the bottom */
  right: 20px;       /* closer to the right edge */
  z-index: 999;
  background-color: #0077b6;
  color: white;
  border: none;
  padding: 10px 12px;     /* smaller padding */
  border-radius: 4%;
  font-size: 16px;         /* smaller icon size */
  cursor: pointer;
  display: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 183, 255, 0.7);
  animation: pulse 2s infinite;
}

#backToTopBtn:hover {
  background-color: #00b4d8;
  transform: scale(1.15);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 183, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 183, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 183, 255, 0);
  }
}



/********small screen resolution*********/
@media only screen and (max-width:768px) {
    .about p{
        font-size: small;
    }
    .management-section{
        margin-top: 10px;
    }
}

/*=== login.php ===*/
/* General Reset */
/* Login Container */
.login-container {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

/* Heading */
.login-container h2 {
  margin-bottom: 20px;
  color: #333;
}

/* Input Field */
.login-container input[type="text"], .login-container input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.login-container input[type="text"]:focus {
  border-color: #0077b6;
}

/* Submit Button */
.login-container button[type="submit"] {
  background: #0077b6;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

        .error {
            color: red;
            margin-top: 15px;
        }

        .note {
            font-size: 14px;
            color: #555;
        }

.login-container button[type="submit"]:hover {
  background: #023e8a;
}

/* Responsive Adjustments */
@media (max-width: 500px) {
  .login-container {
    padding: 20px 15px;
  }

  .login-container input[type="text"],
  .login-container button[type="submit"] {
    font-size: 14px;
    padding: 10px;
  }
}


/*==== guest dashboard page ====*/
/* Container for the request details */
.request-details {
    margin-top: 20px;
    padding: 15px;
    background-color: #f4f4f4;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Styling the list items within the details */
.request-details ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Each list item */
.request-details li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
}

/* Label styling */
.request-details li strong {
    color: #007bff;
    font-weight: bold;
}

/* Hover effect for the entire container (optional) */
.request-details:hover {
    background-color: #e9f7fd;
    border-color: #b0d6f4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* For mobile responsiveness */
@media (max-width: 600px) {
    .request-details {
        padding: 10px;
        font-size: 14px;
    }

    .request-details li {
        margin-bottom: 8px;
    }
}
/*=== end guest dashboard===*/

/* === Footer === */
footer {
    padding: 20px;
    background-color: #03045e;
    color: white;
    text-align: center;
}
