/* Global Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #f50057;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --max-width: 1200px;
    --transition: all 0.3s ease;
    --bold-font: 'Montserrat', sans-serif;
    --minimal-color: #544dff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.primary-btn {
    background: linear-gradient(to right, var(--primary-color), var(--minimal-color));
    color: #fff;
    font-family: var(--bold-font);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
    border: none;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.primary-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(84, 77, 255, 0.3);
}

.primary-btn:hover::before {
    left: 100%;
    transition: all 0.5s ease;
}

.primary-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--minimal-color);
    color: var(--minimal-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--minimal-color);
    transition: width 0.4s ease;
    z-index: -1;
}

.secondary-btn:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(84, 77, 255, 0.2);
}

.secondary-btn:hover::before {
    width: 100%;
}

.secondary-btn:active {
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    font-family: var(--bold-font);
    font-weight: 800;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Navbar Glass Effect */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: var(--bold-font);
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
}

.logo a::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.logo a:hover::after {
    width: 45px;
    height: 45px;
}

.nav-links ul {
    display: flex;
    gap: 25px;
}

.nav-links ul li a {
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 0;
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    display: block;
}

.nav-links ul li a:hover::after,
.nav-links ul li a.active::after {
    width: 100%;
}

.nav-links ul li a:hover,
.nav-links ul li a.active {
    color: var(--primary-color);
    background-color: transparent;
}

#menuOpen, #menuClose {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#menuOpen:hover, #menuClose:hover {
    background-color: rgba(108, 99, 255, 0.1);
}

/* Active state for scrolling */
header.scrolled .logo a {
    font-size: 1.7rem;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    header {
        top: 10px;
        width: 95%;
        border-radius: 15px;
    }
    
    nav {
        padding: 12px 15px;
    }
    
    #menuOpen {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 20px;
        right: -100%;
        bottom: 20px;
        width: 75%;
        max-width: 300px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        padding: 60px 25px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 20px;
    }
    
    .nav-links ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .nav-links ul li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links ul li a {
        display: block;
        padding: 8px 0;
        border-radius: 0;
    }
    
    .nav-links ul li a::after {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
    }
    
    .nav-links ul li a:hover::after,
    .nav-links ul li a.active::after {
        width: 50%;
    }
    
    #menuClose {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0 50px;
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, transparent 70%);
    z-index: 1;
    animation: float 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 0, 87, 0.08) 0%, transparent 70%);
    z-index: 1;
    animation: float 20s ease-in-out infinite alternate;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

/* Staggered Entrance Animations */
.hero-content h1 {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-content h2 {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-content p {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.hero-btns {
    animation: slideInUp 0.8s ease-out 0.8s both;
}

/* Animated Element Shapes */
.hero .animated-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.hero .shape1 {
    top: 20%;
    right: 15%;
    width: 60px;
    height: 60px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 15s ease-in-out infinite, floating 10s ease-in-out infinite alternate;
}

.hero .shape2 {
    bottom: 25%;
    left: 10%;
    width: 80px;
    height: 80px;
    background-color: rgba(245, 0, 87, 0.1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphing 18s ease-in-out infinite reverse, floating 12s ease-in-out infinite alternate-reverse;
}

.hero .shape3 {
    top: 35%;
    left: 20%;
    width: 40px;
    height: 40px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite, floating 20s ease-in-out infinite;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--bold-font);
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #666;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    transition-delay: 0.2s;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img img {
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--bold-font);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2rem;
}

.about-skills span {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.2s;
}

.filter-btn {
    padding: 10px 25px;
    background: none;
    border: 2px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--bold-font);
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #6e68ff);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 30px;
}

.filter-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(84, 77, 255, 0.2);
}

.filter-btn:hover::before {
    width: 100%;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #6e68ff);
    color: white;
    box-shadow: 0 8px 15px rgba(84, 77, 255, 0.2);
}

.filter-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(84, 77, 255, 0.15);
}

.portfolio-filter.active {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-item.active {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
    color: white;
    text-align: center;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--bold-font);
    font-weight: 700;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.view-project {
    padding: 10px 25px;
    background: linear-gradient(to right, white, #f8f8f8);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--bold-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.view-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #6e68ff);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 30px;
}

.view-project:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(84, 77, 255, 0.25);
}

.view-project:hover::before {
    width: 100%;
}

.view-project:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84, 77, 255, 0.15);
}

/* Staggered animation for portfolio items (for only 2 items) */
.portfolio-item:nth-child(1) { transition-delay: 0.2s; }
.portfolio-item:nth-child(2) { transition-delay: 0.4s; }

/* Book Section */
.book {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

.book:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.03) 0%, rgba(245, 0, 87, 0.03) 100%);
    z-index: 0;
}

.book .container {
    position: relative;
    z-index: 1;
}

.book .section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.book-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.book-img {
    flex: 1;
    max-width: 350px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease;
    position: relative;
}

.book-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 3px;
    font-weight: 700;
    font-family: var(--bold-font);
    font-size: 0.9rem;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(245, 0, 87, 0.3);
    z-index: 2;
}

.book-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.book-actions .btn {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-info {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}

.download-info a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
}

.book-info {
    flex: 1;
    transition-delay: 0.4s;
}

.book-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-family: var(--bold-font);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
}

.book-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    color: #555;
    font-style: italic;
    font-weight: 500;
}

.book-description {
    margin-bottom: 2.5rem;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
}

.book-details {
    display: flex;
    gap: 30px;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0;
}

.detail span {
    font-size: 0.9rem;
    color: #777;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--bold-font);
    font-weight: 700;
}

.detail p {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--bold-font);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #666;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Platform-specific colors */
.social-links a[aria-label="Instagram"]:hover,
.social-links-large a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-links a[aria-label="YouTube"]:hover,
.social-links-large a[aria-label="YouTube"]:hover {
    background-color: #FF0000;
    color: white;
}

.social-links a[aria-label="WhatsApp Channel"]:hover,
.social-links-large a[aria-label="WhatsApp Channel"]:hover {
    background-color: #25D366;
    color: white;
}

.social-links-large {
    display: flex;
    gap: 15px;
    margin-top: auto;
    justify-content: flex-start;
}

.social-links-large .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links-large .social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

/* Newsletter Success Message */
.newsletter-success-message {
    background-color: rgba(40, 167, 69, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
    animation: fadeIn 0.5s ease-out;
}

.newsletter-success-message i {
    font-size: 2rem;
    color: var(--success-color);
    margin-bottom: 10px;
    display: block;
}

.newsletter-success-message p {
    margin-bottom: 5px;
}

.newsletter-success-message .small {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Contact Form Success Message */
.success-message {
    text-align: center;
    padding: 20px;
}

.success-message i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 15px;
}

.success-message h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    position: relative;
}

.footer-top {
    background: linear-gradient(145deg, rgb(25, 25, 36) 0%, rgb(36, 35, 52) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-top::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 0, 87, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-logo {
    font-family: var(--bold-font);
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links-large {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
    color: white;
}

footer h4 {
    font-family: var(--bold-font);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 12px;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-nav ul, .footer-contact ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 3px 0;
}

.footer-nav a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: all 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 12px;
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    padding-right: 50px;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.3);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-form button:hover {
    background-color: #544dff;
    transform: scale(1.05);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    position: relative;
    z-index: 3;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #544dff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.4);
}

/* Media Queries for Footer */
@media screen and (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer-top {
        padding: 60px 0 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, 20px) rotate(5deg);
    }
    100% {
        transform: translate(-20px, -20px) rotate(-5deg);
    }
}

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

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes floating {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(15px, -15px);
    }
    100% {
        transform: translate(-15px, 15px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .about-content, .book-content, .contact-content {
        flex-direction: column;
    }
    
    .about-img, .book-img {
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    #menuOpen {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: white;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        padding: 60px 30px;
        transition: var(--transition);
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links ul li {
        margin-left: 0;
    }
    
    #menuClose {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-btns .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-item {
        height: 280px;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

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

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

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

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* About Section Animations */
.about-content {
    transition-delay: 0.2s;
}

/* Portfolio Animations */
.portfolio-filter {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.2s;
}

.portfolio-filter.active {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for portfolio items */
.portfolio-item:nth-child(1) { transition-delay: 0.2s; }
.portfolio-item:nth-child(2) { transition-delay: 0.4s; }

/* Book Section Animations */
.book-img {
    transition-delay: 0.2s;
}

.book-info {
    transition-delay: 0.4s;
}

/* Contact Section Animations */
.contact-info {
    transition-delay: 0.2s;
}

.contact-form {
    transition-delay: 0.4s;
}

/* Additional Mobile Optimizations */
@media screen and (max-width: 768px) {
    /* General Mobile Styling */
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Header & Navigation */
    nav {
        padding: 15px 0;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    #menuOpen {
        font-size: 1.3rem;
    }
    
    .nav-links {
        width: 75%;
        max-width: 300px;
        padding: 60px 25px;
    }
    
    /* Hero Section */
    .hero {
        padding: 130px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero .shape1,
    .hero .shape2,
    .hero .shape3 {
        opacity: 0.3; /* Reduce prominence on mobile */
    }
    
    /* About Section */
    .about {
        padding: 70px 0;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-skills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .about-skills span {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    /* Portfolio Section */
    .portfolio {
        padding: 70px 0;
    }
    
    .portfolio-filter {
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
    
    /* Book Section */
    .book {
        padding: 70px 0;
    }
    
    .book-info h3 {
        font-size: 1.8rem;
    }
    
    .book-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.3rem;
    }
    
    .book-details {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Contact Section */
    .contact {
        padding: 70px 0;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .info-item {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        margin-bottom: 0.3rem;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 10px;
    }
    
    /* Footer */
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-grid {
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        font-size: 2rem;
        margin: 0 auto 10px;
        display: block;
    }
    
    .social-links-large {
        justify-content: center;
    }
    
    footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav ul, 
    .footer-contact ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-contact i {
        margin: 0 0 8px 0;
        font-size: 1.2rem;
    }
    
    .newsletter-form {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    /* Extra Small Devices */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.3rem;
    }
}

/* Fix for hero content on very small screens */
@media screen and (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .book-info h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Touch Device Optimization */
.touch-device .btn,
.touch-device .social-link,
.touch-device .portfolio-item,
.touch-device .footer-nav a {
    -webkit-tap-highlight-color: transparent; /* Remove default touch highlight */
}

.touch-device .btn.touch-active {
    transform: scale(0.95);
}

.touch-device .social-link.touch-active {
    transform: scale(1.2);
}

.touch-device .portfolio-overlay {
    opacity: 0.9; /* Make overlay slightly visible on mobile */
}

.touch-device .portfolio-item.touch-active .portfolio-overlay {
    opacity: 1;
}

/* Mobile Menu Enhancements */
.nav-links.active {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.nav-links ul li a {
    display: block;
    padding: 10px 0;
}

/* Improved Interaction States */
input:focus, 
textarea:focus, 
button:focus {
    outline: none;
}

/* Make content more readable on mobile */
@media screen and (max-width: 768px) {
    p, .info-item p, .footer-contact a, .footer-nav a {
        font-size: 0.95rem;
    }
    
    .view-project {
        padding: 8px 15px;
    }
    
    /* Fix form paddings on mobile */
    .contact-form .form-group {
        margin-bottom: 15px;
    }
    
    /* Fix animations on mobile */
    .slide-in-left.active, 
    .slide-in-right.active {
        transform: translateX(0);
    }
    
    /* Better readability for small text */
    .detail span {
        font-size: 0.75rem;
    }
}

/* Book Preview Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 10vh auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    color: var(--primary-color);
    font-family: var(--bold-font);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.book-preview {
    display: flex;
    gap: 30px;
    min-height: 300px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.book-preview::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: #ddd;
}

.preview-page {
    flex: 1;
    padding: 0 15px;
}

.preview-page h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.preview-page p {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
}

.preview-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.preview-cta p {
    margin-bottom: 15px;
    font-weight: 500;
    color: #555;
}

.preview-cta .btn {
    min-width: 200px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .book-actions {
        flex-direction: column;
    }
    
    .book-preview {
        flex-direction: column;
        gap: 20px;
    }
    
    .book-preview::before {
        left: 0;
        right: 0;
        top: 50%;
        width: 100%;
        height: 1px;
    }
    
    .modal-content {
        width: 90%;
        padding: 20px;
        margin: 15vh auto;
    }
    
    .preview-page {
        padding: 0;
    }
}

/* Preview Modal Spacing */
.mt-4 {
    margin-top: 25px;
}

.preview-page p {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
    font-size: 0.95rem;
    padding-left: 15px;
    position: relative;
}

.preview-page p:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.preview-page h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: var(--bold-font);
    border-bottom: 1px dashed #eee;
    padding-bottom: 5px;
}

/* Minimalist Contact Section */
.contact-minimal {
    padding: 100px 0;
    background-color: #0f0f0f;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-minimal::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(84, 77, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite alternate;
}

.contact-minimal::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(84, 77, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite alternate-reverse;
}

.minimal-contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.minimal-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 8.5rem;
    margin-bottom: 80px;
    letter-spacing: -4px;
    color: #ffffff;
    opacity: 0;
    animation: fade-up 1s ease forwards;
    position: relative;
    text-transform: uppercase;
}

.minimal-heading::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    background-color: var(--minimal-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation: line-expand 1.2s ease-out 0.8s forwards;
}

.minimal-contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fade-up 1s ease 0.4s forwards;
}

.minimal-email-link,
.minimal-whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.minimal-email-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--minimal-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.minimal-email-link:hover::before {
    width: 80%;
}

.minimal-email-link:hover {
    color: var(--minimal-color);
    transform: translateY(-5px);
}

.icon-arrow,
.icon-whatsapp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    font-size: 1.2rem;
}

.icon-arrow {
    background: linear-gradient(145deg, var(--minimal-color), #6e68ff);
    animation: pulse-arrow 2.5s infinite;
    box-shadow: 0 8px 25px rgba(84, 77, 255, 0.3);
}

.icon-whatsapp {
    background: linear-gradient(145deg, #25D366, #128C7E);
    animation: pulse-whatsapp 2.5s infinite;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

@keyframes pulse-arrow {
    0% {
        box-shadow: 0 0 0 0 rgba(84, 77, 255, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(84, 77, 255, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(84, 77, 255, 0);
        transform: scale(1);
    }
}

.icon-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.icon-arrow i {
    animation: arrow-bounce 1.5s ease-in-out infinite;
}

@keyframes arrow-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(4px);
    }
    60% {
        transform: translateX(2px);
    }
}

.minimal-email-link:hover .icon-arrow {
    transform: translateX(10px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(84, 77, 255, 0.7);
}

.minimal-email-link:hover .icon-arrow::before,
.minimal-whatsapp-link:hover .icon-whatsapp::before {
    left: 100%;
    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.minimal-email-link:active .icon-arrow,
.minimal-whatsapp-link:active .icon-whatsapp {
    transform: scale(0.95);
    box-shadow: 0 5px 15px rgba(84, 77, 255, 0.5);
}

.minimal-whatsapp-link:hover {
    color: #25D366;
    transform: translateY(-5px) scale(1.03);
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

.minimal-whatsapp-link:hover .icon-whatsapp {
    transform: translateX(10px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.7);
}

.icon-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.minimal-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    opacity: 0;
    animation: fade-up 1s ease 0.8s forwards;
}

.minimal-social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.minimal-social-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--minimal-color)
    );
    animation: rotate-border 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.minimal-social-icon:hover::before {
    opacity: 1;
}

.minimal-social-icon::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.9);
    z-index: -1;
    transition: all 0.4s ease;
}

.minimal-social-icon i {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.minimal-social-icon:hover {
    background-color: var(--minimal-color);
    transform: translateY(-8px) scale(1.1);
    color: white;
    box-shadow: 0 15px 30px rgba(84, 77, 255, 0.4);
}

.minimal-social-icon:hover i {
    transform: scale(1.2);
}

.minimal-social-icon:active {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 20px rgba(84, 77, 255, 0.3);
}

@media (max-width: 992px) {
    .minimal-heading {
        font-size: 7rem;
    }
    
    .minimal-email-link {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .minimal-heading {
        font-size: 5rem;
        margin-bottom: 50px;
    }
    
    .minimal-email-link {
        font-size: 1.2rem;
    }
    
    .icon-arrow {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .minimal-heading {
        font-size: 3.8rem;
        margin-bottom: 40px;
    }
    
    .minimal-email-link,
    .minimal-whatsapp-link {
        font-size: 1rem;
        flex-direction: column;
        gap: 15px;
    }
    
    .icon-arrow,
    .icon-whatsapp {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .minimal-contact-links {
        gap: 30px;
    }
    
    .minimal-social-links {
        gap: 20px;
    }
    
    .minimal-social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Modern About Section */
.about-modern {
    padding: 120px 0;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

.about-bg-element {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(84, 77, 255, 0.03) 0%, rgba(84, 77, 255, 0.1) 100%);
    z-index: 0;
}

.about-bg-element-2 {
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(84, 77, 255, 0.05) 0%, rgba(84, 77, 255, 0.02) 100%);
    z-index: 0;
}

.modern-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: #333;
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.modern-section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--minimal-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.modern-about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.modern-about-text {
    text-align: left;
}

.heading-badge {
    display: inline-block;
    background-color: rgba(84, 77, 255, 0.1);
    color: var(--minimal-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.modern-about-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    color: #333;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--minimal-color);
    margin-bottom: 30px;
    border-radius: 2px;
}

.modern-about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.experience-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

.highlight-item {
    flex: 1;
    min-width: 120px;
}

.highlight-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--minimal-color);
    margin-bottom: 5px;
}

.highlight-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.4;
}

.skills-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 20px 0;
    position: relative;
    display: inline-block;
}

.skills-heading::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--minimal-color);
    bottom: -5px;
    left: 0;
    border-radius: 2px;
    opacity: 0.5;
}

.modern-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.skill-tag {
    background: linear-gradient(135deg, var(--minimal-color) 0%, #6e68ff 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(84, 77, 255, 0.15);
    z-index: 1;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6e68ff, var(--minimal-color), #6e68ff);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-tag::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    top: 0;
    left: -100%;
    transition: left 0.6s ease;
}

.skill-tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(84, 77, 255, 0.3);
}

.skill-tag:hover::before {
    opacity: 1;
}

.skill-tag:hover::after {
    left: 100%;
}

@media (max-width: 768px) {
    .about-modern {
        padding: 80px 0;
    }
    
    .modern-section-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
    
    .modern-about-heading {
        font-size: 1.8rem;
    }
    
    .modern-about-text p {
        font-size: 1rem;
    }
    
    .experience-highlights {
        gap: 20px;
    }
    
    .highlight-number {
        font-size: 2.2rem;
    }
    
    .highlight-text {
        font-size: 0.9rem;
    }
    
    .skill-tag {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* New Animation Keyframes for Minimalist Contact */
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line-expand {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

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

/* About Button Styles */
.about-button-container {
    margin-top: 40px;
    text-align: center;
}

.about-btn {
    padding: 14px 30px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.2);
}

.about-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(108, 99, 255, 0.3);
}

.about-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* About Modal Content Styles */
.about-modal-content {
    padding: 10px;
    max-height: 70vh;
    overflow-y: auto;
}

.about-modal-text {
    line-height: 1.7;
}

.about-modal-text p {
    margin-bottom: 20px;
    color: #444;
    font-size: 1rem;
}

.about-modal-text h4 {
    margin: 25px 0 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--bold-font);
}

.about-modal-text h4:first-of-type {
    margin-top: 30px;
}

/* Add animation for modal content */
.modal-content h3 {
    position: relative;
    display: inline-block;
}

.modal-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .about-button-container {
        margin-top: 30px;
    }
    
    .about-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .about-modal-text p {
        font-size: 0.95rem;
    }
    
    .about-modal-text h4 {
        font-size: 1.1rem;
    }
}

/* About Modal Redesign */
.about-modal-redesign {
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    padding: 0;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-header {
    background: linear-gradient(135deg, var(--primary-color), #8a84ff);
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: rotate(-15deg);
    z-index: 0;
}

.about-profile {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-image-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.profile-title h2 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    font-family: var(--bold-font);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-tagline {
    font-size: 1rem;
    opacity: 0.9;
    letter-spacing: 1px;
    font-weight: 400;
}

.about-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.tab-btn {
    padding: 18px 20px;
    background: none;
    border: none;
    font-family: var(--bold-font);
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.about-content-wrapper {
    height: calc(85vh - 210px);
    overflow-y: auto;
    padding: 0;
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.tab-inner {
    padding: 40px;
}

.tab-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8a84ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.25);
}

.tab-content h3 {
    text-align: center;
    font-size: 1.8rem;
    margin: 0 0 20px;
    color: #333;
    font-weight: 700;
    font-family: var(--bold-font);
}

.tab-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(108, 99, 255, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), #8a84ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

.feature-item h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
    font-family: var(--bold-font);
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Mindset Quote */
.mindset-quote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 25px;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin: 40px 0 0;
    background: rgba(108, 99, 255, 0.05);
    border-radius: 0 10px 10px 0;
}

/* Physical Stats */
.physical-stats {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--bold-font);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Spiritual Practices */
.spiritual-practices {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.spiritual-practices h4 {
    margin: 0 0 15px;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    text-align: center;
    font-family: var(--bold-font);
}

.practices-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.practices-list li {
    position: relative;
    padding-left: 25px;
}

.practices-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Values Section */
.values-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(108, 99, 255, 0.2);
}

.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8a84ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.value-content h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
    font-family: var(--bold-font);
}

.value-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.character-quote {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgba(108, 99, 255, 0.05);
    border-radius: 12px;
}

.character-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
    margin: 0 0 10px;
}

.character-quote span {
    font-size: 0.9rem;
    color: #777;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-header {
        padding: 30px;
    }
    
    .profile-image-container {
        width: 80px;
        height: 80px;
        margin-right: 20px;
    }
    
    .profile-title h2 {
        font-size: 1.8rem;
    }
    
    .profile-tagline {
        font-size: 0.9rem;
    }
    
    .tab-btn {
        padding: 15px 10px;
        font-size: 0.85rem;
    }
    
    .tab-inner {
        padding: 30px 20px;
    }
    
    .tab-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .tab-content h3 {
        font-size: 1.6rem;
    }
    
    .tab-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .practices-list {
        grid-template-columns: 1fr;
    }
    
    .physical-stats {
        gap: 20px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-header {
        padding: 25px;
    }
    
    .profile-image-container {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    
    .profile-title h2 {
        font-size: 1.5rem;
    }
    
    .profile-tagline {
        font-size: 0.8rem;
    }
    
    .about-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex: 0 0 auto;
    }
    
    .tab-inner {
        padding: 25px 15px;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .tab-content h3 {
        font-size: 1.4rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .mindset-quote {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .physical-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .value-item {
        padding: 15px;
    }
    
    .value-icon {
        width: 35px;
        height: 35px;
        margin-right: 15px;
    }
}