body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #445559;
}

.main-content {
    flex: 1;
    padding: 4rem 0;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(97, 132, 140, 0.15);
}

.btn-custom {
    margin: 0.5rem;
    min-width: 120px;
}

/* Article Cards Styling */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(97, 132, 140, 0.1);
    background-color: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(97, 132, 140, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    background-color: #fff;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #61848C;
}

.card-text {
    color: #8b7259;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* AI Applications Showcase Styling */
.app-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(97, 132, 140, 0.1);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #61848C, #BF9E80);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(97, 132, 140, 0.15);
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-icon {
    background: rgba(97, 132, 140, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1);
}

.app-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
    color: #61848C;
}

.app-description {
    color: #8b7259;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    margin: 1rem 0;
}

.tech-stack .badge {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border: 1px solid #D9C5B4;
    background-color: rgba(217, 197, 180, 0.1) !important;
    color: #61848C !important;
}

.app-links .btn {
    transition: all 0.3s ease;
}

.app-links .btn:hover {
    transform: translateY(-2px);
}

/* Custom Button Styles */
.btn-primary {
    background-color: #61848C;
    border-color: #61848C;
    color: #fff;
}

.btn-primary:hover {
    background-color: #556d74;
    border-color: #556d74;
}

.btn-outline-primary {
    color: #61848C;
    border-color: #61848C;
}

.btn-outline-primary:hover {
    background-color: #61848C;
    border-color: #61848C;
    color: #fff;
}

.btn-outline-secondary {
    color: #8b7259;
    border-color: #BF9E80;
}

.btn-outline-secondary:hover {
    background-color: #BF9E80;
    border-color: #BF9E80;
    color: #fff;
}

/* Modern Footer Styles */
.footer {
    background: linear-gradient(135deg, #61848C 0%, #556d74 100%);
    padding: 4rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 100%, rgba(217, 197, 180, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #D9C5B4;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    color: #D9C5B4;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.footer-email i {
    margin-right: 0.5rem;
}

.footer-email:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: #D9C5B4;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(217, 197, 180, 0.1);
    text-decoration: none;
}

.social-links a:hover {
    color: #fff;
    background: rgba(217, 197, 180, 0.2);
    transform: translateY(-3px);
    text-decoration: none;
}

.social-links a i {
    line-height: 1;
    width: auto;
    height: auto;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(217, 197, 180, 0.2);
}

.footer-text {
    color: #D9C5B4;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-text {
        text-align: center;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(97, 132, 140, 0.1) 0%, rgba(217, 197, 180, 0.1) 100%);
    padding: 6rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 0% 0%, rgba(97, 132, 140, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #445559;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 500;
    color: #61848C;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #8b7259;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 800px;
}

.hero-description br {
    display: block;
    content: "";
    margin: 1rem 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.hero-button {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 160px;
}

.hero-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(97, 132, 140, 0.2);
    transition: transform 0.3s ease;
}

.hero-stats {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
}

.stat-number {
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #61848C;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: clamp(0.85rem, 1.2vw, 0.9rem);
    color: #8b7259;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-description {
        margin-left: 0;
        margin-right: 0;
        padding-right: 2rem;
    }

    .hero-media-container {
        padding-left: 2rem;
    }

    .hero-stats {
        max-width: 100%;
        margin: 0 auto;
        padding: 0.75rem 1rem;
        background: none;
        backdrop-filter: none;
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .stat-item {
        padding: 0.25rem 1rem;
        position: relative;
        flex: 0 1 auto;
    }

    .stat-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 70%;
        width: 1px;
        background: rgba(97, 132, 140, 0.2);
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
    }
    
    .hero-button {
        width: 100%;
        min-width: 200px;
        margin-bottom: 0.5rem;
    }

    .hero-media-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-stats {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Articles Section Styling */
.articles-section {
    position: relative;
    background: #fff;
    padding: 6rem 0;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #445559;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #61848C;
    line-height: 1.6;
}

.article-card {
    background: #fff;
    border: 1px solid rgba(97, 132, 140, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(97, 132, 140, 0.1);
    border-color: rgba(97, 132, 140, 0.2);
}

.article-image-container {
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #445559;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-description {
    color: #61848C;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-footer {
    margin-top: auto;
}

.article-link {
    display: inline-flex;
    align-items: center;
    color: #61848C;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: #445559;
}

.article-link i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.article-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .articles-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .article-title {
        font-size: 1.2rem;
    }
}

/* Skills Section Styling */
.skills-section {
    position: relative;
    background: linear-gradient(135deg, rgba(217, 197, 180, 0.05) 0%, rgba(97, 132, 140, 0.05) 100%);
    padding: 6rem 0;
}

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

.skill-category {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(97, 132, 140, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(97, 132, 140, 0.15);
}

.category-title {
    font-size: 1.25rem;
    color: #445559;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-title i {
    color: #61848C;
    font-size: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: rgba(97, 132, 140, 0.1);
    color: #61848C;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #61848C;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (min-width: 768px) and (max-width: 991px) {
    .articles-grid .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .article-card {
        margin-bottom: 2rem;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
    
    .article-description {
        font-size: 0.9rem;
    }
    
    .article-image {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .articles-grid .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .article-card {
        margin-bottom: 1.5rem;
    }
    
    .article-image {
        height: 250px;
    }
}

/* Product Links Section */
.product-links-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.product-link-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(97, 132, 140, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    gap: 1.5rem;
}

.product-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(97, 132, 140, 0.1);
    border-color: rgba(97, 132, 140, 0.2);
}

.product-link-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 8px;
    border: 1px solid rgba(97, 132, 140, 0.1);
}

.product-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-link-card:hover .product-logo {
    transform: scale(1.1);
}

/* Remove the old icon styles */
.product-link-icon i {
    font-size: 1.5rem;
}

.product-link-content {
    flex-grow: 1;
}

.product-link-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #445559;
    margin: 0 0 0.5rem;
}

.product-link-content p {
    font-size: 0.9rem;
    color: #61848C;
    margin: 0;
    line-height: 1.4;
}

.product-link-arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #61848C;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.product-link-card:hover .product-link-arrow {
    transform: translateX(4px);
    opacity: 1;
}

@media (max-width: 767px) {
    .product-links-section {
        padding: 4rem 0;
    }
    
    .product-link-card {
        padding: 1.25rem;
    }
    
    .product-link-icon {
        width: 48px;
        height: 48px;
        padding: 6px;
    }
    
    .product-link-content h3 {
        font-size: 1rem;
    }
    
    .product-link-content p {
        font-size: 0.85rem;
    }
} 