* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid red; */
}

/* html, body {
  overflow-x: hidden;
  width: 100%;
} */


body {
  font-family: "Montserrat", sans-serif;
  background: #000000;
  color: #fff;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.navbar a:not(.btn):hover {
  color: #f04;
}

.btn {
  background: rgba(255, 0, 68, 0.647);
  color: #fff;
  padding: 0.6rem;
  border-radius: 0.3rem;
  font-weight: bold;
  text-decoration: none;
}

.btn:hover{
  color: #fff;
  background: rgba(255, 0, 68, 0.849);
}

/* Sidebar */
.sidebar {
  top: 0;
  right: 0;
  overflow-x: hidden;
  position: fixed;
  height: 100vh;
  width: 15.625rem;
  z-index: 1000;
  display: none;
  background-color: rgba(46, 44, 44, 0.322);
  backdrop-filter: blur(10px);
  /*glass effect*/
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sidebar li {
  width: 100%;
  /*for sidebar links to cover the full width of the sidebar*/
  list-style: none;
  margin: 1.25rem;
  padding: 0.2rem;
  /* display: block; */
  /* text-align: center; */
}

.sidebar a {
  width: 100%;
  text-decoration: none;
  color: #fff;
}

.menu-button {
  display: none;
}

.active:hover, .sidebar a:hover {
  color: #f04;
}

/* Hero */
.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0.7;
}

.hero-text {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(-50, -50%);
  padding: 15px;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 200;
  margin-bottom: 10px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 50px;
}

/* Cards */
.cards {
  background: #222;
  padding: 25px;
  border-radius: 0.9rem;
  transition: 0.3s;
}

.cards:hover {
  background: #333;
  transform: translate(-5px, -5px);
}

/* Stats */
.stats {
  display: flex;
  justify-content: space-around;
  padding: 25px;
  margin: 1.9rem;
  background: #000;
  text-align: center;
}

.stats h2 {
  font-size: 2rem;
  color: #f04;
}

.about {
  display: flex;
  justify-content: space-between;
  /* grid-template-columns: 1fr,1fr; */
  /* gap: 20vw; */
  padding: 25px;
  height: 60vh;
  /* align-items: center; */
}

.about-left,
.about-right {
  width: 60%;
  margin: 10px;
}

.about-left {
  background: #222;
  padding: 1.5rem;
  border-radius: 1.25rem;
  transition: 0.3s;
  width: 100%;
}

.about-left:hover {
  background: #333;
  transform: scale(1.02);
}

.about-right {
  width: 100%;
}

.about-right img {
  width: 100%;
  max-height: 100%;
  height: auto;
  border-radius: 1.25rem;
  opacity: 0.8;
  transition: 0.3s;
  object-fit: cover;
}

.about-right img:hover {
  transform: scale(1.02);
  transition: 0.3s;
  opacity: 1;
}

.advantages {
  /* margin: 30vw 0; */
  margin: 10vh 0;
  padding: 25px;
}

.advantages h2 {
  text-align: center;
  margin: 30px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.adv-cards {
  background: #222;
  border-radius: 1.25rem;
  transition: 0.3s;
  /* grid-column: 1/3; */
}

.adv-cards:hover {
  background: #333;
  transform: scale(1.02);
}

.span-two-rolls {
  grid-row: span 2;
  /*background-color: #f04;*/
}

.adv-cards-img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  opacity: 0.8;
  object-fit: cover;
}

.adv-cards-img:hover {
  opacity: 1;
}

.padding {
  padding: 1.5rem;
}

/* Testimonials */
.testimonials {
  text-align: center;
  padding: 60px 25px;
  background: #111;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.testi-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.testi-card {
  background: #222;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: 0.3s;
}

.testi-card:hover {
  background: #333;
  transform: translateY(-5px);
}

.testi-card p {
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, #111, #222);
  text-align: center;
  padding: 60px 25px;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.newsletter p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter input {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 0.4rem;
  outline: none;
  width: 250px;
}

.newsletter button {
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  background: #f04;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.newsletter button:hover {
  background: #c0033c;
}

#form-message{
  margin: 1rem;
  font-size: 1rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#form-message.hidden{
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
}

#form-message.success{
  color: #4caf50; 
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

#form-message.error{
  color: #f04;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Footer */
.footer {
  background: #000;
  padding: 40px 25px 20px;
  text-align: center;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #f04;
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-links a:hover ,
.footer-socials a:hover {
  color: #f04;
}

.footer-socials a {
  margin: 0 10px;
  color: #ccc;
  transition: 0.3s;
  font-size: 1.2rem;
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Global Image and Video Styles */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Media Query */

/* Tablet Responsive */
@media (max-width: 1024px) {

  .features,
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    display: block;
    text-align: center;
  }

  .about-img {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Tablet sizes: iPad Mini, Air, Pro, Galaxy Tab, Fold, etc. */
@media (max-width: 900px) {

  .features,
  .adv-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 15px;
  }

  .about {
    flex-direction: column;
    padding: 15px;
    height: auto;
    text-align: center;
  }

  .about-left,
  .about-right {
    width: 100%;
    margin: 15px 0;
  }

  .about-right img {
    max-height: 250px;
  }

  .stats {
    flex-direction: column;
    gap: 1rem;
    padding: 15px;
    margin: 1rem 0;
  }

  .advantages {
    padding: 15px;
    margin: 0;
  }

  .hero-text {
    position: absolute;
    top: 45%;
    right: 50%;
    padding: 0.7rem;
  }
}

/*Mobile Responsive */
@media (max-width: 768px) {
  .hero img {
    height: 100vh;
  }

  .hero-text {
    position: absolute;
    top: 45%;
    right: 20%;
    padding: 0.7rem;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .features,
  .adv-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .hideonMobile {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .about-left {
    width: 100%;
  }

  .about-left,
  .about-right {
    margin: 25px 0;
  }

  .advantages {
    margin: 30vw 0;
  }

  /* .adv-cards{
    width: 80vw;
  } */
}

/* Extra Small Phones (320px - 400px) */
@media (max-width: 400px) {

  /* .navbar {
    flex-direction: column;
    padding: 0.5rem;
  } 
  .navbar ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }*/
  .hero img {
    height: 100vh;
  }

  .hero-text h1 {
    font-size: 3rem;

  }

  .features,
  .adv-grid {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 20px;
  }

  .cards,
  .adv-cards {
    font-size: 0.95rem;
  }

  .about {
    display: block;
    padding: 10px;
    height: auto;
  }

  .about-left,
  .about-right {
    width: 100%;
    margin: 10px 0;
    padding: 0.5rem;
  }

  .about-left h2 {
    font-size: clamp(1.2rem, calc(4vw + 0.4rem), 2.3rem);
  }

  .about-right img {
    max-height: 180px;
  }

  .stats {
    flex-direction: column;
    gap: 0.7rem;
    padding: 10px;
    margin: 0.7rem 0;
  }

  .advantages {
    padding: 10px;
    margin: 0;
  }

  .advantages h2 {
    font-size: 1.1rem;
    margin: 10px 0;
  }
}

/* =====WHAT I'VE ACOOMPLISHED===================
1.WELL STRUCTURED HTML CODE
2.CLEAN DESIGN VIA CSS( NO FRAMEWORK)
3.MINIMALISTIC BUT GOOD USE OF JS FOR INTERACTIVITY 
4.LEARNT HOW TO USE GRID AND FLEX MORE 
5.GOOD LAPTOP RESPONSIVENESS ( CAN BE BETTER )
6.MOBILE-FIRST-DESIGN IMPLEMENTED WITH DECENT 
  REAPONSIVENESS ON SOME MOBILE DEVICES 
7.IMPROVED DEBUGGING SKILLS 
8.CLEAN LANDING PAGE 
=================================================

*/

/* 
========THINGS TO IMPROVE===========================
1.SMALL PHONE SIZE RESPONSOIVENESS
 (iphone 5, iphone SE .....320*568)

2.SOME TABLET SIZES-INVOLING--"ABOUT & ABOUT-IMG"
(ipad mini.....768*1024,
 ipad air 4......820*1180,
 ipad pro 11.....834*1194,
 galaxy tab S7 ....800*1280,
 galaxy fold 2... 884*1104)

3.THE GRID IMG RESPONSIVENESSS ON DIFFERENT VIEWPORTS

4. SLIGHTY MORE INTERACTIVITY USING JS( SCROLL REVEAL)

5. DISABLING THE HOVER STATE FOR "GET IN TOUCH" LINK

6.LANDING PAGE TEXT 
======================================================

*/

/* ============= PAGE-SPECIFIC STYLES ================ */

/* Designers Page */
.designers-section {
  padding: 50px 25px;
}

.designers-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.designers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.designer-card {
  background: #222;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: 0.3s;
}

.designer-card:hover {
  background: #333;
  transform: translateY(-10px);
}

.designer-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
}

.designer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.designer-card:hover .designer-image img {
  transform: scale(1.05);
}

.designer-card h3 {
  font-size: 1.3rem;
  padding: 20px 15px 5px;
  margin: 0;
}

.designer-title {
  color: #f04;
  font-size: 0.9rem;
  padding: 0 15px;
  margin: 5px 0;
}

.designer-bio {
  padding: 10px 15px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.designer-socials {
  display: flex;
  gap: 15px;
  padding: 15px;
  justify-content: center;
}

.designer-socials a {
  color: #ccc;
  font-size: 1.2rem;
  transition: 0.3s;
}

.designer-socials a:hover {
  color: #f04;
}

/* Collabs Page */
.collabs-section {
  padding: 50px 25px;
}

.collabs-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.collabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.collab-card {
  background: #222;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: 0.3s;
}

.collab-card:hover {
  background: #333;
  transform: translateY(-10px);
}

.collab-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
}

.collab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.collab-card:hover .collab-image img {
  transform: scale(1.05);
}

.collab-card h3 {
  font-size: 1.3rem;
  padding: 20px 15px 5px;
  margin: 0;
}

.collab-date {
  color: #f04;
  font-size: 0.9rem;
  padding: 0 15px;
  margin: 5px 0;
}

.collab-description {
  padding: 10px 15px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.collab-link {
  display: inline-block;
  padding: 0 15px 15px;
  color: #f04;
  text-decoration: none;
  transition: 0.3s;
}

.collab-link:hover {
  transform: translateX(5px);
}

/* Events Page */
.events-section {
  padding: 50px 25px;
}

.events-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.events-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.event-card {
  display: flex;
  gap: 30px;
  background: #222;
  padding: 30px;
  border-radius: 1.25rem;
  transition: 0.3s;
  align-items: flex-start;
}

.event-card:hover {
  background: #333;
  transform: translateX(10px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f04;
  color: #fff;
  min-width: 80px;
  width: 80px;
  height: 80px;
  border-radius: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.event-date .day {
  font-size: 2rem;
}

.event-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.event-content h3 {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
}

.event-location {
  color: #ccc;
  margin-bottom: 10px;
}

.event-description {
  opacity: 0.8;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.event-details {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #bbb;
}

.event-details span {
  display: flex;
  gap: 8px;
  align-items: center;
}

.past-events {
  padding: 50px 25px;
  text-align: center;
}

.past-events h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.past-events > p {
  opacity: 0.7;
  margin-bottom: 40px;
}

.past-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.past-event {
  background: #222;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: 0.3s;
}

.past-event:hover {
  transform: scale(1.02);
}

.past-event img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.past-event h3 {
  padding: 20px 15px 10px;
  margin: 0;
}

.past-event p {
  padding: 0 15px 15px;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Blog Page */
.blog-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  padding: 50px 25px;
}

.blog-section form{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-section input{
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 0.4rem;
  outline: none;
  width: 250px;
  margin-top: 1.25rem;
}

.blog-section button{
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  background: #f04;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  width: 250px;
}

.blog-section button:hover{
   background: #c0033c;
}

.blog-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.featured-post {
  background: #222;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: 0.3s;
}

.featured-post:hover {
  background: #333;
}

.featured-post img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.featured-content {
  padding: 30px;
}

.post-category {
  display: inline-block;
  background: #f04;
  color: #fff;
  padding: 5px 12px;
  border-radius: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.featured-post h2 {
  font-size: 2rem;
  margin: 15px 0;
}

.post-meta {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.post-excerpt {
  opacity: 0.8;
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  color: #f04;
  text-decoration: none;
  transition: 0.3s;
}

.read-more:hover {
  transform: translateX(5px);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.post-card {
  background: #222;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: 0.3s;
}

.post-card:hover {
  background: #333;
  transform: translateY(-5px);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: #222;
  padding: 20px;
  border-radius: 1.25rem;
}

.sidebar-widget h3 {
  margin: 0 0 15px 0;
}

.sidebar-widget ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-widget ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.sidebar-widget ul li a:hover {
  color: #f04;
  padding-left: 5px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.categories a {
  background: #333;
  color: #ccc;
  padding: 5px 10px;
  border-radius: 0.3rem;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.3s;
}

.categories a:hover {
  background: #f04;
  color: #fff;
}

.sidebar-widget form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-widget input {
  padding: 0.6rem;
  border: none;
  border-radius: 0.3rem;
  outline: none;
}

.social-links {
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
}

.social-links a {
  color: #ccc;
  transition: 0.3s;
}

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

/* Portfolio/Card Page */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  padding: 0 25px;
}

.filter-btn {
  background: #222;
  color: #fff;
  border: 2px solid transparent;
  padding: 10px 20px;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: #f04;
  color: #f04;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 25px;
  margin-bottom: 50px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  height: 300px;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 4, 68, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: 0.3s;
  padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
}

.portfolio-overlay p {
  margin: 0 0 15px 0;
  opacity: 0.9;
}

.view-btn {
  background: #fff;
  color: #f04;
  padding: 8px 15px;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.view-btn:hover {
  transform: scale(1.05);
}

.featured-projects {
  padding: 50px 25px;
  background: #111;
}

.featured-projects h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.projects-container {
  display: grid;
  gap: 30px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: #222;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: 0.3s;
  align-items: center;
}

.project-card:nth-child(even) .project-image {
  order: 2;
}

.project-card:hover {
  background: #333;
  transform: scale(1.02);
}

.project-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 1.25rem;
  margin: 0 auto;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 30px;
}

.project-tag {
  display: inline-block;
  background: #f04;
  color: #fff;
  padding: 5px 12px;
  border-radius: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.project-content h3 {
  font-size: 1.5rem;
  margin: 15px 0;
}

/* Contact Page */
.contact-section {
  padding: 50px 25px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info > p {
  opacity: 0.8;
  margin-bottom: 40px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.info-card {
  background: #222;
  padding: 20px;
  border-radius: 1.25rem;
  text-align: center;
  transition: 0.3s;
}

.info-card:hover {
  background: #333;
  transform: translateY(-5px);
}

.info-icon {
  font-size: 2.5rem;
  color: #f04;
  margin-bottom: 15px;
}

.info-card h3 {
  margin: 10px 0;
}

.info-card p {
  opacity: 0.8;
  font-size: 0.9rem;
  margin: 5px 0;
}

.info-card a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.info-card a:hover {
  color: #f04;
}

.social-section {
  margin-top: 40px;
}

.social-section h3 {
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
  font-size: 1.8rem;
  flex-wrap: wrap;
}

.social-icons a {
  color: #ccc;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #f04;
  transform: scale(1.1);
}

.contact-form {
  background: #222;
  padding: 40px;
  border-radius: 1.25rem;
}

.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 0.3rem;
  background: #333;
  color: #fff;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #444;
}

.form-group textarea {
  resize: vertical;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.form-group.checkbox input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.btn-large {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 0.3rem;
}

.faq-section {
  padding: 50px 25px;
  background: #111;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #222;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: 0.3s;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.faq-question:hover {
  background: #333;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-question i {
  transition: 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-answer p {
  opacity: 0.8;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 60px 25px;
  background: linear-gradient(135deg, #111, #222);
  margin: 50px 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  opacity: 0.8;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* .cta-section .btn {
  display: inline-block;
} */

.cta-section form{
   display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-section input {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 0.4rem;
  outline: none;
  width: 250px;
}

.cta-section button {
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  background: #f04;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.cta-section button:hover {
  background: #c0033c;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .contact-container,
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-image {
    order: unset;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .event-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .designers-grid,
  .collabs-grid,
  .posts-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .featured-post img {
    height: 250px;
  }

  .project-card {
    flex-direction: column;
  }

  .contact-form {
    padding: 25px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .featured-projects {
    padding: 30px 25px;
  }

  .featured-projects h2 {
    font-size: 1.5rem;
  }

  .event-details {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .portfolio-filters {
    padding: 0 10px;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .designer-card h3,
  .collab-card h3,
  .post-card h3 {
    font-size: 1.1rem;
  }

  .contact-info {
    text-align: center;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}
