/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Poppins:wght@300;400;600;700&display=swap');

/* CSS Variables */
:root {
    --services-accent-blue: #0f6ba8;
    --services-accent-green: #2ecc71;
    --services-surface-edge: #d6e5e9;
    --services-shadow-deep: rgba(17, 38, 66, 0.18);
}
/* * {
    outline: 1px solid red;
} */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #000000 100%);
    color: #ffffff;
    position: relative;
    /* min-height: 100vh; */
}

/* Animated Stars Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.star {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.star:nth-child(1) { width: 3px; height: 3px; background: #ff6b6b; animation-duration: 8s; }
.star:nth-child(2) { width: 2px; height: 2px; background: #4ecdc4; animation-duration: 12s; }
.star:nth-child(3) { width: 4px; height: 4px; background: #45b7d1; animation-duration: 10s; }
.star:nth-child(4) { width: 2px; height: 2px; background: #f7d794; animation-duration: 15s; }
.star:nth-child(5) { width: 3px; height: 3px; background: #c44569; animation-duration: 9s; }
.star:nth-child(6) { width: 2px; height: 2px; background: #00d2d3; animation-duration: 11s; }
.star:nth-child(7) { width: 4px; height: 4px; background: #ff9ff3; animation-duration: 13s; }
.star:nth-child(8) { width: 3px; height: 3px; background: #54a0ff; animation-duration: 7s; }
.star:nth-child(9) { width: 2px; height: 2px; background: #5f27cd; animation-duration: 14s; }
.star:nth-child(10) { width: 3px; height: 3px; background: #00d84a; animation-duration: 16s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 1; }
    50% { transform: translateY(-10px) rotate(180deg); opacity: 0.6; }
    75% { transform: translateY(-30px) rotate(270deg); opacity: 1; }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 10;
    padding: 3rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Logo Section */
.logo-section {
    text-align: center;
    position: relative;
}

.main-title {    
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b, #4ecdc4, #45b7d1, #f7d794);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 0 60px rgba(255, 107, 107, 0.3);
    margin-bottom: 0.5rem;
    filter: brightness(1.2) contrast(1.1);
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline-subtitle a {
    display: inline-block;
}

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

/* Fixed Contact Buttons */
.fixed-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    animation: floatButtons 3s ease-in-out infinite;
}

.call-btn {
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation-delay: 0s;
}

.whatsapp-btn {
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    animation-delay: 1.5s;
}

.home-btn {
    bottom: 90px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    animation-delay: 0.75s;
}

.fixed-btn:hover {
    transform: scale(1.15) rotateZ(10deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.2);
    color: #ffffff;
}

.call-btn:hover {
    animation: bounceEffect 0.6s ease infinite;
}

.whatsapp-btn:hover {
    animation: bounceEffect 0.6s ease infinite;
}

.home-btn:hover {
    animation: bounceEffect 0.6s ease infinite;
}

@keyframes ringEffect {
    0%, 100% { transform: scale(1.15) rotateZ(0deg); }
    25% { transform: scale(1.2) rotateZ(5deg); }
    75% { transform: scale(1.1) rotateZ(-5deg); }
}

@keyframes bounceEffect {
    0%, 100% { transform: scale(1.15) translateY(0); }
    50% { transform: scale(1.25) translateY(-5px); }
}

@keyframes floatButtons {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}





/* ==================== ABOUT PAGE STYLES ==================== */

/* Hero Section Styles */
.hero-section {
    
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5), 0 0 60px rgba(118, 75, 162, 0.3);
    object-fit: cover;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(234, 234, 102, 0.8), 0 0 40px rgba(118, 75, 162, 0.5);
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.btn-custom {
    padding: 12px 30px;
    margin: 0;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-outline-custom {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-custom:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    color: #fff;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    line-height: 1.8;
    font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Education & Experience Cards */
.timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
}

.timeline-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
    border-color: rgba(102, 126, 234, 0.6);
}

.timeline-card ol {
    padding-left: 20px;
    color: #6a1604;
    font-size: 1rem;
    font-weight: 600;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.timeline-subtitle {
    color: #a0aec0;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Skills Section */
.skill-item {
    margin-bottom: 30px;
}

.skill-name {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.progress {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
    transition: width 1s ease;
}

/* Contact Section */
.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
    border-color: rgba(102, 126, 234, 0.6);
}

.contact-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.contact-detail {
    color: #a0aec0;
    word-break: break-word;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.social-icon:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    color: #fff;
    padding: 15px;
    margin-bottom: 20px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #667eea;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control::placeholder {
    color: #a0aec0;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Map Section */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    border-top: 1px solid rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
}

.footer-text {
    padding: 10px;
    margin-bottom: 20px;
    color: #a0aec0;
}

/* Modal Styles - Redesigned */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    display: none;
}

.modal-content {
    padding: 40px 40px 0 40px;
    color: #2c3e50;
}

.modal-content .section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.modal-content .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.modal-content .about-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dce4ec;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modal-content .about-content p {
    margin-bottom: 15px;
    color: #34495e;
}

.modal-content .about-profile {
    padding: 28px;
    background: linear-gradient(145deg, #ffffff 0%, #edf7fb 100%);
    border-top: 4px solid #3498db;
    box-shadow: 0 6px 0 #cfe4ed, 0 13px 24px rgba(23, 43, 77, 0.1);
}

.modal-content .about-profile-lead {
    margin-bottom: 20px;
    color: #033470;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.75;
}

.about-profile-pillars {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-content .about-profile-pillars p {
    display: grid;
    grid-template-columns: minmax(145px, 0.8fr) minmax(0, 2fr);
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #d5e7ed;
    border-left: 3px solid #2ecc71;
    border-radius: 6px;
    box-shadow: 0 2px 0 #dbe9ed;
}

.about-profile-pillars strong {
    color: #1676a7;
    font-size: 0.9rem;
}

.about-profile-pillars span {
    color: #425b70;
    font-size: 0.9rem;
    line-height: 1.55;
}

.modal-content .about-profile-closing {
    margin-bottom: 0;
    color: #34495e;
    font-style: italic;
}

@media (max-width: 600px) {
    .modal-content .about-profile {
        padding: 20px 16px;
    }

    .modal-content .about-profile-lead {
        font-size: 1rem;
    }

    .modal-content .about-profile-pillars p {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 12px;
    }
}

.modal-content .academic-card {
    --academic-color: #1976d2;
    --academic-surface: #eaf4ff;
    padding: 26px 26px 22px;
    background: linear-gradient(145deg, #ffffff 0%, var(--academic-surface) 100%);
    border: 1px solid color-mix(in srgb, var(--academic-color) 28%, #ffffff);
    border-top: 5px solid var(--academic-color);
    border-left: 1px solid color-mix(in srgb, var(--academic-color) 28%, #ffffff);
    box-shadow: 0 7px 0 color-mix(in srgb, var(--academic-color) 28%, #ffffff), 0 14px 24px rgba(23, 43, 77, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.modal-content .academic-card::before {
    display: none;
}

.modal-content .academic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 0 color-mix(in srgb, var(--academic-color) 28%, #ffffff), 0 19px 28px rgba(23, 43, 77, 0.16);
}

.modal-content .academic-card-training {
    --academic-color: #1976d2;
    --academic-surface: #eaf4ff;
}

.modal-content .academic-card-mca {
    --academic-color: #7b3fa1;
    --academic-surface: #f6effa;
}

.modal-content .academic-card-bca {
    --academic-color: #16865b;
    --academic-surface: #eaf9f1;
}

.modal-content .academic-card .timeline-year {
    background: var(--academic-color);
    box-shadow: 0 3px 0 color-mix(in srgb, var(--academic-color) 65%, #000000);
}

.modal-content .academic-card .timeline-title {
    color: var(--academic-color);
}

.modal-content .academic-card .timeline-subtitle {
    color: #24415d;
}

.modal-content .academic-card p {
    color: #34495e;
    line-height: 1.75;
}

@media (max-width: 600px) {
    .modal-content .academic-card {
        padding: 20px 18px 17px;
    }
}

.portfolio-intro-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #033470;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.portfolio-intro-label i {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 5px;
    box-shadow: 0 3px 0 #2384a9;
    color: #ffffff;
    font-size: 0.85rem;
}

.portfolio-intro p + p {
    margin-top: 8px;
}

.portfolio-gallery {
    margin-bottom: 24px;
}

.portfolio-directory {
    margin-bottom: 24px;
    padding: 20px;
    background:
        radial-gradient(circle at top left, rgba(52, 152, 219, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(46, 204, 113, 0.14), transparent 32%),
        linear-gradient(145deg, #f9fcfd, #eef6f9 55%, #e8f0f4 100%);
    border: 1px solid #d5e3ea;
    border-radius: 24px;
    box-shadow: 0 14px 0 #d5e3ea, 0 24px 38px rgba(23, 43, 77, 0.14);
    position: relative;
    overflow: hidden;
}

.portfolio-directory::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.34), transparent 38%, rgba(255, 255, 255, 0.12) 78%, transparent 100%);
    pointer-events: none;
}

.portfolio-showcase {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.portfolio-card {
    perspective: 1400px;
}

.portfolio-card-link {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 13px 18px;
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(239, 247, 251, 0.97) 58%, rgba(226, 239, 246, 0.97));
    border: 1px solid rgba(190, 214, 225, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -8px 14px rgba(170, 194, 205, 0.14),
        0 7px 0 #d7e5ec,
        0 14px 20px rgba(17, 38, 66, 0.1);
    transform: none;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    color: #04345b;
}

.portfolio-card:nth-child(even) .portfolio-card-link {
    transform: none;
}

.portfolio-card-link::before,
.portfolio-card-link::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.portfolio-card-link::before {
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.84), transparent 35%, transparent 72%, rgba(52, 152, 219, 0.08));
}

.portfolio-card-link::after {
    top: 16px;
    left: 14px;
    width: 4px;
    height: calc(100% - 32px);
    border-radius: 999px;
    background: linear-gradient(180deg, #1c8bc3, #2ecc71);
    box-shadow: 0 0 18px rgba(46, 204, 113, 0.18);
}

.portfolio-card-link:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 152, 219, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -10px 15px rgba(144, 183, 199, 0.16),
        0 9px 0 #cbdee8,
        0 18px 24px rgba(17, 38, 66, 0.14);
    color: #0a5f95;
}

.portfolio-card-title {
    display: block;
    padding-left: 14px;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.35;
    position: relative;
    z-index: 1;
}

.portfolio-card-title::after {
    content: '↗';
    margin-left: 10px;
    color: #2ecc71;
    font-size: 0.95rem;
}

.portfolio-card-tech {
    display: block;
    margin-top: 6px;
    padding-left: 14px;
    color: #7b8794;
    font-size: 0.8rem;
    line-height: 1.45;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

.portfolio-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio-list li {
    min-width: 0;
}

.portfolio-list .timeline-subtitle {
    margin: 0;
}

.portfolio-list a {
    display: flex;
    min-height: 100%;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(145deg, #ffffff, #eef7fb);
    border: 1px solid #d5e5ed;
    border-radius: 8px;
    box-shadow: 0 4px 0 #d5e5ed, 0 8px 15px rgba(23, 43, 77, 0.08);
    color: #033470;
    font-size: 0.9rem;
    line-height: 1.45;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.portfolio-list a::before {
    content: '›';
    color: #2ecc71;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.portfolio-list a::after {
    content: '↗';
    margin-left: auto;
    color: #3498db;
    font-size: 1rem;
}

.portfolio-list a:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #bcdbe9, 0 12px 20px rgba(23, 43, 77, 0.12);
    color: #1676a7;
}

.services-directory {
    margin-bottom: 24px;
    padding: 22px;
    background:
        radial-gradient(circle at top left, rgba(91, 192, 235, 0.2), transparent 34%),
        radial-gradient(circle at bottom right, rgba(46, 204, 113, 0.18), transparent 30%),
        linear-gradient(145deg, #f8fbfc, #edf5f7 55%, #e5f0f5 100%);
    border: 1px solid var(--services-surface-edge);
    border-radius: 24px;
    box-shadow: 0 16px 0 var(--services-surface-edge), 0 26px 45px rgba(23, 43, 77, 0.14);
    position: relative;
    overflow: hidden;
}

.services-directory::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 40%, rgba(255, 255, 255, 0.12) 75%, transparent 100%);
    pointer-events: none;
}

.services-showcase {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    list-style: none;
    perspective: 1400px;
}

.service-card-face {
    position: relative;
    min-height: 100%;
    padding: 22px 20px 20px;
    border-radius: 22px;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 252, 0.96) 50%, rgba(225, 240, 247, 0.96) 100%);
    border: 1px solid rgba(186, 215, 225, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -12px 18px rgba(164, 197, 210, 0.18),
        0 10px 0 #d7e7ee,
        0 22px 28px rgba(17, 38, 66, 0.12);
    transform: none;
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:nth-child(even) .service-card-face {
    transform: none;
}

.service-card-face::before,
.service-card-face::after {
    content: '';
    position: absolute;
    border-radius: inherit;
    pointer-events: none;
}

.service-card-face::before {
    inset: 1px;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.85), transparent 34%, transparent 68%, rgba(52, 152, 219, 0.08));
}

.service-card-face::after {
    inset: auto 18px 14px 18px;
    height: 18px;
    background: radial-gradient(circle, rgba(19, 39, 67, 0.18) 0%, rgba(19, 39, 67, 0) 72%);
    transform: translateZ(-1px);
    filter: blur(8px);
}

.service-card:hover .service-card-face {
    transform: translateY(-5px);
    border-color: rgba(52, 152, 219, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -12px 18px rgba(124, 170, 191, 0.18),
        0 14px 0 #c9dfe8,
    0 28px 38px var(--services-shadow-deep);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.service-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--services-accent-blue), var(--services-accent-green));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 0 rgba(11, 66, 102, 0.28), 0 16px 20px rgba(15, 56, 90, 0.2);
    color: #ffffff;
    font-size: 1.2rem;
    transform: translateZ(26px);
}

.services-showcase .timeline-subtitle {
    margin: 0;
    color: #07345a;
    font-size: 1rem;
    line-height: 1.35;
}

.service-card-face p {
    margin: 0;
    color: #31506a;
    font-size: 0.94rem;
    line-height: 1.72;
}

.service-card-face p + p {
    margin-top: 11px;
}

@media (max-width: 600px) {
    .portfolio-directory {
        padding: 14px;
        border-radius: 20px;
        box-shadow: 0 10px 0 #d5e3ea, 0 18px 24px rgba(23, 43, 77, 0.12);
    }

    .portfolio-card-link,
    .portfolio-card:nth-child(even) .portfolio-card-link,
    .portfolio-card:hover .portfolio-card-link {
        transform: none;
    }

    .portfolio-card-link {
        padding: 12px 14px 12px 16px;
        border-radius: 18px;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            inset 0 -8px 14px rgba(170, 194, 205, 0.14),
            0 8px 0 #d7e5ec,
            0 16px 22px rgba(17, 38, 66, 0.12);
    }

    .portfolio-card-link::after {
        top: 14px;
        left: 12px;
        height: calc(100% - 28px);
    }

    .portfolio-card-title,
    .portfolio-card-tech {
        padding-left: 12px;
    }

    .portfolio-list {
        grid-template-columns: 1fr;
    }

    .services-directory {
        padding: 14px;
        border-radius: 20px;
        box-shadow: 0 10px 0 var(--services-surface-edge), 0 18px 24px rgba(23, 43, 77, 0.12);
    }

    .services-showcase {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card-face,
    .service-card:nth-child(even) .service-card-face,
    .service-card:hover .service-card-face {
        transform: none;
    }

    .service-card-face {
        padding: 18px 16px;
        border-radius: 18px;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            inset 0 -10px 14px rgba(164, 197, 210, 0.15),
            0 8px 0 #d7e7ee,
            0 16px 22px rgba(17, 38, 66, 0.12);
    }

    .service-card-header {
        align-items: flex-start;
    }

    .service-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
}

.modal-content .timeline-card {
    background: #ffffff;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modal-content .timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3498db, #2ecc71);
}

.modal-content .timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.modal-content .product-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    color: var(--category-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}

.product-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.product-category {
    --category-color: #1976d2;
    --category-surface: #eaf4ff;
    position: relative;
    min-width: 0;
    padding: 20px 18px 16px;
    background: linear-gradient(145deg, #ffffff 0%, var(--category-surface) 100%);
    border: 1px solid color-mix(in srgb, var(--category-color) 25%, #ffffff);
    border-top: 4px solid var(--category-color);
    border-radius: 8px;
    box-shadow: 0 6px 0 color-mix(in srgb, var(--category-color) 30%, #ffffff), 0 12px 20px rgba(23, 43, 77, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 0 color-mix(in srgb, var(--category-color) 30%, #ffffff), 0 17px 24px rgba(23, 43, 77, 0.16);
}

.product-category-software {
    --category-color: #1976d2;
    --category-surface: #eaf4ff;
}

.product-category-websites {
    --category-color: #d97706;
    --category-surface: #fff6e7;
}

.product-category-mobile {
    --category-color: #16865b;
    --category-surface: #eaf9f1;
}

.product-heading i {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    background: var(--category-color);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 0 color-mix(in srgb, var(--category-color) 65%, #000000);
    color: #ffffff;
    font-size: 0.9rem;
}

.product-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-list li {
    position: relative;
    padding: 9px 0 9px 16px;
    border-top: 1px solid color-mix(in srgb, var(--category-color) 18%, #ffffff);
}

.product-list li::before {
    content: '›';
    position: absolute;
    top: 6px;
    left: 0;
    color: var(--category-color);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.product-list .timeline-subtitle {
    margin: 0;
    color: #24415d;
    font-size: 0.9rem;
    line-height: 1.45;
}

.product-list a:hover {
    color: var(--category-color);
}

.product-list li {
    padding: 12px 0;
}

.product-list li::before {
    display: none;
}

.product-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid color-mix(in srgb, var(--category-color) 22%, #ffffff);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 0 color-mix(in srgb, var(--category-color) 18%, #ffffff);
}

.product-code {
    display: block;
    color: var(--category-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-item-card p {
    margin: 5px 0 0;
    color: #587085;
    font-size: 0.82rem;
    line-height: 1.5;
}

.product-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.product-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-action:hover {
    color: #ffffff!important;
    transform: translateY(-2px);
}

.product-action-details { background: #1976d2; box-shadow: 0 3px 0 #11599e; }
.product-action-whatsapp { background: #16865b; box-shadow: 0 3px 0 #0e6342; }
.product-action-mail { background: #d97706; box-shadow: 0 3px 0 #a85705; }

.product-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 24, 38, 0.84);
    backdrop-filter: blur(7px);
}

.product-video-overlay[hidden] { display: none; }

.product-video-dialog {
    width: min(100%, 900px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}

.product-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #163b5c, #1976d2);
    color: #ffffff;
}

.product-video-header h3 { margin: 0; font-size: 1rem; }

.product-video-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
}

.product-video-frame { aspect-ratio: 16 / 9; background: #101820; }
.product-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 650px) {
    .product-item-card { align-items: flex-start; flex-direction: column; }
    .product-actions { width: 100%; justify-content: stretch; }
    .product-action { flex: 1 1 0; }
}

.modal-content .timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #033470;
}

.modal-content .timeline-subtitle {
    color: #033470;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.modal-content .timeline-card p,
.modal-content .timeline-card ul {
    color: #34495e;
    line-height: 1.7;
}

.modal-content .timeline-card ul {
    padding-left: 20px;
}

.modal-content .timeline-card li {
    margin-bottom: 8px;
}

.modal-content .services-list {
    padding-left: 0;
    list-style: none;
}

.modal-content .services-list li {
    position: relative;
    padding-left: 18px;
}

.modal-content .services-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: -1px;
    color: #6a1604;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.modal-content .services-list .timeline-subtitle {
    margin-bottom: 0;
}

.skills-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.skill-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-content .skill-item {
    margin-bottom: 0;
}

.modal-content .skill-name {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    color: #2c3e50;
    font-size: 0.95rem;
}

.modal-content .progress {
    height: 10px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
}

.modal-content .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.modal-footer-buttons {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #ffffff;
    border-top: 2px solid #e8eef5;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.modal-btn {
    flex: 1;
    max-width: 200px;
    padding: 12px 20px;
    border: none;
    border-radius: 7px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-btn i {
    font-size: 1rem;
}

.modal-btn-call {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.modal-btn-call:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.modal-btn-mail {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.modal-btn-mail:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.modal-btn-close {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.modal-btn-close:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

@media (max-width: 768px) {
    .modal-footer-buttons {
        gap: 8px;
        padding: 12px 10px;
    }
    
    .modal-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
        max-width: none;
    }
    
    .modal-btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .modal-content .timeline-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
            color: #033470;
        }
    
        .modal-content .timeline-subtitle {
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 2px;
            color: #033470;
        }                
        .modal-content .timeline-card p {
            font-size: 12px;
        }

        .modal-content .about-content p {
            font-size: 12px;
        }
        .modal-content .timeline-card li {
            font-size: 12px;
        }



    .modal-footer-buttons {
        gap: 6px;
        padding: 10px 8px;
    }
    
    .modal-btn {
        padding: 10px 8px;
        font-size: 0.75rem;
        gap: 4px;
    }
    
    .modal-btn i {
        font-size: 0.85rem;
    }
}

.mt-3 {
    margin-top: 1rem;
}

/* Contact Modal Styles */
.contact-hub {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 20px;
    margin-bottom: 24px;
}

.contact-enquiry-hub {
    display: block;
    perspective: 1200px;
}

.enquiry-form {
    position: relative;
    padding: 26px;
    background: linear-gradient(145deg, #ffffff 0%, #e8f5fa 100%);
    border: 1px solid #c9e0eb;
    border-top: 4px solid #3498db;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 7px 0 #bad8e5, 0 16px 28px rgba(23, 43, 77, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.enquiry-form:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 0 #bad8e5, 0 20px 32px rgba(23, 43, 77, 0.17);
}

.enquiry-form-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.enquiry-form-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 7px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 0 #2384a9, 0 7px 12px rgba(35, 132, 169, 0.2);
    color: #ffffff;
}

.enquiry-form-heading h3 {
    margin: 0 0 3px;
    color: #033470;
    font-size: 1.05rem;
}

.enquiry-form-heading p {
    margin: 0;
    color: #607789;
    font-size: 0.88rem;
}

.enquiry-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.enquiry-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #24415d;
    font-size: 0.82rem;
    font-weight: 600;
}

.enquiry-field input,
.enquiry-field select,
.enquiry-field textarea {
    width: 100%;
    padding: 11px 12px;
    background: #ffffff;
    border: 1px solid #c3dae4;
    border-radius: 6px;
    box-shadow: inset 0 2px 4px rgba(23, 43, 77, 0.07), 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #24415d;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.enquiry-form .select2-container {
    width: 100% !important;
}

.enquiry-form .select2-container--default .select2-selection--single {
    height: 43px;
    padding: 6px 30px 6px 12px;
    background: #ffffff;
    border: 1px solid #c3dae4;
    border-radius: 6px;
    box-shadow: inset 0 2px 4px rgba(23, 43, 77, 0.07), 0 1px 0 rgba(255, 255, 255, 0.9);
}

.enquiry-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: #24415d;
    font-size: 0.82rem;
    line-height: 29px;
}

.enquiry-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 41px;
    right: 6px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #3498db;
    border-radius: 4px;
    outline: none;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #1976d2;
}

.enquiry-field textarea {
    resize: vertical;
    min-height: 115px;
}

.enquiry-field input:focus,
.enquiry-field select:focus,
.enquiry-field textarea:focus {
    border-color: #3498db;
    box-shadow: inset 0 1px 2px rgba(23, 43, 77, 0.04), 0 0 0 3px rgba(52, 152, 219, 0.16), 0 3px 7px rgba(52, 152, 219, 0.12);
}

.service-checkbox-dropdown {
    position: relative;
}

.service-checkbox-trigger {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    background: #ffffff;
    border: 1px solid #c3dae4;
    border-radius: 6px;
    box-shadow: inset 0 2px 4px rgba(23, 43, 77, 0.07), 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #24415d;
    font: inherit;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
}

.service-checkbox-trigger:focus {
    border-color: #3498db;
    box-shadow: inset 0 1px 2px rgba(23, 43, 77, 0.04), 0 0 0 3px rgba(52, 152, 219, 0.16), 0 3px 7px rgba(52, 152, 219, 0.12);
    outline: none;
}

.service-checkbox-trigger i {
    color: #3498db;
    transition: transform 0.2s ease;
}

.service-checkbox-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.service-checkbox-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #bcd6e1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(23, 43, 77, 0.2);
}

.service-checkbox-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    border-radius: 5px;
    color: #24415d;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.35;
}

.service-checkbox-options label:hover {
    background: #edf7fb;
}

.service-checkbox-options input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    accent-color: #3498db;
}

.phone-input-group {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 8px;
}

.enquiry-message-field {
    grid-column: 1 / -1;
}

.enquiry-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin-top: 20px;
    padding: 13px 18px;
    background: linear-gradient(135deg, #1976d2, #2ecc71);
    border: 0;
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 5px 0 #16865b, 0 12px 20px rgba(23, 118, 167, 0.25);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 7px 0 #16865b, 0 15px 24px rgba(23, 118, 167, 0.3);
}

.enquiry-submit-btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #16865b;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card-modal {
    background: #ffffff;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card-modal:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-details-card {
    padding: 26px;
    background: linear-gradient(145deg, #ffffff 0%, #eef8f4 100%);
    border-top: 4px solid #2ecc71;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 0 #cbe7da, 0 13px 24px rgba(23, 43, 77, 0.13);
}

.contact-map-card {
    width: 100%;
    height: 100%;
    min-height: 300px;
    padding: 0;
    border-top: 4px solid #3498db;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 0 #c9e0eb, 0 13px 24px rgba(23, 43, 77, 0.13);
}

.contact-details-card:hover,
.contact-map-card:hover {
    transform: translateY(-4px);
}

.contact-icon-modal {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.contact-details-card .contact-icon-modal {
    width: 54px;
    height: 54px;
    margin-bottom: 13px;
    border-radius: 8px;
    box-shadow: 0 4px 0 #2384a9;
}

.contact-title-modal {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-location {
    margin: 0 0 17px;
    color: #526b7c;
    font-size: 0.9rem;
}

.contact-location i {
    margin-right: 6px;
    color: #e67e22;
}

.contact-methods {
    display: grid;
    gap: 9px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #d7e7e2;
    border-radius: 6px;
    box-shadow: 0 2px 0 #d7e7e2;
    color: #033470;
    font-size: 0.88rem;
    line-height: 1.35;
    text-align: left;
}

.contact-method:hover {
    color: #16865b;
    transform: translateX(3px);
}

.contact-method > i {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 29px;
    background: #eaf9f1;
    border-radius: 5px;
    color: #16865b;
}

.contact-method span {
    overflow-wrap: anywhere;
}

.contact-method small {
    display: block;
    color: #6a8290;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-detail-modal {
    line-height: 1.6;
    color: #033470;
    margin: 0;
    /* font-family: 'Orbitron', sans-serif; */
    font-weight: 600;    
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.contact-detail-modal a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-detail-modal a:hover {
    color: #2ecc71;
}

.social-icons-modal {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-icon-modal {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecf0f1;
    color: #2c3e50;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-modal:hover {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 700px) {
    .contact-hub {
        grid-template-columns: 1fr;
    }

    .contact-map-card {
        min-height: 280px;
    }

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

    .enquiry-message-field {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .enquiry-form {
        padding: 20px 15px;
    }

    .phone-input-group {
        grid-template-columns: 92px minmax(0, 1fr);
    }
}

.map-container-modal {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dce4ec;
    margin-top: 20px;
}

.map-container-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-modal {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dce4ec;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group-modal {
    margin-bottom: 20px;
}

.form-group-modal label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group-modal input,
.form-group-modal textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #2c3e50;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.form-group-modal input:focus,
.form-group-modal textarea:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group-modal textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit-modal {
    width: 100%;
    padding: 12px 30px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-modal:hover {
    background: linear-gradient(135deg, #2980b9, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-container {       
        margin: 10px auto;
    }
    
    .modal-content {
        padding: 10px;
    }
    
    .modal-content .section-title {
        font-size: 1.5rem;
    }
    
    .modal-content .timeline-card {
        padding: 10px;
    }
    
    .skills-grid-modal {
        grid-template-columns: 1fr;
    }
}



/* Responsive Design for Main Page */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }

    .fixed-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .call-btn {
        bottom: 10px;
        left: 10px;
    }

    .whatsapp-btn {
        bottom: 10px;
        right: 10px;
    }

    .home-btn {
        bottom: 70px;
        left: 10px;
    }

    /* Hero Buttons Responsive for 768px */
    .hero-buttons {
        gap: 10px;
        padding: 0 10px;
        flex-wrap: nowrap;
    }

    .btn-custom {
        padding: 11px 20px;
        width: 180px;
        ;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 1rem;
    }

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

    .services-grid h2 {
        font-size: 1.3rem;
        padding: 0.7rem 1rem;
        margin: 1.5rem 0 1rem 0;
    }

    .subtitle {
        font-size: 1rem;
    }
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
        margin-bottom: -15px;
    }

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

    .timeline-card {
        padding: 20px;
    }
 
    /* Countdown timer - 2 items per row on mobile */
    .about-content>div {
        gap: 15px !important;
    }

    .about-content .timeline-card {
        min-width: calc(50% - 10px) !important;
        flex: 0 0 calc(50% - 10px) !important;
        padding: 20px 15px !important;
    }

    .countdown-number {
        font-size: 2.5rem !important;
    }

    .countdown-label {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .about-content .timeline-card {
        min-width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        padding: 15px 10px !important;
    }

    .countdown-number {
        font-size: 2rem !important;
    }
.modal-content .section-title {
    font-size: 1.2rem;
}
    .countdown-label {
        font-size: 0.8rem !important;
    }
}

/* Mobile responsiveness for upcoming pages */
@media (max-width: 768px) {
    .main-container {
        padding: 0.5rem;
        margin: 0;
    }

    .logo-section {
        padding: 1rem;
        text-align: center;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }

      .hero-buttons {
        gap: 10px;
        padding: 0 10px;
        flex-wrap: nowrap;
    }

    .btn-custom {
        width: 150px;
        padding: 12px 18px;
        font-size: 0.8rem;
    }   
}

/* Mobile Responsive - 375px and below */
@media (max-width: 380px) {
    .hero-buttons {
        gap: 6px;
        padding: 0 8px;
        flex-wrap: nowrap;
    }

    .btn-custom {
        width: 120px;
        ;
        padding: 10px 12px;
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }

    .btn-custom i {
        font-size: 0.8rem;
        margin-right: 3px;
    }
}



/* Map Container Adjustments */
.map-container-modal iframe {
    height: 300px !important;
    width: 100%;
}

.contact-card-modal.tall {
    height: 300px !important;
}

.contact-detail-modal.left-align {
    text-align: left;
}

/* Progress Bar Width and Color Classes */
.progress-bar.w-99 {
    width: 99%;
    background: linear-gradient(90deg, #1976d2, #3498db);
}

.progress-bar.w-100 {
    width: 100%;
    background: linear-gradient(90deg, #16865b, #2ecc71);
}

.progress-bar.w-98 {
    width: 98%;
    background: linear-gradient(90deg, #e58a12, #f0b429);
}

.progress-bar.w-97 {
    width: 97%;
    background: linear-gradient(90deg, #d84a4a, #e8684d);
}



/* ==========================Call To Action Responsive========================== */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.hero-buttons .btn-custom {
    flex: 0 0 calc(33.333% - 15px);
    max-width: 320px;
    min-width: 220px;
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 12px;
    white-space: nowrap;
}

/* Tablet */
@media (max-width:991px) {

    .hero-buttons {
        gap: 12px;
    }

    .hero-buttons .btn-custom {
        flex: 0 0 calc(50% - 12px);
        min-width: auto;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width:767px) {

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        padding: 0 15px;
    }

    .hero-buttons .btn-custom {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        font-size: 15px;
        padding: 14px 18px;
        justify-content: center;
    }

    .hero-buttons .btn-custom i {
        margin-right: 8px;
    }
}

/* Small Mobile */
@media (max-width:480px) {

    .hero-buttons {
        padding: 0 10px;
        gap: 10px;
    }

    .hero-buttons .btn-custom {
        font-size: 14px;
        padding: 13px 15px;
        border-radius: 10px;
    }
}

@media (max-width:768px) {
    .hide-mobile {
        display: none !important;
    }
    .show-mobile{
        display: block !important;
    }
}