*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(30, 21, 4, 0.7),rgba(30, 21, 4, 0.7)),url(saidham/saidham02.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

nav{
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 135px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #b07931;
    display: block;
    margin: auto;
    transition: .3s;    
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 20px 0 40px;
    font-size: 18px;
    color: #fff;
}
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: .4s;
}

.hero-btn:hover{
    border: 1px solid #b07931;
    background: #b07931;
}


@media(max-width: 700px)
{
   .nav-links ul li
    {
        display: block;
    }
    .nav-links
    {
        position: fixed;
        background: #b07931;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.4s;
    }
    .nav-links ul{
        padding: 30px;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer; 
    }
    .text-box h1{
        font-size: 20px;
    }
}

/*---------- services --------*/

.services{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
h1{
    font-size: 30px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;  
}
  
.services-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 0%;
    padding: 20px 12px;
    margin-bottom: 10px;
    box-sizing: border-box;
    transition: .4s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.services-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

@media (max-width:700px){
    .row{
        flex-direction: column;
    }
} 

/*---------------- campus ----------------*/

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col {
    flex: 0 0 300px; /* card width */
    margin: 0 15px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.campus-col:hover {
    transform: scale(1.05);
}
.campus-col img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}
.carousel-container-arrow {
    position: relative;
    width: 80%;
    margin: 10px auto;
    overflow: hidden;
}

.layer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
.carousel-arrow {
    display: flex;
    margin: 10px 10px;
    transition: transform 0.5s ease-in-out;
}

/* Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 22px;
    z-index: 10;
    transition: background 0.3s;
}

.arrow:hover {
    background: rgba(0,0,0,0.8);
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

/*   Projects   */

.projects-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.projects-section h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: #fff3f3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  margin: 15px 10px 10px;
  font-size: 20px;
}

.project-card p {
  margin: 0 10px 15px;
  font-size: 16px;
  color: #555;
}


/*-------------- Facilities ----------------*/

.facility{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.facility-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facility-col img{
    width: 100%;
    border-radius: 10px;
}
.facility-col p{
    padding: 0;
}
.facility-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*---------------- testimonials ------------------*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonial-col p{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonial-col .fa{
    color: #f44336;
}
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.carousel {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
}.testimonial-col {
    flex: 0 0 auto; /* width of each card */
    width: 300px;
    margin: 0 10px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.testimonial-col img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-80%);
  }
}

@media(max-width:700px){
    .testimonial-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}

/*-------- Call To Action ----------*/


.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(166, 110, 58, 0.7),rgba(166, 110, 58, 0.7)),url(images/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px; 
    padding: 0; 
}

@media(max-width:700px){
    .cta h1{
        font-size: 24px;
    }
}

/*--------------Footer---------------*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart-o{
    color: #f44336;
}


/*--------------- About Us Page --------------*/


.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/banner5.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 100px;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
}

.hero-btn.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.hero-btn.red-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    color: #fff;
}
.hero-btn.red-btn::after{
    background: #f44336;
}
.hero-btn.red-btn::before{
    background: #f44336;
}
.content-image{
    flex-basis: 50%;
}
.about-col img{
    width: 100%;
}

/*---------- Blog Page -------------*/

.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-right{
    flex-basis: 32%;
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #999;
    padding: 0;
}

.blog-right h3{
    background: #f44336;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}

.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px 0;
}
/* Blog Page Headings */
.blog-left h3 {
    text-align: left;
    margin-top: 25px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}



@media (max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
} 


/*------- Contact Us Page ------------*/

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
    
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
    
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
}

.footer-link{
    text-decoration: none;
    color: #777;
}

/* Careers Section Styles - matches Hyhaus website design aesthetic */

.careers {
    width: 80%;
    margin: 50px auto;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    background: #fff3f3;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.careers h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #b07931;
    letter-spacing: 1px;
}

.careers p {
    color: #777;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.6;
    padding: 0 10px;
}

.careers-form {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 30px 25px 25px 25px;
    text-align: left;
}

.careers-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    color: #b07931;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.careers-form input[type="text"],
.careers-form input[type="email"],
.careers-form input[type="tel"],
.careers-form textarea,
.careers-form select,
.careers-form input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background: #f0f0f0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.careers-form input[type="file"] {
    padding: 7px 0;
    background: none;
    border: none;
}

.careers-form input:focus,
.careers-form textarea:focus,
.careers-form select:focus {
    border-color: #b07931;
    outline: none;
}

.careers-form textarea {
    resize: vertical;
    min-height: 70px;
    max-height: 200px;
}

.careers-form small {
    color: #777;
    display: block;
    margin-bottom: 12px;
    margin-top: -8px;
}

.careers-form button[type="submit"] {
    background: #b07931;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.09);
    transition: background 0.3s;
}

.careers-form button[type="submit"]:hover {
    background: #f44336;
}

/* Responsive Design */
@media (max-width: 700px) {
    .careers {
        width: 96%;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .careers-form {
        max-width: 100%;
        padding: 18px 8px;
    }
    .careers h2 {
        font-size: 22px;
    }
}


/* Job Slots Styles */
.job-slots {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 auto 40px auto;
    max-width: 700px;
}
.job-slot {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(176,121,49,0.09);
    padding: 22px 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    border-left: 5px solid #b07931;
    position: relative;
}
.job-slot:hover {
    box-shadow: 0 6px 16px rgba(176,121,49,0.18);
    transform: translateY(-2px) scale(1.01);
}
.job-title {
    font-size: 20px;
    font-weight: 600;
    color: #b07931;
    flex: 2;
    letter-spacing: 0.5px;
}
.job-meta {
    flex: 3;
    display: flex;
    gap: 28px;
    font-size: 15px;
    color: #777;
    align-items: center;
    flex-wrap: wrap;
}
.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.job-slot::after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 22px;
    color: #b07931;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

/* Popup Styles */
.job-popup {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6); /* dark overlay */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* allow scrolling if content is taller than screen */
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.job-popup-content {
    background: #fff3f3;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(176,121,49,0.17);
    max-width: 600px;
    width: 90%;
    margin: 40px auto; /* add spacing top/bottom for scroll */
    padding: 32px 20px 22px 20px;
    position: relative;
    color: #333;
    font-family: 'Poppins', sans-serif;
    animation: slideUp 0.2s;
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.job-popup-content h3 {
    color: #b07931;
    font-size: 24px;
    margin-bottom: 16px;
}
.job-popup-content p {
    font-size: 15px;
    margin-bottom: 10px;
    color: #555;
}
.job-popup-content strong {
    color: #b07931;
    font-weight: 500;
}
.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}
.close-btn:hover {
    color: #f44336;
}
/* Prevent body scroll when popup open */
.popup-open {
    overflow: hidden;
}

/* Responsive Job Slots and Popups */
@media (max-width: 700px) {
    .job-slots {
        max-width: 100%;
        gap: 12px;
    }
    .job-slot {
        padding: 14px 13px;
        font-size: 16px;
    }
    .job-title {
        font-size: 17px;
    }
    .job-meta {
        font-size: 13px;
        gap: 10px;
    }
    .job-popup-content {
        width: 90%;
        max-width: 90%;
        margin: 20px auto;
        padding: 22px 16px 18px 16px;
    }
    .close-btn {
        top: 8px;
        right: 8px;
        font-size: 24px;
    }
}








