/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --accent-color: #8338ec;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #ffffff;
    --gray-text: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #8338ec 50%, #ff006e 100%);
    --gradient-secondary: linear-gradient(135deg, #8338ec 0%, #ff006e 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);

    /* Typography */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Rajdhani', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-text: 0 0 20px rgba(0, 212, 255, 0.5);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-content {
    text-align: center;
}

.sgca-logo {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.sgca-logo .letter {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    animation: letterGlow 2s ease-in-out infinite alternate;
}

.sgca-logo .letter:nth-child(2) {
    animation-delay: 0.2s;
}

.sgca-logo .letter:nth-child(3) {
    animation-delay: 0.4s;
}

.sgca-logo .letter:nth-child(4) {
    animation-delay: 0.6s;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    animation: loadingProgress 3s ease-in-out forwards;
}

.loading-text {
    font-family: var(--font-secondary);
    color: var(--gray-text);
    font-size: 1.1rem;
}

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

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

.nav-logo .logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    color: var(--gray-text);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--light-text);
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

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

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

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

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

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

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 2;
    text-align: left;
    justify-self: start;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-align: left;
}

.title-line {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--gray-text);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--light-text);
    box-shadow: var(--shadow-glow);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

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

.floating-card span {
    font-family: var(--font-secondary);
    font-weight: 500;
    text-align: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-text);
    font-family: var(--font-secondary);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

/* ===== SECTIONS ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-padding);
    background: var(--darker-bg);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    display: grid;
    gap: 30px;
}

.about-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 212, 255, 0.15),
        0 0 0 1px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow:
        0 15px 40px rgba(0, 212, 255, 0.25),
        0 0 0 1px rgba(0, 212, 255, 0.2),
        0 0 20px rgba(0, 212, 255, 0.1);
}

.about-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-card p,
.about-card ul {
    font-family: var(--font-body);
    color: var(--gray-text);
    line-height: 1.7;
}

.about-card ul {
    list-style: none;
    padding-left: 0;
}

.about-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.about-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    border-color: rgba(0, 212, 255, 0.3);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-family: var(--font-secondary);
    color: var(--gray-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-tabs-container {
    margin-bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-tabs {
    display: flex;
    flex-direction: row;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(131, 56, 236, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 32px 32px 0 0;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 0;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    width: 100%;
    max-width: 600px;
    scrollbar-width: none;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.about-tabs::-webkit-scrollbar {
    display: none;
}

.about-tab {
    background: transparent;
    border: none;
    outline: none;
    color: var(--gray-text);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 20px 48px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 32px 32px 0 0;
    margin: 0;
    position: relative;
    z-index: 2;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.5px;
}

.about-tab.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(131, 56, 236, 0.15));
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
    border-bottom: 3px solid var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.about-tab:not(.active):hover {
    background: rgba(0, 212, 255, 0.05);
    color: var(--light-text);
    transform: translateY(-2px);
}

.about-tab-cards {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tab-card {
    display: none;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 40px 32px;
    box-shadow:
        0 8px 32px rgba(0, 212, 255, 0.15),
        0 0 0 1px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    margin-top: 0;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.tab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 212, 255, 0.05) 0%,
            rgba(131, 56, 236, 0.05) 50%,
            rgba(0, 212, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tab-card:hover::before {
    opacity: 1;
}

.tab-card.active {
    display: block;
    animation: cardGlow 0.6s ease-out;
}

@keyframes cardGlow {
    0% {
        opacity: 0;
        transform: translateY(20px);
        box-shadow:
            0 8px 32px rgba(0, 212, 255, 0.15),
            0 0 0 1px rgba(0, 212, 255, 0.1);
    }

    50% {
        box-shadow:
            0 12px 40px rgba(0, 212, 255, 0.25),
            0 0 0 1px rgba(0, 212, 255, 0.2),
            0 0 20px rgba(0, 212, 255, 0.1);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        box-shadow:
            0 8px 32px rgba(0, 212, 255, 0.15),
            0 0 0 1px rgba(0, 212, 255, 0.1);
    }
}

@media (max-width: 600px) {
    .about-tabs {
        flex-direction: row;
        border-radius: 18px 18px 0 0;
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
    }

    .about-tab {
        padding: 14px 0;
        font-size: 1rem;
        border-radius: 18px 18px 0 0;
        min-width: 120px;
        flex: 1 1 0;
    }

    .about-tab-cards {
        max-width: 98vw;
    }

    .tab-card {
        padding: 20px 10px;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    /* Services tabs specific styling for 3 per row */
    .services-tabs {
        flex-wrap: wrap;
        border-radius: 18px 18px 0 0;
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
    }

    .services-tabs .about-tab {
        padding: 14px 8px;
        font-size: 0.9rem;
        border-radius: 18px 18px 0 0;
        min-width: 0;
        flex: 1 1 calc(33.333% - 4px);
        margin: 0 2px;
    }

    .services-tabs .about-tab:nth-child(4) {
        flex: 1 1 calc(33.333% - 4px);
        margin-top: 2px;
    }

    .services-tab-cards {
        max-width: 98vw;
    }

    /* Portfolio tabs specific styling for 3 per row */
    .portfolio-tabs {
        flex-wrap: wrap;
        border-radius: 18px 18px 0 0;
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
    }

    .portfolio-tabs .about-tab {
        padding: 14px 8px;
        font-size: 0.9rem;
        border-radius: 18px 18px 0 0;
        min-width: 0;
        flex: 1 1 calc(33.333% - 4px);
        margin: 0 2px;
    }

    .portfolio-tabs .about-tab:nth-child(4) {
        flex: 1 1 calc(33.333% - 4px);
        margin-top: 2px;
    }

    .portfolio-tab-cards {
        max-width: 98vw;
    }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 212, 255, 0.15),
        0 0 0 1px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow:
        0 15px 40px rgba(0, 212, 255, 0.25),
        0 0 0 1px rgba(0, 212, 255, 0.2),
        0 0 20px rgba(0, 212, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--light-text);
    box-shadow:
        0 8px 24px rgba(0, 212, 255, 0.3),
        0 0 0 1px rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow:
        0 12px 32px rgba(0, 212, 255, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        0 0 20px rgba(0, 212, 255, 0.2);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-text);
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.service-features li {
    color: var(--gray-text);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

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

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: var(--gray-text);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: var(--shadow-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none !important;
    background: var(--dark-bg);
}

.portfolio-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary-color);
}

.portfolio-placeholder i {
    font-size: 3rem;
}

.portfolio-placeholder span {
    font-family: var(--font-secondary);
    font-weight: 500;
    text-align: center;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: var(--light-text);
}

.portfolio-info h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--gray-text);
    margin-bottom: 20px;
}

.portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 500;
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 18px 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 212, 255, 0.15),
        0 0 0 1px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow:
        0 15px 40px rgba(0, 212, 255, 0.25),
        0 0 0 1px rgba(0, 212, 255, 0.2),
        0 0 20px rgba(0, 212, 255, 0.1);
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.1rem;
    color: var(--light-text);
    box-shadow:
        0 8px 24px rgba(0, 212, 255, 0.3),
        0 0 0 1px rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow:
        0 12px 32px rgba(0, 212, 255, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        0 0 20px rgba(0, 212, 255, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--light-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--gray-text);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--dark-bg);
    padding: 0 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--light-text);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--light-text);
}

.newsletter-form button {
    padding: 12px 15px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--gray-text);
}

/* ===== ANIMATIONS ===== */
@keyframes letterGlow {
    0% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }

    100% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 1);
    }
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }

    100% {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.about-featured-label {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0 0 0;
}

.about-featured-label h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    padding: 0;
}

.featured-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    border-radius: 0;
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #111;
    min-height: 0;
    aspect-ratio: 1/1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.featured-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.85) 70%, rgba(10, 10, 10, 0.1) 100%);
    color: #fff;
    padding: 24px 18px 16px 18px;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
}

.featured-card:hover .featured-overlay {
    opacity: 1;
}

.featured-overlay h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin: 0 0 6px 0;
    color: #fff;
    letter-spacing: 1px;
}

.featured-overlay p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    margin: 0;
    color: #e0e0e0;
}

/* Modal styles for image details */
.featured-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
}

.featured-modal.active {
    display: flex;
}

.featured-modal-content {
    background: #181818;
    border-radius: 18px;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    padding: 32px 24px;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.featured-modal-content img {
    max-width: 320px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
}

.featured-modal-content h4 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.featured-modal-content p {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0 0 10px 0;
}

.featured-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
}

.featured-modal-close:hover {
    color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .featured-work-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 100vw;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .featured-card {
        min-height: 0;
        aspect-ratio: 1/1;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .featured-card img {
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 600px) {
    .featured-work-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }

    .featured-card {
        min-height: 0;
        aspect-ratio: 1/1;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .featured-card img {
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0;
        padding: 0;
    }
}

.featured-card .featured-hover-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.85) 70%, rgba(10, 10, 10, 0.1) 100%);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    padding: 24px 18px 16px 18px;
    transition: opacity 0.3s;
    z-index: 2;
}

.featured-card:hover .featured-hover-overlay {
    opacity: 1;
    pointer-events: auto;
}

.featured-hover-overlay h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin: 0 0 6px 0;
    color: #fff;
    letter-spacing: 1px;
}

.featured-hover-overlay p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    margin: 0;
    color: #e0e0e0;
}

/* Contact tabs specific styling for 2 tabs side by side */
.contact-tabs {
    flex-wrap: wrap;
    border-radius: 18px 18px 0 0;
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
}

.contact-tabs .about-tab {
    padding: 14px 8px;
    font-size: 0.9rem;
    border-radius: 18px 18px 0 0;
    min-width: 0;
    flex: 1 1 calc(50% - 4px);
    margin: 0 2px;
}

.contact-tab-cards {
    max-width: 98vw;
}

.card-bg-1 {
    background: linear-gradient(135deg, #00d4ff 0%, #8338ec 100%);
    box-shadow: 0 0 32px 0 #00d4ff44, 0 0 0 1px #00d4ff22;
}

.card-bg-2 {
    background: linear-gradient(135deg, #ff006e 0%, #3a86ff 100%);
    box-shadow: 0 0 32px 0 #ff006e44, 0 0 0 1px #3a86ff22;
}

.card-bg-3 {
    background: linear-gradient(135deg, #f9c80e 0%, #f86624 100%);
    box-shadow: 0 0 32px 0 #f9c80e44, 0 0 0 1px #f8662422;
}

.card-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 0 32px 0 #43e97b44, 0 0 0 1px #38f9d722;
}

.old-paper-separator {
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto -40px auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    background: transparent;
}

.old-paper-separator img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    pointer-events: none;
    user-select: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

@media (max-width: 900px) {
    .old-paper-separator img {
        width: 100vw;
        max-width: 100vw;
    }
}

.floating-elements-bottom {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: 180px;
    margin: 0 auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 60px;
    z-index: 3;
    pointer-events: none;
}

.floating-elements-bottom .floating-card {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 10px;
    animation: floatY 5s ease-in-out infinite;
    pointer-events: auto;
}

.floating-elements-bottom .floating-card:nth-child(2) {
    animation-delay: 1.5s;
}

.floating-elements-bottom .floating-card:nth-child(3) {
    animation-delay: 3s;
}

@keyframes floatY {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .floating-elements-bottom {
        gap: 20px;
        height: 120px;
    }

    .floating-elements-bottom .floating-card {
        min-width: 100px;
        padding: 12px;
    }
}

.whatsapp-float {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    background: linear-gradient(135deg, #25d366 60%, #128c7e 100%);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.25), 0 0 0 4px rgba(37, 211, 102, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.35), 0 0 0 6px rgba(37, 211, 102, 0.18);
    color: #fff;
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .section-container {
        max-width: 1500px;
        padding-left: 60px;
        padding-right: 60px;
    }

    .featured-work-grid {
        max-width: 1400px;
        gap: 40px;
    }

    .about-tabs-container,
    .services-tabs-container,
    .portfolio-tabs-container {
        max-width: 1400px;
    }

    .about-tabs,
    .services-tabs,
    .portfolio-tabs {
        max-width: 900px;
    }

    .tab-card,
    .about-card,
    .service-card,
    .portfolio-item {
        font-size: 1.15rem;
    }
}

@media (min-width: 1800px) {
    .section-container {
        max-width: 1700px;
        padding-left: 120px;
        padding-right: 120px;
    }

    .featured-work-grid {
        max-width: 1600px;
        gap: 60px;
    }

    .about-tabs,
    .services-tabs,
    .portfolio-tabs {
        max-width: 1100px;
    }

    .tab-card,
    .about-card,
    .service-card,
    .portfolio-item {
        font-size: 1.22rem;
    }

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