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

/* CSS Custom Properties for Theming */
:root {
    --primary-color: #1A1A3D;
    --accent-color: #FF6B35;
    --secondary-color: #4A90E2;
    --neutral-bg: #fefffc; /* for light blue bg color */
    --card-bg: #FFFFFF;
    --text-color: #2D2D2D;
    --text-light: #6B7280;
    --text-dark: #000000;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --nav-bg: #FF9100;
    --nav-bg-light: #ffffff;
}

[data-theme="dark"] {
    --primary-color: #E5E7EB;
    --neutral-bg: #1F2937;
    --card-bg: #374151;
    --text-color: #F3F4F6;
    --text-light: #D1D5DB;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background: var(--neutral-bg);
    line-height: 1.7;
    font-size: 1rem;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
}

h1 { font-size: 2.75rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.25rem; text-transform: uppercase;}
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent-color);}
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.25rem; color: var(--text-dark); }
.dark-color{ color: var(--text-dark); }
.right-img{display: flex; float: right;}


/*--General Styles---*/

/* Optional: Make nested lists look nice */
ul, ol, ul ol, ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.container {
  display: flex;
  justify-content: center; 
  align-items: center;     
  gap: 1%;                 
  min-height: 70vh;    
}

.container h2{
    font-size: 2em;
}

.Per50{
  width: 45%;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.OrangeColor{color: var(--accent-color);}

.section-LR {
  display: flex;
  align-items: center;      /* Vertically center text & image */
  justify-content: space-between;
  gap: 2rem;                /* Space between text and image */
  padding: 2rem 0;
  max-width: 1200px;        /* Optional: center content */
  margin: 0 auto;
}

.section-LR .text-content {
  flex: 0 0 60%;            /* Fixed 60% width */
}

.section-LR .text-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-LR .text-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.section-LR .image-content {
  flex: 0 0 40%;            /* Fixed 40% width */
}

.section-LR .image-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;       /* Optional: rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Optional: shadow */
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
  .section-LR {
    flex-direction: column;
    text-align: center;
  }
  .section-LR .text-content,
  .section-LR .image-content {
    flex: 0 0 100%;
  }
  .section-LR .image-content {
    margin-top: 1.5rem;
  }
}



/* Header */
.header {
    background-color: #FFFFFF;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header.scrolled {
    background: rgba(26, 26, 61, 0.9);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-placeholder img {
    width: 180px;
    height: 60px;
    object-fit: contain;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  background: var(--nav-bg-light);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nav a {
  position: relative;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer !important;
  border: 1px solid transparent;
}

/* Hover effect with underline animation */
.nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background-color: var(--nav-bg);
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav a:hover {
  background: rgba(255, 145, 0, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border: 1px solid rgb(255 147 5 / 21%);
}

/* Active link style */
.nav a.active {
  background-color: var(--nav-bg);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(255, 145, 0, 0.3);
}

/* Toggle buttons for mobile */
.nav-toggle, .theme-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-color);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.nav-toggle:hover, .theme-toggle:hover {
  color: var(--nav-bg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 61, 0.9), rgba(74, 144, 226, 0.7)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: fadeIn 2s ease-in-out;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    animation: slideUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #E5E7EB;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Buttons */
.btn {
    background: var(--accent-color);
    color: #FFFFFF;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 0;
    text-transform: uppercase;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    left: -100%;
    top: 0;
    transition: left 0.3s ease;
}

.btn:hover::after {
    left: 0;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #FFFFFF;
}

.btn:hover {
    background: #E55A2F;
    transform: translateY(-3px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
    padding: 1rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* Grids */
.tech-grid, .tier-grid, .team-grid, .partner-grid, .blog-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.tech-card, .tier-card, .team-card, .partner-logo, .blog-card, .product {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-card:hover, .tier-card:hover, .team-card:hover, .blog-card:hover, .product:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tech-card img, .tier-card img, .team-card img, .blog-card img, .product img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    object-fit: cover;
    height: 200px;
    transition: transform 0.3s ease;
}

.tech-card:hover img, .tier-card:hover img, .team-card:hover img, .blog-card:hover img, .product:hover img {
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 80px;
    margin-bottom: 0.5rem;
}

.team-card img {
    max-width: 120px;
    border-radius: 50%;
}

.values-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.values-list li {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

/* Forms */
.contact-form, .subscribe-form {
    max-width: 700px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    outline: none;
}

.form-group textarea {
    height: 160px;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
}

.subscribe-form input {
    flex: 1;
}

/* Footer */
.footer {
    background-color: #ececec;
    color: #000000;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #d6d6d6;
    margin-top: 2em;
    display: block;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer-social i {
    font-size: 1.5rem;
    margin: 0 0.75rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .cta-buttons { flex-direction: column; gap: 1rem; }
    .nav {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
    }
    .nav.active { display: flex; }
    .nav-toggle, .theme-toggle { display: block; }
     .nav {
        flex-direction: column;
        gap: 1rem;
        display: none;
    }

    .nav.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
    .section { padding: 3rem 1.5rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .tech-grid, .tier-grid, .team-grid, .partner-grid, .blog-grid, .product-grid { grid-template-columns: 1fr; }
}

.tier-card ul.main-list {
            margin-top: 0;
            margin-bottom: 1em;
            padding: 12px;
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(255, 107, 53, 0.1));
            border-radius: 10px;
            list-style: none;
            color: var(--text-dark);
 }

 .tier-card ul.main-list > li {
             margin-bottom: 6px;
             color: var(--text-dark);
             position: relative;
             padding-left: 30px;
         }

         .tier-card ul.main-list > li::before {
             content: '🌟';
             position: absolute;
             left: 0;
             top: 0;
         }

         .tier-card ul.sub-list {
             padding: 10px;
             background: #fff;
             border: 1px solid rgba(74, 144, 226, 0.2);
             border-radius: 8px;
             list-style: none;
             color: var(--text-dark);
         }

         .tier-card ul.sub-list li {
             margin-bottom: 6px;
             position: relative;
             padding-left: 25px;
         }

         .tier-card ul.sub-list li::before {
             font-family: "Font Awesome 6 Free";
            font-weight: 900;
            content: "\f00c"; /* check icon */
            color: #FF6B35;
            position: absolute;
            left: 0;
            top: 0.1rem;
            font-size: 0.9rem;
         }

/*
.tier-card ul {
list-style: none;
  margin-top: 0;
  margin-bottom: 1em;
  padding-left: 20px;
  color: var(--text-light);
}

.tier-card li {
list-style: none;
  margin-bottom: 6px;
  color: var(--text-light);
}


 .tier-card {
            list-style: none;
 }

.tier-card ul li {

             padding: 10px 0;
             font-size: 1.1em;
}

 .tier-card li::before {
            content: "✅";
            margin-right: 10px;
  }
*/

/* Blog-Specific Styles */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.blog-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.blog-content h2 {
    font-size: 1.8rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--primary-color);
}

.blog-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

[data-theme="dark"] .blog-content h1,
[data-theme="dark"] .blog-content h2,
[data-theme="dark"] .blog-content p {
    color: var(--text-color);
}

/* Subscribe Form Enhancements */
.subscribe-form input {
    padding: 0.75rem;
    border: 1px solid var(--text-light);
    border-radius: 4px;
    flex-grow: 1;
    font-size: 1rem;
    background: var(--card-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.2);
}

.subscribe-form .btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form .btn:hover {
    background: #E55A2F;
}

[data-theme="dark"] .subscribe-form input {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: var(--text-light);
}

[data-theme="dark"] .subscribe-form input:focus {
    border-color: var(--secondary-color);
}

 .response {
      margin-top: 12px;
      font-weight: bold;
    }

    .success {
      color: green;
    }

    .error {
      color: red;
    }

  .testimonial-section {
       padding: 40px 20px;
       max-width: 1200px;
       margin: auto;
       text-align: center;
     }
     .testimonial-title {
       font-size: 32px;
       margin-bottom: 40px;
     }
     .testimonials {
       display: flex;
       flex-wrap: wrap;
       justify-content: center;
       gap: 30px;
     }
     .testimonial {
       background: white;
       border-radius: 12px;
       box-shadow: 0 4px 10px rgba(0,0,0,0.1);
       padding: 20px;
       max-width: 500px;
       transition: transform 0.3s;
     }
     .testimonial:hover {
       transform: translateY(-5px);
     }
     .testimonial img {
       width: 100px;
       height: 100px;
       border-radius: 50%;
       object-fit: cover;
       margin-bottom: 15px;
     }
     .testimonial p {
       font-style: italic;
       font-size: 15px;
       color: #555;
     }
     .testimonial h4 {
       margin-top: 15px;
       font-size: 18px;
       color: #222;
     }
     .testimonial span {
       font-size: 14px;
       color: #999;
     }

    .section-title {
      text-align: center;
      font-size: 32px;
      margin-top: 40px;
      color: #333;
    }

     .video-section {
       max-width: 1300px;
       margin: auto;
       padding: 40px 20px;
       text-align: center;
     }

     .video-section h2 {
       font-size: 32px;
       margin-bottom: 30px;
       color: #333;
     }

     .video-grid {
       display: flex;
       flex-wrap: wrap;
       gap: 30px;
       justify-content: center;
     }

     .video-card {
       width: 320px;
       position: relative;
       cursor: pointer;
       transition: transform 0.2s;
     }

     .video-card:hover {
       transform: scale(1.02);
     }

  .video-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }
    .video {
      width: 300px;
    }
    iframe {
      width: 100%;
      height: 170px;
    }

     .thumbnail {
       width: 100%;
       border-radius: 12px;
       box-shadow: 0 4px 12px rgba(0,0,0,0.1);
     }

     .play-button {
       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;
     }

     .play-button::before {
       content: '▶';
       font-size: 28px;
       color: white;
       margin-left: 4px;
     }

     .video-title {
       margin-top: 12px;
       font-size: 18px;
       color: #333;
     }

     /* Modal Styling */
     .modal {
       display: none;
       position: fixed;
       z-index: 9999;
       top: 0; left: 0;
       width: 100%;
       height: 100%;
       background: rgba(0,0,0,0.8);
       justify-content: center;
       align-items: center;
     }

     .modal iframe {
       width: 90%;
       max-width: 800px;
       height: 450px;
       border: none;
       border-radius: 8px;
     }

     .modal.active {
       display: flex;
     }

     .modal-close {
       position: absolute;
       top: 20px;
       right: 40px;
       color: white;
       font-size: 30px;
       cursor: pointer;
     }

     @media (max-width: 600px) {
       .video-card {
         width: 90%;
       }
       .modal iframe {
         height: 250px;
       }
     }

      .price {
            font-size: 1.2em;
            color: var(--text-light);
            font-weight: bold;
            text-decoration: line-through;
        }

        .offer {
            color: #d32f2f;
            font-weight: bold;
        }

        .validity::before {
            content: ;
            margin-right: 8px;
        }

        .price::before {
            content: '💰';
            margin-right: 8px;
        }

        .offer::before {
            content: '🎉';
            margin-right: 8px;
        }
