/* 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;
}

/* 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: #2980b9;
    }
    50% {
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
        border-color: #e63946;
    }
    100% {
        box-shadow: 0 0 5px rgba(230, 57, 70, 0.2);
        border-color: #2980b9;
    }
}

/* 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 {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero::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;
}

.hero img {
    max-width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.hero img:hover {
    transform: translateY(-10px);
}

.hero h1 {
    font-size: 2.5rem;
    margin: 1.5rem 0;
    color: #2c3e50;
    position: relative;
    z-index: 2;
    animation: glowText 3s ease-in-out infinite;
    background: linear-gradient(90deg, #2980b9, #e63946, #2980b9);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(41, 128, 185, 0.1);
}

.hero p {
    font-size: 1.2rem;
    color: #34495e;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease;
}

/* Hero Text Styling */
.hero-text-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    animation: float 3s ease-in-out infinite;
}

.animated-text {
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: center;
    color: #2c3e50;
}

.animated-text span {
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animated-text .highlight {
    color: #2980b9;
    font-weight: 600;
    animation: fadeInUp 0.6s ease forwards 0.2s;
}

.animated-text .accent {
    color: #34495e;
    animation: fadeInUp 0.6s ease forwards 0.4s;
}

.animated-text .brand-names {
    color: #e63946;
    font-weight: 500;
    animation: fadeInUp 0.6s ease forwards 0.6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Core Offerings Section Enhancement */
.core-offerings {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.core-offerings h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.core-offerings h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #2980b9, #e63946);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
}

.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));
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.4s ease;
    z-index: -1;
}

.service-card:hover::before {
    clip-path: circle(150% at 50% 50%);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    color: #2980b9;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.2);
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.card-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #2980b9, #3498db);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.card-btn:hover {
    background: linear-gradient(90deg, #e63946, #ff4757);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Add animation keyframes */
@keyframes glowText {
    0% {
        background-position: 0% center;
        transform: scale(1);
    }
    50% {
        background-position: 100% center;
        transform: scale(1.02);
    }
    100% {
        background-position: 0% center;
        transform: scale(1);
    }
}

/* 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;
}

/* Update footer link base styling */
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 link hover effect */
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;
}

/* Keep icon animation */
footer a:hover i {
    transform: scale(1.2);
}

/* Remove previous hover background change */


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) {
    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .card-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .hero-text-wrapper {
        margin: 1rem;
        padding: 1rem;
    }
    
    .animated-text {
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    footer .footer-info {
        justify-content: center;
    }

    .footer-copyright {
        border-left: none;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
        padding: 1rem 0 0;
        margin-top: 1rem;
    }

    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav a {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }

    .core-offerings {
        flex-direction: column;
        align-items: center;
    }

    .core-offerings .service {
        width: 80%;
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    header .logo {
        font-size: clamp(20px, 5vw, 24px);
    }

    .hero h1 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .hero p {
        font-size: clamp(16px, 4vw, 18px);
    }
}

/* 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;
}

.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::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;
}

.logo:hover::before {
    left: 100%;
    transition: 0.5s;
}

/* 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;
    }
}