/* 
   Rajesh Mindi Photography 
   Public Frontend Design System 
*/

:root {
    /* Color Palette */
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-muted: #666666;
    --border-color: #eaeaea;
    --active-color: #000000;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
    
    /* Sizing */
    --header-height: 80px;
    --mobile-header-height: 60px;
    --content-width: 800px;
    --gallery-width: 1440px;
    --padding-x: 40px;
}

@media (max-width: 768px) {
    :root {
        --padding-x: 20px;
    }
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1.5em;
    color: var(--text-muted);
}

/* Layout Containers */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: var(--header-height) 0 60px 0;
}

@media (max-width: 768px) {
    .main-content {
        padding-top: var(--mobile-header-height);
    }
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

.container-wide {
    max-width: var(--gallery-width);
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--padding-x);
    z-index: 1000;
    border-bottom: 1px solid transparent; /* Keeps it minimal */
    transition: border-color 0.3s ease;
}

.site-header.scrolled {
    border-bottom: 1px solid var(--border-color);
}

.brand {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 32px;
    width: auto;
    display: block;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text-primary);
}

/* Active underline indicator */
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--active-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Nested Menus (Desktop Hover) */
.nav-item-has-children {
    position: relative;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    min-width: 180px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nav-item-has-children:hover .nav-submenu,
.nav-item-has-children:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu a {
    display: block;
    padding: 8px 20px;
    font-size: 0.8rem;
}
.nav-submenu a::after {
    display: none;
}
.nav-submenu a:hover {
    background: #f9f9f9;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999;
    padding: calc(var(--mobile-header-height) + 40px) var(--padding-x) 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-list a {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
    color: var(--text-primary);
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-submenu a {
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    padding: 40px var(--padding-x);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.footer-brand {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .site-header {
        height: var(--mobile-header-height);
    }
    .desktop-nav {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
}

/* Placeholder Utility */
.placeholder-area {
    background: #fafafa;
    border: 1px dashed var(--border-color);
    padding: 60px 20px;
    text-align: center;
    border-radius: 4px;
    margin-top: 40px;
}

/* Category Gallery */
.category-header {
    text-align: center;
    padding: 40px 0 60px 0;
}
.category-header h1 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.photo-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.gallery-masonry {
    column-count: 6;
    column-gap: 6px;
    padding-bottom: 80px;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 6px;
}

.gallery-masonry-item a {
    display: block;
    width: 100%;
}

.gallery-masonry-item img {
    display: block;
    width: 100%;
    height: auto;
    background-color: #f5f5f5;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

@media (hover: hover) {
    .gallery-masonry-item a:hover img {
        opacity: 0.95;
    }
}

@media (max-width: 1400px) {
    .gallery-masonry { column-count: 5; }
}

@media (max-width: 1024px) {
    .gallery-masonry { column-count: 4; }
}

@media (max-width: 768px) {
    .gallery-masonry { column-count: 3; }
}

@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 6px;
    }
    .gallery-masonry-item {
        margin-bottom: 6px;
    }
}

/* Homepage Intro */
.home-intro {
    padding: 120px 0 100px 0;
    text-align: center;
}
.intro-heading {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 5px;
}
.intro-subheading {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.intro-statement {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    color: var(--text-primary);
}

/* Homepage Selected Work */
.home-selected-work {
    margin-bottom: 120px;
}
.selected-work-grid {
    column-count: 6;
    column-gap: 6px;
}
.selected-work-item {
    break-inside: avoid;
    margin-bottom: 6px;
    display: block;
}
.selected-work-item .img-wrapper {
    background: #f5f5f5;
    overflow: hidden;
}
.selected-work-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
@media (hover: hover) {
    .selected-work-item:hover img {
        opacity: 0.9;
        transform: scale(1.02);
    }
}
@media (max-width: 1400px) {
    .selected-work-grid { column-count: 5; }
}
@media (max-width: 1024px) {
    .selected-work-grid { column-count: 4; }
}
@media (max-width: 768px) {
    .selected-work-grid { column-count: 3; }
}
@media (max-width: 600px) {
    .selected-work-grid { column-count: 2; column-gap: 6px; }
}

/* Homepage Explore */
.home-explore {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}
.section-title {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
}
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}
.explore-item {
    display: block;
}
.explore-img {
    aspect-ratio: 4/5;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 15px;
}
.explore-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.explore-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
@media (hover: hover) {
    .explore-item:hover .explore-img img {
        transform: scale(1.05);
    }
    .explore-item:hover .explore-label {
        color: var(--text-muted);
    }
}

/* Homepage About */
.home-about {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}
.about-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.about-content p {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.8;
}

/* Homepage CTA */
.home-cta {
    padding: 80px 0 140px 0;
    text-align: center;
}
.cta-heading {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}
.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.container-fluid {
    width: 100%;
    padding: 0;
}


/* Phase 15 Homepage Styling */
.home-featured {
    width: 100%;
    margin: 0 auto 80px;
    padding: 0;
}
.featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease;
}
.featured-wrapper {
    background: #f5f5f5;
    margin-bottom: 16px;
    overflow: hidden;
}
.featured-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 85vh;
}
.featured-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-intro-split {
    width: 100%;
    margin: 0 auto 120px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.intro-left h2 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
}
.intro-right p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-main);
    max-width: 400px;
}

.home-editorial {
    width: 100%;
    margin: 0 auto 120px;
    padding: 0;
}
.ed-row {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}
.ed-item {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}
.ed-item img {
    width: 100%;
    height: auto;
    display: block;
    background: #f5f5f5;
    transition: transform 0.4s ease;
}
.ed-item:hover img {
    transform: scale(1.02);
}
.ed-meta {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ed-single-large .ed-item {
    max-width: 85%;
    margin: 0 auto;
}
.ed-split-half .ed-item {
    flex: 1;
}
.ed-single-right .ed-spacer {
    flex: 1;
}
.ed-single-right .ed-item {
    flex: 1;
}
.ed-split-asym .ed-item:first-child {
    flex: 0.4;
}
.ed-split-asym .ed-item:last-child {
    flex: 0.6;
}
.ed-single-medium .ed-item {
    max-width: 60%;
    margin: 0 auto;
}

.home-categories-list {
    width: 100%;
    margin: 0 auto 120px;
    padding: 0 20px;
}
.sub-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 40px;
}
.cat-list-container {
    border-top: 1px solid var(--border-color);
}
.cat-list-item {
    display: flex;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-main);
    transition: background 0.3s ease, padding-left 0.3s ease;
}
.cat-list-item:hover {
    background: rgba(246, 247, 249, 0.3);
    padding-left: 16px;
}
.cat-num {
    font-size: 0.9rem;
    color: var(--text-muted);
    width: 60px;
}
.cat-name {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    flex: 1;
}
.cat-list-item i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}
.cat-list-item:hover i {
    transform: translateX(5px);
    color: var(--text-main);
}

.home-about-preview {
    max-width: 800px;
    margin: 0 auto 120px;
    padding: 0 20px;
    text-align: center;
}
.about-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.home-contact-cta {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.cta-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 80px;
}
.home-contact-cta h2 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.home-contact-cta p {
    color: var(--text-muted);
    margin-bottom: 32px;
}
.editorial-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--text-main);
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}
.editorial-link:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .home-featured {
        padding: 0;
        margin: 0 auto 40px;
    }
    .home-intro-split {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        margin-bottom: 60px;
    }
    .intro-right p {
        font-size: 1.1rem;
    }
    .home-editorial {
        padding: 0 20px;
        margin-bottom: 60px;
    }
    .ed-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .ed-single-large .ed-item, .ed-single-medium .ed-item {
        max-width: 100%;
    }
    .ed-item { width: 100%; }
    
    .home-categories-list, .home-about-preview, .home-contact-cta {
        padding: 0 20px;
        margin-bottom: 60px;
    }
    .cat-name { font-size: 1.2rem; }
    .about-text { font-size: 1.2rem; }
}


.video-banner {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #000;
}
.video-banner video.rotated-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(270deg);
    width: 60vh; /* matches the container's height on desktop */
    height: 100vw; /* matches the container's width */
    object-fit: cover;
    pointer-events: none;
}
@media (max-width: 768px) {
    .video-banner {
        height: 30vh;
    }
    .video-banner video.rotated-video {
        width: 30vh; /* matches the container's height on mobile */
    }
}


.home-reels {
    width: 100%;
    margin: 0 auto 120px;
    padding: 0;
}
.home-reels .section-heading {
    padding: 0 20px;
}
.text-center {
    text-align: center;
}
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0 auto;
}
.reel-wrapper {
    position: relative;
    width: 100%;
    /* Instagram embeds are typically roughly 1:1.2 or auto height, we can set a min-height or let iframe determine it */
    height: 580px; 
    background: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.reel-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
@media (max-width: 1024px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .home-reels {
        padding: 0 20px;
    }
    .reels-grid {
        grid-template-columns: 1fr;
    }
    .reel-wrapper {
        height: 600px; /* Slightly taller on mobile to accommodate Instagram UI */
    }
}


.reels-grid-modern {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 15px;
}
.reel-modern-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reel-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.reel-modern-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.reel-modern-card:hover video {
    opacity: 1;
}
.reel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}
.reel-modern-card:hover .reel-overlay {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
}

@media (max-width: 1200px) {
    .reels-grid-modern { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .reels-grid-modern { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
    .reels-grid-modern { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}


.section-heading {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}


.home-categories-showcase {
    width: 100%;
    margin: 0 auto 120px;
}
.cats-grid-modern {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 15px;
}
.cat-showcase-card {
    position: relative;
    width: 100%;
    cursor: pointer;
    transform: translateY(0);
    transition: transform 0.4s ease;
    display: block;
    text-decoration: none;
}
.cat-showcase-card:hover {
    transform: translateY(-5px);
}
.cat-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.4s ease;
    margin-bottom: 16px;
}
.cat-showcase-card:hover .cat-img-wrapper {
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.cat-showcase-card:hover .cat-img {
    transform: scale(1.05);
}
.cat-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
}
.cat-title-below {
    text-align: center;
    padding: 0 10px;
}
.cat-title-below h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-main);
    transition: color 0.3s ease;
}
.cat-showcase-card:hover .cat-title-below h3 {
    color: #666; /* Subtle hover effect on text */
}
@media (max-width: 1200px) {
    .cats-grid-modern { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .cats-grid-modern { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
    .cats-grid-modern { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-socials a {
    color: var(--text-main);
    font-size: 1.15rem;
    transition: opacity 0.3s ease;
}
.header-socials a:hover {
    opacity: 0.6;
}
.header-btn {
    padding: 8px 24px;
    font-size: 0.75rem;
}

@media (max-width: 1024px) {
    .header-actions {
        display: none; /* Hide on mobile/tablet to avoid header clutter */
    }
}


/* Contact Page Design */
.contact-details-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.contact-card {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    background: #fdfdfd;
    padding: 60px 40px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contact-card i {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 24px;
    display: inline-block;
}
.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}
.contact-card a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.contact-card a:hover {
    color: var(--text-main);
}

