/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #000020;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --accent-blue: #4a90e2;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --shadow-light: 0 4px 20px rgba(0, 0, 50, 0.1);
    --shadow-medium: 0 8px 40px rgba(0, 0, 50, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-elastic: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'ABeeZee', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Hero Section - Business Card Replica */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f3f8ff 0%, #dbe7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.business-card-front {
    background: var(--navy-blue);
    border-radius: 0;
    padding: 0;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: var(--transition-smooth);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
    animation: cardFloat 3s ease-in-out infinite;
    width: 520px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.business-card-front::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--white);
    border-radius: 0;
    pointer-events: none;
}

@keyframes cardFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px); }
}

.business-card-front:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.card-content {
    text-align: left;
    width: 100%;
    position: absolute;
    bottom: 33.33%;
    left: 50px;
    right: 50px;
    transform: translateY(50%);
}

.name-container {
    position: relative;
    padding-left: 30px;
}

.accent-line {
    width: 2px;
    height: 60px;
    background: var(--white);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: lineGrow 1s ease-out 0.5s both;
}

@keyframes lineGrow {
    from { height: 0; opacity: 0; }
    to { height: 60px; opacity: 1; }
}

.name {
    font-size: clamp(1.6rem, 2.2vw, 1.7rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    line-height: 1.1;
    white-space: nowrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.tagline {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1.5px;
    font-weight: 400;
    line-height: 1.1;
    white-space: nowrap;
    animation: fadeInUp 1s ease-out 1.1s both;
}

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

.hero-description {
    color: var(--navy-blue);
    animation: fadeInLeft 1s ease-out 1.4s both;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--navy-blue);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition-elastic);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--white);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* vCard Section */
.vcard-section {
    background: var(--light-gray);
    padding: 100px 0;
}

.vcard-container {
    background: var(--white);
    border-radius: 16px;
    padding: 60px;
    box-shadow: var(--shadow-medium);
    transform: translateY(50px);
    opacity: 0;
    animation: slideInUp 1s ease-out 0.5s both;
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.vcard-header {
    text-align: center;
    margin-bottom: 50px;
}

.vcard-header h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.vcard-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 20px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.contact-item:hover .contact-icon {
    background: var(--accent-blue);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--navy-blue);
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 50, 0.2);
}

.contact-icon::after {
    content: '';
    width: 20px;
    height: 20px;
}

.phone-icon::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.email-icon::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.web-icon::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-value:hover {
    color: var(--accent-blue);
}

.save-contact-btn {
    background: var(--navy-blue);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px auto 0;
    width: fit-content;
}

/* Hide save button on desktop, show only on tablet and mobile */
.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-only {
        display: flex;
    }
}

.save-contact-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-icon {
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zM7 4V3h10v1H7zm0 14V6h10v12H7z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}


/* Contact Form Section */
.contact-section {
    background: var(--white);
    padding: 100px 0;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--navy-blue);
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'ABeeZee', sans-serif;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 3px rgba(26, 39, 87, 0.1);
}

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

.submit-btn {
    background: var(--navy-blue);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    align-self: center;
}

.submit-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: var(--navy-blue);
    padding: 40px 0;
    margin-top: 0;
}

.footer-content {
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .business-card-front {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
        width: 460px;
        height: 300px;
    }

    .business-card-front::before {
        top: 16px;
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .card-content {
        left: 40px;
        right: 40px;
    }

    .contact-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        padding: 40px 0;
    }

    .business-card-front {
        width: 380px;
        height: 250px;
    }

    .business-card-front::before {
        top: 14px;
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .card-content {
        left: 35px;
        right: 35px;
    }

    .name {
        font-size: 1.3rem;
        letter-spacing: 0.3px;
    }

    .tagline {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .accent-line {
        height: 50px;
    }

    @keyframes lineGrow {
        from { height: 0; opacity: 0; }
        to { height: 50px; opacity: 1; }
    }


    .vcard-section {
        padding: 60px 0;
    }

    .vcard-container {
        padding: 40px 30px;
    }

    .vcard-header {
        margin-bottom: 30px;
    }

    .vcard-header h2,
    .form-header h2 {
        font-size: 2rem;
    }

    .contact-info {
        gap: 16px;
    }

    .contact-item {
        padding: 20px 16px;
    }

}

@media (max-width: 480px) {
    .container,
    .hero-container {
        padding: 0 15px;
    }

    .business-card-front {
        width: 320px;
        height: 200px;
    }

    .business-card-front::before {
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
        border-width: 1px;
    }

    .card-content {
        left: 25px;
        right: 25px;
    }

    .name {
        font-size: 1.2rem;
        letter-spacing: 0.2px;
    }

    .tagline {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .accent-line {
        height: 40px;
    }

    @keyframes lineGrow {
        from { height: 0; opacity: 0; }
        to { height: 40px; opacity: 1; }
    }


    .vcard-section {
        padding: 40px 0;
    }

    .vcard-container {
        padding: 30px 20px;
    }

    .vcard-header {
        margin-bottom: 20px;
    }

    .contact-info {
        gap: 14px;
    }

    .contact-item {
        padding: 16px 14px;
        flex-direction: row;
        text-align: left;
        gap: 14px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .contact-icon::after {
        width: 18px;
        height: 18px;
    }

    .contact-details {
        align-items: flex-start;
    }
}

/* Intersection Observer Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}