/* Modernized and optimized UI styles */

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #fbbf24;
    --text: #2d3748;
    --bg: #f7fafc;
    --white: #fff;
    --shadow: 0 4px 24px rgba(102, 126, 234, 0.10);
    --radius: 16px;
    --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 1.08rem;
    margin: 0;
    padding: 0;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: background var(--transition), box-shadow var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-logo i {
    color: var(--secondary);
    margin-right: 0.6rem;
    font-size: 2.2rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1.08rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link:focus {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
}

.nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    line-height: 1.1;
}

.highlight {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.btn {
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius);
    border: none;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow);
    outline: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--secondary);
    color: var(--accent);
    box-shadow: 0 8px 32px rgba(102,126,234,0.18);
    outline: 2px solid var(--accent);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background: var(--primary);
    color: var(--white);
    outline: 2px solid var(--secondary);
}

/* Cards & Sections */
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.section-header p {
    color: var(--text);
    opacity: 0.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.blogs-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
}

.blog-card, .portfolio-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.2rem 1.6rem;
    transition: box-shadow var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.blog-card:hover, .portfolio-card:hover {
    box-shadow: 0 8px 32px rgba(102,126,234,0.18);
    transform: translateY(-6px) scale(1.02);
}

.service-icon, .blog-icon, .portfolio-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.service-features li, .detail-section ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.service-features li i, .detail-section ul li::before {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* Forms & Inputs */
input, select, textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius);
    border: 2px solid #e2e8f0;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    background: var(--white);
    transition: border var(--transition), box-shadow var(--transition);
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.10);
}

button[type="submit"] {
    margin-top: 0.5rem;
}

/* Modals */
.modal {
    background: rgba(102,126,234,0.10);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: opacity var(--transition), transform var(--transition);
}
.modal-content {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
    padding: 2.2rem 1.6rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 2.5rem 0 1.2rem 0;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    box-shadow: 0 -2px 16px rgba(102,126,234,0.10);
}
.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}
.social-links a {
    color: var(--white);
    background: var(--primary);
    border-radius: 50%;
    padding: 0.5rem;
    margin-right: 0.5rem;
    transition: background var(--transition), color var(--transition);
}
.social-links a:hover, .social-links a:focus {
    background: var(--accent);
    color: var(--primary);
    outline: 2px solid var(--white);
}

/* Images */
img, .portfolio-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title { font-size: 2.2rem; }
    .hero-container { flex-direction: column; gap: 32px; }
    .blogs-grid, .portfolio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .container { padding: 0 8px; }
    .navbar { padding: 0.7rem 0; }
    .hero { padding-top: 60px; }
    .hero-title { font-size: 1.5rem; }
    .btn, .btn-primary, .btn-secondary { font-size: 1rem; padding: 0.7rem 1.2rem; }
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        background: var(--white);
        flex-direction: column;
        width: 220px;
        box-shadow: var(--shadow);
        border-radius: var(--radius);
        padding: 1.2rem 0;
        gap: 0;
        display: none;
    }
    .nav-menu.active { display: flex; }
    .hamburger { display: flex; }
}

/* Focus outlines for accessibility */
*:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* 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: #333;
    overflow-x: hidden;
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loader-particles {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
}

.loader-particles:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.loader-particles:nth-child(2) {
    left: 50%;
    animation-delay: 2s;
}

.loader-particles:nth-child(3) {
    left: 80%;
    animation-delay: 4s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.modern-loader-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.loader-cup-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.coffee-cup {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    animation: cupBounce 2s ease-in-out infinite;
}

.cup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: cupGlow 3s ease-in-out infinite;
}

@keyframes cupBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes cupGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.loader-brand {
    margin-bottom: 30px;
}

.brand-text {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: brandGlow 2s ease-in-out infinite;
}

.brand-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 5px;
    animation: subtitlePulse 3s ease-in-out infinite;
}

@keyframes brandGlow {
    0%, 100% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 4px 20px rgba(251, 191, 36, 0.5);
    }
}

@keyframes subtitlePulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.loader-progress {
    margin-top: 30px;
}

.progress-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 3px;
    animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

.progress-text {
    font-size: 0.9rem;
    opacity: 0.8;
    animation: textFade 2s ease-in-out infinite;
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Launch Offer Modal Styles */
.launch-offer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.launch-offer-modal.active {
    opacity: 1;
    visibility: visible;
}

.launch-offer-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    max-height: 85vh;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s ease;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.launch-offer-modal.active .launch-offer-content {
    transform: scale(1) translateY(0);
}

/* New close button styles */
.offer-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

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

.offer-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 25px 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.offer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #2d3748;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    animation: badgePulse 2s ease-in-out infinite;
}

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

.offer-body {
    padding: 20px 25px 25px;
    text-align: center;
    color: white;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
}

.offer-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 15px;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.offer-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #fbbf24, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offer-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.offer-features {
    margin-bottom: 20px;
}

.offer-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.offer-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.offer-feature i {
    color: #fbbf24;
    font-size: 1rem;
    flex-shrink: 0;
}

.offer-timer {
    margin-bottom: 20px;
}

.timer-label {
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0.9;
}

.timer-display {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 6px;
    border-radius: 8px;
    min-width: 45px;
    backdrop-filter: blur(5px);
    animation: timerPulse 1s ease-in-out infinite;
}

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

.timer-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fbbf24;
}

.timer-label {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 3px;
}

.offer-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.offer-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.offer-btn.primary {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.offer-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.offer-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.offer-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.offer-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.dont-show-again {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.3s ease;
}

.dont-show-again:hover {
    color: rgba(255, 255, 255, 1);
}

.dont-show-again input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #fbbf24;
}

@media (max-width: 768px) {
    .launch-offer-content {
        width: 95%;
        max-width: 350px;
        max-height: 80vh;
    }
    
    .offer-title {
        font-size: 1.4rem;
    }
    
    .offer-description {
        font-size: 0.9rem;
    }
    
    .offer-feature {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .timer-display {
        gap: 6px;
    }
    
    .timer-unit {
        min-width: 40px;
        padding: 8px 4px;
    }
    
    .timer-number {
        font-size: 1.1rem;
    }
    
    .offer-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .offer-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }
    
    .offer-close-btn {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .launch-offer-content {
        width: 98%;
        max-width: 320px;
        max-height: 75vh;
    }
    
    .offer-title {
        font-size: 1.3rem;
    }
    
    .offer-description {
        font-size: 0.85rem;
    }
    
    .offer-feature {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
    
    .timer-display {
        gap: 4px;
    }
    
    .timer-unit {
        min-width: 35px;
        padding: 6px 3px;
    }
    
    .timer-number {
        font-size: 1rem;
    }
    
    .offer-close-btn {
        top: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .offer-footer {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .dont-show-again {
        font-size: 0.8rem;
    }
}

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

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

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.nav-logo i {
    color: #667eea;
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #667eea;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #2d3748;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    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: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #fbbf24;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fbbf24;
    transform: scaleX(0);
    transform-origin: left;
    animation: highlight 2s ease-in-out infinite;
}

@keyframes highlight {
    0%, 100% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fbbf24;
    color: #2d3748;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: cardEntrance 1.5s ease-out forwards;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s ease-in-out infinite;
}

.floating-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #fbbf24, #667eea);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotate(-5deg);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

.floating-card i {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    animation: iconPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #f59e0b;
}

.floating-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: textGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-card:hover h3 {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: hoverPulse 2s ease-in-out infinite;
}

@keyframes hoverPulse {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
    }
}

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

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }
}

.floating-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    animation: textFade 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-card:hover p {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f7fafc;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-card.featured {
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.service-card p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.service-features i {
    color: #48bb78;
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.service-btn {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-btn:hover {
    color: #5a67d8;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #718096;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f7fafc;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #718096;
}

.contact-location-link {
    color: #718096;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
    word-break: break-word;
}

.contact-location-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #667eea;
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.footer-section p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #4a5568;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

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

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

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

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

    .service-card.featured {
        transform: none;
    }

    .service-card.featured:hover {
        transform: translateY(-10px);
    }

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

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

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

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

    .social-links {
        justify-content: center;
    }
}

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

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

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

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .btn,
    .floating-card {
        transition: all 0.3s ease;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.98);
    transition: transform 0.3s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    z-index: 1;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.modal-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f7fafc;
    color: #2d3748;
}

.modal-body {
    padding: 2rem;
    flex: 1 1 auto;
    overflow-y: auto;
    background: #fff;
}

.service-overview {
    margin-bottom: 2rem;
    text-align: center;
}

.service-overview h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.service-overview p {
    color: #718096;
    line-height: 1.6;
    font-size: 1.125rem;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-section {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.detail-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.detail-section h4 i {
    color: #667eea;
    font-size: 1rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section ul li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.detail-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.service-cta {
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.service-cta h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-cta .btn {
    background: #fbbf24;
    color: #2d3748;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-cta .btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

/* Modal Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive Modal Design */
@media (max-width: 768px) {
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    .modal-content {
        padding: 0;
    }
    .modal-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1rem 1rem 0.5rem;
    }
    .modal-title h2 {
        font-size: 1.25rem;
    }
    .modal-body {
        padding: 0.5rem;
    }
}

/* Thank You Modal Specific Styles */
.thank-you-content {
    text-align: center;
    padding: 1rem 0;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: bounce 2s infinite;
}

.thank-you-icon i {
    font-size: 2.5rem;
    color: white;
}

.thank-you-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.thank-you-content p {
    font-size: 1.125rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-details {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: #667eea;
    font-size: 1.125rem;
    width: 20px;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-actions .btn {
    min-width: 150px;
}

/* Responsive Thank You Modal */
@media (max-width: 768px) {
    .thank-you-content h3 {
        font-size: 1.5rem;
    }
    
    .thank-you-content p {
        font-size: 1rem;
    }
    
    .thank-you-details {
        padding: 1rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .thank-you-icon {
        width: 60px;
        height: 60px;
    }
    
    .thank-you-icon i {
        font-size: 2rem;
    }
    
    .thank-you-content h3 {
        font-size: 1.25rem;
    }
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 0.5rem 0;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-link:hover,
.dropdown-link:focus {
    background: #f7fafc;
    color: #667eea;
}

.nav-dropdown > .nav-link i {
    margin-left: 0.4em;
    font-size: 0.8em;
}

/* Mobile Dropdown Support */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: white;
        padding: 0;
    }
    .nav-dropdown.active .dropdown-menu {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
}

/* Blog Section Styles */
.blogs {
    padding: 6rem 0;
    background: #f7fafc;
}

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

.blog-card {
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
}

.blog-card:hover {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    transform: translateY(-10px) scale(1.02);
}

.blog-icon {
    background: linear-gradient(135deg, #fbbf24, #667eea);
    color: white;
}

.blog-meta {
    font-size: 0.95rem;
    color: #a0aec0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    text-align: left;
    transition: color 0.3s;
}

.blog-card:hover h3 {
    color: #764ba2;
}

.blog-card p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.blog-card .service-btn {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .blogs {
        padding: 3rem 0;
    }
    .blogs-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Modal Enhancements */
.modal.blog-modal .modal-content {
    background: linear-gradient(135deg, #f7fafc 60%, #e9d8fd 100%);
    position: relative;
    overflow: hidden;
    animation: blogModalFadeIn 0.5s cubic-bezier(0.4,0,0.2,1);
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
}

@keyframes blogModalFadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal.blog-modal .modal-content::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #667eea33 0%, transparent 70%);
    z-index: 0;
}

.modal.blog-modal .modal-body {
    position: relative;
    z-index: 1;
    padding-left: 1rem;
    padding-right: 0;
    max-width: 100vw;
    margin: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
}

.blog-article {
    font-size: 1.1rem;
    color: #2d3748;
    line-height: 1.8;
    background: transparent;
    text-align: left;
    padding: 0;
    margin: 0;
    cursor: default;
}

.blog-article h3 {
    font-size: 1.4rem;
    color: #764ba2;
    margin-top: 2rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.blog-article h3:hover {
    color: #fbbf24;
}

.blog-article ul, .blog-article ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-article li {
    margin-bottom: 0.5rem;
}

.blog-article .blog-meta {
    color: #667eea;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

@media (max-width: 900px) {
    .modal.blog-modal .modal-body {
        max-width: 95vw;
        padding: 1.5rem 0.5rem;
    }
}

@media (max-width: 600px) {
    .modal.blog-modal .modal-body {
        padding: 1rem 0.2rem;
    }
    .blog-article h3 {
        font-size: 1.1rem;
    }
    .blog-article {
        font-size: 1rem;
    }
}

.modal.blog-modal .modal-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    transition: color 0.3s;
    cursor: default;
}

.modal.blog-modal .modal-title h2:hover {
    color: #fbbf24;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: white;
}

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

.portfolio-card {
    background: #f7fafc;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.portfolio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.portfolio-icon i {
    font-size: 2rem;
    color: white;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.portfolio-card p {
    color: #718096;
    margin-bottom: 0;
    line-height: 1.6;
}

.portfolio-img {
    width: 100px;
    height: auto;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .portfolio {
        padding: 3rem 0;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Loader Styles */
.modern-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
}
.coffee-cup {
    display: block;
    margin-bottom: 1.5rem;
    max-width: 100px;
    width: 80px;
    height: 80px;
}
.loader-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* Fade out loader when hidden */
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: #f7fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.08);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border: 2px solid #667eea;
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #764ba2;
    margin: 1.5rem 0 1rem 0;
}
.price span {
    font-size: 1rem;
    color: #718096;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    padding: 0;
}
.pricing-features li {
    color: #4a5568;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .pricing {
        padding: 3rem 0;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Offer Modal Enhancements */
#offerModal .modal-content {
    background: linear-gradient(135deg, #f7fafc 60%, #e9d8fd 100%);
    max-width: 400px;
    margin: 10vh auto;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    padding: 2rem 1.5rem;
    text-align: center;
}
#offerModal .modal-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
#offerModal .modal-icon {
    color: #fbbf24;
    font-size: 2.2rem;
}
#offerModal .modal-header {
    border-bottom: none;
    justify-content: flex-end;
}
#offerModal .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #764ba2;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    transition: color 0.2s;
}
#offerModal .modal-close:hover {
    color: #fbbf24;
}

/* 3D Coffee Cup */
#coffee-cup-3d {
    width: 300px;
    height: 300px;
    position: relative;
    margin: 0 auto 2rem auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    #coffee-cup-3d {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    #coffee-cup-3d {
        width: 200px;
        height: 200px;
    }
}

/* Futuristic Hero Elements */
.futuristic-hero-content {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated Code Lines */
.code-lines {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.code-line {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 8px 0;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.1);
    border-left: 2px solid #667eea;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.code-line:nth-child(1) { --index: 0; }
.code-line:nth-child(2) { --index: 1; }
.code-line:nth-child(3) { --index: 2; }
.code-line:nth-child(4) { --index: 3; }
.code-line:nth-child(5) { --index: 4; }

/* Floating Tech Icons */
.floating-icons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatIcon 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.tech-icon i {
    font-size: 24px;
    color: #fbbf24;
}

/* Gradient Orb */
.gradient-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: conic-gradient(from 0deg, #667eea, #764ba2, #fbbf24, #667eea);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    z-index: 1;
    animation: orbGlow 4s ease-in-out infinite;
}

/* Floating Particles */
.particle {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

@keyframes orbGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}



/* Enhanced Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    /* SEO: Ensure proper contrast and readability */
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(251, 191, 36, 0.2) 0%, transparent 50%);
    z-index: 1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .futuristic-hero-content {
        height: 300px;
        flex-direction: column;
    }
    
    .code-lines {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 20px;
    }
    
    .floating-icons {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        display: flex;
        gap: 10px;
        justify-content: center;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
        margin: 0;
    }
    
    .tech-icon i {
        font-size: 20px;
    }
    
    .gradient-orb {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .code-line {
        font-size: 12px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
    }
    
    .tech-icon i {
        font-size: 16px;
    }
    
    .gradient-orb {
        width: 100px;
        height: 100px;
    }
} 