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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    color: #1a1a1a;
    min-height: 100vh;
    overflow-x: hidden;
    animation: bgFadeIn 2s ease-in-out;
    position: relative;
}

/* Enhanced Background Animation */
@keyframes bgFadeIn {
    0% {
        background: #f0f0f0;
        opacity: 0.8;
    }
    100% {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
        opacity: 1;
    }
}

/* Enhanced Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d9488 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.loader {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid #0d9488;
    border-right: 5px solid #06b6d4;
    border-radius: 50%;
    animation: spinGlow 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: relative;
}

.loader::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(13, 148, 136, 0.3);
    border-radius: 50%;
    animation: spinGlow 2s linear infinite reverse;
}

.loader-text {
    position: absolute;
    margin-top: 100px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spinGlow {
    0% {
        transform: rotate(0deg);
        box-shadow: 0 0 10px rgba(13, 148, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(13, 148, 136, 0.6);
    }
    100% {
        transform: rotate(360deg);
        box-shadow: 0 0 10px rgba(13, 148, 136, 0.3);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Enhanced Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    opacity: 0.3;
}

.bg-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.4) 0%, rgba(6, 182, 212, 0.2) 40%, transparent 80%);
    border-radius: 50%;
    animation: floatAndGlow 8s ease-in-out infinite, colorPulse 5s ease-in-out infinite;
    filter: blur(1px);
}

.bg-particle:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.bg-particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.bg-particle:nth-child(3) {
    bottom: 20%;
    left: 25%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.bg-particle:nth-child(4) {
    top: 25%;
    right: 35%;
    animation-delay: 6s;
    animation-duration: 10s;
}

.bg-particle:nth-child(5) {
    bottom: 40%;
    left: 55%;
    animation-delay: 8s;
    animation-duration: 11s;
}

@keyframes floatAndGlow {
    0%, 100% {
        transform: translate(0, 0) scale(0.8);
        opacity: 0.2;
    }
    25% {
        transform: translate(40px, -40px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(30px, 15px) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes colorPulse {
    0%, 100% {
        background: radial-gradient(circle, rgba(13, 148, 136, 0.4) 0%, rgba(6, 182, 212, 0.2) 40%, transparent 80%);
    }
    33% {
        background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, rgba(168, 85, 247, 0.2) 40%, transparent 80%);
    }
    66% {
        background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(13, 148, 136, 0.2) 40%, transparent 80%);
    }
}

.main-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
    padding: 40px 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Enhanced Header with brand identity */
.brand-header {
    text-align: center;
    margin-bottom: 3px;
    animation: slideDown 0.8s ease;
}

.brand-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d9488;
    margin-bottom: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: logoFloat 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    50% {
        transform: translateY(-8px);
        text-shadow: 2px 10px 20px rgba(13, 148, 136, 0.6);
    }
}

.brand-tagline {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

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

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease;
}

.page-header p {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 600px;
    margin: 0 auto;
    animation: slideInRight 1s ease;
}

/* Typing Effect Styles */
.typing-container {
    text-align: center;
    margin: 20px 0;
}

.typing-text {
    font-size: 1.5rem;
    color: #0d9488;
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@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);
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    opacity: 0;
    animation: cardSlideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #06b6d4);
    border-radius: 20px 20px 0 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    opacity: 0;
    animation: cardSlideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

.contact-info h2,
.contact-form h2 {
    color: #0d9488;
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(13, 148, 136, 0.2);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d9488, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 148, 136, 0);
    }
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.contact-details h3 {
    color: #0d9488;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    font-size: 16px;
}

.contact-details a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0d9488;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #0d9488;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d9488;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.submit-btn::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: left 0.6s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.social-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #444;
}

.social-section h2 {
    color: #0d9488;
    font-size: 2rem;
    margin-bottom: 20px;
    animation: fadeIn 1s ease;
}

.social-section p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
    animation: fadeIn 1s ease 0.2s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(13, 148, 136, 0.1);
    border: 2px solid #0d9488;
    border-radius: 50px;
    color: #0d9488;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: bounceIn 0.8s ease;
}

.social-link:nth-child(1) { animation-delay: 0.1s; }
.social-link:nth-child(2) { animation-delay: 0.3s; }

.social-link:hover {
    background: #0d9488;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Success message styles */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0d9488, #06b6d4);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    animation: slideInRight 0.5s ease;
    max-width: 300px;
}

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

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 280px;
        justify-content: center;
    }

    .floating-element {
        display: none;
    }
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}

/* Enhanced ripple effect */
@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.star-important {
    color:red;
}