@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --primary: #2f57ef;
    --secondary: #f0f4ff;
    --text-dark: #1c1e21;
    --text-light: #5f5f5f;
    --card-bg: #fff;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    overflow-x: hidden;

}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, rgba(34, 192, 239, 1) 11%, rgba(0, 123, 193, 1) 46%, rgba(241, 135, 28, 1) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
}

.top-bar .social-icons a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 16px;
}

.top-bar .contact {
    font-weight: bold;
}

/* Navbar */
.navbar .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar .logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Small hover scale effect */
.navbar .logo img:hover {
    transform: scale(1.05);
}

.navbar {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(10, 25, 47, 0.70);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.navbar ul {
    list-style: none;
    display: flex;
    margin-left: auto;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 300;
    transition: color 0.3s;
    /* text-transform: uppercase; */

}

.navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.5s ease-in-out;
}

/* Underline effect on hover */
.navbar ul li:hover>a::after,
.navbar ul li .dropdown-menu:hover~a::after {
    width: 100%;
}

/* Ensure underline remains when hovering over the dropdown menu */
.navbar ul li:hover>a::after,
.navbar ul li:hover .dropdown-menu:hover~a::after {
    width: 100%;
}

/* Hide the underline smoothly when moving cursor out */
.navbar ul li:not(:hover)>a::after {
    width: 0;
    right: 0;
    left: auto;
    transition: width 0.3s ease-in-out, left 0s 0.3s;
}

/* Video Background */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Video Overlay - Dark Effect */
.video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay Content - Fixed Alignment */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    gap: 250px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    /* this */
    width: 80%;
    color: white;
    z-index: 2;
}

.overlay img {
    width: 320px;
    margin-right: 30px;
    margin-top: -200px;
}

.overlay h1 {
    font-size: 65px;
    font-weight: 550;
    margin: 0;
    align-self: center;
    /* this */
    margin-bottom: -200px;
}

/* Sidebar - Always Fixed at Center Left */
.sidebar {
    position: fixed;
    /* Fix it in place */
    top: 50%;
    /* Center vertically */
    left: 0;
    /* Align to left */
    transform: translateY(-50%);
    /* Maintain center */
    display: flex;
    flex-direction: column;
    z-index: 9999;
    /* Ensure it stays above content */
}

/* Sidebar Links */
.sidebar a {
    background: #007bc1;
    color: white;
    padding: 9px;
    margin: 1px 0;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

/* Hover Effect */
.sidebar a:hover {
    background: #ff3366;
}

/* ✅ Ensure Sidebar is Fixed & Centered in All Phone Views */
@media (max-width: 992px),
(max-width: 768px),
(max-width: 576px) {
    .sidebar {
        position: fixed;
        /* Keep it in place */
        top: 50%;
        /* Center it */
        left: 0;
        /* Keep on the left side */
        transform: translateY(-50%);
        /* Adjust for perfect centering */
        z-index: 3;
        /* Ensure it doesn’t get hidden */
    }
}



/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: -10px;
    background-color: white;
    box-shadow: 0 10px 10px rgba(23, 23, 23, 0.1);
    padding: 10px;
    border-radius: 5px;
    min-width: 220px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
    z-index: 1000;
}

/* Dropdown links */
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: black !important;
    text-decoration: none;
    font-size: 16px;
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
}

/* Toggle Dropdown on Click */
.dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    top: 150%;
}

/* Angle Icon Rotation */
.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1200px) {

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        background: white;
        /* Change background to white */
        color: black;
        /* Change text color to black */
    }

    .top-bar .social-icons {
        display: none;
    }

    .overlay {
        flex-direction: column;
        /* Stack image and text vertically */
        align-items: center;
        /* Center align items */
        text-align: center;
        /* Center text */
    }

    .overlay img {
        width: 250px;
        /* Adjust image size */
        margin-bottom: 20px;
        /* Space below the image */
    }

    .overlay h1 {
        font-size: 50px;
        /* Adjust font size */
    }

    .hamburger {
        display: none;
        /* Show hamburger on mobile */
    }
}

@media (max-width: 992px) {

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        background: white;
        /* Change background to white */
        color: black;
        /* Change text color to black */
    }

    .navbar {
        display: none;
    }

    .overlay {
        flex-direction: column;
        /* Stack image and text vertically */
        align-items: center;
        /* Center align items */
        text-align: center;
        /* Center text */
    }

    .overlay img {
        width: 200px;
        /* Adjust image size */
        margin-bottom: 20px;
        /* Space below the image */
    }

    .overlay h1 {
        font-size: 40px;
        /* Adjust font size */
    }

    .top-bar .social-icons {
        display: none;
    }

    .hamburger {
        display: flex;
        /* Show hamburger on mobile */
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        background: white;
        /* Change background to white */
        color: black;
        /* Change text color to black */
    }

    .navbar {
        display: none;
        /* Hide original navbar on mobile */
    }

    .hamburger {
        display: flex;
        /* Show hamburger on mobile */
    }

    .top-bar .social-icons {
        display: none;
    }

    .overlay {
        flex-direction: column;
        /* Stack image and text vertically */
        align-items: center;
        /* Center align items */
        text-align: center;
        /* Center text */
    }

    .overlay img {
        width: 150px;
        /* Adjust image size */
        margin-bottom: 10px;
        /* Space below the image */
    }

    .overlay h1 {
        font-size: 36px;
        /* Adjust font size */
    }

}

@media (max-width: 576px) {
    .top-bar {
        display: flex;
        flex-direction: row;
        /* Keep everything in one row */
        align-items: center;
        justify-content: space-between;
        /* Space between logo and menu */
        background: #ecf0f1;
        color: black;
        position: fixed;
        /* Keep it at the top */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px 15px;
    }


    .top-bar .social-icons {
        display: none;
    }

    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .sidebar a {
        font-size: 12px;
    }

    .overlay {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .overlay img {
        width: 170px;
        margin-bottom: -220px;
    }

    .overlay h1 {
        font-size: 50px;
    }

    .hamburger {
        display: flex;
        /* Show hamburger on mobile */
    }
}

.hamburger {
    display: flex;
    /* Show hamburger on mobile */
}

@media (max-width: 821px) {
    .navbar {
        display: none;
        /* Hide original navbar */
    }

    .hamburger {
        display: flex;
        /* Ensure hamburger is visible */
    }
}



/* Second class */
.second_container {
    width: 90%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
    flex-direction: column;
    margin-top: 50px;
}

.second_container .second_text-content {
    width: 60%;
    position: absolute;
    left: 8%;
    z-index: 2;
    padding: 20px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.second_container .second_text-content h1 {
    width: 55%;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    color: #111;
    text-transform: uppercase;
    font-family: 'Gabriel Sans', sans-serif;
}

.second_container .second_text-content .second_signature {
    font-family: 'Dancing Script', cursive;
    font-size: 50px;
    margin-top: 5px;
    color: #007bc1;
    display: block;
}

.second_container .second_image-content {
    width: 100%;
    text-align: right;
}

.second_container .second_image-content img {
    width: 100%;
    max-width: 850px;
    border-radius: 5px;
}

.second_text-section {
    width: 55%;
    display: flex;
    justify-content: flex-end;
    margin-top: 0px;
    margin-left: auto;
    margin-right: 120px;
    font-family: 'Poppins', sans-serif;
    gap: 30px;
    margin-top: -35px;
}

.second_text-section .second_right-text {
    width: 100%;
    font-size: 12px;
    line-height: 1.6;
    font-weight: bold;
    margin-top: 7px;
    color: #333;
}

/* Added styles for list formatting */
.second_right-text h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.second_right-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.second_right-text ul li {
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
}


.second_text-section .second_left-text {
    width: 100%;
    font-size: 12px;
    line-height: 1.6;
    color: #333;
    font-weight: normal !important;
}

.second_text-section .second_left-text span {
    font-size: 24px;
    font-weight: bold;
    color: #007bc1;
}

/* Modern Read More Button */
button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.btn_sec {
    width: 12rem;
    height: auto;
    margin-top: 25px;
}

button.btn_sec .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #007bc1;
    /* Navy blue */
    border-radius: 1.625rem;
}

button.btn_sec .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

button.btn_sec .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.btn_sec .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

button.btn_sec .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #007bc1;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

button.btn_sec:hover .circle {
    width: 100%;
}

button.btn_sec:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

button.btn_sec:hover .button-text {
    color: #fff;
}


/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .second_container {
        padding: 20px;
        margin-top: 30px;
    }

    .second_container .second_text-content {
        position: relative;
        /* remove absolute */
        width: 100%;
        left: 0;
        order: 1;
        /* text first */
        margin-bottom: 20px;
    }

    .second_container .second_text-content h1 {
        font-size: 60px;
    }

    .second_container .second_text-content .second_signature {
        font-size: 40px;
    }

    .second_container .second_image-content {
        text-align: center;
    }

    .second_container .second_image-content img {
        width: 100%;
        max-width: 850px;
        height: auto;
        border-radius: 5px;
    }

    .second_text-section {
        width: 80%;
        margin-right: 0;
        margin-left: 0;
        margin-top: 10px;
    }

    .second_text-section .second_right-text,
    .second_text-section .second_left-text {
        font-size: 10px;
    }

    .second_text-section .second_left-text span {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .second_container {
        padding: 15px;
        margin-top: 20px;
    }

    .second_container .second_text-content {
        width: 90%;
        left: 5%;
    }

    .second_container .second_text-content h1 {
        font-size: 50px;
    }

    .second_container .second_text-content .second_signature {
        font-size: 35px;
    }

    .second_container .second_image-content {
        text-align: center;
    }

    .second_container .second_image-content img {
        width: 100%;
        height: auto;
    }

    .second_text-section {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 10px;
    }

    .second_text-section .second_right-text,
    .second_text-section .second_left-text {
        font-size: 9px;
    }

    .second_text-section .second_left-text span {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .second_container {
        padding: 10px;
        margin-top: 15px;
    }

    .second_container .second_text-content {
        width: 100%;
        left: 0;
        padding: 10px;
    }

    .second_container .second_text-content h1 {
        font-size: 40px;
    }

    .second_container .second_text-content .second_signature {
        font-size: 30px;
    }

    .second_container .second_image-content {
        text-align: center;
    }

    .second_container .second_image-content img {
        width: 100%;
        /* Make the image responsive */
        height: auto;
        /* Maintain aspect ratio */
    }

    .second_text-section {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 5px;
        padding: 20px;
    }

    .second_text-section .second_right-text,
    .second_text-section .second_left-text {
        font-size: 8px;
    }

    .second_text-section .second_left-text span {
        font-size: 16px;
    }
}

/* End Second Class  */

/* Hamburger Icon */
.hamburger {
    cursor: pointer;
    display: none;
    /* Hide by default */
    flex-direction: column;
    position: absolute;
    top: 0px;
    right: 20px;
    z-index: 200;
}

.hamburger input {
    display: none;
    /* Hide the checkbox */
}

.hamburger svg {
    height: 3em;
    /* Size of the SVG */
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: black;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
    transform: rotate(-45deg);
}

.hamburger input:checked+svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    transition: left 0.3s ease;
    z-index: 100;
}

.side-nav ul {
    list-style: none;
    padding: 20px;
    margin-top: 30px;
}

.side-nav ul li {
    margin: 20px 0;
}

.side-nav ul li a {
    color: white;
    text-decoration: none;
}

/* Show side nav when active */
.side-nav.active {
    left: 0;
    /* Slide in */
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        display: none;
        /* Hide original navbar on mobile */
    }

    .hamburger {
        display: flex;
        /* Show hamburger on mobile */
    }
}

/* Third Section */

.third_container {
    max-width: 1400px;
    padding: 20px;
    background: white;
    text-align: center;
    /* Centers inline elements */
    margin: 60px auto;
    /* Centers the container itself */
}


/* Header layout update */
.third_header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.third_header h1 {
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

/* Button styles */
button.learn-more {
    width: 12rem;
    height: auto;
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #282936;
    border-radius: 1.625rem;
}

button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

button.learn-more:hover .circle {
    width: 100%;
}

button.learn-more:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

button.learn-more:hover .button-text {
    color: #fff;
}

.third_logos {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.third_logo-item {
    flex: 1 1 30%;
    max-width: 30%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1.5px solid #bfc9ca;
    position: relative;
}

.third_logo-item span {
    font-size: 12px;
    color: gray;
    position: absolute;
    top: 10px;
    left: 10px;
}

.third_logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .third_logo-item {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .third_logo-item {
        flex: 1 1 48%;
        max-width: 48%;
    }

    .third_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .third_header h1 {
        font-size: 28px;
        text-align: left;
    }

    button.learn-more {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .third_logo-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* End  Third  Section  */

/* Services Section  */
.ser_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 90%;
    margin-bottom: 20px;
    padding: 20px;
    margin: 60px auto;
    gap: 20px;
    margin-top: 50px;
}

.ser_content h1 {
    font-size: 35px;
    font-weight: bold;
    width: 50%;

}

.ser_content h1 span {
    color: #007bc1;
    font-size: 45px;
}

.ser_content .ser_subtext {
    max-width: 420px;
    font-size: 14px;
    margin-top: 10px;
    color: #555;

}

.cta {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    /* Same padding as the previous button */
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 20px;
    /* Same border-radius */
    text-decoration: none;
    margin-top: 10px;
    /* Keeping the same margin */
}

.cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #22c0ef;
    /* Keeping the background black */
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.cta span {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: black;
    /* White text */
}

.cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: black;
    /* Stroke white to match the original button */
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.cta:hover:before {
    width: 100%;
    background: #22c0ef;
    /* Keeping hover effect consistent */
}

.cta:hover svg {
    transform: translateX(0);
}

.cta:active {
    transform: scale(0.95);
}


.ser_container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1400px;
    margin: -60px auto;
    width: 90%;
    padding: 20px;
}

.ser_card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.ser_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.ser_card .ser_text {
    position: absolute;
    bottom: 30px;
    left: 20px;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.ser_card .ser_description {
    position: absolute;
    bottom: 5px;
    left: 20px;
    color: white;
    font-size: 16px;
    max-width: 90%;
}

.ser_arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ser_arrow:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3);
}

.ser_arrow::before {
    content: '\2197';
    font-size: 20px;
}

.ser_large-card {
    grid-row: span 2;
    height: 380px;
}

.ser_small-card {
    height: 179px;
}

@media screen and (max-width: 1024px) {
    .ser_content {
        flex-direction: column;
        text-align: center;
        padding: 20px;

    }

    .ser_content h1 {
        font-size: 32px;
        padding: 10px;
    }

    .ser_content .ser_subtext {
        max-width: 100%;
        padding: 0 20px;
    }

    .ser_container {
        grid-template-columns: 1fr 1fr;
        padding: 0 20px;
    }

    .ser_large-card {
        height: 320px;
    }

    .ser_small-card {
        height: 150px;
    }
}

@media screen and (max-width: 768px) {
    .ser_container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .ser_large-card {
        height: 300px;
    }

    .ser_small-card {
        height: 140px;
    }
}

@media screen and (max-width: 480px) {
    .ser_content {
        padding: 0px 10px 40px;
        text-align: left;
    }

    .ser_content h1 {
        font-size: 28px;
        line-height: 1.3;
        padding: 0px 5px;
        color: #222;
    }

    .ser_content .ser_subtext {
        font-size: 16px;
        padding: 10px 15px;
        color: #444;
    }

    .ser_btn {
        padding: 12px 20px;
        font-size: 14px;
        margin-top: 15px;
        display: inline-block;
    }

    .ser_container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .ser_large-card,
    .ser_small-card {
        height: auto;
        padding-bottom: 20px;
    }

    .ser_card .ser_text {
        font-size: 16px;
        padding: 15px;

    }

    .ser_card .ser_description {
        display: none;
    }

    .ser_arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* End Services Section  */


/* New Services Section  */
.n_ser_container {
    position: relative;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #dfdede 100%);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 60px 0;
    box-shadow: none;
    width: 100%;
}

.n_ser_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.n_ser_title {
    font-size: 38px;
    font-weight: 600;
    color: #111;
    margin-bottom: 100px;
}

.n_ser_curves {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    z-index: 0;
}

.n_ser_curves::before,
.n_ser_curves::after {
    content: "";
    position: absolute;
    border: 1px solid #ddd;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.n_ser_curves::before {
    width: 400px;
    height: 250px;
}

.n_ser_curves::after {
    width: 500px;
    height: 300px;
}

.n_ser_cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px 200px;
    position: relative;
    z-index: 1;
}

.n_ser_card {
    background: rgb(250, 245, 245);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 45px 50px;
    text-align: left;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.n_ser_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.n_ser_card a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.n_ser_card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #474747;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    /* space between icon and text */

}

.n_ser_card:hover h3 i {
    transform: scale(1.8);
    color: #333;
}

.n_ser_card p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
}

.n_ser_number {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #f5f5f5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-weight: 500;
}

/* Card positioning */
.n_ser_card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.n_ser_card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.n_ser_card:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
}

.n_ser_card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

/* Responsive */
@media (max-width: 992px) {
    .n_ser_container {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .n_ser_cards {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .n_ser_card {
        width: 95%;
        text-align: left;
    }

    .n_ser_curves {
        display: none;
    }
}

@media (max-width: 600px) {
    .n_ser_card {
        width: 95%;
        text-align: left;
        padding: 20px 15px;
    }

    .n_ser_card h3 {
        font-size: 15px;
    }

    .n_ser_card p {
        font-size: 13px;
    }

    .n_ser_number {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .n_ser_card {
        padding: 18px 12px;
    }

    .n_ser_card h3 {
        font-size: 14px;
    }

    .n_ser_card p {
        font-size: 12px;
    }

    .n_ser_number {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

/* End  New Services Section  */


/* Add 2 Section */

.add2_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    margin-top: 150px;
    position: relative;
    background-color: #02517e;
    height: 350px;
}

.add2_left-section {
    flex-basis: 60%;
    padding: 0 100px;
}

.add2_left-section h1 {
    font-size: 38px;
    font-weight: bold;
    margin: 0;
    color: white;
    width: 60%;
}

.add2_left-section h1 span {
    color: #FFD700;
    background: linear-gradient(to right, #FFD700, #8A2BE2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.add2_left-section p {
    font-size: 18px;
    margin-top: 20px;
    max-width: 450px;
    color: #E0E0E0;
}

.add2_explore-link {
    display: inline-block;
    color: white;
    font-size: 18px;
    margin-top: 30px;
    text-decoration: none;
}

.add2_explore-link:hover {
    color: #FFD700;
    /* Gold hover effect */
}

.add2_right-section {
    flex-basis: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.add2_logo-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.add2_logo-box {
    background-color: white;
    padding: 5px;
    border-radius: 10px;
}

.add2_logo-box img {
    width: 350px;
    height: auto;
    border-radius: 10px;

}

/* Responsive Design */
@media (max-width: 1200px) {
    .add2_container {
        flex-direction: column;
        /* Stack sections vertically */
        height: auto;
        /* Allow height to adjust */
        padding: 40px;
        margin-top: 100px;
        text-align: left;
    }

    .add2_left-section {
        flex-basis: 100%;
        padding: 0 50px;
    }

    .add2_left-section h1 {
        font-size: 42px;
        width: 100%;
    }

    .add2_left-section p {
        font-size: 16px;
        max-width: 100%;
    }

    .add2_right-section {
        flex-basis: 100%;
        margin-top: 30px;
    }

    .add2_logo-container {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    .add2_logo-box img {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .add2_container {
        padding: 30px;
        text-align: left;

    }

    .add2_left-section h1 {
        font-size: 38px;
    }

    .add2_left-section p {
        font-size: 15px;
    }

    .add2_right-section {
        margin-top: 20px;
    }

    .add2_logo-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .add2_logo-box img {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .add2_container {
        padding: 20px;
        text-align: left;

    }

    .add2_left-section h1 {
        font-size: 34px;
    }

    .add2_left-section p {
        font-size: 14px;
    }

    .add2_logo-container {
        grid-template-columns: repeat(1, 1fr);
        /* Show logos in a single column */
    }

    .add2_logo-box img {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .add2_container {
        padding: 15px;
        margin-top: 80px;
        text-align: left;
    }

    .add2_left-section h1 {
        font-size: 30px;
    }

    .add2_left-section p {
        font-size: 13px;
    }

    .add2_explore-link {
        font-size: 16px;
    }

    .add2_right-section {
        margin-top: 15px;
    }

    .add2_logo-box img {
        width: 180px;
    }
}

/* End Add 2 Section */



/*  Second Last Section  */
.business-growth {
    text-align: center;
    padding: 40px 100px;
    margin-top: 70px;
}

.trusted-partner p {
    font-size: 14px;
    color: #7b7ebc;
    font-weight: 600;
    text-align: left;
}

.main-heading {
    font-size: 41px;
    font-weight: bold;
    color: #2f2f6f;
    line-height: 1.3;
    margin: 20px 0;
    text-align: left;
    width: 80%;
}

.main-heading span {

    color: #f9c642;
    background: transparent linear-gradient(100deg, #6e9275, #8644d8 69%, #4c1ea5) 0 0 no-repeat padding-box;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 70px;
}

.stats-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.stat-item h2 {

    letter-spacing: 0;
    color: #0b0757;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
}

.stat-item p {
    position: relative;
    font-size: 20px;
    color: #777;
    padding-bottom: 10px;
}

.stat-item p::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(100deg, #96ffab, #8644d8 69%, #4c1ea5);
}



.image-container {
    position: relative;
}

.main-image {
    max-width: 1500px;
    border-radius: 15px;
    height: 300px;
}



.step {
    background-color: #e0e4f1;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
}

.step.delivered {
    background-color: #39d688;
    color: white;
}

/* Responsive for all phone views */
@media (max-width: 768px) {
    .business-growth {
        padding: 20px;
    }

    .main-heading {
        font-size: 28px;
        width: 100%;
        text-align: left;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-column {
        gap: 30px;
        text-align: left;
    }

    .stat-item h2 {
        font-size: 24px;
    }

    .stat-item p {
        font-size: 16px;
    }

    .main-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .business-growth {
        padding: 15px;
    }

    .main-heading {
        font-size: 24px;
        text-align: left;
    }

    .stats-container {
        gap: 20px;
        text-align: left;

    }

    .stat-item h2 {
        font-size: 20px;
        text-align: left;

    }

    .stat-item p {
        font-size: 14px;
    }
}

/*  End Second Last Section  */

/*   Footer Section */

.footer_wrapper {
    position: relative;
    width: 100%;
    margin-top: 180px;
}

.footer_cta_background {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 100px;
    background: rgba(82, 88, 107, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    z-index: 1;
}

.footer_cta_section {
    position: absolute;
    bottom: calc(100% - 20px);
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: rgba(82, 88, 107, 0.4);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.footer_cta_content h2 {
    margin: 0;
    font-size: 22px;
}

.footer_cta_content p {
    font-size: 14px;
}

.footer_cta_button {
    background: #fff;
    color: rgb(82, 88, 107);
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
}

.footer_cta_button:hover {
    background: rgb(82, 88, 107);
    color: white;
}

.footer_main {
    background: #111;
    color: white;
    padding: 120px 50px 120px;
    display: flex;
    justify-content: center;
    position: relative;
}

.footer_content {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.footer_column h3 {
    margin-bottom: 18px;
    font-size: 20px;
}

.footer_column a {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 12px;
    position: relative;
    text-decoration: none;
    display: block;
}

.footer_column a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.5s ease-in-out;
}

.footer_column a:hover::after {
    width: 100%;
}

.footer_social_icons {
    display: flex;
    gap: 10px;
}

.footer_social_icons i {
    background: rgb(82, 88, 107);
    padding: 8px;
    border-radius: 50%;
    color: white;
    font-size: 14px;
}

@media (max-width: 480px) {
    .footer_cta_section {
        flex-direction: column;
        text-align: left;
        padding: 15px 20px;
        width: 90%;
    }

    .footer_cta_button {
        margin-top: 10px;
    }

    .footer_content {
        flex-direction: column;
        text-align: left;
        width: 90%;
    }

    .footer_column {
        margin-bottom: 20px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .footer_cta_section {
        width: 85%;
        padding: 18px 30px;
    }

    .footer_content {
        flex-wrap: wrap;
        justify-content: space-around;
        width: 85%;
    }
}

.footer_bottom {
    width: 100%;
    background-color: #000;
    /* Pure black background */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Thin white line */
    padding: 22px 0;
    font-size: 14px;
    color: #fff;
}

.footer_bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer_bottom .left p,
.footer_bottom .right p {
    margin: 0;
}

.footer_bottom .right a {
    color: #007bff;
    /* Bootstrap blue */
    text-decoration: none;
}

.footer_bottom .right a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .footer_bottom .container {
        padding: 0 15px;
        flex-wrap: wrap;
    }

    .footer_bottom .left,
    .footer_bottom .right {
        text-align: left;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .footer_bottom .container {
        flex-direction: column;
        gap: 10px;
    }

    .footer_bottom .left,
    .footer_bottom .right {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer_bottom {
        padding: 10px 0;
        font-size: 12px;
    }

    .footer_bottom .container {
        gap: 5px;
    }

    .footer_bottom .left,
    .footer_bottom .right {
        text-align: left;
    }
}

/*   End Footer Section */

/* Navbar */
.na_navbar {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.na_navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(215, 216, 218, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.na_navbar .logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Small hover scale effect */
.na_navbar .logo img:hover {
    transform: scale(1.05);
}

.na_navbar ul {
    list-style: none;
    display: flex;
    margin-left: auto;
}

.na_navbar ul li {
    margin: 0 15px;
}

.na_navbar ul li a {
    position: relative;
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-weight: 550;
    transition: color 0.3s;
}

.na_navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: rgb(17, 4, 4);
    transition: width 0.5s ease-in-out;
}

/* Underline effect on hover */
.na_navbar ul li:hover>a::after,
.na_navbar ul li .dropdown-menu:hover~a::after {
    width: 100%;
}

/* Ensure underline remains when hovering over the dropdown menu */
.na_navbar ul li:hover>a::after,
.na_navbar ul li:hover .dropdown-menu:hover~a::after {
    width: 100%;
}

/* Hide the underline smoothly when moving cursor out */
.na_navbar ul li:not(:hover)>a::after {
    width: 0;
    right: 0;
    left: auto;
    transition: width 0.3s ease-in-out, left 0s 0.3s;
}

@media (max-width: 767px) {
    .na_navbar {
        display: none;
    }
}


/* ABout PAge */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    margin-top: 80px;
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 20px;
}

.hero-text .highlight {
    display: block;
    font-family: 'Gabriel Sans';
    margin-top: 10px;
    color: #27a2ea;
    background: linear-gradient(90deg, rgba(116, 117, 122, 1) 16%, rgba(173, 196, 196, 1) 46%, rgba(161, 181, 199, 1) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: #64748b;
    max-width: 900px;
    margin: 0 auto 40px;
}

.hero-image {
    max-width: 90%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 500px;
    display: block;
    border-radius: 20px;
}

/* Medium Devices - Tablets (768px and below) */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
        line-height: 1.3;
        text-align: left;
    }

    .hero-text p {
        font-size: 16px;
        padding: 0 10px;
        text-align: left;

    }

    .hero-image img {
        height: 350px;
    }
}

/* Small Devices - Phones (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding: 40px 15px 30px;
        text-align: left;

    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.4;
    }

    .hero-text p {
        font-size: 15px;
        padding: 0 5px;
    }

    .hero-image img {
        height: 250px;
    }
}



.sec_container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1320px;
    margin: auto;
    margin-bottom: 50px;
}

.sec_left {
    flex: 1;
    min-width: 300px;
}

.sec_left h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sec_left p {
    font-size: 18px;
    color: #334155;
}

.sec_right {
    flex: 1;
    min-width: 300px;
    margin-top: 0px;
}

.sec_right p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}


.sec_card {
    background-color: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.sec_tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.sec_tab {
    flex: 1;
    text-align: center;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    background-color: transparent;
    transition: all 0.3s ease;
}

.sec_tab.sec_active {
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: inset 0 -2px 0 0 #0f172a;
}

.sec_tab_content {
    padding: 20px;
    color: #334155;
    font-size: 16px;
}

@media (max-width: 768px) {
    .sec_container {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
    }

    .sec_left h1 {
        font-size: 36px;
    }

    .sec_tab {
        font-size: 14px;
        padding: 12px;
    }
}



.cou_section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1300px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 50px;
}

.cou_item {
    flex: 1 1 20%;
    min-width: 150px;
}

.cou_item h2 {
    font-size: 60px;
    color: #74757A;
    margin: 0;
    font-weight: 700;
}

.cou_item .cou_number {
    display: inline-block;
}

.cou_item .cou_suffix {
    font-size: 60px;
    color: #74757A;
    margin-left: 2px;
}

.cou_item p {
    font-size: 20px;
    color: #0f172a;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .cou_section {
        justify-content: center;
    }
}

.blue_container {
    background: linear-gradient(90deg, rgba(206, 210, 219, 1) 16%, rgba(213, 219, 219, 1) 46%, rgba(161, 181, 199, 1) 96%);
    padding: 80px 20px;
    text-align: center;
    border-radius: 15px;
    max-width: 1300px;
    margin: 100px auto;
    color: #575251;
}

.blue_heading {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #575251;
}

.blue_subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #575251;
}

.blue_form {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.blue_input {
    padding: 15px 20px;
    font-size: 16px;
    width: 300px;
    border: none;
    outline: none;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.blue_button {
    padding: 15px 25px;
    font-size: 16px;
    background-color: #120ef5;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    transition: background-color 0.3s ease;
}

.blue_button:hover {
    background-color: #0a06be;
}

/* Tablet View - Medium Devices (768px and below) */
@media (max-width: 768px) {
    .blue_heading {
        font-size: 36px;
        line-height: 1.3;
    }

    .blue_subtitle {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .blue_form {
        flex-direction: column;
        align-items: center;
    }

    .blue_input {
        width: 90%;
        margin-bottom: 10px;
        border-radius: 6px;
    }

    .blue_button {
        width: 100%;
        border-radius: 6px;
    }
}

/* Mobile View - Small Devices (480px and below) */
@media (max-width: 480px) {
    .blue_container {
        padding: 40px 15px;
    }

    .blue_heading {
        font-size: 28px;
        line-height: 1.4;
    }

    .blue_subtitle {
        font-size: 15px;
        padding: 0 5px;
    }

    .blue_input,
    .blue_button {
        font-size: 15px;
    }
}

/* End ABout PAge */


/* Team Section */
.T_main_section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #fff;
    overflow: hidden;
    margin-top: 25px;
}


.T_main_container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.T_main_weare {
    position: absolute;
    top: 50px;
    left: 40px;
    font-size: 120px;
    font-weight: 300;
    color: #774444;
    font-family: 'Playfair Display', serif;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
    /* This is enough */
    z-index: 3;
}

.T_main_theteam {
    position: absolute;
    bottom: 50px;
    right: 40px;
    font-size: 120px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
    color: transparent;
    color: #5587b9;
    z-index: 2;
}

.T_main_image {
    max-width: 750px;
    height: auto;
    z-index: 2;
    position: relative;
    border-radius: 8px;
}

.T_main_graphic-circle {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    background: #ff6c5c;
    border-radius: 50%;
    z-index: 0;
}

.T_main_dot-grid {
    position: absolute;
    top: 90px;
    right: 180px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(#1b0e0e 1px, transparent 2px);
    background-size: 10px 10px;
    opacity: 0.3;
    z-index: 0;
}

@media (max-width: 480px) {
    .T_main_section {
        padding: 0px;
        overflow: hidden;
    }

    .T_main_container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 1px;
        text-align: center;
    }

    .T_main_weare {
        position: static;
        font-size: 56px;
        -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
        margin-bottom: 20px;
        text-align: center;
    }

    .T_main_image {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        border-radius: 8px;
        z-index: 2;
    }

    .T_main_theteam {
        position: static;
        font-size: 46px;
        font-weight: 900;
        margin-top: 20px;
        text-align: center;
    }

    .T_main_graphic-circle,
    .T_main_dot-grid {
        display: none;
    }
}

.team-section {
    max-width: 1300px;
    margin: auto;
    text-align: left;

}

.team-section h2 {
    font-size: 55px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #111;
}

.team-cards {
    display: flex;
    justify-content: flex-start;
    /* changed from center */
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.team-card {
    position: relative;

    width: 400px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #e1e5e8;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 100%;
    display: block;
}


.team-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #e1e5e8;
    padding: 12px 100px;
    border-radius: 8px;
    box-shadow: 0 6px 200px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.team-card:hover .team-info {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.team-info h3 {
    width: 180px;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #111;
}

.team-info p {
    font-size: 17px;
    color: #666;

}

.team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .team-card {
        width: 90%;
        /* responsive cards */
        height: auto;
    }

    .team-cards {
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .team-info {
        padding: 10px 40px;
    }

    .team-section h2 {
        font-size: 32px;
    }
}

/* new Team  Team Section */
.n_team-section {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
}

.n_team-title {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.n_team-subtitle {
    font-size: 16px;
    color: #959393;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.n_team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.n_team-member {
    width: 260px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.n_team-photo {
    background: linear-gradient(180deg, #e5e5e5 0%, #ffffff 100%);
    padding: 30px 0;
}

.n_team-member h3 {
    margin: 15px 0 5px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.n_team-member p {
    font-size: 14px;
    color: #666;
    max-width: 600px;
    margin-bottom: 20px;
}

.n_team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.n_team-member img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0px;
}

.n_team-member .n_team-position {
    color: #888;
    font-size: 14px;
}

.n_team-member.active {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ====== Extra Large Screens (Desktops ≥ 1200px) ====== */
@media (min-width: 1200px) {
    .n_team-grid {
        gap: 40px;
    }

    .n_team-member {
        width: 260px;
    }

    .n_team-title {
        font-size: 40px;
    }

    .n_team-subtitle {
        font-size: 18px;
        max-width: 750px;
    }
}


/* ====== Large Screens (Laptops / Medium Desktops) ====== */
@media (max-width: 1199px) and (min-width: 992px) {
    .n_team-grid {
        gap: 30px;
    }

    .n_team-member {
        width: 230px;
    }

    .n_team-title {
        font-size: 32px;
    }

    .n_team-subtitle {
        font-size: 15px;
        max-width: 650px;
    }
}


/* ====== Tablets (768px to 991px) ====== */
@media (max-width: 991px) and (min-width: 768px) {
    .n_team-section {
        padding: 60px 20px;
    }

    .n_team-grid {
        gap: 25px;
    }

    .n_team-member {
        width: 45%;
    }

    .n_team-title {
        font-size: 28px;
    }

    .n_team-subtitle {
        font-size: 14px;
        max-width: 500px;
    }

    .n_team-member img {
        height: 260px;
    }
}


/* ====== Mobile (480px to 767px) ====== */
@media (max-width: 767px) and (min-width: 480px) {
    .n_team-section {
        padding: 50px 15px;
    }

    .n_team-grid {
        flex-direction: column;
        align-items: center;
    }

    .n_team-member {
        width: 80%;
    }

    .n_team-title {
        font-size: 26px;
    }

    .n_team-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .n_team-member img {
        height: 270px;
    }
}


/* ====== Extra Small (≤479px) ====== */
@media (max-width: 479px) {
    .n_team-section {
        padding: 40px 10px;
    }

    .n_team-grid {
        flex-direction: column;
        gap: 20px;
    }

    .n_team-member {
        width: 100%;
    }

    .n_team-title {
        font-size: 22px;
    }

    .n_team-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .n_team-member img {
        height: 400px;
    }

    .n_team-member h3 {
        font-size: 16px;
    }

    .n_team-member p {
        font-size: 13px;
    }
}

/* End Team Section */


/* R_services */
.R_hero-section {
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
    margin-top: 50px;
}

.R_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* You can keep this if you want items spread out on larger screens */
    flex-wrap: wrap;
    max-width: 1300px;
    margin: auto;
    gap: 30px;
    padding: 0 10px;
    /* Add horizontal padding to maintain side gaps */
    box-sizing: border-box;
    /* Ensure padding is included in the total width */
}


.R_left {
    flex: 1;
    min-width: 300px;
}

.R_main-image {
    width: 100%;
    border-radius: 20px;
}

.R_right {
    flex: 1;
    min-width: 300px;
}

.R_right h1 {
    font-size: 42px;
    color: #111;
    margin-bottom: 20px;
}

.R_right p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    max-width: 450px;
}

.R_get-started {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #635bff;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 30px;
}

.R_get-started:hover {
    background-color: #5349e9;
}

/* Logos Section (inside right side now) */
.R_logos-section {
    text-align: left;
    margin-top: 40px;
}

.R_logos-title {
    font-size: 16px;
    color: #222;
    margin-top: 170px;
    margin-bottom: 20px;
}

.R_logos-slider {
    overflow: hidden;
    position: relative;
}

.R_logos-track {
    display: flex;
    animation: scrollLogos 20s linear infinite;
    gap: 40px;
}

.R_logos-track img {
    height: 40px;
    width: auto;
}

/* Scroll Animation */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .R_hero-section {
        padding: 20px 10px;
        /* Keeps a gap on both sides */
    }

    .R_container {
        /* Remove any padding override so it keeps the 0 10px */
        /* You can still adjust other properties as needed */
        text-align: left;
        width: 100%;
    }

    .R_right h1 {
        font-size: 30px;
    }

    .R_right p {
        font-size: 14px;
    }

    .R_get-started {
        font-size: 14px;
        padding: 10px 18px;
    }

    .R_logos-track {
        gap: 30px;
        /* Remove any fixed width property here */
    }

    .R_main-image {
        border-radius: 15px;
    }

    .R_logos-track img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .R_right h1 {
        font-size: 24px;
    }

    .R_right p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .R_get-started {
        font-size: 13px;
        padding: 8px 16px;
    }

    .R_logos-title {
        font-size: 14px;
    }

    .R_logos-track {
        gap: 20px;

        /* Do not set a fixed width; let it be responsive */
    }

    .R_logos-track img {
        height: 30px;
    }

    .R_main-image {
        border-radius: 10px;
    }

    .R_container {
        /* Keep the same left/right padding to maintain consistency */
        margin: auto;
        padding: 0 10px;
        text-align: left;
        width: 100%;
    }
}

.r_s_section {
    background-color: #f1f3ff;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.r_s_container {
    max-width: 1000px;
    margin: auto;
}

.r_s_heading {
    font-size: 42px;
    font-weight: 700;
    color: #1c1e26;
    margin-bottom: 10px;
}

.r_s_subheading {
    color: #60677a;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.r_s_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(470px, 1fr));
    gap: 35px;
}

.r_s_card {
    display: flex;
    background: #f4f6f7;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.r_s_card:hover {
    transform: translateY(-5px);
}

.r_s_icon {
    background: #9C5B4F;
    color: #fff;
    font-size: 24px;
    padding: 16px;
    border-radius: 12px;
    margin-right: 16px;
    flex-shrink: 0;
}

.r_s_content {
    text-align: left;
}

.r_s_title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1c1e26;
}

.r_s_text {
    font-size: 16px;
    color: #4b5563;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .r_s_section {
        padding: 40px 15px;
        margin-bottom: 30px;
    }

    .r_s_heading {
        font-size: 32px;
        text-align: left;
    }

    .r_s_subheading {
        font-size: 16px;
        max-width: 90%;
        margin-bottom: 30px;
        text-align: left;
    }

    .r_s_grid {
        grid-template-columns: 1fr;
        /* Single column layout */
        gap: 16px;
    }

    .r_s_card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
    }

    .r_s_icon {
        font-size: 20px;
        padding: 12px;
        margin-right: 12px;
        margin-bottom: 0;
    }

    .r_s_content {
        text-align: left;
    }

    .r_s_title {
        font-size: 20px;
    }

    .r_s_text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .r_s_section {
        padding: 30px 10px;
        margin-bottom: 20px;
    }

    .r_s_heading {
        font-size: 28px;
        text-align: left;
    }

    .r_s_subheading {
        font-size: 14px;
        text-align: left;
    }

    .r_s_card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 16px;
    }

    .r_s_icon {
        font-size: 18px;
        padding: 10px;
        margin-right: 10px;
    }

    .r_s_title {
        font-size: 18px;
    }

    .r_s_text {
        font-size: 14px;
    }
}


.r_t_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 60px;

}

.r_t_left {
    flex: 1 1 480px;
}

.r_t_left h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.r_t_left p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 30px;
}

.r_t_testimonial {
    display: flex;
    align-items: center;
    gap: 16px;
}

.r_t_testimonial img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.r_t_testimonial_text {
    font-size: 0.95rem;
    color: #374151;
}

.r_t_testimonial_text span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
}

.r_t_right {
    position: relative;
    flex: 1 1 480px;
}

.r_t_right img {
    width: 100%;
    border-radius: 24px;
}

.r_t_card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 16px 20px;
    width: 180px;
}

.r_t_card p {
    font-size: 0.9rem;
    color: #6366f1;
    font-weight: 500;
    margin-bottom: 8px;
}

.r_t_card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.r_t_growth {
    font-size: 0.85rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .r_t_section {
        flex-direction: column;
        margin-bottom: 40px;

        gap: 30px;
        text-align: left;
        padding: 0 20px;
    }

    .r_t_left {
        flex: 1 1 auto;
        width: 100%;
    }

    .r_t_left h1 {
        font-size: 2.5rem;
    }

    .r_t_left p {
        font-size: 0.95rem;
    }

    .r_t_testimonial {
        flex-direction: row;
        align-items: center;
    }

    .r_t_testimonial img {
        width: 40px;
        height: 40px;
    }

    .r_t_testimonial_text {
        font-size: 0.85rem;
    }

    .r_t_right {
        flex: 1 1 auto;
        width: 100%;
        text-align: center;
    }

    .r_t_right img {
        width: 100%;
        max-width: 400px;
    }

    .r_t_card {
        bottom: 10px;
        right: 10px;
        width: 160px;
        padding: 12px 16px;
    }

    .r_t_card h2 {
        font-size: 1.3rem;
    }

    .r_t_card p {
        font-size: 0.85rem;
    }

    .r_t_growth {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .r_t_section {
        padding: 0 15px;
        margin-bottom: 40px;

    }

    .r_t_left h1 {
        font-size: 2rem;
    }

    .r_t_left p {
        font-size: 0.9rem;
    }

    .r_t_testimonial img {
        width: 36px;
        height: 36px;
    }

    .r_t_right img {
        max-width: 300px;
    }

    .r_t_card {
        width: 140px;
        padding: 10px 14px;
    }

    .r_t_card h2 {
        font-size: 1.2rem;
    }

    .r_t_card p {
        font-size: 0.8rem;
    }

    .r_t_growth {
        font-size: 0.7rem;
    }
}

/* CSS */
.r_l_section {
    background-color: #5866f2;
    padding: 60px 20px;
    border-radius: 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    margin-top: 80px;
}

.r_l_container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.r_l_left {
    flex: 1;
    min-width: 280px;
    padding: 20px;
}

.r_l_heading {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.r_l_heading span {
    display: block;
    color: #fff;
}

.r_l_subtext {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #dbe1ff;
}

.r_l_buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.r_l_demo_btn {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}

.r_l_demo_btn:hover {
    background-color: #e0e0ff;
    /* Light tint of the background */
    color: #5866f2;
    /* Matches the section's background for contrast */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.r_l_chat {
    font-size: 16px;
    color: #fff;
}

.r_l_chat a {
    color: #fff;
    text-decoration: underline;
}

.r_l_right {
    flex: 1;
    min-width: 280px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.r_l_ui_image {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .r_l_container {
        flex-direction: column;
        align-items: flex-start;
        /* Align text to the left */
        padding: 0 20px;
    }

    .r_l_left,
    .r_l_right {
        width: 100%;
        text-align: left;
        /* Left-align text */
        padding: 20px 0;
    }

    .r_l_buttons {
        justify-content: flex-start;
        /* Keep buttons left-aligned */
    }

    .r_l_ui_image {
        max-width: 450px;
        margin: 0 auto;
        /* Center image while keeping text left-aligned */
    }
}

@media (max-width: 768px) {
    .r_l_section {
        padding: 40px 15px;
        border-radius: 16px;
        margin-top: 60px;
    }

    .r_l_heading {
        font-size: 32px;
        text-align: left;
        /* Ensure heading stays left-aligned */
    }

    .r_l_subtext {
        font-size: 16px;
        text-align: left;
        /* Ensure subtext stays left-aligned */
    }

    .r_l_demo_btn {
        font-size: 15px;
        padding: 12px 20px;
    }

    .r_l_ui_image {
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .r_l_section {
        padding: 30px 10px;
        border-radius: 12px;
        margin-top: 40px;
    }

    .r_l_heading {
        font-size: 28px;
        margin-bottom: 15px;
        text-align: left;
    }

    .r_l_subtext {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: left;
    }

    .r_l_buttons {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        /* Ensure buttons align left */
    }

    .r_l_demo_btn {
        font-size: 14px;
        padding: 10px 18px;
    }

    .r_l_ui_image {
        max-width: 300px;
        margin: 0 auto;
    }
}

/*End  R_services */


/* Talent Sourcing */
.s_A_hero-section {
    max-width: 1200px;
    width: 100%;
    margin: 60px auto 70px auto;
    padding: 0 20px;
    margin-top: 150px;
    display: flex;
    justify-content: center;
}

.s_A_card-background {
    display: flex;
    background-color: #1471a7;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: visible;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    /* Ensure it doesn’t overflow */
}


.s_A_text-content {
    flex: 1;
    color: white;
}

.s_A_text-content h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.s_A_highlight {
    color: #52ff99;
}

.s_A_text-content p {
    font-size: 15px;
    color: #cfd8d3;
    margin-bottom: 30px;
    max-width: 400px;
}

.s_A_buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.s_A_btn {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.s_A_btn.s_A_talk {
    background-color: #52ff99;
    color: black;
}

.s_A_btn.s_A_talk:hover {
    background-color: #3ce68d;
}

.s_A_btn.s_A_case {
    color: #52ff99;
}

.s_A_btn.s_A_case:hover {
    text-decoration: underline;
}

.s_A_image-wrapper {
    position: relative;
    margin-left: 30px;
    margin-top: -80px;
    margin-bottom: -80px;
    flex-shrink: 0;
}

.s_A_image-wrapper img {
    width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Full-width background for the section */
.s_A_services-section {
    width: 100%;
    background-color: #f3eee7;
    padding: 60px 0;
    margin-bottom: 170px;
    margin-top: 150px;
}

/* Inner container to center content and limit width */
.s_A_services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* for spacing on small screens */
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Left Text Column */
.s_A_services-intro {
    flex: 1 1 300px;
    max-width: 400px;
}

.s_A_services-intro h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.s_A_services-intro p {
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
}

.s_A_services-btn {
    background-color: #52ff99;
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* Top 2 Cards: side by side with text */
.s_A_top-cards {
    display: flex;
    flex: 2 1 600px;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Bottom 3 Cards: start below the text */
.s_A_bottom-cards {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: -20px;
    /* Pull them slightly closer if needed */
}

.s_A_service-card {
    background-color: #fff;
    border-radius: 14px;
    padding: 20px 50px;
    flex: 1 1 260px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, rotate 0.3s ease;
}

.s_A_service-card:hover {
    background-color: #91979a;
    color: #fff;
    transform: rotate(-2deg);
}

.s_A_service-card:hover p {
    color: #fff;
}

.s_A_service-card .s_A_icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.s_A_service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.s_A_service-card p {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.s_A_service-card a {
    font-size: 13px;
    text-decoration: none;
    font-weight: bold;
    color: #52ff99;
}

.s_A_service-card a:hover {
    text-decoration: underline;
}

/* Special Google Ads card style */
.s_A_service-card.s_A_highlight {
    background-color: #1d2d27;
    color: #fff;
    transform: rotate(-2deg);
}

.s_A_service-card.s_A_highlight:hover {
    transform: rotate(0deg) translateY(-5px);
}

.s_A_service-card.s_A_highlight a {
    color: #fff;
}

/* Responsive Design for Tablets and Phones */
@media (max-width: 1024px) {
    .s_A_card-background {
        flex-direction: column;
        text-align: left;
        padding: 30px;
        margin-top: -80px;
    }

    .s_A_image-wrapper {
        margin: 30px auto 0;
    }

    .s_A_text-content {
        text-align: left;
    }

    .s_A_text-content h1 {
        font-size: 28px;
    }

    .s_A_text-content p {
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .s_A_services-container {
        flex-direction: column;
        align-items: center;
    }

    .s_A_hero-section {
        padding: 0 20px;
    }

    .s_A_services-intro {
        max-width: 100%;
        text-align: left;
        margin-bottom: -200px;

    }

    .s_A_top-cards,
    .s_A_bottom-cards {
        flex-direction: column;
        align-items: center;
    }

    .s_A_service-card {
        width: 100%;
        max-width: 320px;
    }

    .s_A_text-content h1 {
        font-size: 24px;
    }

    .s_A_image-wrapper img {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .s_A_card-background {
        padding: 20px;
        margin-top: -80px;
    }

    .s_A_text-content h1 {
        font-size: 20px;
    }

    .s_A_text-content p {
        font-size: 14px;
    }

    .s_A_buttons {
        flex-direction: column;
        gap: 10px;
    }

    .s_A_service-card {
        padding: 16px 20px;
    }

    .s_A_services-section {
        padding: 40px 10px;
        margin-top: -30px;
    }
}

/* End Talent Sourcing */

/* Services 2 Section  */
.Ser_section {
    max-width: 1300px;
    margin: 80px auto;
    padding: 40px 20px;
    background: linear-gradient(145deg, #ffffff, #e6f0ff);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.Ser_section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #004080;
}

.Ser_section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

.Ser_links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.Ser_card {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    text-align: left;
    transition: all 0.4s ease-in-out;
    text-decoration: none;
    color: #003366;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #d6e6ff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
}

.Ser_card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 128, 255, 0.05);
    transition: left 0.4s ease;
    z-index: 0;
}

.Ser_card:hover::before {
    left: 0;
}

.Ser_card:hover {
    background-color: #eaf4ff;
    box-shadow: 0 12px 30px rgba(0, 76, 153, 0.3);
    transform: rotateY(5deg) scale(1.03);
}

.Ser_card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #004080;
    position: relative;
    z-index: 1;
}

.Ser_card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .Ser_section {
        padding: 30px 15px;
        text-align: left;
    }

    .Ser_section h1 {
        font-size: 2.5rem;
        text-align: left;
    }

    .Ser_section p {
        font-size: 1rem;
        text-align: left;
    }

    .Ser_links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .Ser_section {
        margin: 40px 10px;
        padding: 20px 10px;
        text-align: left;
    }

    .Ser_section h1 {
        font-size: 2rem;
        text-align: left;
    }

    .Ser_section p {
        text-align: left;
    }

    .Ser_card {
        padding: 20px 15px;
    }

    .Ser_card h3 {
        font-size: 1.3rem;
    }

    .Ser_card p {
        font-size: 0.95rem;
    }
}

/* End Services 2 Section  */

/* Key Stage */
.K_container {
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

.K_hero-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.K_hero-text {
    flex: 1;
    min-width: 280px;
}

.K_hero-text h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.K_hero-text p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.K_hero-buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
}

.K_btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.K_btn-secondary {
    background-color: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.K_hero-image {
    flex: 1;
    min-width: 280px;
}

.K_hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

/* === Stats Section === */
.K_stats-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 100px;
    align-items: center;
}

.K_stats-section .K_image {
    flex: 1;
    min-width: 300px;
}

.K_stats-section img {
    width: 100%;
    border-radius: var(--border-radius);
}

.K_stats-boxes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 250px;
}

.K_stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.K_stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.K_stat-card strong {
    font-size: 20px;
    color: #A4A7B3;
}

/* === Features Section === */
.K_features-section {
    margin-top: 120px;
    text-align: center;
}

.K_features-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.K_features-section p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.K_features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.K_feature-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.K_feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.K_feature-icon {
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--primary);
}

.K_feature-card h4 {
    margin-bottom: 10px;
}

.K_feature-card p {
    color: var(--text-light);
}

/* === Responsive === */
@media (max-width: 1024px) {

    .K_hero-section,
    .K_stats-section {
        flex-direction: column;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .K_hero-text,
    .K_hero-image,
    .K_image,
    .K_stats-boxes {
        width: 100%;
    }

    .K_hero-text h1 {
        font-size: 26px;
        text-align: left !important;
    }

    .K_hero-text p {
        text-align: left !important;
    }

    .K_hero-buttons {
        flex-wrap: wrap;
        justify-content: flex-start !important;
        gap: 10px;
    }

    .K_stats-boxes {
        align-items: flex-start !important;
    }

    .K_feature-card {
        text-align: left !important;
    }
}

@media (max-width: 600px) {
    .K_container {
        padding: 15px;
    }

    .K_hero-text h1 {
        font-size: 22px;
    }

    .K_hero-text p {
        font-size: 14px;
    }

    .K_hero-buttons button {
        width: 100%;
        margin: 5px 0;
    }

    .K_features-section h2 {
        font-size: 24px;
        text-align: left !important;
    }

    .K_feature-icon {
        font-size: 24px;
    }

    .K_feature-card h4,
    .K_feature-card p {
        text-align: left !important;
    }

    .K_stat-card {
        font-size: 14px;
        padding: 16px;
        text-align: left !important;
    }
}

/* End Key Stage */


/* Client Page */
.C_clients-section {
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;

}

.C_clients-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.C_clients-section p {
    margin-bottom: 30px;
    color: #666;
}

.C_filter-buttons {
    margin-bottom: 20px;
}

.C_filter-buttons button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background: #ddd;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.C_filter-buttons button:hover,
.C_filter-buttons button.active {
    background: #007bff;
    color: white;
}

.C_client-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}



.C_client-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.C_client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.C_client-logo {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s;
}

.C_client-card:hover .C_client-logo {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .C_client-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

/*  End Client Page */