*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #f7efe9;
    color: #111;
    /*BACKGROUND IMAGE*/
  background-image: url('photo 1.jpg');
  background-size: contain;
  background-position: center;
  background-attachment: fixed;
  position: relative;

}

/* Dark Overlay for text readability */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:  rgba(0, 0, 0, 0.2); /* Adjust opacity as needed */
 z-index: -1; /* Place behind content */  
}

/* Make navbar semi transparent */
.navbar{
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 20px 7%;
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 0;
}

/* Cards remain readable */
.card {
  background: white;
}


/* NAVBAR */

.navbar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo{
    font-size: 28px;
    font-weight: 800;
}

.logo span{
    color: #ff3dbf;
}

.nav-links{
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a{
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #ff3dbf;
}

.nav-buttons{
    display: flex;
    gap: 10px;
}

.login-btn,
.signup-btn{
    border: none;
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

.login-btn{
    background: black;
    color: white;
}

.signup-btn{
    background: #ff3dbf;
    color: white;
}

/* HERO */

.hero{
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 7%;
}

.hero-content h1{
    font-size: 75px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p{
    font-size: 20px;
    max-width: 800px;
    margin: auto;
    margin-bottom: 35px;
    color: #f7efe9;
}

.hero-form{
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-form input{
    padding: 16px;
    width: 260px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
}

.hero-form button{
    padding: 16px 28px;
    border: none;
    background: #ff3dbf;
    color: white;
    border-radius: 10px;
    cursor:pointer;
    font-size: 16px;
    font-weight: 600;
}

/* SERVICES */

.services{
    padding: 80px 7%;
}

.services h2{
    text-align: center;
    font-size: 50px;
    margin-bottom: 10px;
}

.subtitle{
    text-align: center;
    margin-bottom: 50px;
    color: #f7efe9;
    font-size: 18px;
}

.service-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    max-width: 1200px;
    margin: auto;   
    gap: 30px;
}

.card{
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    transition: 0.4s;
}

.card:hover{
    transform: translateY(-10px);
}

.card h3{
    font-size: 38px;
    margin-bottom: 10px;
}

.card p{
    margin-bottom: 20px;
}

.card img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.card button{
    padding: 14px 25px;
    border-radius: 30px;
    border: 2px solid black;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.card button:hover{
    background: black;
    color: white;
}

/* CARD COLORS */

.blue{
    background: #a9cff7;
}

.pink{
    background: #c5357d;
    color: white;
}

.yellow{
    background: #f7c300;
}

.orange{
    background: #ff7b00;
    color: white;
}

.green{
    background: #0aa174;
    color: white;
}

.dark{
    background: #4a4a4a;
    color: white;
}

/* FOOTER */

footer{
    background: #111;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 70px;
}

footer h3{
    font-size: 30px;
    margin-bottom: 10px;
}

/* RESPONSIVE */

@media(max-width: 992px){

    .navbar{
        flex-direction: column;
        gap: 20px;
    }

    .hero-content h1{
        font-size: 50px;
    }
}

@media(max-width: 600px){

    .hero-content h1{
        font-size: 38px;
    }

    .services h2{
        font-size: 35px;
    }

    .nav-links{
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Modal background overlay */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust opacity as needed */
    z-index: 2000; /* Place behind content */
    backdrop-filter: blur(5px); 
}

/* Modal content box */
.modal-content {
    background: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: slideDown 0.3s ease-out;
}   

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close button */
.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-weight: bold;
    font-size: 32px;
    color: #888;
    cursor: pointer;
}

.close:hover {
    color:  #ff3dbf;    
}

/* Form styling */
.modal-content h2 {
    margin-bottom: 25px;
    color: #111;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 40px;
    box-sizing: border-box;
}

.modal-content button {
    width: 100%;
    padding: 14px;
    background: #ff3dbf;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}


.modal-content button:hover {
    background: #e022a5;
}

.modal-content p {
    margin-top: 20px;
    text-align: center;
}

.modal-content a {  
    color: #ff3dbf;
    text-decoration: none;
} 

