/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #A9D7FF;
    text-align: center;
}

/* Global box-sizing */
* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
  }
  
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100px;
  }
  
  .header-spacer {
    height: 90px; /* matches header height to push content down */
  }
  
  /* Logo */
  .logo img {
    height: 90px;
  }
  
  /* Navigation */
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #1A2954;
    padding: 5px 20px;
    border-radius: 20px;
    transition: 0.3s;
  }
  
  nav ul li a:hover {
    background-color: #D1ECFF;
    color: #1A2954;
  }
  
  /* Hero Section */
  #hero {
    text-align: center;
    padding: 10px 0px;
    background: #f8f9fa;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 175px;
  }
  
  /* Blinking Text */
  .blinking {
    font-size: 1.75rem;
    font-weight: bold;
    color: #042649;
    animation: blink 1.2s infinite alternate;
  }
  
  @keyframes blink {
    0% { opacity: 1; }
    100% { opacity: 0.3; }
  }
  
  .subline {
    color: #1d6cc0; /* light blue */
    font-size: 1rem;
    font-style: italic;
    margin-top: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  

/* IMAGE SLIDER */
.image-slider {
    width: 100%;
    height: 480px; /* Adjusted for 2 images */
    overflow: hidden;
    position: relative;
    margin-top: -50px; /* Pulls the section up slightly */
}

.slider {
    display: flex;
    width: 200%; /* 2 images */
    animation: slide 8s infinite; /* Adjusted timing */
}

.slider img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

/* Pause on Hover */
.slider:hover {
    animation-play-state: paused;
}

/* Sliding Animation */
@keyframes slide {
    0%, 45% { transform: translateX(0); }
    50%, 95% { transform: translateX(-100vw); }
    100% { transform: translateX(0); }
}

#services {
    background: radial-gradient(ellipse at top left, #f1f7ff 30%, #e6f0fb 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative blobs (background glow) */
#services::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(91, 155, 255, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

#services::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.07), transparent 70%);
    filter: blur(100px);
    z-index: 0;
}

#services h2 {
    font-size: 34px;
    color: #1b2e5b;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

#services h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    border-radius: 5px;
    animation: pulseLine 2s infinite alternate;
    opacity: 0.85;
}

@keyframes pulseLine {
    0% { transform: translateX(-50%) scaleX(1); }
    100% { transform: translateX(-50%) scaleX(1.2); }
}

/* Service Cards Container */
.service-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Individual Service Card */
.service-box {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 300px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Card Titles */
.service-box h3 {
    font-weight: 700;
    margin: 20px 0 15px;
    color: #3b4cca;
    font-size: 20px;
}

/* Card Icons */
.service-icon {
    width: 50px;
    height: 50px;
}

/* Service List */
.service-box ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.service-box ul li {
    margin: 10px 0;
    font-weight: 500;
}

/* Service List Links */
.service-box ul li a {
    text-decoration: none;
    color: #023872c4;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.service-box ul li a:hover {
    color: #3b4cca;
    text-decoration: underline;
}

/* Hide extra items if needed */
.hidden-items {
    display: none;
}

/* Button at the bottom of cards */
.more-btn {
    margin-top: 20px;
    padding: 8px 22px;
    font-size: 14px;
    color: #fff;
    background: #3b4cca;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.more-btn:hover {
    background: #2a32a0;
    transform: scale(1.05);
}

/* Specific background color variants for cards */
.academic { background-color: #d9e6f4; border-top-color: #0fd2ff; }
.business { background-color: #b5d3f2; border-top-color: #0fd2ff; }
.job { background-color: #99c0e9; border-top-color: #0fd2ff; }

/* Samples Section */
#samples {
    background: linear-gradient(to bottom right, #0a1a42, #122a63); 
    padding: 60px 0;
    color: white;
    text-align: center;
    position: relative;
}

#samples h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 40px;
    letter-spacing: 1.2px;
    position: relative;
}

#samples h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #00c3ff;
    margin: 12px auto 0;
    border-radius: 3px;
}

/* Slider Wrapper */
.sample-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 10px;
}

.sample-container {
    width: 85%;
    overflow: hidden;
    padding: 10px 0;
}

.sample-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Sample Box Styling */
.sample-box {
    min-width: 200px;
    height: 120px;
    background: #ffffff;
    color: #0a1a42;
    padding: 16px;
    margin: 10px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.sample-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* File Links */
.sample-box a {
    color: #023872;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.sample-box a:hover {
    color: #3ba9ff;
    text-decoration: underline;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    background: #ffffff;
    color: #0a1a42;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10;
}

.prev-btn { left: 1%; }
.next-btn { right: 1%; }

.prev-btn:hover, .next-btn:hover {
    background: #e6f3ff;
    transform: scale(1.1);
}


#working-method {
    text-align: center;
    background-color: #f8f9fa;
    padding: 0; /* Removes extra padding */
    margin: 0; /* Ensures no unwanted spacing */
}

.method-image img {
    width: 100%;
    height: auto;
    display: block;
}

.method-text {
    max-width: 80%;
    margin: 20px auto;
    padding: 20px 0; /* Adjust padding for consistency */
    text-align: center;
}

.method-text h2 {
    font-size: 28px;
    color: #1A2954;
    margin-bottom: 10px;
}

.method-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Blog Section */
#blog-section {
    padding: 50px 0;
    background-color: #062d57ea;
    color: white;
    text-align: center;
}

/* Section Title */
.section-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

#latest-insights {
    padding-top: 100px; /* Adjust based on navbar height */
    margin-top: -100px; /* Prevents extra space above */
}

.blog-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
    margin-bottom: 50px;
    background: #032c55; /* Change this to your desired color */
    padding: 10px; /* Optional: Add padding for spacing */
    border-radius: 10px; /* Optional: Rounded corners */
}


/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive */
    gap: 20px;
}

/* Blog Preview Cards */
.blog-preview {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: rgb(20, 52, 119);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 280px; /* Fixed height */
}

/* Fix for Footer Overlap */
footer {
    position: relative;
    z-index: 10;
    margin-top: 50px; /* Adjust as needed */
}

/* Fix for Blog Title Alignment */
.blog-preview h3 {
    min-height: 15px; /* Ensures consistent title height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Blog Images */
.blog-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
}

/* Read More Button */
.read-more {
    display: block;
    padding: 2px 6px;
    text-align: center;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: auto; /* Keeps button at the bottom */
}

.read-more:hover {
    background-color: #0c2f53;
}


/* Sidebar */
.blog-sidebar {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

/* Sidebar Title */
.sidebar-title {
    color: blue;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Sidebar List */
.blog-sidebar ul {
    list-style: none;
    padding: 0;
}

/* Sidebar Links */
.blog-sidebar ul li {
    margin-bottom: 8px;
}

.blog-sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.blog-sidebar ul li a:hover {
    color: #007bff;
}

/* 📌 RESPONSIVE FIXES */
@media screen and (max-width: 1024px) {
    .blog-container {
        grid-template-columns: 1fr; /* Stack sidebar under blog grid */
    }

    .blog-sidebar {
        width: 100%;
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* 1 column layout */
    }
}

/* Section Title Styling with Gradient + Animation */
.achievements-container h2,
.reviews-container h2 {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(90deg, #005bea, #00c6fb);
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease forwards;
    text-align: center;
    margin-bottom: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Achievements Container */
.achievements-container {
    padding: 50px 20px;
    background-color: #f0faff;
    margin-bottom: 50px;
}

.achievements-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.achievements-boxes .box {
    background-color: #0e3f7c;
    color: white;
    padding: 30px 20px;
    border-radius: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.achievements-boxes .box h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.achievements-boxes .box p {
    font-weight: bold;
    margin-bottom: 10px;
}

.achievements-boxes .box small {
    font-style: italic;
    display: block;
    font-size: 0.9rem;
}

.reviews-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}
  
.section-title {
    color: #007BFF;
    font-size: 2rem;
    margin-bottom: 30px;
}
  
.reviews-carousel {
    position: relative;
    width: 1000px;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
  
.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}
  
.review-slide.active {
    opacity: 1;
    z-index: 1;
}
  
.review-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
  

#company-journey h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #003366;
}

.journey-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .journey-image {
        max-height: 300px;
    }
}

body {
    font-family: Arial, sans-serif;
    background-color: #d9e5ff;
    margin: 0;
    padding: 0;
}

h2 {
    text-align: center;
    color: #333;
}

/* Ensure styles apply ONLY to the feedback form */
#feedback {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

#feedback .feedback-container {
    width: 45%;
    padding: 20px;
    border: 2px solid #007BFF; /* Blue outline */
    border-radius: 20px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure the text section on the right is properly aligned */
#feedback .feedback-text {
    width: 45%;
    text-align: center;
}

/* Apply styles only to inputs inside the feedback form */
#feedback input,
#feedback select,
#feedback textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #007BFF;
    border-radius: 10px;
}

/* Ensure form groups remain aligned properly */
#feedback .form-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Fix Phone Number Input width */
#feedback .phone-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

#feedback .phone-group select {
    width: 40%;
    min-width: 120px; /* Ensures it's not too small */
}

#feedback .phone-group input[type="tel"] {
    flex: 1; /* Makes it take available space */
    min-width: 180px; /* Ensures it is not too small */
}

/* Ensure Query Box is properly aligned */
#feedback textarea {
    height: 100px;
    resize: vertical;
    width: 60%; /* Full width */
}

#feedback .feedback-text {
    width: 45%;
    text-align: center;
    padding: 30px;
    background-color: #0e1249ec; /* Darker background */
    color: white;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#feedback .feedback-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #00bfff; /* Light blue for highlight */
}

#feedback .feedback-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #f1f1f1;
}


/* Submit Button Styling */
#feedback button {
    width: 40%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

#feedback button:hover {
    background-color: #0056b3;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #feedback {
        flex-direction: column;
        align-items: center;
    }

    #feedback .feedback-container,
    #feedback .feedback-text {
        width: 90%;
    }

    #feedback .form-group,
    #feedback .phone-group {
        flex-direction: column;
    }

    #feedback .phone-group select,
    #feedback .phone-group input[type="tel"] {
        width: 100%;
    }
}

/* Contact Section - Dark Theme */

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}
  
  /* Offset scroll position for all anchor targets */
  [id] {
    scroll-margin-top: 100px; /* Adjust this depending on your layout */
  }
  
  .why-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .why-card {
    padding: 25px;
    border-radius: 12px;
    color: white;
    text-align: center; /* Center everything */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .why-card img {
    width: 80px;        /* Larger icon */
    height: 80px;
    margin-bottom: 10px;
  }
  
  
  .why-card h3 {
    font-size: 1.2rem;
    margin: 0;
  }
  
  .why-card p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  /* Color classes */
  .navy { background-color: #4308a1; }
  .purple { background-color: #1665af; }
  .teal { background-color: #1c29a0; }
  .maroon { background-color: #327bda; }
  
  /* Responsive: Stack on smaller screens */
  @media (max-width: 992px) {
    .why-cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 600px) {
    .why-cards {
      grid-template-columns: 1fr;
    }
  }

#contact {
    background: linear-gradient(to right, #29aec5, #29aec5);
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f0f0f0;
}

.contact-container {
    max-width: 1300px;
    margin: auto;
    padding: 40px;
    border-radius: 16px;
    background: rgba(2, 8, 82, 0.89);
    box-shadow: 0 4px 20px rgba(46, 62, 207, 0.637);
}

.social-footer {
    text-align: center;
    margin-top: 30px;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .social-links a {
    color: white; /* White icons */
    font-size: 22px;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #00aced; /* Light blue on hover */
  }
  

/* Make all footer links white */
.contact-column a,
.contact-column a[href^="mailto:"],
.contact-column a[href^="tel:"] {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-column a:hover {
    color: #00bcd4;
}

/* Columns */
.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-column {
    flex: 1 1 250px;
    min-width: 230px;
    text-align: left;
}

.logo {
    max-width: 120px;
    margin-bottom: 20px;
}

.contact-column h3 {
    font-size: 18px;
    margin-bottom: 16px;
    border-bottom: 2px solid #00bcd4;
    display: inline-block;
    padding-bottom: 4px;
    color: #ffffff;
}

.contact-column ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.contact-column li {
    margin-bottom: 10px;
    color: #eeeef0e8;
    transition: color 0.3s;
}

.contact-column li:hover {
    color: #ffffff;
}

/* Split Services Into 2 Columns */
.services-columns {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.services-columns ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
    flex: 1;
}

.services-columns li {
    margin-bottom: 8px;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin: 0 8px;
}

.footer-bottom a:hover {
    color: #00bcd4;
    text-decoration: underline;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-column {
        width: 100%;
    }

    .services-columns {
        flex-direction: column;
    }
}

  