:root {
  /* Light Theme Colors */
  --primary-color: #ff6b6b;
  --secondary-color: #ff8787;
  --accent-color: #fa5252;
  --background-light: #ffffff;
  --text-light: #1f2937;
  --text-muted-light: #6b7280;
  --border-light: #ffe3e3;
  --card-bg-light: #ffffff;
  --gradient-start: #ff6b6b;
  --gradient-end: #ffa8a8;

  /* Dark Theme Colors */
  --background-dark: #1a1a1a;
  --text-dark: #f3f4f6;
  --text-muted-dark: #9ca3af;
  --border-dark: #2d2d2d;
  --card-bg-dark: #2d2d2d;

  /* Common Variables */
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --card-shadow: 0 4px 6px rgba(255, 107, 107, 0.1);
  --card-shadow-hover: 0 10px 15px rgba(255, 107, 107, 0.2);
}

 /* Top Bar Styling */
 .top-bar {
    background-color: #ffffff; /* White background */
    border-bottom: 1px solid #e2e8f0; /* Light border at the bottom */
  }
  .top-bar a {
    color: #4299e1; /* Blue text color */
    font-weight: 500;
    transition: color 0.3s ease;
  }
  .top-bar a:hover {
    color: #3182ce; /* Darker blue on hover */
  }
  .top-bar i {
    margin-right: 12px; /* Add space between icon and text */
  }

  .video-slide {
    transition: opacity 1s ease-in-out;
  }

  /* Navbar Styling */
  .navbar {
    /* background-color: #1a365d; Dark blue color */
    /* background: linear-gradient(45deg, #4FACFE, #00F2FE); */
    /* background: linear-gradient(to right, #1e3c72, #2a5298); Gradient background */
    /* background: linear-gradient(to right, #00c6ff, #0072ff); */
    /* background: linear-gradient(to right, #ff9a9e, #fecfef); */
    /* background: linear-gradient(to right, #1a2980, #26d0ce); */
    background-color: white;
     position: sticky; 
     top: 0;
    left: 0;
    width: 100%;
     
    z-index:  1000;
  }
  .hidden {
    top: -60px; /* Adjust based on navbar height */
}
  .nav-link {
    /* color: #ffffff; White text */
    color: #000000;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
  }
  .nav-link:hover {
    color: #ff6b6b; /* Light red color on hover */
    background-color: rgba(255, 255, 255, 0.1); /* Slight white background on hover */
    border-radius: 4px;
  }
  .nav-link.active {
    color: #ff6b6b; /* Light red color for active link */
    border-bottom: 2px solid #ff6b6b; /* Underline effect */
  }

 



  /* Services Section Styling */
  .service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-10px); /* Lift the card slightly */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Add a stronger shadow */
  }
  .icon-container {
    transition: background-color 0.3s ease;
  }
  .service-card:hover .icon-container {
    background-color: #4299e1; /* Change icon background color on hover */
  }
  .service-card:hover .icon-container i {
    color: #ffffff; /* Change icon color on hover */
  }
  /* Contact Section */
.contact {
  padding: 6rem 2rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  gap: 2rem;
}

.info-card {
  background: var(--card-bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.info-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-form {
  background: var(--card-bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--text-light);
  transition: var(--transition);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}
/* Experts says section */
.expert-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.expert-section h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #2c3e50;
  position: relative;
  display: inline-block;
}

.expert-section h1::after {
  content: '';
  width: 60%;
  height: 4px;
  background: #e74c3c;
  position: absolute;
  bottom: -10px;
  left: 20%;
}

.expert-section p.subtitle {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 60px;
}

.expert-thoughts {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.expert-thought {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.expert-thought.visible {
  opacity: 1;
  transform: translateY(0);
}

.expert-thought:nth-child(odd) {
  flex-direction: row;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.expert-thought:nth-child(even) {
  flex-direction: row-reverse;
  background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}

.expert-thought img {
  width: 200px;
  height: 200px;
  border-radius: 10%;
  margin: 0 30px;
  border: 4px solid #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-thought:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.expert-thought .content {
  flex: 1;
  text-align: left;
  color: #333;
}

.expert-thought p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.expert-thought .author {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c3e50;
}

.expert-thought .position {
  font-size: 1rem;
  color: #666;
}

@media (max-width: 768px) {
  .expert-thought {
    flex-direction: column;
    text-align: center;
  }

  .expert-thought img {
    margin: 0 0 20px 0;
  }

  .expert-thought .content {
    text-align: center;
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #333;
  animation: fadeInDown 1s ease-out;
}

.section-header p {
  font-size: 18px;
  color: #666;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Zig-Zag Section */
.zig-zag-section {
  padding: 100px 20px;
  background: rgba(255, 255, 255, 0.9);
}

.card {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s, transform 0.5s, box-shadow 0.3s;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.card.animate {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card.left {
  flex-direction: row;
}

.card.right {
  flex-direction: row-reverse;
}

.card-content {
  flex: 1;
  padding: 20px;
}

.card-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.card-content p {
  font-size: 16px;
  color: #eee;
  margin-bottom: 20px;
}

.card-content ul {
  list-style: none;
  padding: 0;
}

.card-content ul li {
  font-size: 14px;
  color: #eee;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.card-content ul li::before {
  content: "✔";
  color: #4CAF50;
  margin-right: 10px;
}

.card-image {
  flex: 1;
  text-align: center;
}

.card-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

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

/* Gradient Colors for Each Card */
.card:nth-child(1) {
  /* background: linear-gradient(135deg, #6a11cb, #2575fc); */
  /* background: linear-gradient(135deg, #a8c0ff, #e8e8e8); */
  background: linear-gradient(135deg, #3a1c71, #d76d77, );
}

.card:nth-child(2) {
  /* background: linear-gradient(135deg, #b97f81, #f0e8e6); */
  background: linear-gradient(135deg, #2c3e50, #4ca1af);
}

.card:nth-child(3) {
  /* background: linear-gradient(135deg, #2575fc, #6a11cb); */
  /* background: linear-gradient(135deg, #a8c0ff, #e8e8e8); */
  background: linear-gradient(135deg, #434343, #000000);
}

/* Custom Alert Modal Styles */
#customAlert {
  z-index: 1000; /* Ensure it appears above other content */
}

#customAlert .bg-white {
  max-width: 400px; /* Limit width of the modal */
  width: 90%; /* Responsive width */
}

#customAlert h3 {
  color: #333; /* Dark text for the heading */
}

#customAlert p {
  color: #666; /* Gray text for the message */
}

#customAlert button {
  transition: background-color 0.3s ease;
}

#customAlert button:hover {
  background-color: #3b82f6; /* Darker blue on hover */
}
/* Blog Hero Section */
.blog-hero {
  /* background: linear-gradient(45deg, #4FACFE, #00F2FE); */
  color: black;
  padding: 100px 0;
  text-align: center;
}

.blog-hero h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-hero p {
  font-size: 1.2rem;
}

/* Blog Posts Section */
.blog-posts {
  padding: 50px 0;
  text-align: center;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.post {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

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

.post h3 {
  margin: 20px;
  font-size: 1.5rem;
}

.post p {
  margin: 0 20px 20px;
  color: #666;
}

.post .btn-gradient {
  display: inline-block;
  margin: 0 20px 20px;
}

/* Blog Categories Section */
.blog-categories {
  padding: 50px 0;
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category {
  background: linear-gradient(45deg, #F6D365, #FDA085);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.category:hover {
  transform: translateY(-5px);
}


        /* Chat icon styling */
        .chat-icon {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background-color: #007bff;
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .chat-icon:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
        }

        /* Chat container styling */
        .chat-container {
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 350px;
            height: 450px;
            border: 1px solid #e0e0e0;
            border-radius: 15px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            background-color: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transform: scale(0);
            transform-origin: bottom right;
            transition: transform 0.3s ease;
        }

        .chat-container.open {
            transform: scale(1);
        }

        .chat-header {
            background-color: #007bff;
            color: white;
            padding: 15px;
            text-align: center;
            font-size: 18px;
            font-weight: bold;
        }

        .chat-messages {
            flex: 1;
            padding: 10px;
            overflow-y: auto;
            background-color: #f8f9fa;
        }

        .message {
            margin-bottom: 10px;
            padding: 10px;
            border-radius: 10px;
            max-width: 70%;
            font-size: 14px;
        }

        .user-message {
            background-color: #007bff;
            color: white;
            align-self: flex-end;
        }

        .bot-message {
            background-color: #e9ecef;
            color: #333;
            align-self: flex-start;
        }

        .chat-input {
            display: flex;
            border-top: 1px solid #e0e0e0;
            background-color: white;
        }

        .chat-input input {
            flex: 1;
            padding: 12px;
            border: none;
            outline: none;
            font-size: 14px;
        }

        .chat-input button {
            padding: 12px 15px;
            background-color: #007bff;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .chat-input button:hover {
            background-color: #0056b3;
        }
    

/* Contact Page */
.contact {
  padding: 80px 0;
  /* background: #f8f9fa; Light gray background */
  /* background-color: #F5F5F5;
color: #333333; */
/* background: linear-gradient(to right, #E3F2FD, #BBDEFB); */
/* background: linear-gradient(to right, #d9a7c7, #fffcdc); */
/* background: linear-gradient(to right, #ff9a9e, #fecfef); */
background: linear-gradient(to right, #00c6ff, #0072ff);


}

.contact h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #34495e; /* Dark blue-gray */
  text-align: center;
}

.contact .subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: #666;
  text-align: center;
}

.contact-content {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-form {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-details {
  width: 300px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h3,
.social-links h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #34495e; /* Dark blue-gray */
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info ul li i {
  font-size: 20px;
  color: #3498db; /* Blue for icons */
  margin-right: 10px;
}
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: #34495e; /* Dark blue-gray */
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  background: #3498db; /* Blue for submit button */
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #2980b9; /* Darker blue for hover */
}
 /* Responsive Design */
 @media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-details {
    width: 100%;
  }
}

/* research growth section */
.research-growth-section {
  background: linear-gradient(135deg, #F5F7FA, #FFFFFF);
  padding: 80px 0;
  overflow: hidden;
}

.split-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-content {
  max-width: 50%;
}

.text-content h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 20px;
}

.text-content .subheadline {
  font-size: 1.2rem;
  color: #6C63FF;
  margin-bottom: 30px;
}

.text-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.offer-list li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.offer-list li::before {
  content: "✔";
  color: #00BFA6;
  position: absolute;
  left: 0;
}

.cta-button {
  background: #6C63FF;
  color: #FFF;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #00BFA6;
}

.image-content img {
  max-width: 100%;
  border-radius: 10px;
  margin-left: 50px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

  /* Footer */
.footer {
  background: var(--background-dark);
  color: var(--text-dark);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--text-muted-dark);
  text-decoration: none;
  transition: var(--transition);
}

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

/* .newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--text-dark);
} */

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  text-emphasis-color: var(--text-muted-dark);
}
/* Newsletter Section Styles */
.column h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: bl; /* Light text color */
}

.column form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.column input[type="email"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  background-color: white; /* Light background for input */
  color: #333; /* Dark text color */
}

.column input[type="email"]:focus {
  border-color: #4FACFE; /* Change border color on focus */
}

.column .btn-gradient {
  background: linear-gradient(45deg, #F6D365, #FDA085);
  color: white; /* Light text color */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column .btn-gradient:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

/* Dark Mode Styles */
body.dark-mode .navbar {
  background: rgba(15, 23, 42, 0.95);
}

body.dark-mode .card,
body.dark-mode .pricing-card,
body.dark-mode .team-card,
body.dark-mode .testimonial-card,
body.dark-mode .info-card,
body.dark-mode .contact-form {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}


  /* Keyframes for fly-in animation */
  @keyframes flyIn {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* Apply animation to the heading */
  /* .animate-fly-in {
    animation: flyIn 1s ease-out forwards;
  } */

  /* Apply animation to the paragraph with a delay */
  /* .animate-fly-in-delay {
    animation: flyIn 1s ease-out 0.5s forwards;
    opacity: 0; /* Start invisible *
  } */

  /* Apply animation to the button with a longer delay */
  /* .animate-fly-in-delay-2 {
    animation: flyIn 1s ease-out 1s forwards;
    opacity: 0; /* Start invisible *
  } */
