/* General Styling */
body {
    font-family: 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 3vw, 20px) clamp(20px, 5vw, 40px);
    background-color: #2980b9;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Logo styling with animation */
header .logo {
    font-size: clamp(24px, 4vw, 30px);
    font-weight: bold;
    animation: fadeIn 1s ease-in-out;
}

/* Logo styling with creative animation */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 12px 20px;
    overflow: hidden;
    
}

.logo-img {
    height: 100px;
    width: auto;
}

/* Add fadeIn animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Navigation styling with animated hover effect */
header nav a {
    margin: 0 20px;
    color: white;
    text-decoration: none;
    position: relative;
    padding: 8px 16px;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
    overflow: hidden;
}

/* Active state styling */
header nav a.active {
    color: #000;
    font-weight: bold;
}

/* New hover animation */
header nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    z-index: 1;
}

header nav a:hover::before {
    left: 100%;
    transition: 0.5s;
    transform: skewX(-15deg);
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg, 
        rgba(128, 0, 128, 0.5),  /* Purple with 0.5 opacity */
        rgba(230, 57, 70, 0.5)  /* Light purple with 0.5 opacity */
    );
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
}

header nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Active link animation */
@keyframes activeGlow {
    0% {
        box-shadow: 0 0 5px rgba(230, 57, 70, 0.2);
        border-color: rgba(230, 57, 70, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
        border-color: rgba(230, 57, 70, 1);
    }
    100% {
        box-shadow: 0 0 5px rgba(230, 57, 70, 0.2);
        border-color: rgba(230, 57, 70, 0.6);
    }
}

/* Smooth transition for nav items */
header nav {
    display: flex;
    gap: 10px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* Scale effect on hover */
header nav a:hover {
    transform: translateY(-2px);
    color: #fff;
    background: rgba(230, 57, 70, 0.1);
}

/* Keep active link styled on hover */
header nav a.active:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

header .cta {
    background-color: #e63946;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

header .cta:hover {
    background-color: #d02735;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero h1 {
    font-size: 36px;
    margin: 20px 0;
    color: #e63946;
}

.hero p {
    font-size: 18px;
    color: #555;
}

/* Core Offerings Section */
.core-offerings {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    background-color: #fff;
}

.core-offerings .service {
    width: 30%;
    background-color: #ddd;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.core-offerings .service h3 {
    font-size: 24px;
    color: #e63946;
}

.core-offerings .service p {
    color: #555;
}

/* Services Section Styling */
.services {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(41, 128, 185, 0.2), rgba(230, 57, 70, 0.2));
    z-index: 1;
}

.services h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, #2980b9, #e63946);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 3s infinite;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
    animation: slideInAndExpand 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

/* Animation delays for cards */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }
.service-card:nth-child(4) { animation-delay: 0.7s; }
.service-card:nth-child(5) { animation-delay: 0.9s; }

@keyframes slideInAndExpand {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }
    60% {
        transform: translateX(10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.1), rgba(230, 57, 70, 0.1));
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: #2980b9;
    transition: all 0.5s ease;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.2);
    color: #e63946;
    background: rgba(255, 255, 255, 0.2);
}

.service-card h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.service-card h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #2980b9, #e63946);
    transition: width 0.3s ease;
}

.service-card:hover h2::after {
    width: 100px;
}

.service-card p {
    color: #34495e;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.service-card:hover p {
    transform: translateX(5px);
}

.service-content {
    flex: 1;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cta-button {
    background: linear-gradient(90deg, #2980b9, #e63946);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Animations */
@keyframes shimmerText {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Footer Styling */
footer {
    background: rgba(41, 128, 185, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 2rem;
    position: relative;
    z-index: 100;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

footer .footer-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

footer a {
    color: white;
    text-decoration: none;
    position: relative;
    padding: 8px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}
footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg, 
        rgba(128, 0, 128, 0.5),  /* Purple with 0.5 opacity */
        rgba(230, 57, 70, 0.5)  /* Light purple with 0.5 opacity */
    );
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
}
footer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
footer span {
    color: white;
    text-decoration: none;
    position: relative;
    padding: 8px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
}

footer a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

footer i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.footer-copyright {
    text-align: right;
    opacity: 0.9;
    font-size: 0.9rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 2rem;
}

/* Form Styling */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    background-color: #e63946;
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #d02735;
}

/* Responsive Design */
@media (max-width: 768px) {
    .core-offerings {
        flex-direction: column;
        align-items: center;
    }

    .core-offerings .service {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* Logo styling with creative animation */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    padding: 12px 20px;
    overflow: hidden;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg, #ffffff, #e63946);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite;
    background-size: 200% auto;
    letter-spacing: 1px;
}

.ventures {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    transform: translateX(0);
    transition: all 0.3s ease;
}

/* Logo hover effects */
.logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.logo:hover .ventures {
    transform: translateX(5px);
    letter-spacing: 4px;
    color: #e63946;
}

/* Logo animations */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .logo {
        padding: 8px 15px;
    }
    
    .company-name {
        font-size: 24px;
    }
    
    .ventures {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    footer .footer-info {
        justify-content: center;
    }

    footer span {
        color: white;
        text-decoration: none;
        position: relative;
        padding: 8px 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: center;
        gap: 8px;
        backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.1);
    }

    footer a:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    footer i {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    footer span {
        color: white;
        text-decoration: none;
        position: relative;
        padding: 8px 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: center;
        gap: 8px;
        backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.1);
    }

    footer a:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    footer i {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    footer .footer-info {
        justify-content: center;
    }

    .services {
        padding: 40px 20px;
    }

    .services h1 {
        font-size: 2rem;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .service-card h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-card:hover {
        transform: translateY(-10px);
    }

    .cta-section {
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav a {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    header .logo {
        font-size: clamp(20px, 3vw, 24px);
    }

    header nav a {
        margin: 0 10px;
        padding: 6px 12px;
    }
}
