*,*:before,*:after{
    box-sizing:border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body {
    color: #ededed;
    background: white;
}
p {
  /*  max-width: 65ch; Optimal readability: 45-75 characters per line */

  
  /* Fluid typography for all screen sizes */
  font-size: clamp(1rem, 2vw + 0.5rem, 1.125rem);
  
  /* Line height for comfortable reading */
  line-height: 1.7;
  
  /* Professional font stack with fallbacks */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  
  
  /* Proper paragraph spacing */
  margin-top: 0;
  margin-bottom: 1.75em;
  
  /* Text alignment for left-to-right languages  text-align: left; */
  text-align: left; 
  /* Smooth font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  
  /* Responsive margins */
  /*margin-left: auto;
  margin-right: auto;
  
  /* Prevent orphans (single words on last line) */
  orphans: 3;
  widows: 3;
  
  /* Letter spacing for better readability */
  letter-spacing: -0.003em; 
 
}

/* Heading Styles - Standard CSS for All Browsers */
h1, h2, h3, h4, h5, h6 {
  /* Professional font stack with fallbacks */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Consistent font weight for headings */
  font-weight: 600;
  
  /* Smoothing for better rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  
  /* Proper spacing after headings */
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  
  /* Prevent orphans */
  orphans: 2;
  widows: 2;
  
  /* Better color contrast */
  color: inherit;
}

/* H1 - Main heading */
h1 {
  /* Responsive font size: scales between 2rem and 3.5rem */
  font-size: clamp(2rem, 5vw + 0.5rem, 3.5rem);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1.25em;
  letter-spacing: -0.02em;
}

/* H2 - Section heading */
h2 {
  /* Responsive font size: scales between 1.75rem and 2.5rem */
  font-size: clamp(1.75rem, 4vw + 0.25rem, 2.5rem);
  line-height: 1.3;
  margin-top: 1.75em;
  margin-bottom: 1em;
  letter-spacing: -0.015em;
}

/* H3 - Subsection heading */
h3 {
  /* Responsive font size: scales between 1.5rem and 2rem */
  font-size: clamp(1.5rem, 3vw + 0.25rem, 2rem);
  line-height: 1.4;
  margin-top: 1.5em;
  margin-bottom: 0.875em;
  letter-spacing: -0.01em;
}

/* H4 - Minor heading */
h4 {
  /* Responsive font size: scales between 1.25rem and 1.75rem */
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  margin-top: 1.25em;
  margin-bottom: 0.75em;
  letter-spacing: -0.005em;
}

/* H5 - Small heading */
h5 {
  /* Responsive font size: scales between 1.125rem and 1.5rem */
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.5;
  margin-top: 1.125em;
  margin-bottom: 0.75em;
}

/* H6 - Smallest heading */
h6 {
  /* Responsive font size: scales between 1rem and 1.25rem */
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  margin-top: 1em;
  margin-bottom: 0.75em;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

       border-bottom: 2px linear-gradient(to right, #000000, #05479c); 
}
.logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    position: relative;
    font-size: 25px;
    color: black;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.logo figcaption {
    display: block;
    font-size: 0.5rem;
    line-height: 1.2;
    color: #075ed0;
    margin-top: 4px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: -30px;
}

.navbar a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #001b29;
    background: rgb(16, 182, 233);
    text-decoration: none;
    font-weight: 600;
    font-family: "Lato", "Arial", sans-serif;
    border-radius: 40px;
    margin-left: 15px;
    opacity: 0;
    animation: slideTop .8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(.2s * var(--i));
    box-shadow: 0 0 5px rgb(16, 182, 233);
    transition: 0.3s;
}

.navbar a:hover {
    background: #001b29;
    color: #edf2f5;
    box-shadow: 0 0 20px rgb(16, 182, 233);
}

/* home section */

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    justify-content: space-between;
    background:url('../images/homebackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 70px 10% 0;
}

i {
    color: rgb(16, 182, 233);
    white-space: nowrap;
    display: inline-block;
}

.text {
    white-space: nowrap;
    display: inline-block;
    min-width: 200px;
}

.home-content {
    width: 70%;
    background: linear-gradient(to right, #000000, #05479c);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    animation: slideBottom 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: .1s;
}

.home-content h1:nth-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: .7s;
}

.home-content h1 {
    font-size: 50px;
    font-weight: 700;
    margin: -3px 0;
    animation: slideRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: .7s;
}

.home-content p {
    font-size: 20px;
    animation: slideLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 1s;
}

.home-sci {
    display: flex;
    gap: 20px;
    margin: 20px 0 20px;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid rgb(16, 182, 233);
    border-radius: 50%;
    font-size: 20px;
    color: rgb(16, 182, 233);
    margin: 30px 15px 30px 0;
    text-decoration: none;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(.2s * var(--1));
    margin: 30px 15px 30px 0;
}

.home-sci a:hover {
    background: rgb(16, 182, 233);
    color: #001b29;
    box-shadow: 0 0 20px rgb(16, 182, 233);
    transition: 0.3s;
}

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: rgb(16, 182, 233);
    border-radius: 40px;
    font-size: 16px;
    color: #001b29;
    font-style: italic;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: .2s;
    box-shadow: 0 0 5px rgb(16, 182, 233);
}

.btn-box:hover {
    background: #001b29;
    color: #edf2f5;
    box-shadow: 0 0 20px rgb(16, 182, 233);
    transition: 0.3s;
}

/* about section */
#about{
    scroll-margin-top: 90px;
}

.about{
    background: linear-gradient(to right, #000000, #05479c);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding: 30px 10%;
}
.about-img img{
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    object-position: center;
    border: 5px solid rgb(16, 182, 233);
    box-shadow: 0 0 30px rgb(16, 182, 233);
}
.about-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
        padding: 30px 5%;
    }
    
    .about-img {
        justify-content: center;
        order: -1;
    }
    
    .about-img img {
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .about {
        padding: 20px;
        gap: 1rem;
    }
    
    .about-img img {
        max-width: 250px;
    }
    
    .about-text h2 {
        font-size: 32px;
    }
    
    .about-text h4 {
        font-size: 20px;
    }
    
    .about-text p {
        font-size: 14px;
    }
}
.about-text h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text h2 span {
    color: rgb(16, 182, 233);
}
.about-text h4 {
    font-size: 29px;
    font-weight: 600;
    line-height: 1.5;
    margin: 15px 0 30px;
    color: rgb(16, 182, 233);
}
.about-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: aliceblue;
}

/* services section */
#services{
    scroll-margin-top: 90px;
}
#services{
    background: linear-gradient(to right, #000000, #05479c);
    font-size: 20px;
    line-height: 1.4;
    padding-bottom: 4rem;
    padding: 60px 0;
    width: 100%;
    position: relative;
}
.services-slider {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
.slides-wrapper {
    /* hide horizontal overflow so only one slide shows,
       but allow vertical overflow so the top of slides isn't clipped */
    

    width: 100%;
    position: relative;

}
.slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
    will-change: transform;
}
.slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;

}
.slide .service-card {
    width: 100%;
}
.dots {
    display: none;
}
.dot {
    display: none;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgb(255, 254, 254);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.dot.active {
    background: rgb(16, 182, 233);
    transform: scale(1.2);
}

/* Arrow navigation buttons */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgb(16, 182, 233);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 50;
}

.nav-arrow:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.1);
    color: rgb(16, 182, 233);
}

.nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-arrow-left {
    left: 15px;
}

.nav-arrow-right {
    right: 15px;
}

.nav-arrow.hidden {
    display: none;
}

/* Responsive arrow buttons for small screens */
@media (max-width: 900px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .nav-arrow-left {
        left: 10px;
    }
    
    .nav-arrow-right {
        right: 10px;
    }
}

@media (max-width: 600px) {
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .nav-arrow-left {
        left: 8px;
    }
    
    .nav-arrow-right {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .nav-arrow-left {
        left: 5px;
    }
    
    .nav-arrow-right {
        right: 5px;
    }
}

.sub-title{
    text-align: center;
    font-size: 60px;
    padding-bottom: 70px;
}
.sub-title span{
    color: rgb(16, 182, 233);
}
.container{
    padding: 0 20px;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-gap: 30px;
    margin-top: 50px;
    transition: filter 0.3s ease;
    position: relative;
    z-index: 10;
}

.services-list.blurred .service-card:not(.active) {
    filter: blur(3px);
    opacity: 0.5;
    pointer-events: none;
}

.service-card {
    background-color: transparent;
    padding: 25px;
    padding-left: 70px;
    padding-right: 70px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgb(16, 182, 233);
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgb(16, 182, 233);
}

.service-card.active {
    box-shadow: 0 0 40px rgb(16, 182, 233);
    transform: scale(1.02);
    z-index: 10;
    position: relative;
}

.service-card i{
    font-size: 40px;
    margin-bottom: 20px;
    color: rgb(16, 182, 233);
}
.service-card h2{
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    color: rgb(16, 182, 233);
}
.service-card p{
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read{
    display: inline-block;
    padding: 12px 20px;
    background: rgb(16, 182, 233);
    border-radius: 40px;
    font-size: 16px;
    color:#001b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    box-shadow: 0 0 5px rgb(16, 182, 233);
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
}
.read:hover {
    background: #001b29;
    color: #edf2f5;
    box-shadow: 0 0 20px rgb(16, 182, 233);
}

/* Deliverables Dropdown Styling */
.deliverables-container {
    margin-top: 20px;
    padding: 20px;
    background: rgba(16, 182, 233, 0.1);
    border-radius: 12px;
    border: 2px solid rgb(16, 182, 233);
    animation: slideDown 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) ease-out;
    max-height: 500px;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        margin-top: 20px;
    }
}

.deliverables-container h3 {
    color: rgb(16, 182, 233);
    font-size: 18px;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.deliverables-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.deliverables-list li {
    color: #e0f7ff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.deliverables-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgb(16, 182, 233);
    font-weight: bold;
    font-size: 16px;
}

/* Expanded card styling */
.service-card.expanded {
    min-height: auto;
    max-height: none;
}

.learn-more-btn.active {
    background: #001b29;
    color: rgb(16, 182, 233);
    box-shadow: 0 0 15px rgb(16, 182, 233);
}

/* Detailed View Overlay */
.detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-overlay.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) ease-out;
}

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

/* Detail Content Box */
.detail-container {
    background: linear-gradient(to right, #000000, #05479c);
    width: 85%;
    max-width: 1000px;
    height: 85vh;
    border-radius: 20px;
    padding: 50px;
    position: relative;
    box-shadow: 0 0 50px rgba(16, 182, 233, 0.6);
    border: 2px solid rgb(16, 182, 233);
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) ease-out;
}

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

/* Global Close Button */
.close-detail {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgb(233, 16, 16);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.close-detail.show {
    display: flex;
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.close-detail:hover {
    background: #ff0000;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(233, 16, 16, 0.8);
}

.close-detail:active {
    transform: scale(0.95);
}

/* Scrollable Content Area */
.detail-content {
    height: 100%;
    width: 100%;
    padding-right: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    
    /* Hide scrollbar for all browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.detail-content::-webkit-scrollbar {
    display: none;
}

/* Content Styling */
.detail-content h2 {
    color: rgb(16, 182, 233);
    font-size: 36px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgb(16, 182, 233);
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-content h2 i {
    font-size: 36px;
}

.service-description {
    font-size: 20px;
    color: #e0f7ff;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    background: rgba(16, 182, 233, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid rgb(16, 182, 233);
}

.detail-content h3 {
    color: rgb(16, 182, 233);
    font-size: 26px;
    margin: 30px 0 15px 0;
    position: relative;
    padding-left: 15px;
}

.detail-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: rgb(16, 182, 233);
    border-radius: 2px;
}

.detail-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0f7ff;
}

.detail-content ul {
    margin: 0 0 25px 20px;
    padding: 0;
    list-style: none;
}

.detail-content li {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #e0f7ff;
    position: relative;
    padding-left: 25px;
}

.detail-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: rgb(16, 182, 233);
    font-size: 18px;
}

/* Contact Section in Detail View */
.contact-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid rgba(16, 182, 233, 0.3);
    text-align: center;
}

.contact-btn {
    display: inline-block;
    padding: 16px 35px;
    background: linear-gradient(45deg, rgb(16, 182, 233), #0dcaf0);
    color: #001b29;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(16, 182, 233, 0.3);
    border: 2px solid transparent;
}

.contact-btn:hover {
    background: #001b29;
    color: rgb(16, 182, 233);
    box-shadow: 0 0 25px rgb(16, 182, 233);
    border-color: rgb(16, 182, 233);
    transform: translateY(-3px);
}

/* Key Deliverables Overlay Styles */
.key-deliverables {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.deliverable-btn {
    background: linear-gradient(45deg, rgb(16, 182, 233), #0dcaf0);
    color: #001b29;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 5px 15px rgba(16, 182, 233, 0.3);
}

.deliverable-btn:hover {
    background: #001b29;
    color: rgb(16, 182, 233);
    box-shadow: 0 0 25px rgb(16, 182, 233);
    transform: translateY(-3px);
}

.sub-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.sub-deliverables-list li {
    background: rgba(16, 182, 233, 0.1);
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid rgb(16, 182, 233);
    font-size: 18px;
    color: #e0f7ff;
}

.key-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.key-deliverables-list li {
    background: rgba(16, 182, 233, 0.1);
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid rgb(16, 182, 233);
    font-size: 18px;
    color: #e0f7ff;
}

.back-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #cc0000;
    transform: scale(1.05);
}

.overlay-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.get-quote-btn {
    background: linear-gradient(45deg, rgb(16, 182, 233), #0dcaf0);
    color: #001b29;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(16, 182, 233, 0.3);
    margin-left: 20px; /* Move away from left margin */
}

.get-quote-btn:hover {
    background: #001b29;
    color: rgb(16, 182, 233);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgb(16, 182, 233);
}

@media (max-width: 600px) {
    .overlay-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .back-btn, .get-quote-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Responsive Design for Services */
@media (max-width: 1600px) {
    .services-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .services-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .container {
        padding: 0 40px;
    }
    
    .detail-container {
        width: 90%;
        padding: 40px;
    }
    
    .close-detail {
        top: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 30px;
    }
    
    .detail-container {
        width: 95%;
        height: 90vh;
        padding: 30px 25px;
    }
    
    .close-detail {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .detail-content h2 {
        font-size: 28px;
    }
    
    .detail-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .detail-container {
        width: 98%;
        margin: 10px;
        padding: 25px 20px;
    }
    
    .close-detail {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .detail-content h2 {
        font-size: 24px;
    }
    
    .service-description {
        font-size: 16px;
        padding: 12px;
    }
    
    .detail-content h3 {
        font-size: 20px;
    }
    
    .detail-content p {
        font-size: 16px;
    }
    
    .contact-btn {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
}

/* achievement section */
.achievement{
    background: linear-gradient(to right, #000000, #05479c);
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 40px;
}
.image-container{
    flex: 1 1 400px;
    text-align: center;
    padding: 20px;
}
.image-container img{
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    border: 5px solid rgb(16, 182, 233);
    box-shadow: 0 0 30px rgb(16, 182, 233);
}
.content{
    flex: 1 1 500px;
    padding: 20px 30px;
}
.subheading{
    color: var(--primary);
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;   
}
.heading{
    color: var(--dark-blue);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.heading span {
    color: rgb(16, 182, 233);
}

.commonText{
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.stats{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 20px;
}
.stat-box{
    display: flex;
    align-items: center;
    background: var(--light-gray);
    padding: 35px;
    border-radius: 8px;
    gap: 15px;
}
.stat-box i{
    font-size: 45px;
    color: var(--primary);
    
}
.stat-text{
    display: flex;
    flex-direction: column;
}
.stat-text h3{
    color: var(--primary);
    font-size: 2rem;
    margin: 0;
}
.stat-text span{
    font-size: 14px;
    color: rgb(16, 182, 233);
    font-weight: bold;
}

/*contact section */
#contact{
    scroll-margin-top: 275px;
}
.contact{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding-left: 30px;
    margin-top: 150px;
}
.contact-text h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-top: 20;
    font-weight: 600;
    text-align: center;
    color: #000;
}
.contact-us{
    text-align: center;
    margin-top: 30px;
    font-size: 70px;
    font-weight: 700;
}
.contact-text h2 span {
    color: rgb(16, 182, 233);
}
.contact-text h4{
    margin: 15px 0;
    color: rgb(16, 182, 233);
    font-size: 29px;
    font-weight: 600;
    line-height: 1.5;
}
.contact-text p{
    color: #000;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2rem;
}

.contact-list{
    margin-bottom: 3em;
    color: #999;
    margin: 10px;
    font-weight: 600;
    transform: all .40s ease;
}
.contact-list li:hover{
    transform: scale(1.01) translateY(-5px);
    color: rgb(16, 182, 233);
}
.contact-list li{
    margin-bottom: 10px;
    display: block;
    font-size: 18px;
}
.contact-form {
  background: linear-gradient(to right, #000000, #05479c);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-top: -70px;
  margin-right: 30%;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
    .contact {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .contact-form {
        margin-top: 30px;
        margin-right: 0;
        padding: 25px;
    }
    
    .contact-text h2 {
        font-size: 36px;
    }
    
    .contact-us {
        font-size: 48px;
    }
    
    .contact-text h4 {
        font-size: 22px;
    }
    
    .contact-text p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .contact {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 50px;
    }
    
    .contact-text h2 {
        font-size: 28px;
    }
    
    .contact-us {
        font-size: 36px;
        margin-top: 15px;
    }
    
    .contact-text h4 {
        font-size: 18px;
        margin: 10px 0;
    }
    
    .contact-text p {
        font-size: 14px;
        line-height: 24px;
    }
    
    .contact-form {
        padding: 20px;
        border-radius: 12px;
        margin-top: 20px;
    }
    
    .contact-form form input,
    .contact-form form textarea {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    .contact-form textarea {
        height: 150px;
    }
}
.contact-form form{
    position: relative;
}
.contact-form form input, form textarea{
    border: none;
    outline: none;
    padding: 18px;
    width: 100%;
    background: #f0f0f0;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}
.contact-form textarea{
    resize: none;
    height: 220px;
}

/* Contact form visibility */
.contact-form {
    display: block; /* Visible on large screens */
}

/* Contact button visibility */
.contact-btn-mobile {
    display: none; /* Hidden by default on large screens */
}

@media (max-width: 768px) {
    .contact-form {
        display: none; /* Hidden on small screens */
    }
    
    .contact-btn-mobile {
        display: block; /* Show on small screens */
        margin-bottom: 30px; /* Add space between button and footer */
    }
}

.contact-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    font-size: 20px;
    color: rgb(16, 182, 233);
    margin: 30px 15px 30px 0;
    text-decoration: none;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--1));
    margin: 30px 15px 30px 0;
}
.contact-icons a:hover {
    background: rgb(16, 182, 233);
    color: #001b29;
    box-shadow: 0 0 20px rgb(16, 182, 233);
    transition: 0.3s;
    border-radius: 20px;
}

footer{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-flow: row wrap;
    color: #fff;
    background: linear-gradient(to right, #000000, #05479c);
}
.footer > *{
    flex: 1 100%;
}
.footer-left{
    margin-right: 1.25em;
    margin-bottom: 2em;
}
.footer-left img{
    width: 150px;
    height: 80px;
    margin-left: 10px;
    margin-top: 10px;
}
.footer-h2{
    font-weight: 600;
    font-size: 17px;
}
.footer ul{
    list-style: none;
    padding-left: 0;
}
.footer li{
    line-height: 2em;
}
.footer a{
    text-decoration: none;
}
.footer-right{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-flow: row wrap;
}
.footer-right > *{
    flex: 1 50%;
    margin-bottom: 1.25em;
}
.box a{
    color: #999;
}
.footer-bottom{
    text-align: center;
    color: #999;
    padding-top: 50px;
}
.footer-left p{
    padding-right: 20%;
    color: #999;
    margin: 10px;
}
.footer-bottom{
  display: flex;
  justify-content: center;  /* horizontal centering */
  align-items: center;      /* vertical centering */

}
#social a{
    width: 40px;
    height: 40px;
    display: inline-black;
    margin-right: 10px;
}
.socials a i{
    font-size: 25px;
    color: #e7f2f4;
    transition: .3s;
}
@media screen and (min-width: 600px){
    .footer-right > *{
        flex: 1;
    }
    .footer-left{
        flex: 1 0px;
    }
    .footer-right{
        flex: 2 0px;
    }
}
@media screen and (min-width: 600px){
    .footer{
        padding: 15px;
    }
    main{
        font-size: 55px;
    }
}

/* animations */

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes slideTop {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

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

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* responsive */

@media (max-width: 768px) {
  .contact {
    flex-direction: column;
  }
}

/* Prevent body scroll when overlay is active */
body.no-scroll {
    overflow: hidden;
}

/* Mobile menu and responsive layout tweaks */

/* Prevent horizontal overflow */
html, body { overflow-x: hidden; }

.menu-icon {
    display: none;
    position: relative;
    right: auto;
    top: auto;
    font-size: 28px;
    color: #075ed0;
    cursor: pointer;
    z-index: 1100;
    transition: 0.3s;
}

.menu-icon:hover {
    color: rgb(16, 182, 233);
    transform: scale(1.1);
}

.mobile-nav {
    position: fixed;
    right: -320px;
    left: auto;
    top: 0;
    width: 280px;
    max-width: 90vw;
    height: 100%;
    background: white;
    box-shadow: -2px 0 20px rgba(0,0,0,0.15);
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: right 0.28s ease;
    z-index: 1200;
    will-change: right;

    /* ensure children stretch full width for a true vertical list */
    align-items: stretch;
}

/* ensure mobile nav links are full-width stacked items */
.mobile-nav a {
    display: block;
    width: 100%;
    padding: 14px 20px;
    color: #0066ff;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-sizing: border-box;
    text-align: left;
}
    
.mobile-nav.open {
    right: 0;
}
    
.mobile-nav .close-mobile {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 20px;
    cursor: pointer;
    color: #0066ff;
}

/* Navbar and Menu Icon Responsiveness */
@media (max-width: 900px) {
    .navbar {
        display: none;
    }
    
    .menu-icon {
        display: block;
    }
}

/* Home Section Responsiveness */
@media (max-width: 900px) {
    .home {
        padding: 70px 5% 0;
    }
    
    .home-content {
        width: 90%;
        padding: 25px;
    }
    
    .home-content h3 {
        font-size: 24px;
    }
    
    .home-content h1 {
        font-size: 36px;
    }
    
    .home-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .home {
        height: auto;
        min-height: 100vh;
        padding: 80px 5% 40px;
    }
    
    .home-content {
        width: 95%;
        padding: 20px;
    }
    
    .home-content h3 {
        font-size: 20px;
    }
    
    .home-content h1 {
        font-size: 28px;
        margin: -2px 0;
    }
    
    .home-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .btn-box {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .home {
        padding: 80px 5% 30px;
    }
    
    .home-content {
        width: 100%;
        padding: 18px;
    }
    
    .home-content h3 {
        font-size: 18px;
    }
    
    .home-content h1 {
        font-size: 24px;
        margin: -1px 0;
    }
    
    .home-content p {
        font-size: 13px;
        line-height: 1.5;
        max-width: none;
    }
    
    .btn-box {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .home {
        padding: 70px 5% 20px;
    }
    
    .home-content {
        width: 100%;
        padding: 15px;
        border-radius: 12px;
    }
    
    .home-content h3 {
        font-size: 16px;
    }
    
    .home-content h1 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .home-content p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .btn-box {
        padding: 8px 18px;
        font-size: 12px;
    }
}
    
