@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
body {
    margin: 0;
    background: black;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

nav {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar-box {
    background-color: #14151B;
    border-radius: 40px;
    padding: 3px 1px;
    margin: 0 15px; 
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.15);
}

.logo img{
    width: 130px;
    position: relative;
    left: 20%;
    transform: translateX(-8%);
}

.nav-links {
    display: flex;
    gap: 150px;
    list-style: none;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    font-family: 'Bakbak One';
    font-weight: 200;
    font-style: normal;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 27px;
}

.nav-links li a:hover {
    background-image: linear-gradient(90deg, #29b5db, #6A49D3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.Book-A-Call {
    background: linear-gradient(90deg, #4931C1, #29b5db);
    color: white;
    font-weight: 600;
    font-size: 20px;
    padding: 15px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.2s;
    left: 10%;
    transform: translateX(-10%);
    text-decoration: none;
}

.Book-A-Call:hover {
    transform: translateX(-10%) scale(1.05);
    box-shadow: 0 0 10px 5px #0693BB, 0 0 10px 10px #4931C1;
}

.open-navbar {
    display: inline-block;
}

.slidebar {
    display: none;
} 

.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/static/Images/Home-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    color: #fff;
    z-index: 1;
    backdrop-filter: blur(4px); 
}

.Book-A-Call {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.hero-section::before {
    content: "";
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
  max-width: 600px;
  width: 100%;
}

.hero-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ccc;
    margin: 230px 0 10px; 
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.3;
    color: white;
    margin: 10px 0 20px; 
}

.hero-content p {
    font-size: 1rem;
    color: #aaa;
    margin: 10px 0 30px;
} 
.Book-A-Call {
    background: linear-gradient(to right, #6A11CB, #2575FC);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.Book-A-Call:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: fixed; 
    }
}

@media (max-width: 2000px) {
    .navbar-box {
        width: 95vw;
        padding: 8px 35px;
    }
}

@media (max-width: 1800px) {
    .logo img{
        width: 110px;
    }

    .nav-links {
        gap: 100px;
    }
    .nav-links li a {
        font-size: 22px;
    }
}
@media (max-width: 1500px) {
  * {
        box-sizing: border-box;
    }

    nav {
        width: 50%;
        padding: 0 5px;
        display: flex;
        justify-content: center;
        position: fixed;
        top: 30px;
        z-index: 1000;
    }

    .navbar-box {
        background-color: #14151B;
        border-radius: 35px;
        padding: 1px 25px;
        margin-left: -20px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .open-navbar {
        display: none;
    }
    .slidebar {
        display: inline-block;
        width: 100%;
    }   
    .logo img{
        width: 80px;
        position: relative;
        left: 10%;
        transform: translateX(-10%);
    }
    .sidebar-image {
        width: 40px;
        cursor: pointer;
    }

    .sidebar-links {
        display: none;
        margin-top: 10px;
        border: 2px solid #0693BB;
        width: 25%;
        height: 35rem;
        position: absolute;
        top: 85%;
        left: 70%;
        border-radius: 30px 30px 30px 30px;
        background: linear-gradient(90deg, #14151B, #2a2f31);
    }

    .sidebar-links.show {
        display: block;
    }
    
    .sidebar-links li {
        position: relative;
        top: 3rem;
        left: 30%;
        list-style: none;
        padding: 20px 0;
    }

    .sidebar-links a {
        text-decoration: none;
        color: white;
        font-family: "Odor Mean Chey", serif;
        font-size: 20px;
    }

    .sidebar-links li a:hover {
        background-image: linear-gradient(90deg, #29b5db, #6A49D3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }
    .sidebar-links .Book-A-Call {
        position: relative;
        font-size: 20px;
        padding: 10px 15px;
        left: 30%;
        top: 3rem;
    }
    .hero-content {
        max-width: 450px;
        width: 100%;
    }

    .hero-content h3 {
        font-size: 1.3rem;
        font-weight: 400;
        color: #ccc;
        margin: 250px 0 10px; 
    }

    .hero-content h1 {
        font-size: 1.5rem;
        font-weight: bold;
        line-height: 1.3;
        color: white;
        margin: 15px 0 20px; 
    }

    .hero-content p {
        font-size: 0.9rem;
        color: #aaa;
        margin: 10px 0 30px;
    }  

}

@media (max-width: 1100px) {
  * {
        box-sizing: border-box;
    }

     nav {
        width: 100%;
        padding: 0 5px;
        display: flex;
        justify-content: center;
        position: fixed;
        top: 30px;
        z-index: 1000;
    }

    .navbar-box {
        background-color: #14151B;
        border-radius: 35px;
        padding: 1px 25px;
        margin-left: -20px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .logo img{
        width: 70px;
    }

    .sidebar-image {
        width: 30px;
    }
}

@media (max-width: 800px) {
    .logo img{
        width: 70px;
        position: relative;
        left: 10%;
        transform: translateX(-10%);
    }
    .sidebar-image {
        width: 30px;
        cursor: pointer;
    }

    .sidebar-links {
        left: 60%;
        width: 35%;
        height: 25rem;
    }
    .sidebar-links li {
        position: relative;
        top: 1.2rem;
    }

    .sidebar-links a {
        text-decoration: none;
        color: white;
        font-family: "Odor Mean Chey", serif;
        font-size: 12px;
        top: -10rem;
    }

    .sidebar-links home-img  {
        height:25px; 
        vertical-align:middle; 
        margin-right:15px;
    }
    .sidebar-links .Book-A-Call {
        position: relative;
        top: 0.1rem;
        font-size: 9px;
    }
    .hero-section {
        background-image: url('/static/Images/image-2.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        min-height: 50vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
        text-align: center;
        top: -5rem;
    }
    .hero-content {
        max-width: 60vw;
        width: 100%;
        margin: 0 auto;
        padding: 0.5rem;
    }
    .hero-content h3 {
        font-size: 0.8rem;
        font-weight: 400;
        color: #ccc;
        margin: 10rem 0 0.5rem;
        line-height: 1.2;
    }
    .hero-content h1 {
        font-size: 1.2rem;
        font-weight: bold;
        line-height: 1.4;
        color: white;
        margin: 0.5rem 0 1rem;
        word-break: break-word;
    }
    .hero-content p {
        font-size: 0.75rem;
        color: #aaa;
        margin: 0.3rem 0 1rem;
        line-height: 1.5;
        word-break: break-word;
    }
    .Book-A-Call {
        font-size: 16px;
        padding: 10px 22px;
    }
}

@media (max-width: 660px) {
    .hero-section{
        top: -10rem;
    }
    .hero-content {
        max-width: 60vw;
        width: 100%;
        margin: 0 auto;
        padding: 0.5rem;
    }
    .hero-content h3 {
        font-size: 0.7rem;
        font-weight: 400;
        color: #ccc;
        margin: 11rem 0 0.5rem;
        line-height: 1.2;
    }
    .hero-content h1 {
        font-size: 1.2rem;
        font-weight: bold;
        line-height: 1.4;
        color: white;
        margin: 0.5rem 0 1rem;
        word-break: break-word;
    }
    .hero-content p {
        font-size: 0.65rem;
        color: #aaa;
        margin: 0.3rem 0 1rem;
        line-height: 1.5;
        word-break: break-word;
    }
    .Book-A-Call {
        font-size: 15px;
        padding: 10px 22px;
    }
}
@media (max-width: 550px) {
    .Book-A-Call {
        font-size: 15px;
        padding: 10px 22px;
    }
}
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1rem;
    }
    .hero-content p {
        font-size: 0.55rem;
    }
    .Book-A-Call {
        font-size: 15px;
        padding: 10px 22px;
    }
}
@media (max-width: 400px) {
    .navbar-box {
        padding: 1px 20px;
    }
    .sidebar-links {
        left: 30%;
        width: 60%;
        height: 27rem;
    }
    .sidebar-links li {
        position: relative;
        top: 1rem;
    }
    .sidebar-links a {
        text-decoration: none;
        color: white;
        font-family: "Odor Mean Chey", serif;
        font-size: 12px;
        top: -10rem;
    }
    .sidebar-links home-img  {
        height: 20px; 
        vertical-align:middle; 
        margin-right:15px;
    }
    .sidebar-links .Book-A-Call {
        position: relative;
        top: 1rem;
        font-size: 12px;
    }
    .hero-content {
        max-width: 70vw;
    }
    .hero-content h1 {
        font-size: 0.8rem;
    }
    .hero-content h3 {
        font-size: 0.5rem;
    }
    .hero-content p {
        font-size: 0.45rem;
    }
    .Book-A-Call {
        font-size: 10px;
        padding: 8px 17px;
    }
}


/* Hero Section */
.hero {
  text-align: center;
  padding: 20rem 2rem 4rem;
}

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(45deg, #3aefff, #a84cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: #aaa;
  margin-top: 1rem;
}

/* Blog Grid */
.blog-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 1rem 1rem;
  max-width: 1500px;
  margin: auto;
}

/* Blog Card */
.blog-card {
  background-color: #1e1e1e;
  border-radius: 20px;
  padding: 1.3rem;
  width: 600px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

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

.image-container {
  width: 100%;
  height: 550px; /* Increased from 200px */
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card h2 {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #fff;
}

.blog-card p {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.read-more {
  color: #3aefff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #a84cff;
}

@media (max-width:600px) {
    .hero h1 {
        font-size: 1.7rem;
        margin-top: -4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .blog-card {
        padding: 1.1rem;
        width: 390px;
    }

    .image-container {
        height: 300px;
    }

    .blog-card h2 {
        font-size: 1.1rem;
    }

    .blog-card p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

}
@media (max-width:450px) {
    .hero h1 {
        font-size: 1.5rem;
        margin-top: -7rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .blog-card {
        padding: 1.1rem;
        width: 300px;
    }

    .image-container {
        height: 300px;
    }

    .blog-card h2 {
        font-size: 0.8rem;
    }

    .blog-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}