/* ===================================
   GLOBAL STYLES & VARIABLES
   =================================== */

:root {
    --navy-blue: #20202e;
    --gold: #FFD700;
    --gold-light: #FFF4B5;
    --gold-dark: #B8860B;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-gray: #666;
    --dark-gray: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   MANDALA CANVAS BACKGROUND
   =================================== */

#mandalaCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--navy-blue);
    opacity: 1;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navy-blue);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* keep your animated gold text effect on the name */
.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #FFD700, #FFF4B5, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    animation: goldShimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

/* Mandala icon */
.logo-mandala {
    width: 48px;        /* Increased size */
    height: 48px;
    object-fit: contain;
    transition: transform 0.6s ease;  /* Smooth animation */

    /* Gold color filter */
    filter: brightness(0) saturate(100%) invert(79%) sepia(82%)
            saturate(560%) hue-rotate(5deg) brightness(105%) contrast(103%);
}

/* Rotate on hover */
.logo-mandala:hover {
    transform: rotate(360deg);
}



@keyframes goldShimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    transition: 0.3s;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding: 100px 20px 50px;
    background: transparent !important;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFF4B5 25%, #FFD700 50%, #FFA500 75%, #FFD700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldFlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.3));
    position: relative;
}

@keyframes goldFlow {
    0%, 100% {
        background-position: 0% center;
        filter: brightness(1) saturate(1) drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    }
    50% {
        background-position: 100% center;
        filter: brightness(1.4) saturate(1.3) drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
    }
}

.hero-content .subtitle {
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content .tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-specialties {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #FFD700, #FFF4B5, #FFD700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.hero-specialties .separator {
    opacity: 0.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: buttonShine 3s linear infinite;
}

@keyframes buttonShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    background: rgba(10, 14, 46, 0.8);
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    display: block;
}

/* Fade-in animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.8s; }
.fade-in:nth-child(5) { animation-delay: 1s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   SECTIONS COMMON STYLES
   =================================== */

section {
    padding: 100px 20px;
    position: relative;
    background: var(--navy-blue);
    color: var(--white);
}

section:nth-child(even) {
    background: var(--navy-blue);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% auto;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6),
                0 2px 20px rgba(255, 215, 0, 0.3);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.4),
                    0 2px 15px rgba(255, 215, 0, 0.2);
        background-position: 0% center;
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                    0 2px 25px rgba(255, 215, 0, 0.4);
        background-position: 100% center;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text .intro-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--navy-blue), #2a3161);
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(26, 33, 81, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.placeholder-content {
    text-align: center;
    color: #FFD700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    padding: 3rem;
}

.placeholder-content svg {
    margin-bottom: 1rem;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */

.portfolio-section {
    background: var(--navy-blue);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #FFD700;
    background: var(--navy-blue);
    color: #FFD700;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(10, 14, 46, 0.8);
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    border-color: #FFD700;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--white);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3),
                0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-image-placeholder {
    background: linear-gradient(135deg, var(--navy-blue), #2a3161);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    padding: 2rem;
}

.portfolio-image-placeholder svg {
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.portfolio-image-placeholder p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
    background: white;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 33, 81, 0.95), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    background: linear-gradient(135deg, #FFD700, #FFF4B5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.portfolio-overlay p {
    color: var(--white);
    font-size: 0.9rem;
}

.portfolio-item.hidden {
    display: none;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3),
                0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--navy-blue), #2a3161);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    color: #FFD700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.service-card ul li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 25px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.services-highlight {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid #FFD700;
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.1);
}

.services-highlight h3 {
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.services-list {
    list-style: none;
}

.services-list li {
    color: var(--text-gray);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    background: var(--navy-blue);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
}

.contact-method svg {
    color: #FFD700;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.contact-method h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-method a {
    color: #B8860B;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-method a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.rover-link {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 8px 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a2151;
    border-radius: 20px;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.rover-link:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.small-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--navy-blue);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.file-input-label {
    display: block;
    margin-bottom: 10px;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.file-input {
    display: none;
}

.form-group > .file-input-label {
    cursor: pointer;
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    border: 2px dashed #FFD700;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--navy-blue);
    font-weight: 600;
}

.form-group > .file-input-label:hover {
    background: linear-gradient(135deg, #e8e8e8, #f0f0f0);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.form-group > .file-input-label::before {
    content: '📷 ';
}

.file-preview {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.file-preview-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.file-preview-item .remove-file:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.file-count {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    display: block;
}

.form-message {
    margin-top: 1rem;
    padding: 12px 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a2151;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(255, 215, 0, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    background: linear-gradient(135deg, #FFD700, #FFF4B5, #FFD700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s ease-in-out infinite;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===================================
   MODAL - IMAGE VIEWER
   =================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #FFD700;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.modal-close:hover,
.modal-close:focus {
    color: #FFF4B5;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 33, 81, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-links li {
        padding: 1rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .hero-specialties {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-specialties .separator {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-content .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .contact-form {
        padding: 2rem 1.5rem;
    }
}


/* ===================================
   VCARD LANDING PAGE
   =================================== */

.vcard-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px; /* accounts for fixed navbar */
    background: var(--navy-blue);
    color: var(--white);
}

.vcard-card {
    background: var(--white);
    color: var(--navy-blue);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
                0 0 20px rgba(255, 215, 0, 0.25);
    border: 2px solid var(--gold);
}

.vcard-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.vcard-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.vcard-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Make buttons full-width on small screens */
.vcard-buttons .cta-button {
    width: 100%;
    text-align: center;
    max-width: 320px;
}

@media (min-width: 600px) {
    .vcard-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .vcard-buttons .cta-button {
        width: auto;
    }
}
