/* Custom Styles for Domain Investor Landing Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Service Cards Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

/* Form Input Focus Glow */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

/* Navigation Link Active State */
.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00d4ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00b8e6;
}

/* Profile Image Styling */
#profile-image-container,
#about-image-container {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profile-image-container img,
#about-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Success/Error Messages */
.success-message {
    background-color: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #86efac;
}

.error-message {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Button Ripple Effect */
button,
.btn {
    position: relative;
    overflow: hidden;
}

button::after,
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after,
.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #00b8e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Shadows */
.card-shadow {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Pulse Animation for CTA */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}