/* CSS Variables for Theme Colors */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #ffffff;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    max-width: 900px;
    line-height: 1.2;
}

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

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.highlight-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.about-founder,
.about-mission {
    color: var(--text-primary);
}

.about-image {
    text-align: center;
}

.founder-img {
    width: 100%;
    max-width: 300px;
    height: 380px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-large);
}

.founder-placeholder {
    width: 100%;
    max-width: 300px;
    height: 380px;
    background: var(--background-white);
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
    margin: 0 auto;
}

.founder-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Founder Video Section */
.founder-video-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-top: 1px solid var(--border-color);
}

.about-video {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.founder-video {
    width: 100%;
    max-width: 600px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
    transition: all 0.3s ease;
    cursor: pointer;
}

.founder-video:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.founder-fallback {
    width: 100%;
    max-width: 600px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
}

.video-placeholder {
    width: 100%;
    max-width: 600px;
    height: 350px;
    background: var(--background-white);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
    margin: 0 auto;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    display: flex;
    gap: 1rem;
}

.about-video:hover .video-controls {
    opacity: 1;
}

.video-play-pause,
.video-expand-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-play-pause:hover,
.video-expand-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-expand-btn {
    background: rgba(59, 130, 246, 0.8);
}

.video-expand-btn:hover {
    background: rgba(59, 130, 246, 1);
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
}

.video-loading.show {
    display: flex;
}

.video-loading i {
    font-size: 2rem;
    color: var(--primary-color);
}

.video-loading span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.show {
    display: flex;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    background: var(--background-white);
    border-radius: 15px;
    overflow: hidden;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.show .video-modal-content {
    transform: scale(1);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--gradient-primary);
    color: var(--text-light);
}

.video-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.video-modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-modal-body {
    padding: 0;
    position: relative;
}

.modal-video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    background: #000;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95vw;
        max-height: 85vh;
    }
    
    .video-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .video-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .modal-video {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 98vw;
        border-radius: 10px;
    }
    
    .video-modal-header {
        padding: 0.75rem 1rem;
    }
    
    .video-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .video-modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.9);
}

.image-modal.show {
    display: flex;
    opacity: 1;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal.show .image-modal-content {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    backdrop-filter: blur(10px);
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.image-modal-info {
    margin-top: 1rem;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.modal-image-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Image Modal Responsive */
@media (max-width: 768px) {
    .image-modal-close {
        top: -40px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .modal-image {
        max-height: 70vh;
    }
    
    .image-modal-info {
        padding: 0.75rem 1.5rem;
        margin-top: 0.75rem;
    }
    
    .modal-image-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .image-modal-close {
        top: -35px;
        right: 5px;
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .modal-image {
        max-height: 60vh;
    }
    
    .image-modal-info {
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
    
    .modal-image-title {
        font-size: 1rem;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service Detail Section */
.service-detail-section {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.service-detail-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.service-detail-subtitle {
    color: var(--text-secondary);
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-category-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-color);
    background: var(--background-light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.service-detail-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-detail-list li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-detail-list li:last-child {
    border-bottom: none;
}

.service-detail-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    top: 0.75rem;
}

.service-detail-list li:hover {
    background: var(--background-light);
    padding-left: 2.5rem;
    border-radius: 5px;
}

.service-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background: var(--background-light);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-placeholder i {
    font-size: 2rem;
    color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Projects Section */
.projects {
    background: var(--background-light);
}

.projects-category {
    margin-bottom: 4rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    justify-content: center;
}

.category-title i {
    color: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: start;
}

.project-card {
    background: var(--background-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.project-image {
    height: 260px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.project-image:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.project-image::before {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.project-image:hover::before {
    opacity: 1;
}

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

/* Special styling for images that need to show full content */
.project-image-contain {
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-contain img {
    object-fit: contain;
    width: auto;
    height: 100%;
    max-width: 100%;
}

.project-card:hover .project-image-contain img {
    transform: scale(1.02);
}

.project-placeholder {
    width: 100%;
    height: 200px;
    background: var(--background-light);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.project-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-content b {
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.contact-cards {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.contact-card.single-card {
    width: 100%;
    max-width: 400px;
}

.contact-card {
    position: relative;
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.contact-card:hover .contact-card-overlay {
    opacity: 0.05;
}

.contact-card-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.contact-card-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.contact-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-card-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.contact-link:hover::before {
    left: 0;
}

.contact-link:hover {
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

/* Email Card Specific Styling */
.email-card .contact-card-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.email-card:hover .contact-card-icon {
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.email-card .contact-link {
    border-color: #ef4444;
    color: #ef4444;
}

.email-card .contact-link::before {
    background: #ef4444;
}

.email-card .contact-link:hover {
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}


/* Contact CTA */
.contact-cta {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    background: var(--background-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-cta h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}


/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--text-light);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.footer-text p {
    margin: 0;
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

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

    .founder-video-section {
        padding: 1.5rem 0;
    }

    .founder-video,
    .founder-fallback,
    .video-placeholder {
        max-width: 500px;
        height: 280px;
    }

    .video-play-pause,
    .video-expand-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .video-controls {
        gap: 0.75rem;
    }

    .contact-cards {
        max-width: 100%;
    }

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

    .contact-card-icon {
        width: 70px;
        height: 70px;
    }

    .contact-card-icon i {
        font-size: 1.8rem;
    }

    .contact-cta {
        padding: 1.5rem;
    }

    .contact-cta h3 {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Service Detail Section Responsive */
    .service-detail-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .service-detail-title {
        font-size: 1.5rem;
    }
    
    .service-detail-subtitle {
        font-size: 1.1rem;
    }
    
    .service-category-title {
        font-size: 1.2rem;
        padding: 0.6rem 0.8rem;
    }
    
    .service-detail-list li {
        padding: 0.6rem 0;
        padding-left: 1.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .contact-cards {
        max-width: 100%;
        padding: 0 1rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .contact-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .contact-card-icon i {
        font-size: 1.5rem;
    }

    .contact-card-content h4 {
        font-size: 1.25rem;
    }

    .contact-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .contact-cta {
        padding: 1.25rem;
    }

    .contact-cta h3 {
        font-size: 1.3rem;
    }

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

    .founder-img,
    .founder-placeholder {
        max-width: 200px;
        height: 260px;
    }

    .founder-video,
    .founder-fallback,
    .video-placeholder {
        max-width: 350px;
        height: 200px;
    }
    
    .founder-video-section {
        padding: 1rem 0;
    }

    .video-play-pause,
    .video-expand-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .video-controls {
        gap: 0.5rem;
    }

    .video-loading {
        padding: 0.75rem;
    }

    .video-loading i {
        font-size: 1.5rem;
    }
    
    /* Service Detail Section Mobile */
    .service-detail-section {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
    }
    
    .service-detail-title {
        font-size: 1.3rem;
    }
    
    .service-detail-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-category-title {
        font-size: 1.1rem;
        padding: 0.5rem 0.7rem;
    }
    
    .service-detail-list li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-detail-list li::before {
        font-size: 0.8rem;
        top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .contact-cards {
        max-width: 100%;
        padding: 0 1rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .contact-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .contact-card-icon i {
        font-size: 1.5rem;
    }

    .contact-card-content h4 {
        font-size: 1.25rem;
    }

    .contact-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .contact-cta {
        padding: 1.25rem;
    }

    .contact-cta h3 {
        font-size: 1.3rem;
    }

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

    .founder-img,
    .founder-placeholder {
        max-width: 200px;
        height: 260px;
    }

    .founder-video,
    .founder-fallback,
    .video-placeholder {
        max-width: 350px;
        height: 200px;
    }
    
    .founder-video-section {
        padding: 1rem 0;
    }

    .video-play-pause,
    .video-expand-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .video-controls {
        gap: 0.5rem;
    }

    .video-loading {
        padding: 0.75rem;
    }

    .video-loading i {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}
