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

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    background: linear-gradient(to bottom, #000000 60%, #121212 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
}

/* 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;
  }
}


.what-we-do {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    max-width: 700px;
    margin: 10px auto 0 auto;
    border-radius: 10px;
}

.what-we-do h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.what-we-do h2 span {
    color: #00AEEF; /* Blue color for "Best" */
}

.description, 
.approach {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #d1d1d1;
}

@media (max-width: 600px) {
    .what-we-do h2 {
    font-size: 22px;
    }
    .description, 
    .approach {
    font-size: 14px;
    }
}

.container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    width: 100%;
    margin: 20px auto 0 auto;
}

.card {
    background-color: #000000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid #919191;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.2;
}

p {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

.card.branding-identity {
    grid-column: span 1;
    grid-row: span 2;
}

.card.website-design {
    grid-column: span 2;
}

.card.seo, .card.graphic-design {
    grid-column: span 1;
}

/* Adjusted layout for the bottom row */
.card.social-media {
    grid-column: span 2;
}
.card.content-writing {
    grid-column: span 1;
}

@media (max-width: 768px) {
    .container {
    grid-template-columns: 1fr;
    }

    .card, .card.branding-identity, .card.website-design, .card.seo, .card.graphic-design, .card.content-writing, .card.social-media {
    grid-column: span 1;
    grid-row: span 1;
    }

    h2 {
    font-size: 1.5rem;
    }

    h3 {
    font-size: 1.2rem;
    }

    .card {
    min-height: 200px;
    }
}



.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0;
  position: relative;
  top: 3rem;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.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;
  text-fill-color: transparent;
}

/* --- 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;
}

/* --- Card Link Styling --- */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.card-link:hover .card {
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.3);
}

.card-link:visited {
    color: inherit;
    text-decoration: none;
}

.card-link:focus {
    outline: 2px solid #00bfff;
    outline-offset: 2px;
}

/* --- 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;
    }
}