#main_nav {
    padding-top: 5px;
    /* Reduce top padding */
    padding-bottom: 5px;
    /* Reduce bottom padding */
}

.navbar-nav .nav-link {
    padding: 10px 12px;
    /* Adjust link padding */
}

@media (max-width: 576px) {
    #main_nav {
        padding-top: 3px;
        /* Smaller padding for small screens */
        padding-bottom: 3px;
    }
}


/* Base styles */
body {
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px;
    background-color: #fff;
    min-height: 80vh;
}

.hero-content{
    margin-left: 50px;
}

.hero h1 {
    margin-top: 50px;
    color: #333;
    margin-bottom: 20px; /* Large heading font size */
    font-size: 4em;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.hero h1 span {
    color: #00adef;
}

.hero p {
    font-size: 2rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 30px;
}
.hero-content p{
    font-size: 18px; /* Paragraph font size */
    color: #666;
    margin-bottom: 40px; /* Spacing below paragraph */
    line-height: 1.8;
    width: 80%;
}

.hero-buttons {
    display: flex;
    gap: 40px;
}

.hero-buttons a {
    padding: 15px 30px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
}

.btn-primary {
    background-color: #00adef;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-left: 100px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
.hero {
flex-direction: column;
text-align: center;
padding: 30px;
}

.hero-content {
max-width: 100%;
}

.hero-content h1{
    margin-top: 150px;
    font-size: 2.1em;
    margin-right: 50px;
}

.hero .hero-img{
 visibility: hidden;
 display: none;

}
.hero .hero-buttons{
    margin-right: 50px;

}
/* Hide the div containing the image */
.hero > div:last-child {
display: none;
}

.hero .hero-buttons {
align-items: center;
justify-content: center;
display: flex;
gap: 40px;
}
}


/* services links  */

:root {
    --primary: #00adef;
    --primary-dark: #0088cc;
    --secondary: #6c63ff;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.services{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.services-nav {
    width: 100%;
    max-width: 1400px;
    padding: 40px;
    /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08); */
    position: relative;
    overflow: hidden;
    
}
.service-heading {
    margin: 2rem 0 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-top: 50;
}

.service-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3a7bd5, #00d2ff);
}
.services-title {
    text-align: center;
    margin-bottom: 40px;
}
.services-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.services-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.services-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.services-grid a{
    text-decoration: none;
}
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 173, 239, 0.1) 0%, rgba(0, 136, 204, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 173, 239, 0.2);
    transition: all 0.3s ease;
}
.service-card div:nth-child(2){
   height: 59.2px;
   display: flex;
   align-items: center;
   justify-content: center;
}
.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
    text-align: center;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-link {
    display: inline-block;
    padding: 10px 25px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    /* color: white; */
    box-shadow: 0 5px 15px rgba(0, 173, 239, 0.3);
}

.service-card:hover .service-link::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Individual service colors */
.web-dev .service-icon {
    background: linear-gradient(135deg, #00adef 0%, #0066cc 100%);
}

.mobile-dev .service-icon {
    background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
}

.branding .service-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
}

.marketing .service-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.seo .service-icon {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
}

.end-to-end .service-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-title h2 {
        font-size: 2rem;
    }
}
