* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*::-webkit-scrollbar {
    width: 0;
}

main {
    min-height: 100vh;
    max-width: 100vw;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    transition: all 0.5s;
}

.navbar {
    background-image: linear-gradient(215deg, #130f40 0%, #000000 74%);
    position: fixed;
    z-index: 10000;
    width: 100%;
}

.navbar .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.navbar-custom {
    background-color: #2d2c45;
}

.navbar-nav .nav-link {
    color: white !important;
    margin: 0 10px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa !important;
}

.navbar .container .navbar-brand img {
    border-radius:100%;
}

.navbar-nav .nav-item {
    position: relative;
    /* Needed for absolute positioning of the underline */
}

.navbar-nav .nav-link {
    padding: 10px;
    /* Add some padding to the nav link */
}

.navbar-nav .nav-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /* Adjust the thickness of the underline */
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    /* Or your desired color */
    transition: width 0.3s ease;
    /* Adjust the transition duration and easing */
}

.navbar-nav .nav-item:hover::after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    border-radius: 30px 0 0 30px;
    border: 2px solid #2d2c45;
    padding: 6px 15px;
    outline: none;
    background-color: transparent;
}

.search-box input::placeholder {
    color: #f8f9fa;
}

.search-box button {
    border-radius: 0 30px 30px 0;
    border: 2px solid #2d2c45;
    background-color: transparent;
    color: white;
    padding: 6px 15px;
    transition: 0.3s ease-in-out all;
}

.search-box button:hover {
    background-color: #201f46;
    border: 2px solid #2d2c45;
    color: white;

}

@media (max-width: 992px) {
    .search-box {
        margin-top: 10px;
        justify-content: center;
    }

    .navbar-collapse {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== footer design ======================= */

.footer {
    color: #fff;
    padding: 60px 0;
    background-color: #130f40;
    background-image: linear-gradient(315deg, #130f40 0%, #000000 74%);
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    text-decoration: none;
    color: #bbb;
    font-size: 15px;
}

.footer ul li a:hover {
    color: #fff;
}

.footer .newsletter input[type="email"] {
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 10px 20px;
    width: 100%;
}

.footer .newsletter .btn {
    border-radius: 0 30px 30px 0;
    padding: 10px 25px;
    background-color: #1e1e2f;
    border: 1px solid #fff;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    display: flex;
    padding-top: 20px;
    justify-content: space-between;
}

.footer-bottom a {
    text-decoration: none;
    color: #000;
}

#footer-up-icon {
    color: #000;
    text-decoration: none;
    background-color: #fff;
    border-radius: 5px;
    padding: 5px;
    font-size: 24px;
}

.footer .newsletter {
    margin-bottom: 40px;
}

footer .container .col-md-6 img {
    border-radius: 5px;
}



/* ============================ home page design ===================================== */

/* Hero Section with Video Background */
#home-main .hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

#home-main .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video covers the entire area */
    z-index: -1;
}

#home-main .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for text readability */
    z-index: 0;
}

#home-main .hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

#home-main .hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    /* Responsive font size */
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(360deg, #7f53ac 0%, #647dee 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback for browsers that don't support text-fill-color */
    -webkit-background-clip: text;
    color: #7f53ac;
}

#home-main .hero-content span {

    background: linear-gradient(360deg, #7f53ac 0%, #647dee 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback for browsers that don't support text-fill-color */
    -webkit-background-clip: text;
    color: #7f53ac;
}

#home-main .hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(360deg, #7f53ac 0%, #647dee 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback for browsers that don't support text-fill-color */
    -webkit-background-clip: text;
    color: #7f53ac;
}

/* service section  */
#home-main .container .expertise-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

#home-main .container .text-center {
    padding-top: 20px;
}

#home-main #services-expertise .container .display-5 {
    padding: 20px 0;
}

#home-main #services-expertise .container .row .col-12 {
    transition: all 0.5s ease-in-out;
}

#home-main #services-expertise .container .row .col-12:hover {
    transform: translateY(-5px);

}

#home-main #services-expertise .container .row .col-12 .expertise-card {
    transition: background 1s ease-in-out;
}

#home-main #services-expertise .container .row .col-12 .expertise-card:hover {
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    box-shadow: 0 0 20px #7f53ac;
}

/* story section */

#home-main .story-section {
    background: #000;
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#home-main .story-section .story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#home-main .story-section h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

#home-main .story-section p {
    font-size: 1.25rem;
    color: #eee;
    margin-bottom: 2rem;
}

#home-main .story-btn {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: background 0.3s, color 0.3s, border 0.3s;
    text-decoration: none;
    box-shadow: none;
}

#home-main .story-btn:hover,
#home-main .story-btn:focus {
    background: #fff;
    color: #000;
    border-color: #fff;
    text-decoration: none;
}

#home-main .story-gif {
    max-width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

@media (max-width: 991.98px) {
    #home-main .story-section h2 {
        font-size: 2.2rem;
    }

    #home-main .story-section .story-text {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    #home-main .story-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #home-main .story-section h2 {
        font-size: 1.5rem;
    }

    #home-main .story-btn {
        padding: 0.5rem 1.2rem;
        font-size: 1rem;
    }
}

/* Section 5: Our Team */
#home-main #ourTeam .team-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#home-main #ourTeam .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

#home-main #ourTeam .team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #7f53ac;
    /* Accent border */
    box-shadow: 0 0 15px #7f53ac;
}

#home-main #ourTeam .team-contact-btn {
    background: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #7f53ac;
    margin-top: 5px;
}

#home-main #ourTeam .container .team-member-col .card {
    transition: background-image 1s ease-in-out;
}

#home-main #ourTeam .container .team-member-col .card:hover {
    background-image: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
}

/* Responsive Adjustments (Bootstrap handles most, but custom tweaks can be added) */
@media (max-width: 767.98px) {

    #home-main #ourStory img,
    #home-main #ourStory video {
        margin-top: 20px;
        /* Add space on smaller screens */
    }
}

/* Testimonial Section (Carousel) */
#home-main .testimonial-section {
    padding: 20px 0;
    background-color: #fff;
    color: #000000;
    text-align: center;
}

#home-main .testimonial-section .carousel-item {
    padding: 40px;
}

#home-main .testimonial-card {
    background-image: linear-gradient(190deg, #7f53ac 0%, #647dee 100%);
    /* Slightly transparent background */
    border-radius: 15px;
    padding: 30px;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 5px 15px #7f53ac;
}

#home-main .testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

#home-main .testimonial-author {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #000000;
    /* Highlight author name */
}

#home-main .testimonial-company {
    font-size: 0.9rem;
    color: #000000;
}

#home-main .carousel-control-prev-icon,
#home-main .carousel-control-next-icon {
    filter: invert(1);
    /* Make carousel arrows white */
}

#home-main .animate__fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#home-main .animate__fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

#home-main .animate__scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#home-main .animate__scale-in.animated {
    opacity: 1;
    transform: scale(1);
}


/* Happy Clients Section */

#home-main .clients-btn {
    border: 2px solid #7f53ac;
    color: #fff;
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: background 0.3s, color 0.3s, border 0.3s;
    text-decoration: none;
    box-shadow: none;
}

#home-main .clients-btn:hover,
#home-main .clients-btn:focus {
    background: linear-gradient(290deg, #7f53ac 0%, #647dee 100%);
    color: #000;
    border-color: #fff;
    text-decoration: none;
}

/* ============================= services css ============================= */
/* Hero Section */
#services-main .hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/service_banner.webp');
    /* Added linear-gradient for overlay and updated image path */
    background-size: cover;
    /* Ensures the image covers the entire area */
    background-position: center;
    /* Centers the background image */
    color: white;
    padding: 150px 0 100px 0;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    #services-main .hero-section {
        padding: 140px 0 70px 0;
    }
}

@media (max-width: 768px) {
    #services-main .hero-section {
        padding: 130px 0 50px 0;
    }
}

#services-main .container .expertise-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

#services-main .container .text-center {
    padding-top: 70px;
}

#services-main #services-expertise .container .display-5 {
    padding: 20px 0;
}

#services-main #services-expertise .container .row .col-12 {
    transition: all 0.5s ease-in-out;
}

#services-main #services-expertise .container .row .col-12:hover {
    transform: translateY(-5px);

}

#services-main #services-expertise .container .row .col-12 .expertise-card {
    transition: background 1s ease-in-out;
}

#services-main #services-expertise .container .row .col-12 .expertise-card:hover {
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    box-shadow: 0 0 20px #7f53ac;
}

/* Categories Section */
#services-main .categories-section {
    padding: 3rem 0;
}

#services-main .categories-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 2rem;
    text-align: center;
}

#services-main .tab-pane .col-md-6 h5 {
    color: #000000;
}

#services-main .nav-pills .nav-link {
    color: #fff;
    background-color: #1a1a1a;
    border-radius: 0.7rem;
    padding: 0.6rem 1rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.9rem;
    text-align: left;
}

#services-main .nav-pills .nav-link.active,
#services-main .nav-pills .nav-link:hover {
    /* background-color: #007bff; */
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    color: #000000;
}

#services-main .tab-content {
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

#services-main .tab-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

#services-main .tab-content p {
    color: #000000;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

#services-main .tab-content ul {
    list-style: none;
    padding-left: 0;
}

#services-main .tab-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000000;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
}

#services-main .tab-content ul li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #000000;
    position: absolute;
    left: 0;
    top: 0;
}

/* CTA Section */
#services-main .cta-section {
    background-color: #1a1a1a;
    padding: 3rem 1rem;
    text-align: center;
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin: 0 0.5rem 3rem 0.5rem;
}

#services-main .cta-section .mb-4 {
    color: #fff;
}

#services-main .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(0, 0, 0, 0.05));
    z-index: 0;
}

#services-main .cta-section .content {
    position: relative;
    z-index: 1;
}

#services-main .cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

#services-main .cta-section .btn-primary {
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    border-color: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    color: #000000;
    border: none;
    border-radius: 40px;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#services-main .cta-section .btn-primary a {
    text-decoration: none;
    color: #000000;
}

#services-main .cta-section .btn-primary:hover {
    background: linear-gradient(170deg, #7f53ac 0%, #647dee 100%);
    transform: translateY(-3px);
}

/* =============================== about css =============================== */

#about-main .about-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/about-banner.webp');
    /* Added linear-gradient for overlay and updated image path */
    background-size: cover;
    /* Ensures the image covers the entire area */
    background-position: center;
    /* Centers the background image */
    color: #fff;
    padding: 150px 0 100px 0;
    margin-bottom: 50px;
}

#about-main .section-heading {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

#about-main .section-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: #00bf72;
}

#about-main .values-list {
    list-style-type: none;
    padding-left: 0;
}

#about-main .values-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

#about-main .values-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #00bf72;
    position: absolute;
    left: 0;
}

#about-main .content-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#about-main #about-explore-services-btn {
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    border-radius: 50px;
}

#about-main #about-explore-services-btn:hover {
    background: linear-gradient(360deg, #7f53ac 0%, #647dee 100%);
}

#about-main .py-5 .container .row .col-6 .display-6 {
    background: linear-gradient(360deg, #7f53ac 0%, #647dee 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback for browsers that don't support text-fill-color */
    -webkit-background-clip: text;
    color: #7f53ac;
}

#about-main .py-5 .container h2 {
    color: #7f53ac;
}

@media (max-width: 992px) {
    #about-main .content-img-container {
        margin-top: 30px;
    }

    #about-main .section-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }

    #about-main .about-header {
        padding: 140px 0 70px 0;
    }
}

@media (max-width: 768px) {
    #about-main .about-header {
        padding: 140px 0 50px 0;
    }

    #about-main .section-heading {
        text-align: center;
    }
}

/* ===================== carrer css ===================== */

/* Hero Section */
#carrer-main .carrer-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/carrer-banner.webp');
    /* Added linear-gradient for overlay and updated image path */
    background-size: cover;
    /* Ensures the image covers the entire area */
    background-position: center;
    /* Centers the background image */
    color: white;
    padding: 150px 0 100px 0;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    #carrer-main .carrer-section {
        padding: 140px 0 70px 0;
    }
}

@media (max-width: 768px) {
    #carrer-main .carrer-section {
        padding: 140px 0 50px 0;
    }
}

#carrer-main .main-heading {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

#carrer-main .sub-heading {
    font-weight: 300;
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

#carrer-main .section-padding {
    padding: 80px 0;
}

#carrer-main .feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3498db;
}

#carrer-main .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#carrer-main .feature-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

#carrer-main .feature-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

#carrer-main .career-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
}

#carrer-main .btn-explore {
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    color: #000000;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: 2px solid linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
}

#carrer-main .btn-explore a {
    text-decoration: none;
    color: #000000;
}

#carrer-main .btn-explore:hover {
    background: linear-gradient(360deg, #7f53ac 0%, #647dee 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
}

#carrer-main .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(52, 152, 219, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #3498db;
    font-size: 1.5rem;
}

@media (max-width: 992px) {
    #carrer-main .career-image-container {
        display: none;
    }
}

@media(max-width:400px) {
    #carrer-main .main-heading {
        font-weight: 700;
        font-size: 2.5rem;
    }
}

#carrer-main #open-positions {
    padding: 10px;
}

#carrer-main #open-positions .text-center {
    background: linear-gradient(to left bottom, #26282a, #162434, #051e3c, #001743, #0a0b46);
    height: 100%;
    width: 100%;
    color: #fff;
    padding: 20px;
    border-radius: 20px;
}

#carrer-main #open-positions .btn-lg {
    background: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    color: #000000;
    border: none;
    border-radius: 40px;
    transition: all 0.5s ease;
}

#carrer-main #open-positions .btn-lg:hover {
    background: linear-gradient(360deg, #7f53ac 0%, #647dee 100%);
    transform: translateY(-3px);
}


/* ======================== portfolio css ======================== */

#portfolio-main .portfolio-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/portfolio-banner.webp');
    /* Added linear-gradient for overlay and updated image path */
    background-size: cover;
    /* Ensures the image covers the entire area */
    background-position: center;
    /* Centers the background image */
    color: white;
    padding: 150px 0 100px 0;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    #portfolio-main .portfolio-section {
        padding: 140px 0 70px 0;
    }
}

@media (max-width: 768px) {
    #portfolio-main .portfolio-section {
        padding: 130px 0 50px 0;
    }
}

#portfolio-main .col-md-6 {
    margin-bottom: 50px;
    margin-top: 50px;
}

#portfolio-main .hero-subtitle::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: white;
    margin: 15px auto;
    border-radius: 2px;
}

#portfolio-main .project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 0;
    height: 100%;
}

#portfolio-main .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.3);
}

#portfolio-main .project-logo {
    background: white;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

#portfolio-main .project-logo img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}

#portfolio-main .project-body {
    padding: 2rem;
}

#portfolio-main .project-industry {
    color: #3a86ff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

#portfolio-main .project-name {
    font-weight: 700;
    font-size: 1.5rem;
    color: #212529;
    margin-bottom: 1rem;
}

#portfolio-main .project-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#portfolio-main .visit-btn {
    background: linear-gradient(to right, #3a86ff, #8338ec);
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

#portfolio-main .visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
}

#portfolio-main .projects-section {
    padding: 0;
}

@media (max-width: 768px) {
    #portfolio-main #hero-section-portfolio {
        padding: 3rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        margin-bottom: 0;
    }

    #portfolio-main .col-md-6 {
        margin-bottom: 20px;
    }

    #portfolio-main .projects-section {
        padding: 20px 0;
    }
}

/* =================== contact css ====================== */

/* Ensure these styles are added to your style.css file or within <style> tags in your HTML */

/* Adjusting the main contact section background */
#contact-main .contact-details-form {
    background-color: #ffffff;
    /* White background */
    padding: 80px 0;
    /* Add padding for spacing */
}

#contact-main .contact-details-form .container {
    background-color: #ffffff;
    /* Ensure inner container is also white if needed */
    border-radius: 10px;
    /* Optional: subtle shadow for the entire section content, like the image */
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.05); */
}

#contact-main .contact-details-form .container .row {
    background-color: #ffffff;
}


/* Styling for the Get in Touch heading */
#contact-main .contact-details-form .get-in-touch-heading {
    font-weight: 700;
    font-size: 2.2rem;
    color: #333333;
    /* Darker color for the heading */
}

/* Info Items (Address, Phone, Email) */
#contact-main .contact-details-form .info-item {
    margin-bottom: 30px;
    /* Space between info items */
}

#contact-main .contact-details-form .info-icon-wrapper {
    width: 50px;
    height: 50px;
    background-image: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    /* Teal color for the icon circles */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
    /* Subtle shadow for icon circles */
}

#contact-main .contact-details-form .info-icon {
    color: #ffffff;
    /* White icon color */
    font-size: 1.5rem;
}

#contact-main .contact-details-form .info-text h5 {
    font-weight: 600;
    color: #333333;
    /* Darker color for info headings */
    margin-bottom: 5px;
    font-size: 1.1rem;
}

#contact-main .contact-details-form .info-text p {
    color: #666666;
    /* Slightly lighter color for info text */
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Contact Form Card */
#contact-main .contact-details-form .contact-form-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    /* Lighter shadow for the form card */
    padding: 40px;
    color: #333333;
    border: 1px solid #eeeeee;
    /* Subtle border */
}

#contact-main .contact-details-form .contact-form-card h4 {
    font-weight: 700;
    margin-bottom: 30px;
    color: #333333;
    font-size: 1.8rem;
}

#contact-main .contact-details-form .contact-form-card .form-control {
    border: none;
    border-bottom: 1px solid #ced4da;
    /* Only bottom border */
    border-radius: 0;
    padding: 10px 0;
    margin-bottom: 30px;
    /* Space between form fields */
    background-color: transparent;
    transition: border-color 0.3s ease;
}

#contact-main .contact-details-form .contact-form-card .form-control:focus {
    box-shadow: none;
    border-color: #00bcd4;
    /* Teal focus border */
}

#contact-main .contact-details-form .contact-form-card textarea.form-control {
    resize: vertical;
    /* Allow vertical resizing */
    min-height: 100px;
    /* Minimum height for textarea */
}

#contact-main .contact-details-form .contact-form-card .btn-send {
    background-image: linear-gradient(90deg, #7f53ac 0%, #647dee 100%);
    /* Teal button */
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    width: 100%;
    transition: background-image 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
}

#contact-main .contact-details-form .contact-form-card .btn-send:hover {
    background-image: linear-gradient(300deg, #7f53ac 0%, #647dee 100%);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    #contact-main .contact-details-form .get-in-touch-heading {
        font-size: 1.8rem;
        text-align: center;
    }

    #contact-main .contact-details-form .info-icon-wrapper {
        margin-right: 10px !important;
        /* Remove right margin */
        margin-bottom: 15px;
        /* Add bottom margin for vertical stacking */

    }

    #contact-main .contact-details-form .contact-form-card {
        padding: 30px;
    }
}

/* Hero Section */
#contact-main .contact-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/contact-banner.webp');
    /* Added linear-gradient for overlay and updated image path */
    background-size: cover;
    /* Ensures the image covers the entire area */
    background-position: center;
    /* Centers the background image */
    color: white;
    padding: 150px 0 100px 0;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    #contact-main .contact-section {
        padding: 140px 0 70px 0;
    }
}

@media (max-width: 768px) {
    #contact-main .contact-section {
        padding: 130px 0 50px 0;
    }
}