/* ========== RESET & FONTS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: 0; /* Remove any default padding */
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

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

/* ========== NAVIGATION ========== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem; /* Reduced padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.nav-link.active {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

/* Mobile Navigation - Horizontal Scrolling */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0.6rem 1rem; /* Even more compact on mobile */
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        width: 100%;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.5rem 0;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE 10+ */
        justify-content: flex-start;
    }
    
    /* Hide scrollbar for webkit browsers */
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu li {
        flex-shrink: 0;
    }
    
    .nav-link {
        white-space: nowrap;
        padding: 0.6rem 1.2rem;
        margin: 0 0.3rem;
        font-size: 0.9rem;
        border: 1px solid rgba(78, 205, 196, 0.2);
        background: rgba(255, 255, 255, 0.8);
        border-radius: 20px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(45deg, #4ecdc4, #45b7d1);
        color: white;
        border-color: #4ecdc4;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
    }
    
    /* Add scroll indicators */
    .nav-menu::before,
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 1;
    }
    
    .nav-menu::before {
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.8), transparent);
    }
    
    .nav-menu::after {
        right: 0;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
    }
}

/* Very small screens */
@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0.6rem 0.8rem;
        gap: 0.6rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin: 0 0.2rem;
    }
}

/* Tablet screens */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Add smooth scrolling behavior */
.nav-menu {
    scroll-behavior: smooth;
}

/* Scroll hint animation */
@keyframes scroll-hint {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        animation: scroll-hint 2s ease-in-out 1s;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 70px; /* Adjust this based on your navbar actual height */
    padding: 2rem 2rem 1rem; /* Reduced from default padding */
    min-height: auto; /* Remove min-height if set */
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.profile-pic {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotate(90deg) scale(0.8); /* Rotation + 20% smaller */
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: rotate(90deg) scale(0.85); /* Slight size increase on hover */
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .profile-pic {
        width: 150px;
        height: 150px;
        transform: rotate(90deg) scale(0.7); /* Smaller on mobile */
    }
    
    .profile-pic:hover {
        transform: rotate(90deg) scale(0.75);
    }
}

.hero-content {
    gap: 1rem; /* Reduce gap between text and image */
    margin-bottom: 1rem; /* Reduce bottom margin */
}

.hero-content h1 {
    font-size: 4rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.typing-text {
    border-right: 3px solid #ff6b6b;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

/* ========== BUTTONS ========== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255, 107, 107, 0.9);
    color: white;
    border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
    background: #ff6b6b;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

/* ========== CONTAINERS ========== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.skills-preview {
    padding: 4rem 0;
    text-align: center;
}

.skills-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-30px);
    animation: slideInDown 0.8s ease 0.2s forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

/* ========== SKILLS SECTION ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: skillSlideUp 0.8s ease forwards;
}

/* Staggered animation delays */
.skill-badge:nth-child(1) { animation-delay: 0.2s; }
.skill-badge:nth-child(2) { animation-delay: 0.3s; }
.skill-badge:nth-child(3) { animation-delay: 0.4s; }
.skill-badge:nth-child(4) { animation-delay: 0.5s; }
.skill-badge:nth-child(5) { animation-delay: 0.6s; }
.skill-badge:nth-child(6) { animation-delay: 0.7s; }
.skill-badge:nth-child(7) { animation-delay: 0.8s; }

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

.skill-badge i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.skill-badge span {
    position: relative;
    z-index: 2;
    color: #333;
    font-weight: 600;
    opacity: 1;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
    border-color: rgba(255, 107, 107, 0.4);
}

.skill-badge:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.5));
}

.skill-badge:hover span {
    color: #ff6b6b;
}

/* ========== PROJECTS SECTION ========== */
.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.project {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    margin: 1rem 0;
    color: #333;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.project:nth-child(1) { animation-delay: 0.2s; }
.project:nth-child(2) { animation-delay: 0.4s; }
.project:nth-child(3) { animation-delay: 0.6s; }
.project:nth-child(4) { animation-delay: 0.8s; }

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96c93d);
    background-size: 300% 300%;
    animation: gradientMove 3s ease infinite;
    border-radius: 25px 25px 0 0;
}

.project:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.project h3 {
    color: #4ecdc4;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
}

.project h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.project:hover h3::after {
    width: 80px;
}

.project p,
.project-description {
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #555;
    font-size: 1rem;
}

.project-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-icon i {
    font-size: 3rem;
    color: #ff6b6b;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.project:hover .project-icon i {
    transform: scale(1.1) rotate(5deg);
}

.project-links,
.project-buttons {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== PROJECT ENHANCEMENTS ========== */
.project-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.featured {
    background: linear-gradient(45deg, #ff6b6b, #e73c7e);
    color: white;
}

.badge.ai {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    color: white;
}

.project-placeholder {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(69, 183, 209, 0.1));
    border: 2px dashed rgba(78, 205, 196, 0.3);
    border-radius: 15px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.project-placeholder:hover {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(69, 183, 209, 0.15));
    border-color: rgba(78, 205, 196, 0.5);
    transform: scale(1.02);
}

.placeholder-content i {
    font-size: 3rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
    display: block;
}

.placeholder-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.placeholder-content p {
    color: #666;
    margin: 0;
}

.project-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1rem 0;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #555;
}

.highlight i {
    color: #4ecdc4;
    font-size: 0.9rem;
    min-width: 16px;
}

.tech-stack-compact {
    margin: 1rem 0;
    padding: 0.8rem;
    background: rgba(69, 183, 209, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
    border-left: 3px solid #45b7d1;
}

.tech-stack-compact strong {
    color: #333;
}

.project-status-simple {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #666;
}

.project-status-simple span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-status-simple i {
    color: #ff6b6b;
    min-width: 16px;
}

.demo-coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc !important;
    color: #666 !important;
}

.demo-coming-soon:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.service-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    color: #333;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: slideUp 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.3s; }
.service-card:nth-child(2) { animation-delay: 0.5s; }
.service-card:nth-child(3) { animation-delay: 0.7s; }

.service-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.service-card .service-icon {
    font-size: 4rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    display: block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 80px;
}

.service-card p {
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
}

/* ========== CONTACT FORM ========== */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    font-family: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 1);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #ff6b6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group select option {
    padding: 12px 16px;
    background: white;
    color: #333;
    font-size: 1rem;
}

.form-group select option:disabled {
    color: #999;
    background: #f5f5f5;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

/* ========== ABOUT SECTION ========== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: left;
    line-height: 1.8;
}

.intro-paragraph {
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #ff6b6b;
}

.description-paragraph {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.7;
}

/* ========== SIMPLE TEXT READ MORE BUTTON ========== */
.read-more-btn {
    background: none !important;
    border: none !important;
    color: #4ecdc4 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0.8rem 0 !important;
    padding: 0 !important;
    text-decoration: underline !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    align-self: flex-start !important;
    box-shadow: none !important;
    transform: none !important;
}

.read-more-btn:hover {
    color: #45b7d1 !important;
    text-decoration: none !important;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.read-more-btn i {
    transition: transform 0.3s ease !important;
    font-size: 0.8rem !important;
}

.read-more-btn.expanded i {
    transform: rotate(180deg) !important;
}

/* ========== INVESTMENT PAGE STYLING ========== */

.investments-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(69, 183, 209, 0.1));
    border-radius: 20px;
    margin-bottom: 3rem;
}

.investments-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

/* ETHICAL FASHION CARD - Green Theme */
.domain-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.1), rgba(34, 139, 34, 0.05));
    border: 2px solid rgba(52, 168, 83, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(52, 168, 83, 0.1);
}

.domain-card:nth-child(1):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(52, 168, 83, 0.2);
    border-color: rgba(52, 168, 83, 0.4);
}

.domain-card:nth-child(1) .domain-icon {
    background: linear-gradient(135deg, #34a853, #0f9d58);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.3);
}

/* VINTAGE MERCH CARD - Orange Theme */
.domain-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 87, 34, 0.05));
    border: 2px solid rgba(255, 152, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.1);
}

.domain-card:nth-child(2):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 152, 0, 0.2);
    border-color: rgba(255, 152, 0, 0.4);
}

.domain-card:nth-child(2) .domain-icon {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* VINYL RECORD CARD - Purple Theme */
.domain-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(103, 58, 183, 0.05));
    border: 2px solid rgba(156, 39, 176, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.1);
    position: relative;
    overflow: hidden;
}

.domain-card:nth-child(3)::before {
    content: '⭐';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #ffd700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.domain-card:nth-child(3):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.2);
    border-color: rgba(156, 39, 176, 0.4);
}

.domain-card:nth-child(3) .domain-icon {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

/* DOMAIN HEADER */
.domain-header {
    margin-bottom: 1.5rem;
}

.domain-header h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #333;
    font-weight: 600;
}

.domain-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-status.available {
    background: rgba(52, 168, 83, 0.2);
    color: #0f9d58;
}

.domain-status.featured {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    color: #333;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* DOMAIN DETAILS */
.domain-details {
    line-height: 1.6;
}

.market-value {
    margin-bottom: 1rem;
}

.market-value .label {
    font-weight: 600;
    color: #555;
}

.market-value .value {
    color: #4ecdc4;
    font-weight: 500;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.tag.sustainable { background: linear-gradient(45deg, #4caf50, #2e7d32); }
.tag.ecommerce { background: linear-gradient(45deg, #2196f3, #1976d2); }
.tag.trending { background: linear-gradient(45deg, #ff9800, #f57c00); }
.tag.vintage { background: linear-gradient(45deg, #795548, #5d4037); }
.tag.merchandise { background: linear-gradient(45deg, #9c27b0, #7b1fa2); }
.tag.nostalgia { background: linear-gradient(45deg, #e91e63, #c2185b); }
.tag.music { background: linear-gradient(45deg, #3f51b5, #303f9f); }
.tag.collectibles { background: linear-gradient(45deg, #ff5722, #e64a19); }
.tag.revival { background: linear-gradient(45deg, #607d8b, #455a64); }

.domain-description {
    margin: 1rem 0;
    color: #555;
    line-height: 1.7;
}

.domain-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.stat i {
    color: #4ecdc4;
    width: 20px;
}

/* BEAUTIFUL MAKE AN OFFER BUTTONS */
.domain-inquiry-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Green Make an Offer Button */
.domain-card:nth-child(1) .domain-inquiry-btn {
    background: linear-gradient(45deg, #34a853, #0f9d58);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.domain-card:nth-child(1) .domain-inquiry-btn:hover {
    background: linear-gradient(45deg, #0f9d58, #34a853);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 168, 83, 0.4);
}

/* Orange Make an Offer Button */
.domain-card:nth-child(2) .domain-inquiry-btn {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.domain-card:nth-child(2) .domain-inquiry-btn:hover {
    background: linear-gradient(45deg, #f57c00, #ff9800);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

/* Purple Make an Offer Button */
.domain-card:nth-child(3) .domain-inquiry-btn {
    background: linear-gradient(45deg, #9c27b0, #673ab7);
    color: white;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    position: relative;
    overflow: hidden;
}

.domain-card:nth-child(3) .domain-inquiry-btn:hover {
    background: linear-gradient(45deg, #673ab7, #9c27b0);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
}

/* Investment Philosophy */
.investment-philosophy {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.8));
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.investment-philosophy h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.philosophy-item {
    text-align: center;
    padding: 1.5rem;
}

.philosophy-item i {
    font-size: 2.5rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.philosophy-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.philosophy-item p {
    color: #666;
    line-height: 1.6;
}

/* Investment CTA */
.investment-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(69, 183, 209, 0.1));
    border-radius: 20px;
    margin-top: 3rem;
}

.investment-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.investment-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skill-badge {
        padding: 1.5rem 1rem;
        min-height: 100px;
        font-size: 0.9rem;
    }

    .skill-badge i {
        font-size: 2rem;
    }

    .projects-list,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project,
    .service-card {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 20px 15px;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 16px;
    }

    .project-highlights {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .intro-paragraph {
        font-size: 1.1rem;
        padding: 1rem;
        text-align: left;
    }

    .description-paragraph {
        font-size: 1rem;
        text-align: left;
    }

    .domains-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-badge {
        padding: 1.2rem;
        min-height: 80px;
    }

    .skills-preview h2 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .investment-cta p {
        font-size: 1rem;
    }
}

/* ========== FIX NAVBAR SPACING ========== */

/* Ensure body content starts right after navbar */
body {
    margin: 0;
    padding: 0;
    padding-top: 0; /* Remove any default padding */
}

/* Make navbar more compact */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    padding: 0.8rem 2rem; /* Reduced padding */
    max-width: 1200px;
    margin: 0 auto;
}

/* Calculate exact navbar height and adjust hero margin */
.hero {
    margin-top: 70px; /* Adjust this based on your navbar actual height */
}

@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0.6rem 1rem; /* Even more compact on mobile */
    }
    
    .hero {
        margin-top: 65px; /* Smaller margin on mobile */
    }
}

/* ========== EMERGENCY SPACING RESET ========== */

/* Remove any unwanted margins/padding */
.hero-section,
.hero {
    margin: 0;
    padding-top: 80px; /* Only top padding for navbar clearance */
    padding-bottom: 1rem; /* Minimal bottom padding */
}

/* Ensure next sections start immediately */
.hero ~ section:first-of-type {
    margin-top: 0;
    padding-top: 1rem;
}

/* Mobile emergency fix */
@media screen and (max-width: 768px) {
    .hero {
        padding-top: 70px;
        padding-bottom: 0.8rem;
    }
}

/* ========== PROFILE IMAGE - WITH ROTATION ========== */
.profile-pic {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotate(90deg) scale(0.8); /* Rotation + 20% smaller */
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: rotate(90deg) scale(0.85); /* Slight size increase on hover */
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .profile-pic {
        width: 150px;
        height: 150px;
        transform: rotate(90deg) scale(0.7); /* Smaller on mobile */
    }
    
    .profile-pic:hover {
        transform: rotate(90deg) scale(0.75);
    }
}

/* ========== REDUCE HERO SECTION SPACING ========== */

.hero {
    padding: 2rem 2rem 1rem; /* Reduced from default padding */
    margin-top: 80px; /* Adjust based on navbar height */
    min-height: auto; /* Remove min-height if set */
    display: flex;
    align-items: center;
}

.hero-content {
    gap: 1rem; /* Reduce gap between text and image */
    margin-bottom: 1rem; /* Reduce bottom margin */
}

.hero-image {
    margin: 0; /* Remove any default margins */
    padding: 0.5rem; /* Minimal padding */
}

/* Reduce spacing in hero text section */
.hero-text {
    margin-bottom: 1rem; /* Reduce bottom margin */
}

.hero-text h1 {
    margin-bottom: 0.5rem; /* Reduce title spacing */
}

.hero-text h2 {
    margin-bottom: 0.8rem; /* Reduce subtitle spacing */
}

.hero-text p {
    margin-bottom: 1.2rem; /* Reduce paragraph spacing */
}

/* Reduce spacing after hero section */
.hero + section,
.hero + .section {
    margin-top: 1rem; /* Reduce top margin of next section */
    padding-top: 1rem; /* Reduce top padding of next section */
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .hero {
        padding: 1rem 1rem 0.5rem; /* Even less padding on mobile */
        margin-top: 70px; /* Account for mobile navbar height */
    }
    
    .hero-content {
        gap: 0.8rem;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        padding: 0.3rem;
        margin: 0;
    }
    
    .hero-text {
        margin-bottom: 0.8rem;
    }
}

/* Tablet adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 1.5rem 1.5rem 0.8rem;
        margin-top: 75px;
    }
    
    .hero-content {
        gap: 1rem;
    }
}