/* Product Page Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Hero Section */
.product-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Product Categories */
.product-categories {
    color: #000;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: rgb(232, 232, 232);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 20px;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.category-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.category-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #ec7017, #285feb);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.featured-products h2 {
    color: #000;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ec7017, #285feb);
}

.product-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-features span {
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #555;
}

.product-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(90deg, #ec7017, #285feb);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(236, 112, 23, 0.3);
}

/* Product Details Section */
.product-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-detail-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    transition: all 0.3s ease;
}

.product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-detail-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-detail-card:hover .product-detail-image img {
    transform: scale(1.05);
}

.product-detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-detail-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #b76507 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-specs, .product-features, .product-applications {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-specs h3, .product-features h3, .product-applications h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.product-specs h3::after, .product-features h3::after, .product-applications h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #b76507, #0056b3);
}

.product-specs ul, .product-features ul, .product-applications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li, .product-features li, .product-applications li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.5;
    padding-left: 25px;
    position: relative;
}

.product-specs li::before, .product-features li::before, .product-applications li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #b76507;
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .product-details-grid {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 40px auto 0;
    }
    
    .category-image {
        height: 250px;
    }

    .product-slider {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .product-detail-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .product-detail-image {
        min-height: 300px;
    }

    .product-detail-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .product-hero {
        margin-top: 60px;
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .product-categories, .featured-products, .product-details {
        padding: 40px 0;
    }

    .category-grid {
        gap: 20px;
    }
    
    .category-image {
        height: 200px;
    }
    
    .category-card h3 {
        font-size: 1.3rem;
    }
    .category-card p {
        font-size: 0.95rem;
    }

    .featured-products h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .product-slider {
        gap: 20px;
    }

    .product-card {
        padding: 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-info h3 {
        font-size: 1.3rem;
    }

    .product-info p {
        font-size: 0.9rem;
    }

    .product-details-grid {
        gap: 40px;
        padding: 0 15px;
    }

    .product-detail-card {
        padding: 25px;
    }

    .product-detail-image {
        min-height: 250px;
    }

    .product-detail-content h2 {
        font-size: 1.8rem;
    }

    .product-specs, .product-features, .product-applications {
        padding: 20px;
    }

    .product-specs h3, .product-features h3, .product-applications h3 {
        font-size: 1.2rem;
    }

    .product-specs li, .product-features li, .product-applications li {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .product-hero {
        margin-top: 50px;
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .product-categories, .featured-products, .product-details {
        padding: 30px 0;
    }

    .category-grid {
        max-width: 400px;
        margin: 30px auto 0;
    }
    
    .category-card {
        padding: 15px;
    }

    .category-image {
        height: 150px;
    }

    .category-card h3 {
        font-size: 1.2rem;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .featured-products h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .product-slider {
        grid-template-columns: 1fr; /* Stack products on very small screens */
        max-width: 350px;
        margin: 30px auto 0;
    }

    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 15px;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .product-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .product-details-grid {
        gap: 30px;
        padding: 0 10px;
    }

    .product-detail-card {
        padding: 20px;
    }

    .product-detail-image {
        min-height: 200px;
    }

    .product-detail-content h2 {
        font-size: 1.5rem;
    }

    .product-specs, .product-features, .product-applications {
        padding: 15px;
    }

    .product-specs h3, .product-features h3, .product-applications h3 {
        font-size: 1.1rem;
    }

    .product-specs li, .product-features li, .product-applications li {
        font-size: 0.9rem;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    .product-specs li::before, .product-features li::before, .product-applications li::before {
        font-size: 1rem;
    }
}

/* Further fine-tuning for extremely small screens */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }

    .category-card h3 {
        font-size: 1.1rem;
    }

    .featured-products h2 {
        font-size: 1.6rem;
    }

    .product-detail-content h2 {
        font-size: 1.3rem;
    }
}



/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 3. Main content wrapper to push footer down */
body > *:not(footer) {
  flex: 1;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 1200px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }
  .feature-list {
    gap: 20px;
  }
  .video-wrapper {
    margin-right: 0;
  }
  .video-description h3 {
    margin-left: 0;
    text-align: center;
  }
  .btn {
    margin-left: 0;
    position: relative;
    display: block;
    width: fit-content;
    margin: 20px auto;
  }
}

@media screen and (max-width: 992px) {
  nav {
    right: 20px;
  }
  .explore-electronics .content h2 {
    font-size: 2.5rem;
  }
  .explore-electronics .content p {
    font-size: 1.2rem;
  }
  .what-we-do, .product-features, .demo-video {
    padding: 40px 20px;
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  nav {
    position: relative;
    top: 0;
    right: 0;
    align-items: center;
  }
  nav ul li {
    margin-left: 15px;
  }
  .feature {
    width: calc(50% - 15px);
  }
  .footer-content {
    gap: 20px;
  }
}

@media screen and (max-width: 576px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  nav ul li {
    margin: 0;
  }
  .explore-electronics .content h2 {
    font-size: 2rem;
  }
  .explore-electronics .content p {
    font-size: 1rem;
  }
  .feature {
    width: 100%;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 400px) {
  .overlay-text {
    font-size: 1.5rem;
  }
  .what-we-do, .product-features, .demo-video {
    font-size: 18px;
  }
}

/* Basic Styles */
nav ul li a {
  background: none;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav .contact-btn {
  background-color: #fff;
  color: #333;
  padding: 1px 1px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  bottom: 0px;
  right: 0;
}

nav .contact-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

nav .contact-btn i {
  font-size: 16px;
}

nav .phone-number {
  color: #fff;
  font-size: 14px;
  margin-top: 5px;
  text-align: right;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-left: 30px;
}

nav a {
  color: #000000;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}

/* Unique Underline Effect */
nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, #00ff88, #00a1ff);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 100%;
}

/* Glow Effect on Hover */
nav a:hover {
  color: #e68d06;
  text-shadow: 0 0 10px rgba(9, 34, 221, 0.5);
}

/* Active Link Style */
nav a.active {
  color: #1919e3;
}

nav a.active::after {
  width: 100%;
  background: linear-gradient(90deg, #f09310, #1529de);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  nav a {
    font-size: 1rem;
  }
}

/* Explore Electronics Section with Background Video */
.explore-electronics {
  margin-top: 23px;
  width: 100%;
  height: 100vh;
  /* Set the height to cover the full viewport */
  overflow: hidden;
}

/* MODIFIED: Move content to the left */
.explore-electronics .content {
  position: absolute;
  top: 50%;
  left: 10%;
  /* Move from 50% to 10% */
  transform: translateY(-50%);
  /* Remove translateX to keep it on the left */
  color: white;
  font-size: 2rem;
  text-align: left;
  /* Align text to the left */
  z-index: 10;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: black;
  color: white;
}

/* Overlay Text Styles */
.overlay-text {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  text-align: left;
  z-index: 1001;
  padding: 0px 5px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 15px 0 0 20px;
}

.logo-overlay {
  
  margin-top: 25px;
  z-index: 1100;
}

/* UPDATED: Fixed position for the logo */
.logo {
  height: auto;
  max-width: 100%;
  position: fixed;
  top: 40px; /* Adjust as needed */
  margin-top:  -269px;
  left: -10px; /* Adjust as needed */
  z-index: 1200; /* Ensure it's above other fixed elements like nav */
}

.overlay-text span {
  display: inline;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.overlay-text span:first-child {
  color: #ec7017;
}

.overlay-text span:last-child {
  color: #285feb;
}

/* Navigation Styles */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .overlay-text {
    position: relative;
    margin: 10px auto;
    text-align: center;
    width: fit-content;
  }
  .overlay-text span {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  nav {
    flex-direction: column;
    padding: 1rem 0;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .overlay-text span {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  /* Adjust logo size for smaller screens if needed */
  .logo {
    height: 45px;
    top: 10px;
    left: 10px;
  }
}

/* What We Do Section Styling */
.what-we-do {
  background-color: #f9f9f9;
  padding: 60px 0;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.what-we-do h2 {
  font-size: 36px;
  color: #000;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.what-we-do p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: #000;
  line-height: 1.6;
}

/* Section Styles */
.what-we-do, .product-features, .demo-video {
  padding: 60px 60px;
  background-color: #fff;
  text-align: center;
  font-size: 25px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-features {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
}

.product-features h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #333;
}

.feature {
  margin-bottom: 40px;
}

.feature i {
  color: #f3921b;
  margin-bottom: 10px;
}

.feature h3 {
  margin: 10px 0;
  font-size: 1.5rem;
  color: #222;
}

.feature p {
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* Video Section */
.video-wrapper {
  margin-bottom: -10px;
  margin-right: 500px;
  background-color: #cccc;
}

.video-description h3 {
  font-size: 35px;
  margin-top: -220px;
  margin-left: 700px;
  color: #000;
}

/* Footer Section */
footer {
  background-color: #333;
  color: white;
  padding: 40px 0;
  text-align: center;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-info, .footer-links, .footer-contact {
  width: 30%;
  margin-bottom: 20px;
}

.footer-info h3, .footer-contact h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-links h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-links p {
  font-size: 16px;
}

.footer-contact p {
  font-size: 16px;
}

.line-before {
  border-top: 1px solid #444;
  margin-top: 20px;
  margin-bottom: 20px;
}

footer p {
  font-size: 14px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

/* Media Queries */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    text-align: center;
  }
  nav ul {
    margin-top: 10px;
  }
  nav ul li {
    margin: 0 10px;
  }
  .overlay-text {
    left: 50%;
    transform: translateX(-50%);
  }
  .feature {
    width: 100%;
    max-width: 300px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .overlay-text {
    font-size: 1.5rem;
  }
  .form-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .form-buttons button {
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}

/* Responsive Design */
/* Large Screens (1200px and above) */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .explore-electronics {
    height: 100vh;
  }
  .content h2 {
    font-size: 3.5rem;
  }
  .content p {
    font-size: 1.5rem;
  }
  .overlay-text {
    font-size: 2.5rem;
  }
}

/* Medium Screens (992px to 1199px) */
@media screen and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  .explore-electronics {
    height: 90vh;
  }
  .content h2 {
    font-size: 3rem;
  }
  .content p {
    font-size: 1.3rem;
  }
  .overlay-text {
    font-size: 2.2rem;
  }
  .what-we-do h2 {
    font-size: 2.5rem;
  }
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (768px to 991px) */
@media screen and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  .explore-electronics {
    height: 80vh;
  }
  .content h2 {
    font-size: 2.5rem;
  }
  .content p {
    font-size: 1.2rem;
  }
  .overlay-text {
    font-size: 2rem;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .what-we-do h2 {
    font-size: 2.2rem;
  }
  .feature-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .video-wrapper {
    width: 100%;
  }
  .video-wrapper video {
    width: 100%;
    height: auto;
  }
}

/* Mobile Landscape (576px to 767px) */
@media screen and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  .explore-electronics {
    height: 70vh;
  }
  .content h2 {
    font-size: 2rem;
  }
  .content p {
    font-size: 1.1rem;
  }
  .overlay-text {
    font-size: 1.8rem;
  }
  .what-we-do h2 {
    font-size: 2rem;
  }
  .what-we-do p {
    font-size: 1rem;
  }
  .feature h3 {
    font-size: 1.3rem;
  }
  .feature p {
    font-size: 0.9rem;
  }
  .video-description h3 {
    font-size: 1.5rem;
  }
}

/* Mobile Portrait (575px and below) */
@media screen and (max-width: 575px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  .explore-electronics {
    height: 60vh;
  }
  .content h2 {
    font-size: 1.8rem;
  }
  .content p {
    font-size: 1rem;
  }
  .overlay-text {
    font-size: 1.5rem;
  }
  nav ul {
    padding: 10px;
  }
  nav ul li a {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
  .what-we-do h2 {
    font-size: 1.8rem;
  }
  .what-we-do p {
    font-size: 0.9rem;
  }
  .feature {
    padding: 15px;
  }
  .feature img {
    width: 60px;
    height: 60px;
  }
  .feature h3 {
    font-size: 1.2rem;
  }
  .feature p {
    font-size: 0.85rem;
  }
  .video-description h3 {
    font-size: 1.3rem;
  }
  footer {
    padding: 30px 0;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-info h3,
  .footer-contact h2 {
    font-size: 1.1rem;
  }
  .footer-info p,
  .footer-contact p {
    font-size: 0.9rem;
  }
}

/* Small Mobile Devices (320px and below) */
@media screen and (max-width: 320px) {
  .content h2 {
    font-size: 1.5rem;
  }
  .content p {
    font-size: 0.9rem;
  }
  .overlay-text {
    font-size: 1.3rem;
  }
  nav ul li a {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .what-we-do h2 {
    font-size: 1.5rem;
  }
  .feature img {
    width: 50px;
    height: 50px;
  }
  .feature h3 {
    font-size: 1.1rem;
  }
  .video-description h3 {
    font-size: 1.2rem;
  }
}

/* Device Orientation */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .explore-electronics {
    height: 100vh;
  }
  .content h2 {
    font-size: 2rem;
  }
  .content p {
    font-size: 1rem;
  }
  nav ul {
    flex-direction: row;
  }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .feature img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print Styles */
@media print {
  .explore-electronics video {
    display: none;
  }
  .content {
    position: static;
    color: #000;
  }
  nav {
    display: none;
  }
  .overlay-text {
    display: none;
  }
  .what-we-do,
  .product-features,
  .demo-video {
    page-break-inside: avoid;
  }
}

.contact-btn-standalone {
  position: fixed;
  bottom: 845px;
  right: 30px;
  background: linear-gradient(90deg, #ec7017, #285feb);
  color: white;
  padding: 1rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  height: 55px;
  width: 201px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #2c3e50;
}

.contact-btn-standalone i {
  font-size: 1.2rem;
}

.header__btn-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 1px;
  margin-top: 5px;
  opacity: 1;
  /* Dots should be visible even before hover */
  transition: opacity 0.3s ease;
  /* Smooth transition when hovered */
}

.header__btn-dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  /* Dots are white by default */
  animation: bounce 1.5s infinite ease-in-out;
  /* Bounce animation for the dots */
}

.header__btn-dots span:nth-child(1) {
  animation-delay: 0s;
}

.header__btn-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.header__btn-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.contact-btn-standalone:hover {
  background: transparent;
  color: #2c3e50;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.contact-btn-standalone:hover .header__btn-dots span {
  background-color: #2c3e50;
  /* Change dots color to match button hover */
}

.contact-btn-standalone:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
    /* Bounce up and down */
  }
}

.footer-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.company-content,
.important-links,
.office-section {
  flex: 1 1 30%;
  min-width: 250px;
}

/* Company Section */
.company-logo {
  position: absolute;
  height: auto;
  max-width: 100%;
  margin-top: 100%;
  margin-left: 120px;
  
}

.company-description {
  font-size: 16px;
  margin-bottom: 15px;
  margin-top: 80px;
  line-height: 1.5;
  position: relative;
}

.know-more-btn {
  /* display: inline-block */
  position: relative;
  padding: 10px 20px;
  background: linear-gradient(90deg, #ec7017, #285feb);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.know-more-btn:hover {
  background: linear-gradient(90deg, #ec7017, #285feb);
}

/* Important Links */
.important-links h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 15px;
}

.important-links ul {
  list-style: none;
  padding: 0;
}

.important-links ul li {
  margin-bottom: 10px;
}

.important-links ul li a {
  text-decoration: none;
  color: #FFF;
  font-size: 16px;
  transition: color 0.3s ease;
}

.important-links ul li a:hover {
  color: orangered;
  text-decoration: underline;
}

/* Office Section */
.office-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}

.office-details p {
  margin: 8px 0;
  font-size: 16px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #ccc;
  margin-top: 30px;
  font-size: 15px;
  color: #fff;
}

footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 1%;
  margin-left: 0%;
}