/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Poppins', sans-serif; /* Standard font */
    overflow-x: hidden;
    scroll-behavior: smooth; /* Smooth scrolling */
    scroll-padding-top: 80px; /* Prevent navbar overlap */
}


/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem; /* Slightly larger padding */
    background-color: white; /* White background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    position: fixed !important; /* Fixed position */
    width: 100%;
    z-index: 1000;
}

/* Brand/Logo */
.brand {
    margin-left: 20px; /* Space from the left edge */
}

.logo-img {
    height: 35px; /* Adjust based on your logo size */
    width: auto; /* Maintain aspect ratio */
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333; /* Dark text for contrast */
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-size: 1.1rem; /* Slightly larger font size */
    font-weight: 500; /* Medium font weight */
}

.nav-links a:hover {
    color: #6a11cb; /* Gradient color for hover */
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 150px;
    z-index: 1000;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
    font-size: 1rem; /* Consistent font size */
}

.dropdown-menu a:hover {
    background-color: #f9f9f9; /* Light hover background */
}

.dropdown:hover .dropdown-menu {
    display: block;
}


/* Let's Connect Button -> for nav*/
.nav-connect-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient color */
    border-radius: 4px;
    padding: 0.5rem 1.5rem; /* Slightly larger padding */
    color: white !important; /* Force white text color */
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    font-size: 1.1rem; /* Slightly larger font size */
    font-weight: 500; /* Medium font weight */
    position: relative; /* For pseudo-element */
    overflow: hidden; /* Ensure gradient doesn't overflow */
    border: none; /* Remove default button border */
}

/* Hover Effect */
.nav-connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    background: linear-gradient(135deg, #2575fc, #6a11cb); /* Reverse gradient on hover */
}

/* Ensure text remains white and visible */
.nav-connect-btn span {
    position: relative;
    z-index: 2; /* Ensure text is above the gradient */
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6a11cb; /* Gradient color for hamburger */
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient background */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: color 0.3s ease;
    padding-right: 10px;
}

.hamburger:hover {
    color: #2575fc; /* Change color on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem; /* Slightly larger padding for mobile */
    }

    .logo-img {
        height: 25px; /* Slightly smaller logo for mobile */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
    }
}



/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    text-align: left; /* Left-align text */
    color: #333; /* Dark text for contrast */
    overflow: hidden;
    padding: 0 5%; /* Add padding to the sides */
    padding-top: 100px; /* Increased padding for navbar */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px; /* Limit width for better readability */
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideInLeft 1.5s ease-out;
    line-height: 1.2; /* Improve line spacing */
    color: #333; /* Dark text for contrast */
}

.hero-title strong {
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: slideInRight 1.5s ease-out;
    color: #555; /* Subdued text color */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start; /* Align buttons to the left */
    flex-wrap: wrap;
}

.hero-cta {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta.primary {
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient button */
}

.hero-cta.secondary {
    background: transparent;
    border: 2px solid #6a11cb;
    color: #6a11cb;
}

.hero-cta:hover {
    transform: translateY(-5px); /* Button hover effect */
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

.hero-cta.secondary:hover {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px !important; /* Increased padding for mobile navbar */
        padding: 0 2rem; /* Reduce side padding */
        height: 70vh; /* Adjust height for mobile */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 1.5rem; /* Reduce padding for mobile */
    }
}






/* Our Expertise Section */
#section1 {
    background-color: #ffffff;
    padding: 4rem 0;
}

#section1 h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Expertise Cards */
.expertise-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease; /* Faster animation */
    height: 220px;
    position: relative;
    overflow: hidden; /* Ensure the background image doesn't overflow */
}

.expertise-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Shaded overlay for the background image */
.expertise-card .card-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for better contrast */
    z-index: 2;
    transition: background-color 0.3s ease;
}

.expertise-card:hover .card-bg::after {
    background-color: rgba(0, 0, 0, 0.4); /* Lighter overlay on hover */
}

.expertise-card .card-body {
    position: relative;
    z-index: 3; /* Ensure text is above the background image and overlay */
    text-align: center;
    transition: transform 0.3s ease;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff; /* White text for better contrast */
    transition: color 0.3s ease;
}

.expertise-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9); /* Semi-transparent white text */
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Animation for each block */
.expertise-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease; /* Faster animation */
}

.expertise-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effect for expertise cards */
.expertise-card:hover {
    transform: translateY(-10px); /* Lift card on hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.expertise-card:hover .card-body {
    transform: scale(1.05); /* Slightly scale up content on hover */
}

.expertise-card:hover h3 {
    color: #fff; /* Ensure text remains white on hover */
}

.expertise-card:hover p {
    color: rgba(255, 255, 255, 1); /* Make text fully opaque on hover */
}

/* Large and small card adjustments */
.large-card {
    flex: 1.8;
    margin-right: 8px;
}

.small-card {
    flex: 1;
    margin-left: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #section1 h2 {
        font-size: 2rem;
    }

    .expertise-card {
        height: 180px; /* Reduce height for mobile */
        padding: 1.5rem; /* Reduce padding for mobile */
    }

    .expertise-card h3 {
        font-size: 1.2rem;
    }

    .expertise-card p {
        font-size: 0.9rem;
    }

    .large-card,
    .small-card {
        flex: 1; /* Make all cards equal width on mobile */
        margin: 0 0 1rem 0; /* Adjust margins for mobile */
    }
}







/* About Us Section */
#about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#about h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-content {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text {
    flex: 1;
    padding: 2rem;
}

.about-image {
    flex: 1;
    padding: 2rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Add shadow to images */
}

.left {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.8s ease, transform 0.8s ease; /* Faster animation */
}

.right {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.8s ease, transform 0.8s ease; /* Faster animation */
}

.about-content.show .left,
.about-content.show .right {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    #about h2 {
        font-size: 2rem;
    }

    #about h3 {
        font-size: 1.8rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        padding: 1rem;
    }

    .about-image img {
        margin-bottom: 1.5rem; /* Add space between image and text */
    }
}








/* Let's Connect & Grow Section */
#connect {
    background-color: #ffffff;
    padding: 4rem 0;
}

#connect h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 3 Simple Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-icon {
    font-size: 2.5rem;
    color: #6a11cb;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.step:hover .step-icon {
    color: #2575fc;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.step p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* What Happens Section */
#connect h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#connect ul {
    list-style: none;
    padding: 0;
}

#connect ul li {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #555;
}

#connect ul li::before {
    content: "•";
    color: #6a11cb;
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
}

/* Form Section */
.form-label {
    font-weight: bold;
    color: #333;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 0.5rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: white;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }

    .step {
        margin-bottom: 1.5rem;
    }

    #connect h2 {
        font-size: 2rem;
    }

    #connect h3 {
        font-size: 1.8rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .step p {
        font-size: 0.9rem;
    }
}









/* Footer Styles */
.footer {
    background-color: #333;
    color: white;
    padding: 4rem 0 2rem 0;
}

.footer h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer ul {
    padding-left: 0;
}

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

.footer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #6a11cb; /* Gradient color for hover */
}

/* Social Media Icons */
.social-media .social-icon {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-media .social-icon:hover {
    color: #6a11cb; /* Gradient color for hover */
    transform: translateY(-5px);
}

/* Back to Top Button */
.back-to-top {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient button */
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb); /* Reverse gradient on hover */
    transform: translateY(-3px);
}

/* Copyright Notice */
.footer .text-center {
    margin-top: 2rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
}

.footer .text-center p {
    margin: 0;
    color: #ddd;
    font-size: 0.9rem;
}
