* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  color: #ddd;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 20px;
  border-radius: 5px;
}

.logo .icon {
  font-size: 100px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 2rem;
}

nav {
  margin-right: 78px;
}

nav a {
  position: relative;
  margin-left: 95px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding-bottom: 13px;
  font-size: 22px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}
.hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            z-index: 20;
        }

        .hamburger span {
            width: 30px;
            height: 3px;
            background-color: white;
            margin: 4px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-6px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(45deg) translate(-6px, -6px);
        }

        @media (max-width: 768px) {
            .hamburger {
                display: flex !important;
            }
            
            nav {
                position: fixed !important;
                top: 0 !important;
                right: -100% !important;
                height: 100vh !important;
                width: 100% !important;
                background: rgba(0, 0, 0, 0.95) !important;
                flex-direction: column !important;
                justify-content: center !important;
                align-items: center !important;
                transition: right 0.4s ease !important;
                margin-right: 0 !important;
                z-index: 15 !important;
            }
            
            nav.active {
                right: 0 !important;
                display: flex;
            }
            
            nav a {
                margin: 20px 0 !important;
                margin-left: 0 !important;
                font-size: 20px !important;
            }

            header {
                flex-direction: row !important;
                justify-content: space-between !important;
            }
        }

.banner {
  position: relative;
  height: 127vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px 20px;
  border-radius: 10px;
}

.overlay-content {
  margin-top: 303px;
  align-items: center;
  font-weight: none;
}

.overlay-content p {
  color: #ddd;
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 1.7rem;
}

.btn {
  display: inline-block;
  padding: 24px 71px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-decoration: none;
  font-weight: 100;
  font-size: 21px;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #333;
}

.categories h2 {
  color: #555;
  font-size: 2.5rem;
  font-weight: 300;
  margin: 80px 26px;
}

.categories {
  margin-bottom: 40px;
}

.categories span {
  font-size: 1.9rem;
  color: #0095da;
  margin-right: 30px;
  margin-left: 28px;
}

.categories a {
  font-size: 1.8rem;
  color: #0095da;
  text-decoration: none;
  margin-right: 70px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.categories a.active,
.categories a:hover {
  border-color: #0095da;
}

.video-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 33px;
  margin: 25px;
  justify-content: center;
}

.video-box {
  background: #F4F4F4;
  overflow: hidden;
}

.thumb {
  position: relative;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.play-icon:hover {
  background: rgba(0,0,0,0.8);
}

.video-box h3 {
  margin-top: 26px;
  margin-bottom: 40px;
  margin-left: 21px;
  color: #0095da;
  font-weight: 200;
  font-size: 1.7rem;
}

.video-box p {
  color: #555;
  font-size: 1.1rem;
  line-height: 2.3;
  margin: -23px 21px 49px;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none; 
  padding: 0px;
}

.pagination li a {
  display: block;
  font-size: 19px;
  background-color: #f0ecec;
  padding: 25px 29px;
  text-decoration: none;
  color: black;  
  margin: 6px 8px;
}

.pagination .active-a {
  background-color: #ccc;
  color: black;
}

.hover:hover {
  background: #ccc;
}

.pagination li a:hover {
  background-color: #ddd;
}

.footer-area {
  padding: 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;
  gap: 30px;
}

.subscribe-box {
  width: 513px;
  background-color: #f3f3f3;
  padding: 40px 30px;
  border-radius: 3px;
}

.subscribe-box h2 {
  color: #3498db;
  margin-top: 20px;
  font-size: 28px;
  font-weight: 200;
  margin-bottom: 33px;
}

.subscribe-box p {
  color: #555;
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 2.7;
}

.subscribe-form {
  display: flex;
  gap: 18px;
}

.subscribe-form input {
  width: 70%;
  padding: 18px 17px;
  font-size: 19px;
  border: 1px solid #ccc;
  outline: none;
}

.subscribe-form button {
  background-color: #3498db;
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 5px 41px;
  font-weight: 200;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-form button:hover {
  background-color: #238ac7;
}

.quick-links {
  background-color: #f3f3f3;
  padding: 59px 63px;
  border-radius: 3px;
}

.quick-links h3 {
  color: #3498db;
  font-size: 26px;
  margin-bottom: 38px;
  font-weight: 100;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  margin-bottom: 28px;
}

.quick-links ul li a {
  color: #555;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.quick-links ul li a:hover {
  color: #3498db;
}

.our-pages {
  background-color: #f3f3f3;
  padding: 59px 87px;
  border-radius: 3px;
}

.our-pages h3 {
  color: #3498db;
  font-size: 26px;
  margin-bottom: 38px;
  font-weight: 100;
}

.our-pages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.our-pages ul li {
  margin-bottom: 28px;
}

.our-pages ul li a {
  color: #555;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.our-pages ul li a:hover {
  color: #3498db;
}

.footer-bottom {
  margin-top: 40px;
  float: right;
  color: #777;
  font-size: 20px;
  padding: 20px;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Tablet - Large (1024px and below) */
@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }
  
  nav {
    margin-right: 20px;
  }
  
  
  nav a {
    margin-left: 40px;
    font-size: 18px;
  }
  
  .logo .icon {
    font-size: 60px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .overlay-content p {
    font-size: 1.4rem;
  }
  
  .btn {
    padding: 20px 50px;
    font-size: 18px;
  }
  
  .categories h2 {
    font-size: 2rem;
    margin-right: 90px;
  }
  
  .categories span,
  .categories a {
    font-size: 1.5rem;
    margin-right: 20px;
  }
  
  .video-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .subscribe-box {
    width: 100%;
    grid-column: 1 / -1;
  }
   .categories h2 {
    margin-right: 40px;
  }
}



/* Tablet - Medium (768px and below) */
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
    flex-direction: column;
    gap: 15px;
  }
  
  .logo {
    padding: 20px 15px;
  }
  
  .logo .icon {
    font-size: 50px;
    margin-right: 8px;
  }
  
  .logo h1 {
    font-size: 1.3rem;
  }
  
  nav {
    margin-right: 0;
  }
  
  nav a {
    margin-left: 20px;
    font-size: 16px;
  }
  
  .banner {
    height: 80vh;
  }
  
  .overlay-content {
    margin-top: 150px;
  }
  
  .overlay-content p {
    font-size: 1.2rem;
    padding: 0 15px;
  }
  
  .btn {
    padding: 15px 40px;
    font-size: 16px;
  }
  
  .categories {
    text-align: center;
  }
  
  .categories h2 {
    font-size: 1.8rem;
    margin: 30px 15px;
  }
  
  .categories span {
    display: block;
    margin: 20px 0 15px 0;
    font-size: 1.3rem;
  }
  
  .categories a {
    font-size: 1.3rem;
    margin-right: 15px;
    display: inline-block;
  }
  
  .video-section {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 15px;
  }
  
  .video-box h3 {
    font-size: 1.5rem;
  }
  
  .video-box p {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .pagination li a {
    padding: 15px 20px;
    font-size: 16px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .subscribe-box {
    width: 100%;
    padding: 30px 20px;
  }
  
  .subscribe-box h2 {
    font-size: 24px;
  }
  
  .subscribe-box p {
    font-size: 16px;
    line-height: 2;
  }
  
  .subscribe-form {
    flex-direction: column;
  }
  
  .subscribe-form input {
    width: 100%;
  }
  
  .subscribe-form button {
    width: 100%;
    padding: 15px;
  }
  
  .quick-links,
  .our-pages {
    padding: 30px 20px;
  }
  
  .footer-bottom {
    float: none;
    text-align: center;
    font-size: 16px;
  }
   .categories h2 {
    margin-right: 40px;
  }
}

/* Mobile - Large (480px and below) */
@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }
  
  .logo {
    padding: 15px 10px;
  }
  
  .logo .icon {
    font-size: 40px;
    margin-right: 5px;
  }
  
  .logo h1 {
    font-size: 1.1rem;
  }
  
  nav a {
    margin-left: 15px;
    font-size: 14px;
    padding-bottom: 8px;
  }
  
  .banner {
    height: 70vh;
  }
  
  .overlay-content {
    margin-top: 100px;
  }
  
  .overlay-content p {
    font-size: 1rem;
    padding: 0 10px;
    line-height: 1.4;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 14px;
  }
  
  .categories h2 {
    font-size: 1.5rem;
    margin: 30px 10px;
  }
  
  .categories span {
    font-size: 1.1rem;
  }
  
  .categories a {
    font-size: 1.1rem;
  }
  
  .video-section {
    margin: 10px;
    gap: 15px;
  }
  
  .video-box h3 {
    font-size: 1.3rem;
    margin-top: 15px;
    margin-bottom: 20px;
  }
  
  .video-box p {
    font-size: 0.9rem;
    margin: -15px 15px 30px;
  }
  
  .pagination li a {
    padding: 12px 16px;
    font-size: 14px;
    margin: 4px 4px;
  }
  
  .footer-area {
    padding: 20px 10px;
  }
  
  .subscribe-box h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .subscribe-box p {
    font-size: 14px;
    line-height: 1.8;
  }
  
  .quick-links h3,
  .our-pages h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .quick-links ul li a,
  .our-pages ul li a {
    font-size: 16px;
  }
  
  .quick-links ul li,
  .our-pages ul li {
    margin-bottom: 20px;
  }
  
  .footer-bottom {
    font-size: 14px;
    padding: 15px 10px;
  }
   .categories h2 {
    margin-right: 40px;
  }
}

/* Mobile - Extra Small (360px and below) */
@media (max-width: 360px) {
  .logo .icon {
    font-size: 35px;
  }
  
  .logo h1 {
    font-size: 1rem;
  }
  
  nav a {
    margin-left: 10px;
    font-size: 12px;
  }
  
  .overlay-content p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 13px;
  }
  
  .categories h2 {
    font-size: 1.3rem;
  }
  
  .categories span,
  .categories a {
    font-size: 1rem;
  }
  
  
  .footer-bottom {
    font-size: 12px;
  }
   .categories h2 {
    margin-right: 40px;
  }
}

@media (max-width: 1200px) {
    .categories h2 {
    margin-right: 40px;
  }
}