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

body {
  font-family: 'Inter', sans-serif;
  background-color: black
  ;
  color: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo image */
.navbar img {
  height: 60px;
  margin-right: auto;
  cursor: pointer;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

/* Animate underline ONLY on links that are NOT contact button */
.nav-links a:not(.contact-btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, #00f2fe, #9b5de5);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: white;
}

.dropdown {
  position: relative; /* Required for absolute positioning of the submenu */
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Aligns exactly below the parent */
  left: 0;
  background-color: #111;
  border-radius: 4px;
  list-style: none;
  padding: 0.5rem 0;
  min-width: 180px;
  z-index: 9999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #ccc;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #222;
  color: #00f2fe;
}


.contact-btn {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 999px;
  color: white;
  background: #000;
  background-clip: padding-box;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1;
}


/* Gradient border effect */
.contact-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(to right, #00f2fe, #9b5de5);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: -1;
  transition: all 0.3s ease;
  border: none;
}

.contact-btn:hover {
  background: linear-gradient(to right, #00f2fe, #4931C1);
  border: none;
  box-shadow: 0 0 10px 5px #0693BB, 0 0 10px 10px #4931C1;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  margin-left: 1rem;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #000;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 10;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding-bottom: 1rem;
  }

  .hamburger {
    display: block;
  }

  .dropdown-menu {
    position: static;
    background: #111;
    width: 100%;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}
.blog-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 130px;
  background: url('../assets/Images/B;log-Bg.png') no-repeat center center/cover;
  height: 80vh;
  color: #fff;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-content {
  flex: 1;
  max-width: 550px;
}

.blog-content h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  align-items: flex-start;
  justify-content: flex-start;
  display: flex;
  max-width: 600px;
}

.blog-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  align-items: flex-start;
  justify-content: flex-start;
  display: flex;
  max-width: 600px;
}

.blog-image {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 600px;
}

.blog-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 1100px) {
  .blog-section {
    flex-direction: column;
    padding: 60px 20px;
    height: auto;
    gap: 40px;
  }
  .blog-content,
  .blog-image {
    max-width: 100%;
  }
  .blog-content h2,
  .blog-content p {
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .blog-section {
    padding: 30px 10px;
    gap: 25px;
  }
  .blog-content h2 {
    font-size: 2rem;
    margin-left: 10px;
    margin-right: 10px;
    }
    .blog-content p {
    font-size: 0.9rem;
    }
  .blog-image img {
    max-width: 320px;
  }
}

@media (max-width: 450px) {
  .blog-section {
    padding: 15px 6px;
    gap: 15px;
  }
  .blog-content h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .blog-content p {
    font-size: 0.9rem;
  }
  .blog-image img {
    max-width: 250px;
  }
}


/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 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 3rem; /* row and column gap */
  padding: 1rem 2rem;
  max-width: 1500px;
  margin: 0 auto;
}

/* Blog Card */
.blog-card {
  background-color: #1e1e1e;
  border-radius: 20px;
  padding: 1.3rem;
  flex: 1 1 calc(50% - 3rem); /* two per row minus gap */
  max-width: 650px; /* prevents overstretch */
  min-width: 480px; /* keeps layout stable */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

@media (max-width: 1100px) {
  .blog-card { flex: 1 1 calc(50% - 2rem); min-width: 420px; }
}
@media (max-width: 900px) {
  .blog-card { flex: 1 1 100%; min-width: 0; max-width: 650px; }
  .blog-grid { gap: 2.5rem; }
  .image-container { height: 420px; }
}

.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;
    }

    .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;
    }

    .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;
    }
}



.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
}

.footer-col {
    padding: 0 15px; /* Gutter space between columns */
}

/* --- Column 1: About Section --- */
.footer-col.about {
    flex: 2; /* Takes up more space */
    min-width: 250px;
}

.footer-col .logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-col .logo svg {
    width: 40px;
    height: auto;
    margin-right: 12px;
}

.footer-col .logo-text {
    font-size: 28px;
    font-weight: 600;
}

.footer-col .tagline {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
}

/* --- Column 2 & 3: Links and Connect --- */
.footer-col.links,
.footer-col.connect {
    flex: 1; /* Each takes up 1 part of the available space */
    min-width: 200px; /* Increased min-width to better fit the new icons */
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #a0a0a0;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Social Icons --- */
.social-links a {
    display: inline-block;
    color: #ffffff;
    font-size: 20px;
    margin-right: 15px; 
    transition: color 0.3s ease;
}

.social-links a:last-child {
    margin-right: 0;
}

.social-links a:hover {
    color: #a0a0a0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
        margin-bottom: 40px;
    }
    .footer-col:last-child {
        margin-bottom: 0;
    }
      .footer-col.connect {
        min-width: unset;
    }
}