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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
    background: #ffffff;
}

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

/* Modern Color Variables */
:root {
    --primary-color: #4f46e5;
    --secondary-color: #06b6d4;
    --accent-color: #10b981;
    --accent-light: #34d399;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #059669;
    --warning-color: #f59e0b;
    --gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-soft: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 0;
    pointer-events: none;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%);
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
    border-radius: 8px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(79, 70, 229, 0.25));
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 4px 16px rgba(79, 70, 229, 0.2);
}

.nav-logo h2 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 6px 20px rgba(79, 70, 229, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.3s ease;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.15);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Tech Stack Animation */
.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 420px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.tech-stack {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-layer {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 
        0 8px 32px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tech-layer:hover {
    transform: scale(1.1) translateY(-3px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.tech-layer i {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.tech-layer:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.tech-label {
    font-size: 0.6rem;
    color: white;
    font-weight: 700;
    text-align: center;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.tech-layer:hover .tech-label {
    opacity: 1;
}

/* Precise positioning for perfect pentagon layout */
.cloud-layer {
    top: 1px;
    left: 40%;
    transform: translateX(-50%);
    animation: float-gentle 4s ease-in-out infinite;
    z-index: 5;
}

.server-layer {
    top: 80px;
    left: 40px;
    animation: float-gentle 4s ease-in-out infinite 0.8s;
    z-index: 4;
}

.code-layer {
    top: 80px;
    right: 40px;
    animation: float-gentle 4s ease-in-out infinite 1.6s;
    z-index: 4;
}

.database-layer {
    bottom: 60px;
    left: 70px;
    animation: float-gentle 4s ease-in-out infinite 2.4s;
    z-index: 3;
}

.security-layer {
    bottom: 60px;
    right: 70px;
    animation: float-gentle 4s ease-in-out infinite 3.2s;
    z-index: 3;
}

/* Connection Lines with precise positioning to match tech layer positions */
.connection-lines {
    display: none;
}

.connection-line {
    display: none;
}

/* Cloud (center top) to Server (left) */
.line-1 {
    display: none;
}

/* Cloud (center top) to Code (right) */
.line-2 {
    display: none;
}

/* Server (left) to Database (bottom left) */
.line-3 {
    display: none;
}

/* Code (right) to Security (bottom right) */
.line-4 {
    display: none;
}

/* Database (bottom left) to Security (bottom right) */
.line-5 {
    display: none;
}

/* Data Flow Animation with simplified orbital patterns */
.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
}

.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 70%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    opacity: 0;
}

/* Simplified orbital data particles */
.data-particle:nth-child(1) {
    top: 50%;
    left: 50%;
    animation: orbit-1 8s linear infinite;
}

.data-particle:nth-child(2) {
    top: 50%;
    left: 50%;
    animation: orbit-2 6s linear infinite;
}

.data-particle:nth-child(3) {
    top: 50%;
    left: 50%;
    animation: orbit-3 10s linear infinite;
}

.data-particle:nth-child(4) {
    top: 50%;
    left: 50%;
    animation: orbit-4 7s linear infinite;
}

.data-particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation: orbit-5 9s linear infinite;
}

.data-particle:nth-child(6) {
    top: 50%;
    left: 50%;
    animation: orbit-6 12s linear infinite;
}

/* Gentle floating animation */
@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Simplified orbital animations at different radiuses and speeds */
@keyframes orbit-1 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg) translateX(60px) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(360deg) translateX(60px) rotate(-360deg);
    }
}

@keyframes orbit-2 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg);
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

@keyframes orbit-3 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes orbit-4 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(180deg) translateX(70px) rotate(-180deg);
    }
    12% {
        opacity: 1;
    }
    88% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(540deg) translateX(70px) rotate(-540deg);
    }
}

@keyframes orbit-5 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(90deg) translateX(90px) rotate(-90deg);
    }
    18% {
        opacity: 1;
    }
    82% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(450deg) translateX(90px) rotate(-450deg);
    }
}

@keyframes orbit-6 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(270deg) translateX(110px) rotate(-270deg);
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(630deg) translateX(110px) rotate(-630deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-graphic {
        height: 340px;
    }
    
    .tech-stack {
        width: 260px;
        height: 260px;
    }
    
    .tech-layer {
        width: 65px;
        height: 65px;
    }
    
    .tech-layer i {
        font-size: 1.3rem;
    }
    
    .tech-label {
        font-size: 0.55rem;
    }
    
    .cloud-layer {
        top: 1px;
        left: 40%;
    }
    
    .server-layer {
        top: 65px;
        left: 30px;
    }
    
    .code-layer {
        top: 65px;
        right: 30px;
    }
    
    .database-layer {
        bottom: 50px;
        left: 55px;
    }
    
    .security-layer {
        bottom: 50px;
        right: 55px;
    }
}

@media (max-width: 480px) {
    .hero-graphic {
        height: 300px;
    }
    
    .tech-stack {
        width: 220px;
        height: 220px;
    }
    
    .tech-layer {
        width: 55px;
        height: 55px;
    }
    
    .tech-layer i {
        font-size: 1.1rem;
    }
    
    .tech-label {
        font-size: 0.5rem;
    }
    
    .cloud-layer {
        top: 1px;
        left: 40%;
    }
    
    .server-layer {
        top: 55px;
        left: 25px;
    }
    
    .code-layer {
        top: 55px;
        right: 25px;
    }
    
    .database-layer {
        bottom: 40px;
        left: 45px;
    }
    
    .security-layer {
        bottom: 40px;
        right: 45px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
}

.service-card.featured::after {
    content: 'Featured';
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent-color);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
}

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

/* Case Studies Section */
.case-studies {
    padding: 120px 0;
    background: white;
}

.case-study {
    margin-bottom: 5rem;
    background: var(--bg-light);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.case-study:last-child {
    margin-bottom: 0;
}

.case-study-header {
    text-align: center;
    margin-bottom: 3rem;
}

.case-study-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.case-study-badge.hybrid {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.case-study-badge i {
    font-size: 1.1rem;
}

.case-study h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.case-study-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.case-study-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.challenge,
.solution,
.results {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.solution {
    border-left-color: var(--accent-color);
}

.results {
    border-left-color: var(--secondary-color);
}

.case-study-info h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.case-study-info h4 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.solution h4 i {
    color: var(--accent-color);
}

.results h4 i {
    color: var(--secondary-color);
}

.case-study-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.case-study-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.case-study-info li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.case-study-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.result-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: translateY(-3px);
}

.result-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Case Study Diagrams */
.case-study-diagram {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.case-study-diagram h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

/* Architecture Diagram (Cloud Migration) */
.architecture-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.diagram-section {
    flex: 1;
    text-align: center;
}

.diagram-section h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: var(--bg-light);
}

.infrastructure-stack,
.cloud-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.infra-layer,
.cloud-layer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.infra-layer:hover,
.cloud-layer:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.cloud-layer:hover {
    border-color: var(--secondary-color);
}

.infra-layer i,
.cloud-layer i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.cloud-layer i {
    color: var(--secondary-color);
}

.infra-layer span,
.cloud-layer span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.migration-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.migration-arrow i {
    font-size: 2rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

.migration-arrow span {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Hybrid Diagram */
.hybrid-diagram {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hybrid-section {
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.hybrid-section.on-premise {
    background: linear-gradient(135deg, #fef3e2 0%, #fde8cc 100%);
    border-color: var(--warning-color);
}

.hybrid-section.cloud {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border-color: var(--secondary-color);
}

.hybrid-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hybrid-section h5 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    justify-content: center;
}

.hybrid-section h5 i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.hybrid-components {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.component {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.component:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.component i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.component span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-align: center;
}

.connection-layer {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.vpn-connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    border-radius: 50px;
    color: white;
    position: relative;
}

.vpn-connection i {
    font-size: 1.5rem;
}

.vpn-connection span {
    font-weight: 600;
    font-size: 0.9rem;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: -50px;
    right: -50px;
    height: 2px;
    background: var(--primary-color);
    z-index: -1;
}

.connection-line::before,
.connection-line::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.connection-line::before {
    left: 0;
}

.connection-line::after {
    right: 0;
}

/* Responsive Design for Case Studies */
@media (max-width: 1024px) {
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .architecture-diagram {
        flex-direction: column;
        gap: 2rem;
    }
    
    .migration-arrow {
        transform: rotate(90deg);
    }
    
    .migration-arrow i {
        transform: rotate(-90deg);
    }
}

@media (max-width: 768px) {
    .case-study {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .case-study h3 {
        font-size: 1.8rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .hybrid-components {
        grid-template-columns: 1fr;
    }
    
    .case-study-info {
        gap: 2rem;
    }
    
    .challenge,
    .solution,
    .results {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .case-study {
        padding: 1.5rem;
    }
    
    .case-study-diagram {
        padding: 1.5rem;
    }
    
    .case-study h3 {
        font-size: 1.5rem;
    }
    
    .architecture-diagram {
        gap: 1.5rem;
    }
}

/* About Section */
.about {
    padding: 120px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat h3 {
    font-size: 2.75rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: var(--gradient);
    border-radius: 24px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.about-graphic i {
    font-size: 5.5rem;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.15);
}

.contact-icon i {
    font-size: 1.6rem;
    color: white;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(6, 182, 212, 0.3));
    background: rgba(255, 255, 255, 0.1);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.footer-logo h3 {
    margin-bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    padding: 0.6rem 0;
    color: var(--text-muted);
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid #374151;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.15),
            0 4px 16px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(255, 255, 255, 0.2);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.2) 0%, 
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
        pointer-events: none;
    }

    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 20%, 
            rgba(255, 255, 255, 0.1) 0%, 
            transparent 60%);
        pointer-events: none;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-logo h2 {
        font-size: 1.4rem;
    }

    .logo-img {
        height: 50px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .service-card {
        padding: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo-img {
        height: 55px;
    }

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

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

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

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 45px;
    }

    .footer-logo-img {
        height: 50px;
    }

    .footer-logo h3 {
        font-size: 1.3rem;
    }
}

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

.service-card,
.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Enhanced scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for form submission */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* About Section */
.about {
    padding: 120px 0;
    background: white;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(79, 70, 229, 0.1) 0%, 
        rgba(6, 182, 212, 0.1) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-to-top:hover::before {
    opacity: 1;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 45px rgba(79, 70, 229, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 30px rgba(6, 182, 212, 0.2);
    color: var(--primary-color);
}

.scroll-to-top:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

.scroll-to-top i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    opacity: 0.8;
    font-size: 1.3rem;
}

.scroll-to-top:hover i {
    transform: translateY(-2px) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(79, 70, 229, 0.3));
    opacity: 1;
    color: var(--secondary-color);
}

/* Pulse animation when button appears */
@keyframes scrollButtonPulse {
    0% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            0 0 0 8px rgba(79, 70, 229, 0.1);
    }
    100% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.scroll-to-top.show {
    animation: scrollButtonPulse 2s ease-out;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        left: 20px;
        bottom: 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        left: 15px;
        bottom: 15px;
        font-size: 1rem;
    }
} 